Commit Graph

  • b007bb4d07 Use the latest async-service mhchia 2020-02-04 17:46:30 +08:00
  • 89338914d3 Add comment for serve_tcp mhchia 2020-02-04 17:45:56 +08:00
  • 857bb34f4e Add checkpoints in PubsubNotifee mhchia 2020-02-04 17:44:10 +08:00
  • 66975ae3f2 Pubsub: change run_task to run_daemon_task mhchia 2020-02-04 17:43:39 +08:00
  • 7ae9de9002 Fix handler in net_stream_pair_factory mhchia 2020-02-04 17:09:26 +08:00
  • 3a91f114ab Swarm: add default_stream_handler mhchia 2020-02-04 17:05:53 +08:00
  • 3fc60cb312 SwarmConn: iterate streams.copy in _cleanup mhchia 2020-02-04 17:04:28 +08:00
  • d483982acb SwarmConn: don't catch exceptions in handler mhchia 2020-02-04 15:10:49 +08:00
  • 5da102d1c9 Ping protocol: move with statement out of try mhchia 2020-02-04 15:09:42 +08:00
  • 582e9aa475 Merge pull request #44 from ethereum/templatize-module-name-in-docs Jason Carver 2020-02-03 14:09:21 -08:00
  • 113696dce2 TravisCI: use python 3.7 instead of 3.7-dev mhchia 2020-02-03 16:04:32 +08:00
  • 22963a3099 Fix trio-typing>=0.3,<0.4 mhchia 2020-02-02 18:18:01 +08:00
  • 05d5d045ea Fix pubsub interop: missing unsubscribe_fn mhchia 2020-02-02 18:17:22 +08:00
  • 1588be2be9 Change the channel size of peer queue mhchia 2020-01-31 17:42:47 +08:00
  • e57d01f360 PR feedback mhchia 2020-01-28 15:48:41 +08:00
  • 095a848f30 Add clean-up logics into TrioSubscriptionAPI mhchia 2020-01-28 00:29:05 +08:00
  • c3ba67ea87 Remove locks in PubsubNotifee mhchia 2020-01-27 14:30:44 +08:00
  • 92ea35e147 Fix IPubsub and add IPubsub.wait_until_ready mhchia 2020-01-27 00:10:33 +08:00
  • e3a1dd62e4 Use new type hinting for trio channel mhchia 2020-01-26 23:56:19 +08:00
  • 42bc4d5d06 INetworkService implement ServiceAPI mhchia 2020-01-26 23:55:31 +08:00
  • ddfbf9ffc8 Use raise from to reserve stacktrace mhchia 2020-01-26 23:54:29 +08:00
  • b85bab1a09 Don't catch trio.BusyResourceError mhchia 2020-01-26 23:09:56 +08:00
  • 5b4b65faa8 Change default value of read() mhchia 2020-01-26 23:03:38 +08:00
  • 6e01a7da31 PR feedback: async with host.run() mhchia 2020-01-26 16:44:42 +08:00
  • 6d75c9aa8d Update docs copyright to the year 2020 Jason Carver 2020-01-24 11:28:54 -08:00
  • e6e69625bb Replace web3 reference with <MODULE_NAME> Jason Carver 2020-01-24 11:21:24 -08:00
  • c8f686f077 Update MIT License to 2020 Jason Carver 2020-01-24 11:07:11 -08:00
  • 8e0972f256 Merge pull request #389 from ShadowJonathan/f-string_clean Kevin Mai-Husan Chia 2020-01-20 18:41:20 +08:00
  • 4c3510f738 Merge branch 'master' into f-string_clean Jonathan de Jong 2020-01-20 11:25:37 +01:00
  • 0a2d86a3d0 Merge pull request #392 from ShadowJonathan/lru_lint Kevin Mai-Husan Chia 2020-01-20 11:20:12 +08:00
  • dcc4aa52fc Merge branch 'master' into feature/porting-to-trio mhchia 2020-01-19 16:56:40 +08:00
  • f0c4254bbd Use Service instead of ServiceAPI mhchia 2020-01-18 00:31:39 +08:00
  • 6c7aa30191 Add events in Pubsub mhchia 2020-01-18 00:17:30 +08:00
  • 54871024cc Pin the version of async-service to a4 mhchia 2020-01-16 18:54:19 +08:00
  • eef241e70e Make Mplex and SwarmConn not Service mhchia 2020-01-07 21:50:03 +08:00
  • eab59482c0 Use the real get_unused_tcp_port mhchia 2020-01-07 16:45:59 +08:00
  • 45eeb4fba3 Change notify_xxx to sync functions mhchia 2020-01-07 16:45:06 +08:00
  • 4db043a26a Remove pexpect from tox mhchia 2020-01-07 16:23:00 +08:00
  • 52f85586b8 Fix docs mhchia 2020-01-07 15:41:44 +08:00
  • fe4354d377 Fix tests_interop mhchia 2020-01-07 14:14:34 +08:00
  • 000e777ac7 Try older async-service mhchia 2019-12-26 20:44:58 +08:00
  • 94f0fcb6ad Iterate dead_peer_receive_channel with async for mhchia 2019-12-26 20:44:32 +08:00
  • 68c84b273d Use cls over the name of the factory mhchia 2019-12-26 20:44:10 +08:00
  • 3c98b1973d Remove useless conftest for pubsub mhchia 2019-12-26 20:43:38 +08:00
  • 4d814f0587 Merge pull request #394 from NIC619/fix_closing_a_reset_connection NIC Lin 2019-12-26 12:13:26 +08:00
  • 3b0386d861 Raise RawConnError NIC619 2019-12-24 22:27:16 +08:00
  • c62f1f374f Check if transport is closing before write/close NIC619 2019-12-24 22:23:38 +08:00
  • a390d21385 Remove RawConnError from exception handling NIC619 2019-12-24 21:57:13 +08:00
  • fb6076c061 Upgrade to 0.1.0a4 mhchia 2019-12-24 21:50:42 +08:00
  • 6ae3f5dc1b Add checkpoints in tests mhchia 2019-12-24 21:28:37 +08:00
  • 53dbb0aff1 Fix pubsub_notifee.py mhchia 2019-12-24 18:37:59 +08:00
  • 573c049d0f Catch expections in PubsubNotifee mhchia 2019-12-24 18:31:39 +08:00
  • 2287dc95be Fix test for info_from_p2p_addr mhchia 2019-12-24 18:08:33 +08:00
  • 3372c32432 Fix examples and modify new_node mhchia 2019-12-24 18:03:18 +08:00
  • 8f52315816 Fix close an already reset connection NIC619 2019-12-24 16:19:49 +08:00
  • 6fe5871d96 Use async-exit-stack over contextlib mhchia 2019-12-24 14:44:28 +08:00
  • ce5663705f Merge branch 'master' into feature/porting-to-trio mhchia 2019-12-24 02:19:43 +08:00
  • c35cb8318a Merge pull request #393 from ShadowJonathan/hashable_multiaddr Kevin Mai-Husan Chia 2019-12-23 17:32:08 +08:00
  • 45ef63af20 bump multiaddr from setup to 0.0.9 Jonathan de Jong 2019-12-23 09:24:41 +01:00
  • adae81ca01 fix logging bug Jonathan de Jong 2019-12-23 09:15:56 +01:00
  • 96f6b80e51 Merge remote-tracking branch 'origin/master' into f-string_clean Jonathan de Jong 2019-12-23 09:14:15 +01:00
  • 9d3312ebaf Merge pull request #380 from ShadowJonathan/fix_dependencies Kevin Mai-Husan Chia 2019-12-23 14:26:40 +08:00
  • 1571bfac07 Merge pull request #386 from ShadowJonathan/issue_384 Kevin Mai-Husan Chia 2019-12-23 14:25:38 +08:00
  • a08e749150 add lru to known_third_parties Jonathan de Jong 2019-12-21 12:55:26 +01:00
  • 17074dded0 add tests to new multiple multiaddr change Jonathan de Jong 2019-12-21 10:35:34 +01:00
  • 0b97f4d57c remove eth_utils per PR request Jonathan de Jong 2019-12-21 08:59:07 +01:00
  • df8be6eb09 revert network/tcp.py and add changes to multiaddr_to_socket_fix Jonathan de Jong 2019-12-19 21:09:11 +01:00
  • 0827d0d9ef add 2 more instances of formatting violations Jonathan de Jong 2019-12-19 18:09:47 +01:00
  • 28da206aea Merge pull request #387 from NIC619/fix_inconsistent_pubsub_peer_record_update NIC Lin 2019-12-20 00:34:14 +08:00
  • b1248ff315 enforced f-strings everywhere, %s on logging Jonathan de Jong 2019-12-19 17:31:18 +01:00
  • 3c75c85d7f Fix extra white space NIC619 2019-12-19 23:07:20 +08:00
  • cb80cfc50b Update libp2p/pubsub/gossipsub.py NIC Lin 2019-12-19 16:33:56 +08:00
  • 74092c1371 Apply PR feedback: update error msg NIC619 2019-12-19 16:26:37 +08:00
  • e51d376d5e Combine peers_gossipsub and peers_floodsub NIC619 2019-12-19 14:44:49 +08:00
  • 6cd3eb8fae Apply PR feedback: change param type and remove check before discard NIC619 2019-12-19 14:15:51 +08:00
  • 1124fc8211 add eth_utils add fastecdsa-any requirements Jonathan de Jong 2019-12-19 01:25:57 +01:00
  • 6cf1b98a88 mark explicit modulo formatting (to get started with PR draft) Jonathan de Jong 2019-12-19 00:36:50 +01:00
  • f54bc9d1af Make linter happy Jonathan de Jong 2019-12-18 19:05:22 +01:00
  • 81fe4049cf Apply PR review feedback > add if not addr clause back > use f-strings for exceptions instead of %s Jonathan de Jong 2019-12-18 18:47:03 +01:00
  • 4e4d91b2e2 Apply PR review suggestion (change "muxed" to "network" in docstrings) Jonathan de Jong 2019-12-18 10:54:52 +01:00
  • f3732f9480 Fix tests NIC619 2019-12-18 12:37:04 +08:00
  • 6b75901243 apply PR feedback (remote len == 0 block, remove redundant fixme comment + docstring line) Jonathan de Jong 2019-12-17 20:20:09 +01:00
  • 445c0f8e65 Dangling kademlia cleanup Alex Stokes 2019-12-17 10:11:17 -08:00
  • 1355fbae99 Merge pull request #385 from ShadowJonathan/issue_197 Alex Stokes 2019-12-17 09:35:36 -08:00
  • 19ce8a2140 Fix mypy NIC619 2019-12-17 21:56:02 +08:00
  • 04b9d688f8 Add newsfragment NIC619 2019-12-17 19:09:15 +08:00
  • 3cbe24caab fixes #384 Jonathan de Jong 2019-12-17 12:00:11 +01:00
  • 474ed41652 Remove dead peer if floodsub write stream fail NIC619 2019-12-17 18:48:25 +08:00
  • 009df257bc Check peer id exist in dict before access NIC619 2019-12-17 18:47:58 +08:00
  • 47d10e186f Add SubscriptionAPI mhchia 2019-12-17 18:17:28 +08:00
  • 794d2101e9 fixes #197 Jonathan de Jong 2019-12-17 11:00:45 +01:00
  • f10e3099cb Change type of peers in pubsub from list to set NIC619 2019-12-17 17:55:13 +08:00
  • b4bd997932 Fix mypy NIC619 2019-12-17 17:49:49 +08:00
  • 65766ec9ac Change type of local peers var from list to set NIC619 2019-12-17 17:36:15 +08:00
  • f1d58ef8ff Change type of peers from list to set: peers_gossipsub, peers_floodsub and mesh/fanout peers NIC619 2019-12-17 17:30:24 +08:00
  • 7d6daa8e10 Minor cleanup: - remove outdated comment - add new peer at the end - turn peers to send from list to set NIC619 2019-12-17 17:17:03 +08:00
  • fb0519129d Refine Mplex.close and SwarmConn.close mhchia 2019-12-17 15:50:55 +08:00
  • 6dd194ce95 Merge pull request #43 from ethereum/manifest-in Nick Gheorghita 2019-12-13 17:48:10 +01:00
  • ef31f7f6d6 Bump version: 0.1.3 → 0.1.4 Jason Carver 2019-12-12 13:59:52 -08:00
  • 368ac7ef7f Compile release notes Jason Carver 2019-12-12 13:57:27 -08:00