Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FacadeHandler ¶ added in v0.0.2
type FacadeHandler interface { Trigger(epoch uint32) error IsSelfTrigger() bool IsInterfaceNil() bool }
FacadeHandler interface defines methods that can be used by the gin webserver
type HarforkRequest ¶
type HarforkRequest struct {
Epoch uint32 `form:"epoch" json:"epoch"`
}
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.