Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonceCache ¶
type NonceCache interface { Serialize(account ethcmn.Address, fn func() error) error Sync(account ethcmn.Address, syncFn func() (uint64, error)) Set(account ethcmn.Address, nonce int64) Get(account ethcmn.Address) (nonce int64, loaded bool) Incr(account ethcmn.Address) int64 Decr(account ethcmn.Address) int64 }
func NewNonceCache ¶
func NewNonceCache() NonceCache
Click to show internal directories.
Click to hide internal directories.