NIC619
0cc8a205fb
Fix test and reduce number of nodes in test_join
2019-07-23 17:28:46 +08:00
NIC619
c0a3af69e0
Apply PR feedback:
...
Check that node is in mesh peer's mesh after subscribe
2019-07-23 16:45:54 +08:00
NIC Lin
042e0ac916
Update tests/pubsub/test_gossipsub.py
...
Co-Authored-By: Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>
2019-07-23 16:37:41 +08:00
NIC Lin
3c3a9ac90b
Update tests/pubsub/test_gossipsub.py
...
Co-Authored-By: Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>
2019-07-23 16:37:01 +08:00
NIC619
cdbeb63879
Add test
2019-07-22 19:28:12 +08:00
NIC619
14ee44c549
Lint test and add cleanup to the end
2019-07-21 23:16:42 +08:00
NIC619
2c1c8dc8cf
Add gossipsub.join
test
2019-07-21 23:16:41 +08:00
NIC619
a26c7783d6
Add one_to_all_connect
2019-07-21 23:14:08 +08:00
NIC Lin
1e78c21eca
Merge pull request #181 from NIC619/fix_handle_unsubscribe
...
Fix: handle unsubscribe message
2019-07-21 20:09:51 +08:00
mhchia
a2d1aadf25
Add test for checking p2p code
2019-07-20 22:43:32 +08:00
mhchia
d3eb68fa50
Increase coverage
2019-07-20 22:43:32 +08:00
mhchia
73125b99b0
Fix the error due to the breaking change
...
In multiaddr, `split` is moved to `Multiaddr`'s method.
2019-07-20 22:43:31 +08:00
NIC619
29aae7dca4
Add gossipsub join/leave test
2019-07-19 20:16:53 +08:00
NIC619
183eee0e85
Add self subscription tests
2019-07-18 13:39:22 +08:00
Stuckinaboot
a4529d827d
Modify peer_id str
2019-05-22 11:37:07 -04:00
Stuckinaboot
4b40339b63
Update peerid tests for longer peerids
2019-05-22 11:37:07 -04:00
ZX
49384ad3d7
Merge pull request #159 from libp2p/security-dev
...
Implement security
2019-05-07 09:56:19 -04:00
Robert Zajac
9052e8f8bd
The Gossipsub PR ( #162 )
...
* Add handle_rpc call to pubsub
* Scaffold gossipsub functions
* Add timer
* Implement most of mesh construction
* Implement emit and handle
* Implement fanout heartbeat
* Refactor emit
* some gossipsub cleanup and test
* minor lint stuff, more to come
* Implement publish
* Fix comment
* Modify pubsub/gossipsub so that floodsub tests pass using gossipsub router
* Add floodsub tests to gossipsub
* Handle case where select_from_minus, num_to_select > size(pool-minus)
* Add topic membership
* Implement handle ihave
* Implement most of iwant
* Add mcache.add and comments
* Refactor handle_ihave
* Implement stream write in handle_iwant
* Implement gossip heartbeat
* unresolved vars
* initial mcache code
* documenting mcache
* writing test/debugging mcache
* finished mcache test and debugged
* Make gossipsub backward compatibility its own file
* remove mcache prints
* DEBUGGING
* Add sender_peer_id to handle_rpc to get gossip test passing
* Modify gossipsub to make fanout work
* fanout maintenance test
* debugging gsub GOSSIP
* DEBUGGING
* debugged sender seen cachce
* adding lru, removing prints
* pylint cleanup
* Fix github comments in PR
* minor floodsub possible bugfix
2019-05-06 23:44:13 -04:00
Alex Haynes
eea6a9fda7
Merge pull request #157 from libp2p/router-refactor
...
Refactored RoutedHost into Injected Router
2019-05-05 14:45:22 -04:00
stuckinaboot
ff500e6d8e
Merge branch 'master' into security-dev
2019-05-01 17:26:23 -04:00
Stuckinaboot
144dc8d854
Move simple security to libp2p/security
2019-05-01 17:21:11 -04:00
Stuckinaboot
515a461172
Add more security tests
2019-05-01 17:13:01 -04:00
Stuckinaboot
4333c2d061
Fix linting issues'
2019-05-01 13:54:19 -04:00
Stuckinaboot
e555f17a7b
Fix bug in security multistream
2019-04-30 16:07:26 -04:00
Stuckinaboot
a0bd6e5eb0
Add simple security with communication test
2019-04-30 03:27:06 -04:00
Stuckinaboot
f59f27d4d0
Integrate security selectin into libp2p system
2019-04-30 03:09:05 -04:00
Stuckinaboot
999e64854c
Add security tests
2019-04-29 18:05:49 -04:00
zixuanzh
db7be2d561
add simple test
2019-04-28 17:57:57 -04:00
Alex Haynes
2efc0d3b5c
updated peerinfo encoding stored in DHT
2019-04-28 17:38:40 -04:00
zixuanzh
3b1a3fb198
fix tests
2019-04-28 13:58:57 -04:00
Alex Haynes
fdaa4f56b9
working on adding tests
2019-04-27 21:59:25 -04:00
Alex Haynes
e7424d3673
added RoutedHost and updated new_node to support it
2019-04-20 17:35:05 -04:00
Alex Haynes
1228b11bc9
Update test_basic.py
2019-04-17 21:44:45 -04:00
zixuanzh
9906e23b55
fixed linting
2019-04-17 21:39:30 -04:00
ZX
14da7d49fe
Merge branch 'master' into peer_routing
2019-04-17 21:22:37 -04:00
zixuanzh
3c6ad886bb
add dependencies
2019-04-17 21:21:17 -04:00
Alex Haynes
d5c7cc7cb7
added changes from future commits to last passing bmuller commit
2019-04-17 20:21:59 -04:00
zixuanzh
7a298adc33
add simple lru test
2019-04-05 21:46:18 -04:00
Stuckinaboot
b4aa64bc39
Change >I to >Q for 64-bit big endian int
2019-04-05 17:30:35 -04:00
Stuckinaboot
3c0fca8979
Remove prints
2019-04-04 17:10:41 -04:00
Stuckinaboot
22e503a260
Add test for ring topology multiple messages from two origins
2019-04-03 23:32:03 -04:00
Stuckinaboot
fc78928037
Add test for multiple messages from two origins
2019-04-03 23:32:03 -04:00
Stuckinaboot
211d6f6860
Add dummy node test
2019-04-03 23:32:03 -04:00
Stuckinaboot
9d16aa834d
Modify pubsub to have seen message check incorporate seqno and node id
2019-04-03 23:32:03 -04:00
Stuckinaboot
c2b5389362
Adjust floodsub tests for new seqno util
2019-04-03 23:32:03 -04:00
zixuanzh
0238dff217
remove unused code
2019-04-02 21:17:48 -04:00
zixuanzh
41d1aae55b
clean up
2019-04-01 16:55:44 -04:00
zixuanzh
6eb070b78e
fix all tests
2019-04-01 16:23:20 -04:00
zixuanzh
2e5e7e3c10
remove message from test dummy
2019-04-01 15:04:20 -04:00
zixuanzh
de6bc011f0
update dummy account node
2019-03-31 22:16:49 -04:00