Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BlockState2 #19

Open
wezrule opened this issue Mar 1, 2021 · 2 comments
Open

Add BlockState2 #19

wezrule opened this issue Mar 1, 2021 · 2 comments

Comments

@wezrule
Copy link
Contributor

wezrule commented Mar 1, 2021

Will need updating once state blocks v2 are in (nanocurrency/nano-node#2899). 8 more bytes needed, which are located right before the signature field:
Height (6 bytes)
Version (1 byte)
Flags (1 byte)

@zhyatt zhyatt added this to the V22.0 milestone Mar 2, 2021
@rotilho
Copy link

rotilho commented Mar 13, 2021

Aren't signer and link interpretation part of the block? It would be great to have both of them so the node can validate the transaction in early stages

@wezrule
Copy link
Contributor Author

wezrule commented Mar 13, 2021

Yes Flags contains those things (and whether the block is an upgrade)

@zhyatt zhyatt removed this from the V22.0 milestone May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants