Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FacadeHandler ¶ added in v1.0.139
type FacadeHandler interface { Trigger(epoch uint32, withEarlyEndOfEpoch bool) error IsSelfTrigger() bool IsInterfaceNil() bool }
FacadeHandler interface defines methods that can be used by the gin webserver
type HarforkRequest ¶ added in v1.0.120
type HarforkRequest struct { Epoch uint32 `form:"epoch" json:"epoch"` WithEarlyEndOfEpoch bool `form:"withEarlyEndOfEpoch" json:"withEarlyEndOfEpoch"` }
HarforkRequest represents the structure on which user input for triggering a hardfork will validate against
Click to show internal directories.
Click to hide internal directories.