nspcc-dev/neofs-node

`neofs-adm` waits for potentially useless transactions

Aberta

#1.788 aberto em 15 de set. de 2022

 (0 comentário) (0 reação) (0 responsável)Go (49 forks)auto 404
I4S3U4discussiongood first issueneofs-adm

Métricas do repositório

Stars
 (36 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador