nonceHandlerV2

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddressNonceHandler

func NewAddressNonceHandler(proxy interactors.Proxy, address sdkCore.AddressHandler) (interactors.AddressNonceHandler, error)

NewAddressNonceHandler returns a new instance of a addressNonceHandler

func NewNonceTransactionHandlerV2

func NewNonceTransactionHandlerV2(args ArgsNonceTransactionsHandlerV2) (*nonceTransactionsHandlerV2, error)

NewNonceTransactionHandlerV2 will create a new instance of the nonceTransactionsHandlerV2. It requires a Proxy implementation and an interval at which the transactions sent are rechecked and eventually, resent.

Types

type ArgsNonceTransactionsHandlerV2

type ArgsNonceTransactionsHandlerV2 struct {
	Proxy            interactors.Proxy
	IntervalToResend time.Duration
}

ArgsNonceTransactionsHandlerV2 is the argument DTO for a nonce transactions handler component

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL