Commit Graph

  • 0833d31ec7 Use a timer to add peers by interval. Henry de Valence 2019-10-21 22:39:05 -0700
  • 9a779a639f Add a timeout for peer handshakes. Henry de Valence 2019-10-21 22:17:57 -0700
  • 027bdc8465 Rework initial crawler logic. Henry de Valence 2019-10-21 22:07:57 -0700
  • e1a35490af Move the CandidateSet to its own file. Henry de Valence 2019-10-21 21:25:49 -0700
  • 2f3292759f Add an explicit tracing span to each address book. Henry de Valence 2019-10-21 15:56:16 -0700
  • e0e17a4719 Send an initial request for peers on launching crawler. Henry de Valence 2019-10-21 15:47:42 -0700
  • b1832ce593 Initial work to add a crawl-and-dial task. Henry de Valence 2019-10-21 15:24:17 -0700
  • b95a8e5ffa Fix typos. Henry de Valence 2019-10-22 19:03:04 -0700
  • 3602a8e816 Import and update the previous design.md. Henry de Valence 2019-10-21 11:04:28 -0700
  • 5db8b0e5ba Remove stub discover module. Henry de Valence 2019-10-22 12:49:31 -0700
  • 61852ebf82 Suppress unused import warnings. Henry de Valence 2019-10-22 12:48:50 -0700
  • a054594355 Add a PeerConnector wrapper around PeerHandshake Henry de Valence 2019-10-22 12:44:08 -0700
  • 184e36147b Rename PeerConnector to PeerHandshake. Henry de Valence 2019-10-22 11:30:24 -0700
  • 4055eb8889 bugfix: ensure the PeerServer always calls fail_with before exit Henry de Valence 2019-10-22 14:42:46 -0700
  • c1a23f9343 bugfix: ensure the PeerServer always calls fail_with before exit Henry de Valence 2019-10-22 14:42:46 -0700
  • c1e8c3d0cd Remove stub discover module. Henry de Valence 2019-10-22 12:49:31 -0700
  • 8dd9a57767 Suppress unused import warnings. Henry de Valence 2019-10-22 12:48:50 -0700
  • a2aa03f577 Add a PeerConnector wrapper around PeerHandshake Henry de Valence 2019-10-22 12:44:08 -0700
  • 4d99296fa8 Rename PeerConnector to PeerHandshake. Henry de Valence 2019-10-22 11:30:24 -0700
  • a7fce23d85 Unlink peer spans from their creation details. Henry de Valence 2019-10-22 10:23:35 -0700
  • 56ff75e2df Make zebra-network::Config toml-able. Henry de Valence 2019-10-22 09:40:00 -0700
  • d80dcd93fd Use a timer to add peers by interval. Henry de Valence 2019-10-21 22:39:05 -0700
  • 97081154fb Add a timeout for peer handshakes. Henry de Valence 2019-10-21 22:17:57 -0700
  • e150ef97f5 Rework initial crawler logic. Henry de Valence 2019-10-21 22:07:57 -0700
  • 9288396353 Move the CandidateSet to its own file. Henry de Valence 2019-10-21 21:25:49 -0700
  • a1bff29b04 Add an explicit tracing span to each address book. Henry de Valence 2019-10-21 15:56:16 -0700
  • ce2bb3ba94 Send an initial request for peers on launching crawler. Henry de Valence 2019-10-21 15:47:42 -0700
  • 36528960be Initial work to add a crawl-and-dial task. Henry de Valence 2019-10-21 15:24:17 -0700
  • 32aea0cbf9 Add useful docstrings Deirdre Connolly 2019-10-21 15:16:28 -0400
  • 3de34290e6 Construct LIVE_PEER_DURATION from other timeout and interval constants Deirdre Connolly 2019-10-21 14:59:47 -0400
  • 8588c44bcf Add a comment about not cloning the server channel any more than we are Deirdre Connolly 2019-10-21 14:31:47 -0400
  • 61a07c67ef Inside tokio::spawn, loop over Iterator stream and send ClientRequest msgs on the channel instead Deirdre Connolly 2019-10-21 14:05:09 -0400
  • e65f5a05ea Broken: I can't seem to return either an impl Future or Result to satisfy for_each Deirdre Connolly 2019-10-21 04:51:37 -0400
  • 3548998980 Set server state to Failed if a response to a heartbeat Ping never comes Deirdre Connolly 2019-10-18 21:30:19 -0400
  • adffc4239d Partially complete heartbeats to peer Deirdre Connolly 2019-10-18 03:51:57 -0400
  • 9c9b47076f Add useful docstrings Deirdre Connolly 2019-10-21 15:16:28 -0400
  • 600e7677cd Construct LIVE_PEER_DURATION from other timeout and interval constants Deirdre Connolly 2019-10-21 14:59:47 -0400
  • f19657f98c Add a comment about not cloning the server channel any more than we are Deirdre Connolly 2019-10-21 14:31:47 -0400
  • 40eabe5d17 Inside tokio::spawn, loop over Iterator stream and send ClientRequest msgs on the channel instead Deirdre Connolly 2019-10-21 14:05:09 -0400
  • 720ed79053 Broken: I can't seem to return either an impl Future or Result to satisfy for_each Deirdre Connolly 2019-10-21 04:51:37 -0400
  • 9d15e6f613 Set server state to Failed if a response to a heartbeat Ping never comes Deirdre Connolly 2019-10-18 21:30:19 -0400
  • cc8f53638c Partially complete heartbeats to peer Deirdre Connolly 2019-10-18 03:51:57 -0400
  • 62e423bad8 Update zebra-network/src/address_book.rs Henry de Valence 2019-10-18 18:03:35 -0700
  • a8ef02c826 Refactor AddressBook::update, add contains, get. Henry de Valence 2019-10-18 11:04:38 -0700
  • 501db9fcc8 Add AddressBook::is_potentially_connected() Henry de Valence 2019-10-18 09:54:34 -0700
  • fe9cef261d Allow draining AddressBook entries oldest-first. Henry de Valence 2019-10-18 09:27:28 -0700
  • 39d38a8647 Rewrite AddressBook to use a BTreeSet. Henry de Valence 2019-10-17 21:19:23 -0700
  • 5e9ac87f57 Collect into an AddressBook in connect. Henry de Valence 2019-10-17 18:50:42 -0700
  • ecd57f43ed Implement Extend and Drain for AddressBook. Henry de Valence 2019-10-17 17:54:08 -0700
  • 0bfd57def2 Add iteration functions to `AddressBook`. Henry de Valence 2019-10-17 16:25:24 -0700
  • b03a83fa86 Simplify TimestampCollector. Henry de Valence 2019-10-17 16:38:44 -0700
  • 53be838d51 Extract `TimestampData` to `AddressBook`. Henry de Valence 2019-10-17 15:42:19 -0700
  • 15a698b23c Use MetaAddr in the timestamp collector. Henry de Valence 2019-10-17 14:33:45 -0700
  • fcd0b35bf0 Broken: I can't seem to return either an impl Future or Result to satisfy for_each Deirdre Connolly 2019-10-21 04:51:37 -0400
  • f8ad331700 Update zebra-network/src/address_book.rs Henry de Valence 2019-10-18 18:03:35 -0700
  • a3ce787e36 Refactor AddressBook::update, add contains, get. Henry de Valence 2019-10-18 11:04:38 -0700
  • de9a29e5a7 Add AddressBook::is_potentially_connected() Henry de Valence 2019-10-18 09:54:34 -0700
  • b2e6d80c9d Allow draining AddressBook entries oldest-first. Henry de Valence 2019-10-18 09:27:28 -0700
  • 47e4051c17 Rewrite AddressBook to use a BTreeSet. Henry de Valence 2019-10-17 21:19:23 -0700
  • cf1ad2948c Collect into an AddressBook in connect. Henry de Valence 2019-10-17 18:50:42 -0700
  • 98488c1fc7 Implement Extend and Drain for AddressBook. Henry de Valence 2019-10-17 17:54:08 -0700
  • 1d0f933084 Add iteration functions to `AddressBook`. Henry de Valence 2019-10-17 16:25:24 -0700
  • a6e3640385 Simplify TimestampCollector. Henry de Valence 2019-10-17 16:38:44 -0700
  • db87d24470 Extract `TimestampData` to `AddressBook`. Henry de Valence 2019-10-17 15:42:19 -0700
  • 619efbf102 Use MetaAddr in the timestamp collector. Henry de Valence 2019-10-17 14:33:45 -0700
  • 012a018f49 Set server state to Failed if a response to a heartbeat Ping never comes Deirdre Connolly 2019-10-18 21:30:19 -0400
  • 629d65df5b Partially complete heartbeats to peer Deirdre Connolly 2019-10-18 03:51:57 -0400
  • 9ec1e01c8f Add a config command. Henry de Valence 2019-10-18 17:04:41 -0700
  • aba50c546b Add a config command. Henry de Valence 2019-10-18 17:04:41 -0700
  • ad43a61fb4 Ensure that all types appearing in public types are exported. Henry de Valence 2019-10-17 12:46:08 -0700
  • 1f0a7e5e73 Remove Codec::builder doctest. Henry de Valence 2019-10-17 10:41:40 -0700
  • c7e0d63bed Export the BoxedZebraService type alias. Henry de Valence 2019-10-17 10:38:25 -0700
  • 1c6c4140ed Add a nice comment to zebra-network. Henry de Valence 2019-10-16 19:27:52 -0700
  • f0bb2bff77 Do not export zebra-network internals. Henry de Valence 2019-10-16 19:26:39 -0700
  • 7c35e7e6c0 Delete the listen stub command. Henry de Valence 2019-10-16 18:49:08 -0700
  • d4dc4f0d04 Add tracing output on unhandled peer requests Henry de Valence 2019-10-16 18:45:33 -0700
  • 54948b07e2 Add a peer listener task. Henry de Valence 2019-10-16 18:29:45 -0700
  • 5847b490da Move PeerSet setup logic into a peer_set::init() Henry de Valence 2019-10-16 17:06:21 -0700
  • 63cf340ab4 Add fields to zebra-network Config. Henry de Valence 2019-10-16 15:16:29 -0700
  • ad960b5115 Ensure that all types appearing in public types are exported. Henry de Valence 2019-10-17 12:46:08 -0700
  • 820e957947 Remove Codec::builder doctest. Henry de Valence 2019-10-17 10:41:40 -0700
  • a198500587 Export the BoxedZebraService type alias. Henry de Valence 2019-10-17 10:38:25 -0700
  • 5034379874 Add a nice comment to zebra-network. Henry de Valence 2019-10-16 19:27:52 -0700
  • 771cee55fb Do not export zebra-network internals. Henry de Valence 2019-10-16 19:26:39 -0700
  • f7f3e9b35d Delete the listen stub command. Henry de Valence 2019-10-16 18:49:08 -0700
  • 4e91b7e381 Add tracing output on unhandled peer requests Henry de Valence 2019-10-16 18:45:33 -0700
  • 9fbc8e75cb Add a peer listener task. Henry de Valence 2019-10-16 18:29:45 -0700
  • c3f54757d1 Move PeerSet setup logic into a peer_set::init() Henry de Valence 2019-10-16 17:06:21 -0700
  • 06740cc437 Add fields to zebra-network Config. Henry de Valence 2019-10-16 15:16:29 -0700
  • 0a56830eab Ascii-fy the command string in message header trace Henry de Valence 2019-10-17 09:44:11 -0700
  • 11f2c3c226 Ascii-fy the command string in message header trace Henry de Valence 2019-10-17 09:44:11 -0700
  • 17b93523bd Restore PeerSet code in connect stub. Henry de Valence 2019-10-15 17:07:59 -0700
  • ff27334e81 Make PeerConnector tower::Buffer'able Henry de Valence 2019-10-15 16:46:12 -0700
  • db7ac53f3b Add a Mutex<HashSet<Nonce>> to detect self-conns. Henry de Valence 2019-10-15 16:10:43 -0700
  • ed335e68f4 Remove outdated comment Henry de Valence 2019-10-15 15:01:07 -0700
  • 31651cf87c Fix copy-paste bug in Codec Henry de Valence 2019-10-15 14:59:09 -0700
  • 8a1aa71736 Modify PeerConnector to also handle inbound conns. Henry de Valence 2019-10-15 14:51:01 -0700
  • 5b801400c1 Update zebra-chain/Cargo.toml Henry de Valence 2019-10-17 09:16:23 -0700
  • 980ce4593b Fix merge artifacts in Cargo.toml Deirdre Connolly 2019-10-17 01:56:25 -0400
  • 0db69addec Add custom Debug impl for DecodeState Deirdre Connolly 2019-10-17 01:43:03 -0400