Commit Graph

45 Commits

Author SHA1 Message Date
Daniel van Flymen d38a86b25f updates 2017-12-29 16:37:10 -05:00
Daniel van Flymen 8cd2a13747 more cleanup 2017-12-29 15:38:57 -05:00
Daniel van Flymen acb84b81e0 more cleanup 2017-12-29 15:20:52 -05:00
Daniel van Flymen 6f34e4fd7b clean up 2017-12-29 15:14:09 -05:00
Daniel van Flymen d3298af019 rather get hashes in a better way 2017-12-29 14:32:55 -05:00
Daniel van Flymen fd7cf5e2f9 updates 2017-12-29 13:52:43 -05:00
Joel Bixby bfe4de5016 Minor fixups while working together 2017-12-28 16:59:48 -05:00
Daniel van Flymen ecef87c5de Remove unnecessary methods 2017-12-28 15:54:57 -05:00
Daniel van Flymen 5021b69937 Updating for collaborators 2017-12-28 15:52:11 -05:00
Daniel van Flymen 0df3b84428 just updating 2017-12-25 19:12:25 +02:00
Daniel van Flymen 4010cf3273
Merge pull request #46 from davetoland/master
Implementation in C#
2017-11-20 12:12:09 -05:00
davetoland db16e16ab0 Bug fixes, plus config driven host and port 2017-11-19 01:36:34 +00:00
davetoland 839fd24b14 Added missing comment 2017-11-18 20:50:44 +00:00
davetoland 81aede25ec C# Implementation
Ported from blockchain.py
2017-11-18 20:45:28 +00:00
Daniel van Flymen a864c6aef4 Fix major bug 2017-11-18 12:49:29 -05:00
Daniel van Flymen db043edf03
Merge pull request #41 from dvf/dvf/tests
Basic Tests, Some Clean-up, Travis Integration
2017-11-12 16:36:08 -05:00
Daniel van Flymen ecc5883f3b Add Travis Icon 2017-11-12 16:35:26 -05:00
Daniel van Flymen c765a73806 May finally be losing my mind 2017-11-12 16:31:50 -05:00
Daniel van Flymen 00ca8267df And again... 2017-11-12 16:30:14 -05:00
Daniel van Flymen 0a0b2a9b3d Travis fix 2017-11-12 16:26:00 -05:00
Daniel van Flymen 5d1b972b82 Add Travis Integration 2017-11-12 16:20:22 -05:00
Daniel van Flymen d02ce03dde Clean imports 2017-11-12 16:06:02 -05:00
Daniel van Flymen 36572e07de Preliminary Tests
Intend to add more tests
2017-11-12 16:05:13 -05:00
Daniel van Flymen 3fa90ff8ba Remove Type Annotations
I have some reasons for this, but could be swayed to keep them:

- For folks who are learning, it tends to get in the way—there are way
too many questions about this.
- It doesn’t bring much value if there are reasonable tests.
- Not many folks are using `mypy` before run time.
2017-11-12 15:32:10 -05:00
Daniel van Flymen 5c6f5109c6
Merge pull request #19 from rbalazs/master
Fix of type errors
2017-11-01 11:32:03 -04:00
Daniel van Flymen 4c4d2059aa
Merge pull request #35 from dvf/dvf/bug-fix
New block requires the previous hash
2017-10-30 00:52:30 -04:00
Daniel van Flymen b1a8a34662 New block needs the previous hash 2017-10-30 00:51:55 -04:00
Richer Balázs f44f902753 Fix of type errors
Traceback (most recent call last):
  File "blockchain.py", line 12, in <module>
    class Blockchain:
  File "blockchain.py", line 135, in Blockchain
    def last_block(self) -> Dict[str: Any]:
  File "/usr/local/lib/python3.6/typing.py", line 682, in inner
    return func(*args, **kwds)
  File "/usr/local/lib/python3.6/typing.py", line 1106, in __getitem__
    params = tuple(_type_check(p, msg) for p in params)
  File "/usr/local/lib/python3.6/typing.py", line 1106, in <genexpr>
    params = tuple(_type_check(p, msg) for p in params)
  File "/usr/local/lib/python3.6/typing.py", line 374, in _type_check
    raise TypeError(msg + " Got %.100r." % (arg,))
TypeError: Parameters to generic types must be types. Got slice(<class 'str'>, typing.Any, None).
2017-10-16 20:56:31 +02:00
Daniel van Flymen f03d28f8ad Merge pull request #9 from massa142/master
Add type hints
2017-10-14 16:26:52 -04:00
Daniel van Flymen 961e2aa2ee Merge pull request #8 from hannah98/master
Dockerfile
2017-10-05 23:13:47 -04:00
massa142 a26be06080 Add type hints 2017-10-05 18:20:56 +09:00
hannah98 94a1e72654 Specified using Docker is optional 2017-10-04 06:59:43 -05:00
hannah98 f04064c456 Update Dockerfile 2017-10-04 06:49:03 -05:00
hannah98 6ce594bf4b Update README.md 2017-10-03 13:01:36 -05:00
hannah98 c8957b0c59 Create Dockerfile 2017-10-03 12:58:10 -05:00
Daniel van Flymen d301492357 Merge pull request #6 from marius92mc/add-pipenv
Add pipenv instead of plain requirements.txt
2017-10-02 13:36:42 -04:00
Marius-Constantin Melemciuc 3bb27e586a Add pipenv instead of plain requirements.txt 2017-10-02 13:04:19 +03:00
Daniel van Flymen 05df765a64 Merge pull request #2 from mbeigel/choose-port
Add option to choose port from command line
2017-10-02 02:43:45 -04:00
mbeigel 79b8df15d3 Updated README on how to specify port number when running server 2017-10-01 16:37:17 -04:00
mbeigel 5f25d92be6 Add option to choose port from command line 2017-09-30 18:07:06 -04:00
Daniel van Flymen dbdf10eac3 Update README.md 2017-09-24 15:44:13 -04:00
Daniel van Flymen 94d6f9dfda Add Full Blockchain 2017-09-24 15:40:01 -04:00
Daniel van Flymen bba847624d Add Requirements 2017-09-24 15:39:57 -04:00
Daniel van Flymen 818cb340f7 Update gitignore 2017-09-24 15:39:51 -04:00
Daniel van Flymen 8a1e6756bd Initial commit 2017-09-24 15:36:36 -04:00