Add block_number to confirmation blocks. This will simplify synchronization across nodes and also allow us to use our updated time model which is based on block_number.
We also need to keep the most recent block_number in cache, similar to how we do for HEAD_BLOCK_HASH. This is because the system will need to know that value in order to increment it every time a new block is created.
Add
block_number
to confirmation blocks. This will simplify synchronization across nodes and also allow us to use our updated time model which is based onblock_number
.We also need to keep the most recent
block_number
in cache, similar to how we do forHEAD_BLOCK_HASH
. This is because the system will need to know that value in order to increment it every time a new block is created.HEAD_BLOCK_HASH overview
Confirmation block API docs
The resulting shape of a confirmation block would look similar to this.