nspcc-dev/neofs-node

`neofs-adm` waits for potentially useless transactions

Ouverte

#1 788 ouverte le 15 sept. 2022

 (0 commentaire) (0 réaction) (0 personne assignée)Go (49 forks)auto 404
I4S3U4discussiongood first issueneofs-adm

Métriques du dépôt

Stars
 (36 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur