* Fix an incorrect assertion when the block locator is at the tip This might have been triggered by receiving block hash gossips from the new Zebra code. * Add missing tests for zebra-state requests and responses Specifically: * `BlockLocator` (populated state only) * `FindBlockHashes` * `FindBlockHeaders` * Test `FindBlock*` before and after the current block * Add a specific test for bug #2789 * Refactor collect_best_chain_hashes to avoid manual index calculations * Reword a comment Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> |
||
|---|---|---|
| .. | ||
| tests | ||
| arbitrary.rs | ||
| commitment.rs | ||
| error.rs | ||
| hash.rs | ||
| header.rs | ||
| height.rs | ||
| merkle.rs | ||
| serialize.rs | ||
| tests.rs | ||