Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeWindow ¶
type TimeWindow struct {
// contains filtered or unexported fields
}
func NewTimeWindow ¶
func NewTimeWindow(address ethereum.Address, window uint64) *TimeWindow
be very very careful to set `window` param, if we set it to high value, it can lead to nonce lost making the whole pricing operation stuck
func (*TimeWindow) GetAddress ¶
func (tw *TimeWindow) GetAddress() ethereum.Address
func (*TimeWindow) GetNextNonce ¶
func (*TimeWindow) MinedNonce ¶
Click to show internal directories.
Click to hide internal directories.