Commit Graph

  • 7ad96d167c Rename InsecureSession initiator flag Dominik Muhs 2019-10-24 19:18:29 +02:00
  • 18783b82a2 Rename SecurityMultistream initiator flag Dominik Muhs 2019-10-24 19:17:00 +02:00
  • ee0b4daf1c Rename BaseSession initiator flag Dominik Muhs 2019-10-24 19:16:08 +02:00
  • afb79da9f8 Fix typo Dominik Muhs 2019-10-24 19:12:15 +02:00
  • 2e38d5e5fb Rename TransportUpgrader initiator flag Dominik Muhs 2019-10-24 19:06:49 +02:00
  • 477c08da96 Merge pull request #314 from ralexstokes/add-default-protocols Alex Stokes 2019-10-24 20:10:53 +09:00
  • d795a9b854 Add tests for ping protocol Alex Stokes 2019-10-24 19:50:38 +09:00
  • 1cf239cce6 Respect a remote close during the ping protocol Alex Stokes 2019-10-24 19:44:52 +09:00
  • e157c3f654 typing fixes Alex Stokes 2019-09-24 19:15:32 -07:00
  • f24b488f79 handle other side closing their end of the connection during ping Alex Stokes 2019-09-24 19:04:18 -07:00
  • 4a800e5c56 Add first-pass at ping protocol Alex Stokes 2019-09-24 18:21:04 -07:00
  • 1bf0c31d1f add basic test for default protocols Alex Stokes 2019-10-24 17:36:34 +09:00
  • 15cabb1c33 Copy default data to avoid undesirable mutations Alex Stokes 2019-10-24 17:27:15 +09:00
  • d0c8b7d8af Avoid sharing default dictionary argument across all instances of class Alex Stokes 2019-09-24 19:12:04 -07:00
  • c92bade815 Add "default protocols" that all hosts have by default Alex Stokes 2019-09-24 17:19:22 -07:00
  • 2af97240c5 Fix import formatting Dominik Muhs 2019-10-24 09:16:58 +02:00
  • 61cd5e5659 Show diff on incorrectly sorted imports Dominik Muhs 2019-10-24 09:16:49 +02:00
  • 73251a0c36 Merge pull request #328 from NIC619/another_error_handling Kevin Mai-Husan Chia 2019-10-24 14:53:19 +08:00
  • 3db297fbee Fix mypy errors Dominik Muhs 2019-10-24 08:53:19 +02:00
  • eef505f2d9 Add automatic docstring formatter and apply Dominik Muhs 2019-10-24 08:41:10 +02:00
  • d52b093286 Fix mypy error NIC619 2019-10-18 15:59:35 +08:00
  • 9889cb8ab1 Fix wrong import NIC619 2019-10-18 15:44:07 +08:00
  • 211e2f6dd0 Catch PeerDataError in PeerStore.get NIC619 2019-10-17 15:52:57 +08:00
  • 5063f0e2a6 Fix lint NIC619 2019-10-17 15:34:11 +08:00
  • 49bd460e37 Catch SedesException in deserialize_public_key NIC619 2019-10-17 15:19:39 +08:00
  • da08d37c38 Add SedesException SecioException NIC619 2019-10-17 15:03:18 +08:00
  • 29bf623d2c Raise DecryptionFailedException when failed to decrypt read msg NIC619 2019-10-17 14:30:30 +08:00
  • 5e5c96f1ea Add DecryptionFailedException MsgioException NIC619 2019-10-17 14:29:58 +08:00
  • 30aeb35122 Merge pull request #324 from aratz-lasa/issue-280 Kevin Mai-Husan Chia 2019-10-16 17:20:23 +09:00
  • ac9feef26c Pull request feedback Aratz M. Lasa 2019-10-15 20:32:25 +02:00
  • fa1637850e Removed pipenv Pipfiles Aratz M. Lasa 2019-10-15 19:27:04 +02:00
  • 70ea471491 Blacked Aratz M. Lasa 2019-10-15 19:11:11 +02:00
  • d1d91e4091 Refactored for 'lint' testenv Aratz M. Lasa 2019-10-15 19:02:03 +02:00
  • 65b5e7aeea Update libp2p/peer/peerinfo.py aratz-lasa 2019-10-15 16:31:20 +02:00
  • 8143563831 Added tests for 'RoutedHost' and modified 'FindPeer' Aratz M. Lasa 2019-10-15 01:01:16 +02:00
  • 3f24b015ab Implemented Host that includes a routing system. Explicitly separating different Host types as in Go implementation Aratz M. Lasa 2019-10-14 00:29:28 +02:00
  • 00f83a3694 Merge pull request #321 from mhchia/fix/version-in-setuppy Kevin Mai-Husan Chia 2019-10-11 22:46:02 +09:00
  • b8963e4433 Fix: version released mismatches setup.py mhchia 2019-10-02 09:58:08 +08:00
  • a369a9f605 Merge pull request #323 from mhchia/fix/ignore-typing-for-wait Kevin Mai-Husan Chia 2019-10-02 16:16:01 +08:00
  • 82dc5d9e31 Ignore typing for asyncio.wait mhchia 2019-10-02 15:45:54 +08:00
  • 50a0783b98 Merge pull request #320 from aleph-im/master Kevin Mai-Husan Chia 2019-10-02 11:36:08 +08:00
  • 986a852e7e Remove forced debug level Moshe Malawach 2019-10-01 11:17:05 +02:00
  • ec015b5a00 Merge pull request #311 from ralexstokes/clean-up-mss-client Alex Stokes 2019-09-25 11:47:41 -04:00
  • ada4d48b6e remove overly verbose comments Alex Stokes 2019-09-24 15:35:48 -07:00
  • e6a0361e09 Merge pull request #291 from ralexstokes/add-ed25519-support Alex Stokes 2019-09-24 10:21:01 -07:00
  • 75ec2facce linter fix Alex Stokes 2019-09-24 10:07:33 -07:00
  • 673ce40133 Add basic tests for ed25519 keys Alex Stokes 2019-09-24 09:50:49 -07:00
  • 487c923791 add ed25519 private key deserializer Alex Stokes 2019-09-24 09:50:03 -07:00
  • 6f638b7afe Merge pull request #307 from swedneck/patch-1 Alex Stokes 2019-09-24 09:54:47 -07:00
  • bbd8279811 Add explicit exception if we are missing a deserializer Alex Stokes 2019-09-24 09:38:59 -07:00
  • 6e53849604 Delete utils in favor of serialization module Alex Stokes 2019-09-24 09:31:35 -07:00
  • 5fdca2ffb2 Add public key implementation Alex Stokes 2019-09-09 20:23:44 -04:00
  • fa7d1d66a8 Fix import path Alex Stokes 2019-09-09 20:18:39 -04:00
  • b142964d31 Adds support for verifying ed25519 signatures, for secio Alex Stokes 2019-09-09 20:04:35 -04:00
  • dbc35e8b9d Merge pull request #310 from mhchia/fix/missing_await_for_stream_reset_in_pubsub Kevin Mai-Husan Chia 2019-09-24 14:04:25 +08:00
  • b53ca5708f Merge pull request #305 from mhchia/fix/change-notifee-and-add-tests-for-swarm-conn-and-mplex Kevin Mai-Husan Chia 2019-09-24 14:02:58 +08:00
  • da34b086d5 Merge branch 'master' into fix/change-notifee-and-add-tests-for-swarm-conn-and-mplex mhchia 2019-09-24 13:50:54 +08:00
  • 3e9df896f4 Merge pull request #308 from mhchia/fix/move-deps-on-p2pclient-to-tox Kevin Mai-Husan Chia 2019-09-24 13:49:35 +08:00
  • b0c919aab7 Add the missing await mhchia 2019-09-24 13:34:26 +08:00
  • e217acf4ac Add additional sleep mhchia 2019-09-24 13:28:14 +08:00
  • 7405f078e6 Raise read_delim exception with different msgs mhchia 2019-09-24 13:22:25 +08:00
  • 37bee9fb16 PR feedback mhchia 2019-09-24 12:51:59 +08:00
  • 1bd18c84f2 Apply suggestions from code review Kevin Mai-Husan Chia 2019-09-24 12:33:14 +08:00
  • 1bfc6b41e4 Add pexpect in isort third party mhchia 2019-09-24 12:18:31 +08:00
  • d1c25b8b1e Fix interop pubsub tests and PR feedback mhchia 2019-09-24 11:30:52 +08:00
  • 19c17dd512 Remove the leftover test in testenv commands mhchia 2019-09-23 22:10:47 +08:00
  • 006002f687 Move interop tests out of tests mhchia 2019-09-23 22:00:40 +08:00
  • 95ae718e3d Raise ParseError in read_delim mhchia 2019-09-23 16:01:22 +08:00
  • 92deae41dc Change SwarmConn.conn to muxed_conn mhchia 2019-09-23 15:46:50 +08:00
  • 8d2415a404 Move calls to Notifee inside Swarm mhchia 2019-09-23 15:01:58 +08:00
  • 6f8394e4bd Merge branch 'master' into fix/change-notifee-and-add-tests-for-swarm-conn-and-mplex mhchia 2019-09-21 18:34:12 +08:00
  • 4a838033ff Merge pull request #304 from mhchia/fix/detection-of-close Kevin Mai-Husan Chia 2019-09-21 18:28:16 +08:00
  • 539047be2d Make mplex.read_message handle RawConnError mhchia 2019-09-21 18:17:00 +08:00
  • e44c2145cc Merge branch 'master' into fix/detection-of-close mhchia 2019-09-21 18:05:54 +08:00
  • 99ef3f08d8 Merge pull request #303 from mhchia/fix/refactor-mplex-swarm-host Kevin Mai-Husan Chia 2019-09-21 17:27:09 +08:00
  • 0df578d219 Add the missing exceptions.py mhchia 2019-09-21 17:18:55 +08:00
  • a27a817d50 Fix tests mhchia 2019-09-20 16:17:13 +08:00
  • 89c127eff4 Merge branch 'master' into fix/refactor-mplex-swarm-host mhchia 2019-09-20 15:45:28 +08:00
  • c2ef724136 change matrix alias swedneck 2019-09-20 06:43:49 +02:00
  • 96559cb95a fix typo swedneck 2019-09-20 06:40:50 +02:00
  • d94a36c42b Add links to the new bridged chats to README.md swedneck 2019-09-19 19:27:18 +02:00
  • 85457fa308 Merge pull request #299 from NIC619/add_more_error_handling NIC Lin 2019-09-19 23:45:02 +08:00
  • 7fc958e7be Add exception raised to docstring NIC619 2019-09-19 22:19:36 +08:00
  • c6294ad19b Raise MultiselectCommunicatorError: when failed to write to communicator NIC619 2019-09-19 21:51:23 +08:00
  • b9d1875027 Catch OpenConnectionError in swarm.dial_peer NIC619 2019-09-19 21:24:01 +08:00
  • 1f76f6ee1b Raise OpenConnectionError when failed to open connection NIC619 2019-09-19 21:23:35 +08:00
  • c44be5e247 Add OpenConnectionError for base transport NIC619 2019-09-19 21:23:01 +08:00
  • 62b0bc4580 Remove useless protocol_ids in logging mhchia 2019-09-19 14:10:50 +08:00
  • 313ae45b45 Add tests for MplexStream mhchia 2019-09-18 21:51:09 +08:00
  • 02c55e5d14 Add tests for MplexConn mhchia 2019-09-18 17:22:04 +08:00
  • a9ad37bc6f Add mplex tests and fix error in SwarmConn.close mhchia 2019-09-18 15:44:45 +08:00
  • d61327f5f9 Add tests for SwarmConn mhchia 2019-09-17 23:38:11 +08:00
  • b8b5ac5e06 Add test for notifee disconnected mhchia 2019-09-17 21:54:20 +08:00
  • 675c61ce3b Move test_notify from libp2p to network mhchia 2019-09-15 21:45:44 +08:00
  • 5307c0506b Change IMuxedConn to INetConn in Notifee mhchia 2019-09-15 21:41:29 +08:00
  • 0356380996 Add tests for swarm, and debug mhchia 2019-09-15 20:44:48 +08:00
  • 276ac4d8ab Add initial test for Swarm.close_peer mhchia 2019-09-15 14:59:59 +08:00
  • e7304538da Add test for Swarm.close_peer mhchia 2019-09-14 23:37:01 +08:00
  • 6923f257f6 Remove print mhchia 2019-09-19 16:07:53 +08:00
  • 5f064dd329 Refactor: get rid of single huge _handle_incoming mhchia 2019-09-14 14:59:07 +08:00