• Conner Fromknecht's avatar
    feat: stop publishing txs after receiving confirmation · 0b2ead8f
    Conner Fromknecht authored
    This change adds an additional IsWaitingForConfirmation method to the
    txmgr.SendState, which returns true if it is aware of at least one mined
    tx. This allows the txmgr to skip publishing new txs while we are
    waiting for additional confirmation on a mined tx, which in turn reduces
    the number of useless API calls we make to the backend provider. As an
    additional benefit, this also reduces the likelihood of a false positive
    sample from ShouldAbortImmediately since it will stop processing errors
    while we have a mined tx.
    0b2ead8f
Name
Last commit
Last update
..
dial Loading commit data...
drivers Loading commit data...
metrics Loading commit data...
mock Loading commit data...
txmgr Loading commit data...
.gitignore Loading commit data...
batch_submitter.go Loading commit data...
crypto.go Loading commit data...
crypto_test.go Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
sentry_log.go Loading commit data...
service.go Loading commit data...