Commit Graph

  • 828ae69c66 Apply PR feedback: add_key_pair NIC619 2019-11-26 11:52:31 +08:00
  • 89363b2d9b Add internal type for release notes Jason Carver 2019-11-25 12:28:05 -08:00
  • 07eecb5c69 Separate release-note build from release Jason Carver 2019-11-25 12:22:29 -08:00
  • 02fe35663c Setup towncrier to generate release notes Christoph Burgdorf 2019-07-29 12:51:01 +02:00
  • 493224b75e Merge pull request #359 from ralexstokes/update-protobuf-dep Alex Stokes 2019-11-25 09:53:46 -08:00
  • 7850018041 Update protobuf dep to >=3.10.0 Alex Stokes 2019-11-22 09:39:16 -08:00
  • 076dae50f3 Fix missing BasicHost interface update NIC619 2019-11-25 22:05:33 +08:00
  • 566e4c080d Fix lint NIC619 2019-11-25 17:32:53 +08:00
  • e28a974425 Update peer store initialization in host factory NIC619 2019-11-25 17:17:09 +08:00
  • 8b4022328d Update peer store interface NIC619 2019-11-25 17:16:47 +08:00
  • e49de15227 Add get_private_key to Host NIC619 2019-11-25 16:57:00 +08:00
  • a63f00d8f8 Store our pubkey/privkey info during initialize_default_swarm NIC619 2019-11-25 16:55:55 +08:00
  • 144d93a023 Add pubkey/privkey info to PeerStore NIC619 2019-11-24 18:04:00 +08:00
  • 9837f30698 Rename peer_map to peer_data_map NIC619 2019-11-24 16:52:46 +08:00
  • e355cb2600 Apply PR feedback: Only use pop method if error handling is in place NIC619 2019-11-23 16:04:22 +08:00
  • 501eef59de Apply PR feedback: Only use pop method if graceful failure handling is desired NIC619 2019-11-21 14:48:03 +08:00
  • bcd7890124 Move test utilities to tools (#356) Chih Cheng Liang 2019-11-21 11:47:54 +08:00
  • 19907e18ec Replace (check and) del pattern with pop method NIC619 2019-11-20 23:06:37 +08:00
  • 74198c70b1 Merge pull request #355 from NIC619/check_before_del NIC Lin 2019-11-19 16:23:26 +08:00
  • c0522c1bd9 Check if entry exists in dictionary before delete NIC619 2019-11-17 21:52:05 +08:00
  • 64c49f809f Merge pull request #351 from NIC619/handle_stream_io_error NIC Lin 2019-11-17 15:09:45 +08:00
  • ace5ef69a8 Apply PR feedback: handle pubsub dead peer when stream closed in gossipsub NIC619 2019-11-16 17:03:04 +08:00
  • ccc7879422 Add stream.write error handling in gossipsub NIC619 2019-11-16 16:24:48 +08:00
  • 7d1f3d6000 Remove outdated comment NIC619 2019-11-15 12:12:28 +08:00
  • 1cc5a6f58b Bump pycryptodome version to 3.9.2 NIC619 2019-11-14 14:45:30 +08:00
  • cbe57cd5d7 Fix lint NIC619 2019-11-14 14:22:23 +08:00
  • 86e0fa4563 Handle StreamClosed in ping protocol handler NIC619 2019-11-12 18:33:44 +08:00
  • 9be9b4bbfc Handle StreamClosed in pub/gossip/flood-sub NIC619 2019-11-12 18:10:41 +08:00
  • c4f9ce6bb3 Handle StreamClosed in identify protocol handler NIC619 2019-11-12 18:07:30 +08:00
  • 32aa20ec39 Merge pull request #353 from carver/release-tools Jason Carver 2019-11-15 12:05:35 -08:00
  • b8ec43a859 remove type:ignore for working pycryptodome type Jason Carver 2019-11-14 14:16:17 -08:00
  • cb4b4b8209 setup.py: fix warnings and add description Jason Carver 2019-11-14 13:43:42 -08:00
  • 444929d5fc Add tool to make package for smoke test Jason Carver 2019-11-14 12:47:21 -08:00
  • 56d3e50267 Bump version: 0.1.1 → 0.1.2 mhchia 2019-11-14 15:29:50 +08:00
  • a5c3b8dec2 Merge pull request #340 from NIC619/fix_pubsub_stream_to_disconnected_peer NIC Lin 2019-11-14 15:16:32 +08:00
  • b8c7f0cfff Fix lint NIC619 2019-11-09 23:55:35 +08:00
  • 5dfa29a0df Track tasks created in pubsub and add close() NIC619 2019-11-05 15:22:31 +08:00
  • 93ef36bd86 Clean up peer record if pubsub stream fail NIC619 2019-11-05 15:09:53 +08:00
  • eeb87848af Apply PR feedback: - fix await stream close/reset - make _handle_dead_peer a sync function NIC619 2019-11-05 14:27:06 +08:00
  • d36e323703 Update error handling of pubsub stream handler NIC619 2019-11-04 21:17:54 +08:00
  • 97b3aca535 Fix: Force context switch before canceling swarm connection tasks NIC619 2019-11-04 18:27:31 +08:00
  • a8d9536b08 Spin up handle_dead_peer_queue task NIC619 2019-11-04 18:26:38 +08:00
  • 84f5210220 Implement handle_dead_peer_queue NIC619 2019-11-04 14:23:42 +08:00
  • 4b15cb1af5 Implement PubsubNotifee.disconnected NIC619 2019-11-04 14:23:00 +08:00
  • c6c9393f2b Add dead_peer_queue to pubsub NIC619 2019-11-04 14:22:24 +08:00
  • 3a0c7d06d1 Update comment for connection.close() NIC619 2019-11-03 12:31:20 +08:00
  • 285bb2ed19 Merge pull request #346 from ralexstokes/add-tests-for-identify Alex Stokes 2019-11-09 01:51:34 +08:00
  • 29873584dc update test for identify and ping using new test fixture via PR feedback Alex Stokes 2019-11-07 21:01:08 -08:00
  • 30dee28ef2 add asynccontextmanager utility for a pair of connected hosts Alex Stokes 2019-11-07 20:59:01 -08:00
  • 2a7b43d853 bugfix: return empty bytes immediately if read length is 0 Alex Stokes 2019-11-07 20:57:55 -08:00
  • 4b01c33d54 add some additional logging Alex Stokes 2019-11-07 20:57:43 -08:00
  • 9c05e2b0bb add basic test for identify Alex Stokes 2019-11-06 15:18:53 -08:00
  • 58f360167d refactor creation of identify response to make testing easier Alex Stokes 2019-11-06 15:18:40 -08:00
  • 071eccc995 Merge pull request #345 from ralexstokes/install-default-protocols Alex Stokes 2019-11-08 00:05:05 +08:00
  • 9a23609b48 type protocol IDs to satisfy mypy Alex Stokes 2019-11-06 15:21:30 -08:00
  • e61a5a677f clean up tests w/ default protocols in place Alex Stokes 2019-11-06 15:04:17 -08:00
  • ed81562a89 Add identify and ping as default protocols Alex Stokes 2019-11-06 14:55:17 -08:00
  • cce33b2f50 Merge pull request #337 from ralexstokes/ground-work-for-identify-to-host Alex Stokes 2019-11-07 23:50:36 +08:00
  • 10dd997805 Reorganize factories mhchia 2019-11-01 17:34:03 +08:00
  • 9500bdbf55 Add class attribute for additional property Alex Stokes 2019-11-06 11:50:50 -08:00
  • a07c3b0fb0 modify factories to fix tests Alex Stokes 2019-10-28 20:38:50 +09:00
  • 3deccac2da fix tests Alex Stokes 2019-10-28 20:38:43 +09:00
  • 0ca3e83540 lintroll Alex Stokes 2019-10-28 19:09:47 +09:00
  • 693a8cf99a Default protocols are constructed using a reference to the host Alex Stokes 2019-10-28 18:48:00 +09:00
  • e0a94b6092 identify handler reads data on request from the host Alex Stokes 2019-10-28 18:47:10 +09:00
  • 32c55bcaf2 hosts track their public key Alex Stokes 2019-10-28 18:44:55 +09:00
  • 11db313b17 A mux can provide the protocols it responds to Alex Stokes 2019-10-28 18:43:59 +09:00
  • 07c09d8d9e Merge pull request #341 from hukkinj1/master Alex Stokes 2019-11-07 04:39:08 +09:00
  • d09046f5ca Merge pull request #343 from ralexstokes/add-pytest-xdist Alex Stokes 2019-11-07 04:34:14 +09:00
  • fbdd52cfdc Go with immutable datatype in lieu of mutable datatype Alex Stokes 2019-11-06 11:25:12 -08:00
  • 4a80519ba1 Merge pull request #334 from ralexstokes/add-identify-protocol Alex Stokes 2019-11-06 11:05:56 +09:00
  • c30d9ce397 Fix linter error from merge in #315. Alex Stokes 2019-11-05 17:50:43 -08:00
  • c8a5f6f8d7 Run docformatter over changes Alex Stokes 2019-11-05 17:24:52 -08:00
  • 17ba328e1a Add pytest-xdist plugin to parallelize tests Alex Stokes 2019-11-05 17:08:35 -08:00
  • 94984be4df Avoid hard-coding ports where it is not relevant for Kademlia tests Alex Stokes 2019-11-05 17:08:18 -08:00
  • 5cb4479534 Modify the `KademliaServer` so that lack of port lets the OS choose a free one Alex Stokes 2019-11-05 17:06:54 -08:00
  • 8ab69b9676 fix medley of typos Alex Stokes 2019-11-05 17:17:07 -08:00
  • 01dc49164f fix bug found via typechecker Alex Stokes 2019-10-25 20:18:40 +09:00
  • 01ebfa760f Add identify protobufs to makefile Alex Stokes 2019-10-25 18:51:38 +09:00
  • 08b57fa2ee Add core handler for identify protocol Alex Stokes 2019-10-25 18:51:24 +09:00
  • 700209c50a Merge pull request #315 from ralexstokes/add-ping-protocol Alex Stokes 2019-11-06 10:14:39 +09:00
  • 23848039fd Use pytest.fail() to fail test Taneli Hukkinen 2019-11-05 01:26:08 +01:00
  • 69279108bc Add flake8-bugbear Taneli Hukkinen 2019-11-04 21:16:09 +01:00
  • cab0e0c1c4 Add warn_unreachable=True mypy config Taneli Hukkinen 2019-11-04 21:05:12 +01:00
  • dcfeb3e38a Merge pull request #339 from dmuhs/fix/kademlia-docstring Piper Merriam 2019-10-29 11:31:35 -06:00
  • 817325f341 Fix docstring list in KademliaProtocol Dominik Muhs 2019-10-29 18:22:13 +01:00
  • ded3792924 Merge pull request #331 from dmuhs/fix/docs-format Piper Merriam 2019-10-28 09:39:52 -06:00
  • 3439a2c10e Add docformatter to lintroll and tox CI check Dominik Muhs 2019-10-26 12:45:26 +02:00
  • f2bfc68f6d Re-generate protobufs Alex Stokes 2019-10-25 18:51:57 +09:00
  • eaa800c356 Merge pull request #332 from dmuhs/refactor/bool-params Alex Stokes 2019-10-25 09:38:52 +08:00
  • bafdd8512d Enforce pre-summary newline in docstrings Dominik Muhs 2019-10-24 20:10:45 +02:00
  • 87ed98d7af Add newline before docstring summary Dominik Muhs 2019-10-24 20:10:36 +02:00
  • 09ab6c51ec Fix formatting in secio transport Dominik Muhs 2019-10-24 19:52:03 +02:00
  • 714126faf5 Update secio tests to new initiator flag Dominik Muhs 2019-10-24 19:30:57 +02:00
  • b5eeceecbf Rename raw connection initiator flags Dominik Muhs 2019-10-24 19:28:42 +02:00
  • 5810174374 Rename stream muxer initiator flags Dominik Muhs 2019-10-24 19:28:19 +02:00
  • c0452c961b Update stream muxer conftest Dominik Muhs 2019-10-24 19:25:51 +02:00
  • 031b98ddf0 Rename stream muxer initiator flags Dominik Muhs 2019-10-24 19:25:34 +02:00
  • 4bda366bb8 Rename protocol muxer initiator flags Dominik Muhs 2019-10-24 19:25:09 +02:00
  • 021c92ea25 Rename secio initiator flags Dominik Muhs 2019-10-24 19:22:24 +02:00