Commit 980919b8 authored by Felipe Andrade's avatar Felipe Andrade

config update

parent f21f6a20
...@@ -64,6 +64,7 @@ type ProviderConfig struct { ...@@ -64,6 +64,7 @@ type ProviderConfig struct {
SendInterval TOMLDuration `toml:"send_interval"` SendInterval TOMLDuration `toml:"send_interval"`
SendTransactionRetryInterval TOMLDuration `toml:"send_transaction_retry_interval"` SendTransactionRetryInterval TOMLDuration `toml:"send_transaction_retry_interval"`
SendTransactionRetryTimeout TOMLDuration `toml:"send_transaction_retry_timeout"` SendTransactionRetryTimeout TOMLDuration `toml:"send_transaction_retry_timeout"`
SendTransactionCoolDown TOMLDuration `toml:"send_transaction_cool_down"`
ReceiptRetrievalInterval TOMLDuration `toml:"receipt_retrieval_interval"` ReceiptRetrievalInterval TOMLDuration `toml:"receipt_retrieval_interval"`
ReceiptRetrievalTimeout TOMLDuration `toml:"receipt_retrieval_timeout"` ReceiptRetrievalTimeout TOMLDuration `toml:"receipt_retrieval_timeout"`
......
...@@ -16,6 +16,9 @@ type NetworkTransactionPool struct { ...@@ -16,6 +16,9 @@ type NetworkTransactionPool struct {
Transactions map[string]*TransactionState Transactions map[string]*TransactionState
Expected int Expected int
Nonce uint64 Nonce uint64
// Last time a transaction was sent
LastSend time.Time
} }
type TransactionState struct { type TransactionState struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment