Commit Graph

17 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 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 a864c6aef4 Fix major bug 2017-11-18 12:49:29 -05:00
Daniel van Flymen d02ce03dde Clean imports 2017-11-12 16:06:02 -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 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
massa142 a26be06080 Add type hints 2017-10-05 18:20:56 +09:00
mbeigel 5f25d92be6 Add option to choose port from command line 2017-09-30 18:07:06 -04:00
Daniel van Flymen 94d6f9dfda Add Full Blockchain 2017-09-24 15:40:01 -04:00