Skip to content

Commit

Permalink
Use u32 for PoA block height (#431)
Browse files Browse the repository at this point in the history
Align block height as u32 for PoA with other usages of block height such
as `TxPointer`
  • Loading branch information
Voxelot authored Nov 9, 2022
1 parent 39789c9 commit 667429c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/poa.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Wraps the [application header](../protocol/block_header.md#application-header).
name | type | description
------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------
`prevRoot` | `byte[32]` | [Merkle root](../protocol/cryptographic_primitives.md#binary-merkle-tree) of all previous consensus header hashes (i.e. not including this block).
`height` | `uint64` | Height of this block.
`height` | `uint32` | Height of this block.
`timestamp` | `uint64` | Time this block was created, in [TAI64](https://cr.yp.to/libtai/tai64.html) format.
`applicationHash` | `byte[32]` | [Hash](../protocol/cryptographic_primitives.md#hashing) of serialized [application header](../protocol/block_header.md#application-header) for this block.

Expand Down

0 comments on commit 667429c

Please sign in to comment.