config update

This commit is contained in:
Felipe Andrade 2023-09-06 15:08:09 -07:00
parent 4a288db164
commit a2f166a9a6
2 changed files with 4 additions and 0 deletions

@ -64,6 +64,7 @@ type ProviderConfig struct {
SendInterval TOMLDuration `toml:"send_interval"`
SendTransactionRetryInterval TOMLDuration `toml:"send_transaction_retry_interval"`
SendTransactionRetryTimeout TOMLDuration `toml:"send_transaction_retry_timeout"`
SendTransactionCoolDown TOMLDuration `toml:"send_transaction_cool_down"`
ReceiptRetrievalInterval TOMLDuration `toml:"receipt_retrieval_interval"`
ReceiptRetrievalTimeout TOMLDuration `toml:"receipt_retrieval_timeout"`

@ -16,6 +16,9 @@ type NetworkTransactionPool struct {
Transactions map[string]*TransactionState
Expected int
Nonce uint64
// Last time a transaction was sent
LastSend time.Time
}
type TransactionState struct {