zebra/zebrad/src
teor b1f14f47c6
Rewrite GetData handling to match the zcashd implementation (#1518)
* Rewrite GetData handling to match the zcashd implementation

`zcashd` silently ignores missing blocks, but sends found transactions
followed by a `NotFound` message:
e7b425298f/src/main.cpp (L5497)

This is significantly different to the behaviour expected by the old
Zebra connection state machine, which expected `NotFound` for blocks.

Also change Zebra's GetData responses to peer request so they ignore
missing blocks.

* Stop hanging on incomplete transaction or block responses

Instead, if the peer sends an unexpected block, unexpected transaction,
or NotFound message:
1. end the request, and return a partial response containing any items
   that were successfully received
2. if none of the expected blocks or transactions were received, return
   an error, and close the connection
2021-01-04 13:25:35 +10:00
..
bin/zebrad integrate sentry with our existing panic reporting logic 2020-12-09 13:06:18 -05:00
commands create Downloads for Inbound 2020-11-25 10:55:44 -08:00
components Rewrite GetData handling to match the zcashd implementation (#1518) 2021-01-04 13:25:35 +10:00
application.rs Disable issue URLs for "duplicate hash" errors (#1517) 2020-12-16 08:14:42 +10:00
commands.rs fix git commit logic to work on gcloud (#1442) 2020-12-03 15:18:55 +10:00
components.rs zebrad: document Inbound, ChainSync responsibilities 2020-09-18 18:34:25 -07:00
config.rs Automatically disable colors when tracing to a file 2020-12-02 10:25:44 -08:00
lib.rs integrate sentry with our existing panic reporting logic 2020-12-09 13:06:18 -05:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00
sentry.rs Comment out Sentry stacktraces for now 2020-12-12 13:26:52 -05:00