fn decode_known_chain_tips(
chain_tip_hashes: Vec<Vec<u8>>,
) -> Result<HashSet<Hash>, Status>Expand description
Decodes the chain tip hashes from a NonFinalizedStateChangeRequest into a set of
block::Hashes.
Each hash is expected to be 32 bytes in display order, matching the encoding used when the
server streams BlockAndHash messages back to the caller.
ยงErrors
Returns an invalid_argument status if there are more hashes than
the non-finalized state can hold chains (MAX_NON_FINALIZED_CHAIN_FORKS), or if any hash is
not exactly 32 bytes long.