From 667429c2d6bd70be6c4a21965728505848eb2be9 Mon Sep 17 00:00:00 2001 From: Brandon Kite Date: Tue, 8 Nov 2022 16:44:42 -0800 Subject: [PATCH] Use u32 for PoA block height (#431) Align block height as u32 for PoA with other usages of block height such as `TxPointer` --- src/network/poa.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/poa.md b/src/network/poa.md index 4da5d125..e8bd3472 100644 --- a/src/network/poa.md +++ b/src/network/poa.md @@ -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.