NIC619
|
c62f1f374f
|
Check if transport is closing before write/close
|
2019-12-24 22:23:38 +08:00 |
|
NIC619
|
a390d21385
|
Remove RawConnError from exception handling
|
2019-12-24 21:57:13 +08:00 |
|
NIC619
|
8f52315816
|
Fix close an already reset connection
|
2019-12-24 16:19:49 +08:00 |
|
Kevin Mai-Husan Chia
|
c35cb8318a
|
Merge pull request #393 from ShadowJonathan/hashable_multiaddr
bump multiaddr to 0.0.9
|
2019-12-23 17:32:08 +08:00 |
|
Jonathan de Jong
|
45ef63af20
|
bump multiaddr from setup to 0.0.9
|
2019-12-23 09:24:41 +01:00 |
|
Kevin Mai-Husan Chia
|
9d3312ebaf
|
Merge pull request #380 from ShadowJonathan/fix_dependencies
Fix dependency issues (and fastecdsa windows depencency)
|
2019-12-23 14:26:40 +08:00 |
|
Kevin Mai-Husan Chia
|
1571bfac07
|
Merge pull request #386 from ShadowJonathan/issue_384
fixes #384
|
2019-12-23 14:25:38 +08:00 |
|
Jonathan de Jong
|
17074dded0
|
add tests to new multiple multiaddr change
|
2019-12-21 10:35:34 +01:00 |
|
Jonathan de Jong
|
0b97f4d57c
|
remove eth_utils per PR request
|
2019-12-21 08:59:07 +01:00 |
|
NIC Lin
|
28da206aea
|
Merge pull request #387 from NIC619/fix_inconsistent_pubsub_peer_record_update
Store peer ids in set instead of list and check if peer id exist before access
|
2019-12-20 00:34:14 +08:00 |
|
NIC619
|
3c75c85d7f
|
Fix extra white space
|
2019-12-19 23:07:20 +08:00 |
|
NIC Lin
|
cb80cfc50b
|
Update libp2p/pubsub/gossipsub.py
Co-Authored-By: Chih Cheng Liang <chihchengliang@gmail.com>
|
2019-12-19 16:33:56 +08:00 |
|
NIC619
|
74092c1371
|
Apply PR feedback: update error msg
|
2019-12-19 16:26:37 +08:00 |
|
NIC619
|
e51d376d5e
|
Combine peers_gossipsub and peers_floodsub
|
2019-12-19 14:44:49 +08:00 |
|
NIC619
|
6cd3eb8fae
|
Apply PR feedback:
change param type and remove check before `discard`
|
2019-12-19 14:15:51 +08:00 |
|
Jonathan de Jong
|
1124fc8211
|
add eth_utils
add fastecdsa-any requirements
|
2019-12-19 01:26:44 +01:00 |
|
Jonathan de Jong
|
f54bc9d1af
|
Make linter happy
|
2019-12-18 19:05:22 +01:00 |
|
Jonathan de Jong
|
81fe4049cf
|
Apply PR review feedback
> add `if not addr` clause back
> use f-strings for exceptions instead of %s
|
2019-12-18 18:47:03 +01:00 |
|
Jonathan de Jong
|
4e4d91b2e2
|
Apply PR review suggestion (change "muxed" to "network" in docstrings)
Co-Authored-By: Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>
|
2019-12-18 10:54:52 +01:00 |
|
NIC619
|
f3732f9480
|
Fix tests
|
2019-12-18 12:37:04 +08:00 |
|
Jonathan de Jong
|
6b75901243
|
apply PR feedback (remote len == 0 block, remove redundant fixme comment + docstring line)
change wording of final SwarmException to include possible case of no addresses in returned address set
add `from error` in except clause
|
2019-12-17 20:20:09 +01:00 |
|
Alex Stokes
|
445c0f8e65
|
Dangling kademlia cleanup
|
2019-12-17 10:11:17 -08:00 |
|
Alex Stokes
|
1355fbae99
|
Merge pull request #385 from ShadowJonathan/issue_197
fixes #197
|
2019-12-17 09:35:36 -08:00 |
|
NIC619
|
19ce8a2140
|
Fix mypy
|
2019-12-17 21:56:02 +08:00 |
|
NIC619
|
04b9d688f8
|
Add newsfragment
|
2019-12-17 19:09:15 +08:00 |
|
Jonathan de Jong
|
3cbe24caab
|
fixes #384
also adds MultiError to libp2p/exceptions.py
and an additional fixme I have noticed
|
2019-12-17 12:00:11 +01:00 |
|
NIC619
|
474ed41652
|
Remove dead peer if floodsub write stream fail
|
2019-12-17 18:48:25 +08:00 |
|
NIC619
|
009df257bc
|
Check peer id exist in dict before access
|
2019-12-17 18:47:58 +08:00 |
|
Jonathan de Jong
|
794d2101e9
|
fixes #197
|
2019-12-17 11:00:45 +01:00 |
|
NIC619
|
f10e3099cb
|
Change type of peers in pubsub from list to set
|
2019-12-17 17:55:13 +08:00 |
|
NIC619
|
b4bd997932
|
Fix mypy
|
2019-12-17 17:49:49 +08:00 |
|
NIC619
|
65766ec9ac
|
Change type of local peers var from list to set
|
2019-12-17 17:36:15 +08:00 |
|
NIC619
|
f1d58ef8ff
|
Change type of peers from list to set:
`peers_gossipsub`, `peers_floodsub` and mesh/fanout peers
|
2019-12-17 17:30:24 +08:00 |
|
NIC619
|
7d6daa8e10
|
Minor cleanup:
- remove outdated comment
- add new peer at the end
- turn peers to send from list to set
|
2019-12-17 17:17:03 +08:00 |
|
Jason Carver
|
ef31f7f6d6
|
Bump version: 0.1.3 → 0.1.4
|
2019-12-12 13:59:52 -08:00 |
|
Jason Carver
|
368ac7ef7f
|
Compile release notes
|
2019-12-12 13:58:41 -08:00 |
|
Jason Carver
|
23fa86979d
|
Added release notes
|
2019-12-12 13:53:09 -08:00 |
|
Alex Stokes
|
733b1d08b6
|
Merge pull request #372 from ralexstokes/add-py36-compatibility
Add py36 compatibility
|
2019-12-10 17:28:49 -08:00 |
|
Alex Stokes
|
3b9d7c7acd
|
Apply PR feedback
|
2019-12-10 17:20:41 -08:00 |
|
NIC Lin
|
ad379221b9
|
Merge pull request #373 from NIC619/refactor_and_cleanup_gossipsub
Refactor and cleanup gossipsub
|
2019-12-07 16:28:55 +08:00 |
|
NIC Lin
|
a675da52ee
|
Update libp2p/pubsub/gossipsub.py
Co-Authored-By: Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>
|
2019-12-07 15:46:42 +08:00 |
|
NIC619
|
2d3bfc8184
|
Apply PR feedback:
use defaultdict and init control message
|
2019-12-06 23:42:31 +08:00 |
|
Chih Cheng Liang
|
82dcce214a
|
Remove kademlia module (#377)
* Remove kademlia and routing/kademlia
* cleanup
* Fix routed_host test
* lint mypy
* fix doc
* remove set_up_nodes_by_transport_and_disc_opt and fix typing
|
2019-12-06 14:14:33 +08:00 |
|
NIC619
|
db0017ddbb
|
Fix lint after applying suggestion
|
2019-12-05 17:33:07 +08:00 |
|
NIC Lin
|
b4900d53da
|
Apply suggestions from code review
Co-Authored-By: Chih Cheng Liang <chihchengliang@gmail.com>
|
2019-12-05 15:21:09 +08:00 |
|
NIC619
|
67f02c512a
|
Remove unnecessary check and fix test
|
2019-12-05 15:10:04 +08:00 |
|
NIC619
|
fae3798ca9
|
Apply PR feedback: correct the comment in test
|
2019-12-05 14:40:49 +08:00 |
|
NIC619
|
e6813da5f5
|
Refactor _get_peers_to_send
|
2019-12-05 14:35:34 +08:00 |
|
NIC619
|
8e591229fd
|
Update the sleep time in test_handle_prune
|
2019-12-03 23:10:56 +08:00 |
|
NIC619
|
c08b2375e1
|
Fix: should not remove topic if no peers
|
2019-12-03 23:10:47 +08:00 |
|