mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
Monitor fallback transactions in WSClient #249
Labels
No labels
I1
I2
I3
I4
S0
S1
S2
S3
S4
U0
U1
U2
U3
U4
blocked
bug
config
dependencies
discussion
documentation
enhancement
enhancement
epic
feature
go
good first issue
help wanted
neofs-adm
neofs-cli
neofs-cli
neofs-cli
neofs-ir
neofs-lens
neofs-storage
neofs-storage
performance
question
security
task
test
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-node#249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexvanin on GitHub (Jul 9, 2021).
As an enhanced solution for https://github.com/nspcc-dev/neofs-node/issues/677, Inner Ring node can listen and track transactions with
NotaryAssistedattribute. With this it will be able to resend failed notary transactions one day.@AnnaShaleva commented on GitHub (Jul 9, 2021):
To filter out fallback transactions, the following things should be kept in mind:
NotaryAssistedattribute value = 0 (that's fallback'sNKeys)Conflictsattribute contains hash of the main transactionNotValidBeforeattribute (it is equal to mainTx.ValidUntilBlock - c.notary.fallbackTime)Moreover, you can use notary pool subscriptions to track notary requests being removed from the pool (
mempoolevent.TransactionRemovedevent type). You can filter events by request sender or main transaction signers. Remember, that notary request can be removed from the pool in a set of cases, here are the most important ones:ValidUntilBlockheight is reached.