Versions in this module Expand all Collapse all v1 v1.9.2 Aug 23, 2019 v1.9.0 Jul 31, 2019 Changes in this version + const NewBlockMsg + func AccumulateRewards(communityAddress string, state *state.StateDB, header *types.Header) + func New(config *sport.Config, privateKey *ecdsa.PrivateKey, db ethdb.Database) consensus.SmiloBFT + type API struct + func (api *API) Discard(address common.Address) + func (api *API) GetFullnodes(blockNum *rpc.BlockNumber) (address []common.Address, err error) + func (api *API) GetFullnodesByHash(hash common.Hash) ([]common.Address, error) + func (api *API) GetSnapshot(number *rpc.BlockNumber) (*Snapshot, error) + func (api *API) GetSnapshotAtHash(hash common.Hash) (*Snapshot, error) + func (api *API) Proposals() map[common.Address]bool + func (api *API) Propose(address common.Address, auth bool) + type Snapshot struct + Epoch uint64 + FullnodeSet sport.FullnodeSet + Hash common.Hash + Number uint64 + Tally map[common.Address]Tally + Votes []*Vote + func (s *Snapshot) MarshalJSON() ([]byte, error) + func (s *Snapshot) UnmarshalJSON(b []byte) error + type Tally struct + Authorize bool + Votes int + type Vote struct + Address common.Address + Authorize bool + BlockNum uint64 + Fullnode common.Address