nspcc-dev/neofs-node

`neofs-adm` waits for potentially useless transactions

Open

#1,788 opened on Sep 15, 2022

 (0 comments) (0 reactions) (0 assignees)Go (49 forks)auto 404
I4S3U4discussiongood first issueneofs-adm

Repository metrics

Stars
 (36 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide