Versions in this module Expand all Collapse all v0 v0.6.1 Dec 21, 2022 v0.6.0 Sep 7, 2022 Changes in this version type Stake + Counter uint64 + Reward uint64 v0.5.0 Mar 18, 2022 Changes in this version type Stake + CreatedAt uint64 + Eligibility uint64 + Value uint64 v0.4.4 Jan 26, 2022 v0.4.3 Jun 10, 2021 v0.4.2 Mar 25, 2021 v0.4.1 Mar 24, 2021 v0.4.0 Mar 20, 2021 Changes in this version + func GetBiddersHandler(res http.ResponseWriter, req *http.Request) + func GetEventQueueStatusHandler(res http.ResponseWriter, req *http.Request) + func GetP2PCountHandler(res http.ResponseWriter, req *http.Request) + func GetP2PLogsHandler(res http.ResponseWriter, req *http.Request) + func GetProvisionersHandler(res http.ResponseWriter, req *http.Request) + func GetRoundInfoHandler(res http.ResponseWriter, req *http.Request) + func SetStormDBInstance(store *StormDBInstance) + func StartAPI(eb *eventbus.EventBus, rb *rpcbus.RPCBus) + type Count struct + Count int + type EventQueueJSON struct + ID int + Message *message.Message + Round uint64 + Step uint8 + UpdatedAt time.Time + type Member struct + PublicKeyBLS []byte + Stakes []Stake + type PeerCount struct + ID string + LastSeen time.Time + type PeerJSON struct + Address string + ID int + LastSeen time.Time + Method string + Type string + type ProvisionerJSON struct + ID uint64 + Members []*Member + Set sortedset.Set + type RoundInfoJSON struct + ID int + Method string + Name string + Round uint64 + Step uint8 + UpdatedAt time.Time + type Stake struct + Amount uint64 + EndHeight uint64 + StartHeight uint64 + type StormDBInstance struct + DB *storm.DB + func GetStormDBInstance() *StormDBInstance + func NewStormDBInstance(filename string) (*StormDBInstance, error) + func (bdb *StormDBInstance) Close() error + func (bdb *StormDBInstance) Delete(data interface{}) error + func (bdb *StormDBInstance) Find(fieldName string, value interface{}, to interface{}) error + func (bdb *StormDBInstance) Save(data interface{}) error