6e01a7da31
PR feedback: async with host.run()
2020-01-26 16:44:42 +08:00
3372c32432
Fix examples and modify new_node
...
- Fix examples `chat.py` and `echo.py`
- Use trio directly, instead of `trio-asyncio`
- Remove redundant code
- Change entry API `new_node` to `new_host_trio`
2019-12-24 18:03:18 +08:00
837a249552
Fix security module
2019-12-07 00:14:01 +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
92deae41dc
Change SwarmConn.conn to muxed_conn
2019-09-23 15:46:50 +08:00
0c7afeebaf
Fix test_security_multistream
2019-09-19 13:59:50 +08:00
bb0da41eda
Remove cleanup
...
`cleanup` cancels all tasks in the loop, including the main one run by
`run_until_complete`
2019-09-10 18:01:16 +08:00
5e68aff1d1
Fix conn attribute and docstring in mplex
2019-08-25 14:42:44 +08:00
73495038e1
remove simple security
2019-08-24 21:39:25 +02:00
16a4fd33c1
PR feedbacks
...
- Move exceptions to exceptions.py
- Raise `UpgradeFailure` in upgrader
- Refine the try/catch for upgraders in swarm
2019-08-22 22:53:49 +08:00
3e04480d62
Raise HandshakeFailure in transport
...
Change the exception handling flow.
Raise `SecurityUpgradeFailure` in security_multistream.
2019-08-22 22:53:48 +08:00
0b62321265
Fix test_security_multistream
...
By passing initiator keypairs to node.
2019-08-22 22:53:47 +08:00
7535a02da7
Clean up key gen
2019-08-15 19:24:30 -07:00
82bae341a7
Run isort over files that were missing it
2019-08-15 16:33:35 -07:00
cda74dd382
Update tests for new logic
2019-08-15 16:33:34 -07:00
b98025c379
Move security transports into their respective sub-packages
2019-08-15 16:33:33 -07:00
3debd2c808
Run black and isort w/ the new config
2019-08-13 14:36:42 -07:00
7477b29508
run black w/ extended line length
2019-08-04 12:37:41 +08:00
c8005c8113
Run isort in repo
2019-08-03 17:50:14 +08:00
c72dfe1dd3
Use factories and fixtures in pubsub tests
...
Done
- Add factories using factory-boy
- Modify fixtures and tests to use factories
- Modify tests to use fixtures and factories
- Clean up
2019-08-01 13:30:08 +08:00
0ae9840928
Run black over repo
2019-07-31 15:00:12 -07:00
144dc8d854
Move simple security to libp2p/security
2019-05-01 17:21:11 -04:00
515a461172
Add more security tests
2019-05-01 17:13:01 -04:00
4333c2d061
Fix linting issues'
2019-05-01 13:54:19 -04:00
e555f17a7b
Fix bug in security multistream
2019-04-30 16:07:26 -04:00
a0bd6e5eb0
Add simple security with communication test
2019-04-30 03:27:06 -04:00
f59f27d4d0
Integrate security selectin into libp2p system
2019-04-30 03:09:05 -04:00
999e64854c
Add security tests
2019-04-29 18:05:49 -04:00