Commit Graph

1414 Commits

Author SHA1 Message Date
mhchia
eb494e8682
Fix ping protocol 2019-12-01 19:17:32 +08:00
mhchia
6149aacc01
Fix examples 2019-12-01 17:55:07 +08:00
mhchia
31bf774a16
Fix tests in protocol_muxer and libp2p 2019-12-01 17:43:14 +08:00
mhchia
62e47080f5
Fix tests/network 2019-12-01 16:51:06 +08:00
mhchia
79fcdf3a02
Update tests in test_tcp.py
Besides, run `make format`
2019-12-01 16:26:16 +08:00
NIC619
50fd0acf41
Cleanup outdated TODOs in gossipsub 2019-11-30 20:19:17 +08:00
NIC619
0a52a05375
Del entry if no more peers subscribe to the topic 2019-11-30 20:02:11 +08:00
NIC619
e59ac6a250
Cleanup TODOs in pubsub 2019-11-30 17:12:37 +08:00
NIC Lin
dfdcf524b7
Merge pull request #362 from NIC619/add_signing_and_verification_to_pubsub
Add signing and verification to pubsub
2019-11-30 13:44:12 +08:00
NIC619
658a0ae156
Apply PR feedback:
move signature validation logic into signature validator
2019-11-29 19:37:48 +08:00
mhchia
1e600ea7e0
Fix Mplex and Swarm 2019-11-29 19:09:56 +08:00
NIC619
1c54c38ca7
Fix lint and add signing_strict to interop tests 2019-11-29 17:24:40 +08:00
NIC619
f4e86b1172
Add tests for failed signature validation cases 2019-11-29 14:13:07 +08:00
NIC619
a262b94836
Apply PR feedback:
check if signing key and ID match
2019-11-29 14:12:42 +08:00
NIC619
064c109b64
Fix signature validator:
Add prefix and return verify result
2019-11-28 18:45:00 +08:00
Jason Carver
14bcc2a7a7
Bump version: 0.1.2 → 0.1.3 2019-11-27 16:20:36 -08:00
Jason Carver
3c0675bbba
Fix bumpversion to look for double-quotes 2019-11-27 16:19:24 -08:00
Jason Carver
52ec6a1606 Compile release notes 2019-11-27 16:13:20 -08:00
Jason Carver
f28227729c Customize release notes title
towncrier likes to capitalize things, so libp2p was showing up as
Libp2P. Uuuugly.
2019-11-27 16:09:27 -08:00
Jason Carver
40973ea106 Fix "previous" version in bumpversion to: v0.1.2 2019-11-27 16:04:51 -08:00
Jason Carver
7466ace0b8
Merge pull request #370 from libp2p/remove-unbuildable-dependencies-from-docs-extra
Remove unbuildable dependencies from docs extra
2019-11-27 14:37:10 -08:00
Jason Carver
ce37082c44 Add release note for #318
Note that these commits are really just a bugfix, but from a release
perspective, it's the first time that docs will be publicly available.
2019-11-27 14:17:13 -08:00
Jason Carver
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
Jason Carver
3e5f883c50 Strip out fastecdsa in setup.py, during doc build 2019-11-27 14:07:14 -08:00
Jason Carver
4f95bdce42
Merge pull request #368 from carver/release-notes
Add release notes for v0.1.3
2019-11-27 10:49:02 -08:00
Jason Carver
57f1f49a0f Set the latest version in release notes 2019-11-27 10:38:08 -08:00
Jason Carver
84b548beae Back-generate release notes for v0.1.3 release 2019-11-27 10:38:08 -08:00
Jason Carver
2a9dc96269
Merge pull request #369 from carver/docs-travis-target
Add docs test to Travis CI
2019-11-27 10:36:15 -08:00
NIC619
d5d6962dce
Update Pubsub fixture and test 2019-11-27 17:15:24 +08:00
NIC619
0fd400fdf8
Sign and verify in Pubsub 2019-11-27 17:15:24 +08:00
NIC619
f3c9972159
Implement Pubsub signature validator 2019-11-27 17:15:24 +08:00
NIC619
683710573e
Add strict_signing: bool and sign_key to Pubsub 2019-11-27 17:15:23 +08:00
NIC Lin
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
Jason Carver
abf0da925c Built docs for modules 2019-11-26 17:44:33 -08:00
Jason Carver
d503950179 Fix all doc build warnings 2019-11-26 17:44:33 -08:00
Jason Carver
6668e8d339 sphinx to v2, because starting from blank slate 2019-11-26 17:29:13 -08:00
Jason Carver
1564ad659b Convert doc warnings into errors for CI 2019-11-26 17:20:24 -08:00
Jason Carver
b672da82ec Fix version parse failure because of double-quote 2019-11-26 17:19:19 -08:00
Jason Carver
69742da4a3 Add docs test to Travis CI 2019-11-26 16:50:48 -08:00
Jason Carver
a6864e3bd3
Merge pull request #366 from carver/splice-in-template
Splice in project template
2019-11-26 15:48:17 -08:00
Jason Carver
5d3be4f890 Fix comment about mypy being not semver 2019-11-26 15:38:32 -08:00
Jason Carver
1a283d0b1a Fix merge bug in the readme 2019-11-26 15:23:10 -08:00
Jason Carver
f84edfc133 Add missing package test script used by Makefile 2019-11-26 13:33:58 -08:00
Jason Carver
d589daf00d Fill in template variables 2019-11-26 13:33:57 -08:00
Jason Carver
d1b5a56ccf Match linting rules after merging in template 2019-11-26 13:33:08 -08:00
Jason Carver
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
NIC Lin
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
mhchia
ec43c25b45
Rewrite factories, made some of the test running 2019-11-26 19:24:30 +08:00
NIC619
9f3f2c53da
Apply PR feedback:
use defaultdict for peer data map
2019-11-26 16:18:15 +08:00
Chih Cheng Liang
417b5e7d61
remove unused asyncio 2019-11-26 15:27:06 +08:00