mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-09 03:13:13 +00:00
core/block: add Nonce
field to header
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
2b7abd20e7
commit
3a4e0caeb8
12 changed files with 53 additions and 30 deletions
|
@ -30,6 +30,7 @@ func createGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error)
|
|||
Version: 0,
|
||||
PrevHash: util.Uint256{},
|
||||
Timestamp: uint64(time.Date(2016, 7, 15, 15, 8, 21, 0, time.UTC).Unix()) * 1000, // Milliseconds.
|
||||
Nonce: 2083236893,
|
||||
Index: 0,
|
||||
NextConsensus: nextConsensus,
|
||||
Script: transaction.Witness{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue