From fb079c2ca17d0089f89d8a8261b42c4f495d2ebf Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 26 Oct 2020 22:27:57 +1000 Subject: [PATCH] Replace BlockHeaderHash with block::Hash --- book/src/dev/rfcs/0005-state-updates.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/dev/rfcs/0005-state-updates.md b/book/src/dev/rfcs/0005-state-updates.md index 24613122f..bd01e8643 100644 --- a/book/src/dev/rfcs/0005-state-updates.md +++ b/book/src/dev/rfcs/0005-state-updates.md @@ -720,7 +720,7 @@ CommitBlock { ``` Performs contextual validation of the given block, committing it to the state -if successful. Returns `Response::Added(BlockHeaderHash)` with the hash of +if successful. Returns `Response::Added(block::Hash)` with the hash of the newly committed block or an error. ### `Request::CommitFinalizedBlock` @@ -801,7 +801,7 @@ Implemented by querying: transaction) and then `block_by_height` tree (to get the block containing the transaction data), if the transaction is not in any non-finalized chain -### `Request::Block(BlockHeaderHash)` +### `Request::Block(block::Hash)` [request-block]: #request-block Returns