Commit Graph

1332 Commits

Author SHA1 Message Date
27ecd4b0ed Mock dependencies that are excluded in readthedocs
It seems preferable to import just fastecdsa. But if you do that,
then some kind of side-effect doesn't happen, which means that `sec1` is
not available as an attribute on `fastecdsa.encoding`.

So we specifically mock the sub-modules as well.
2019-11-27 14:07:14 -08:00
3e5f883c50 Strip out fastecdsa in setup.py, during doc build 2019-11-27 14:07:14 -08:00
4f95bdce42 Merge pull request #368 from carver/release-notes
Add release notes for v0.1.3
2019-11-27 10:49:02 -08:00
57f1f49a0f Set the latest version in release notes 2019-11-27 10:38:08 -08:00
84b548beae Back-generate release notes for v0.1.3 release 2019-11-27 10:38:08 -08:00
2a9dc96269 Merge pull request #369 from carver/docs-travis-target
Add docs test to Travis CI
2019-11-27 10:36:15 -08:00
d5d6962dce Update Pubsub fixture and test 2019-11-27 17:15:24 +08:00
0fd400fdf8 Sign and verify in Pubsub 2019-11-27 17:15:24 +08:00
f3c9972159 Implement Pubsub signature validator 2019-11-27 17:15:24 +08:00
683710573e Add strict_signing: bool and sign_key to Pubsub 2019-11-27 17:15:23 +08:00
da10fc8531 Merge pull request #360 from NIC619/store_our_keypair_in_peerstore
Store our keypair in peerstore
2019-11-27 17:14:36 +08:00
abf0da925c Built docs for modules 2019-11-26 17:44:33 -08:00
d503950179 Fix all doc build warnings 2019-11-26 17:44:33 -08:00
6668e8d339 sphinx to v2, because starting from blank slate 2019-11-26 17:29:13 -08:00
1564ad659b Convert doc warnings into errors for CI 2019-11-26 17:20:24 -08:00
b672da82ec Fix version parse failure because of double-quote 2019-11-26 17:19:19 -08:00
69742da4a3 Add docs test to Travis CI 2019-11-26 16:50:48 -08:00
a6864e3bd3 Merge pull request #366 from carver/splice-in-template
Splice in project template
2019-11-26 15:48:17 -08:00
5d3be4f890 Fix comment about mypy being not semver 2019-11-26 15:38:32 -08:00
1a283d0b1a Fix merge bug in the readme 2019-11-26 15:23:10 -08:00
f84edfc133 Add missing package test script used by Makefile 2019-11-26 13:33:58 -08:00
d589daf00d Fill in template variables 2019-11-26 13:33:57 -08:00
d1b5a56ccf Match linting rules after merging in template 2019-11-26 13:33:08 -08:00
27da312285 Splice in project template
I tried to merge it so that future updates from the template will be
much easier.

The template is hosted at:
https://github.com/ethereum/ethereum-python-project-template
2019-11-26 13:30:41 -08:00
cac7e3909a Merge pull request #357 from NIC619/minor_fix_replace_del
Replace (check and) del pattern with pop method
2019-11-26 19:39:41 +08:00
9f3f2c53da Apply PR feedback:
use defaultdict for peer data map
2019-11-26 16:18:15 +08:00
94c7a0bca4 Apply PR feedback and fix 2019-11-26 14:04:28 +08:00
fab27b0357 Fix lint 2019-11-26 12:35:50 +08:00
ffa73f5649 Check if pubkey matches peer ID before add 2019-11-26 12:33:55 +08:00
0bfbdf7fab Move keypair into PeerData 2019-11-26 12:27:59 +08:00
828ae69c66 Apply PR feedback: add_key_pair 2019-11-26 11:52:31 +08:00
89363b2d9b Add internal type for release notes 2019-11-25 21:44:29 +01:00
07eecb5c69 Separate release-note build from release 2019-11-25 21:44:29 +01:00
02fe35663c Setup towncrier to generate release notes 2019-11-25 21:44:29 +01:00
493224b75e Merge pull request #359 from ralexstokes/update-protobuf-dep
Update `protobuf` dep to `3.10.0`
2019-11-25 09:53:46 -08:00
7850018041 Update protobuf dep to >=3.10.0 2019-11-25 09:45:30 -08:00
076dae50f3 Fix missing BasicHost interface update 2019-11-25 22:05:33 +08:00
566e4c080d Fix lint 2019-11-25 17:32:53 +08:00
e28a974425 Update peer store initialization in host factory 2019-11-25 17:17:09 +08:00
8b4022328d Update peer store interface 2019-11-25 17:16:47 +08:00
e49de15227 Add get_private_key to Host 2019-11-25 16:57:00 +08:00
a63f00d8f8 Store our pubkey/privkey info during
`initialize_default_swarm`
2019-11-25 16:55:55 +08:00
144d93a023 Add pubkey/privkey info to PeerStore 2019-11-24 18:04:00 +08:00
9837f30698 Rename peer_map to peer_data_map 2019-11-24 16:52:46 +08:00
e355cb2600 Apply PR feedback:
Only use pop method if error handling is in place
2019-11-23 16:04:22 +08:00
501eef59de Apply PR feedback:
Only use pop method if graceful failure handling is desired
2019-11-21 14:48:03 +08:00
bcd7890124 Move test utilities to tools (#356)
* move test factories to libp2p/tools

* remove unused inits

* move pubsub test utils to tools

* cleanup test_interop

* fix typing libp2p/tools/utils

* add typing to pubsub utils

* fix factories typing

* fix typing for floodsub_integration_test_settings

* fix rest of the typing

* fix isort
2019-11-21 11:47:54 +08:00
19907e18ec Replace (check and) del pattern with pop method 2019-11-20 23:06:37 +08:00
74198c70b1 Merge pull request #355 from NIC619/check_before_del
Check if entry exists in dictionary before delete
2019-11-19 16:23:26 +08:00
c0522c1bd9 Check if entry exists in dictionary before delete 2019-11-17 21:52:05 +08:00