-
Notifications
You must be signed in to change notification settings - Fork 1k
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
"NotValidBefore" transaction attribute type #1992
Labels
Discussion
Initial issue state - proposed but not yet accepted
Comments
roman-khimov
added
the
Discussion
Initial issue state - proposed but not yet accepted
label
Oct 7, 2020
A prototype of that is implemented in nspcc-dev/neo-go#1496, it's quite simple attribute. |
Nodes are not obliged to keep transactions that cannot be verified immediately in the memory pool. |
And they won't keep them, an ordinary node receiving transaction with NVB height more than the current height just drops it as invalid. |
Closed
Closed
roman-khimov
added a commit
to roman-khimov/neo
that referenced
this issue
Sep 13, 2022
Is this closed because of completed? |
shargon
pushed a commit
that referenced
this issue
Mar 11, 2023
Fixes #1992. Co-authored-by: Erik Zhang <erik@neo.org> Co-authored-by: Vitor Nazário Coelho <vncoelho@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have any solution you want to propose?
This attribute makes transaction invalid before certain height. It has uint32 data inside which is the block height starting from which the transaction is considered to be valid. It can be seen as the opposite of ValidUntilBlock, using both allows to have a window of valid block numbers that this transaction could be accepted into. Transactions with this attribute are not accepted into mempool before specified block is persisted.
It can be used to create some transactions in advance with a guarantee that they won't be accepted until specified block, that property will be used for signature collection service (#1573).
Neo Version
Where in the software does this update applies to?
The text was updated successfully, but these errors were encountered: