* Adds 'Contains' request in state, and: - adds finalized block hashes to sent_blocks - replaces Depth call with Contains in sync, inbound, and block verifier * removes unnecessary From impl * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * updates references to Request::Contains * Renames zs::response::BlockLocation to KnownBlocks * Updates AlreadyInChain error * update docs for sent_hashes.add_finalized * Update zebra-consensus/src/block.rs Co-authored-by: teor <teor@riseup.net> * Update comment for `sent_blocks` field in state service * update KnownBlock request to check the non-finalized state before responding that a block is in the queue * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * update references to renamed method * Clear sent_blocks when there's a reset * Move self.finalized_block_write_sender.is_none() to can_fork_chain_at * revert changes related to checking queue --------- Co-authored-by: teor <teor@riseup.net> |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml |