* Implement a task that gossips verified block hashes * Log an info message for block broadcasts * Simplify the gossip task Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * Re-use the old tip change if there is no new tip change Also improve the comments. * Add an assertion message * Rename task join handles and futures in start method * Add a dedicated BlockGossipError type This type helps distinguish between syncer and state errors. * Test that committed blocks are gossiped to peers Also do a minor type cleanup on the existing test code, replacing `Option<Vec<_>>` with `Vec<_>`. * Formatting * Remove excess newlines Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> * Clear the initial gossiped blocks during test setup Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> |
||
---|---|---|
.. | ||
proptest-regressions/service | ||
src | ||
tests | ||
Cargo.toml | ||
build.rs |