nspcc-dev/neofs-node

`neofs-adm` waits for potentially useless transactions

Aperta

#1788 aperta il 15 set 2022

 (0 commenti) (0 reazioni) (0 assegnatari)Go (49 fork)auto 404
I4S3U4discussiongood first issueneofs-adm

Metriche repository

Star
 (36 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

It is common practice to send some TXs, cache their hashes, and wait for their chain inclusion.

Adm CLI stops if one of the TX has not been persisted but does not stop if one of the TX was failed. Moreover, we return only the first not-HALT-err and drop other errors.

I suggest just stopping iterating on any non-HALT TX. It also would simplify the code.

Guida contributor