Skip to content

Commit b026020

Browse files
committed
change header_length type, change block_producer_time_nanos description
1 parent 5100ff7 commit b026020

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

proposals/0307-add-block-header.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ entry batch in the block.
7575
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
7676
| version |
7777
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
78-
| header_length |
78+
| header_length | <- 16 bits
7979
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
8080
| block_producer_time_nanos |
8181
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -97,12 +97,11 @@ to.
9797
- `version: u64` is a positive integer which changes anytime a change is made to
9898
the header. The initial version will be 1.
9999

100-
- `header_length: u64` is the length of the rest of the header in bytes (i.e.
100+
- `header_length: u16` is the length of the rest of the header in bytes (i.e.
101101
not including the `block_header_flag`, `version`, and `header_length` fields).
102102

103103
- `block_producer_time_nanos: u64` is a nanosecond UNIX timestamp representing
104-
the time when the block producer became leader and started constructing the
105-
block.
104+
the time when the block producer started constructing the block.
106105

107106
- `block_user_agent: [u8; 256]` is a string that provides identifying
108107
information about the block producer.

0 commit comments

Comments
 (0)