Documentation ¶
Index ¶
- func PoiPeriod(t inter.Timestamp, config *lachesis.EconomyConfig) uint64
- type App
- func (a *App) BeginBlock(block *inter.Block, cheaters inter.Cheaters, stateHash common.Hash, ...)
- func (a *App) DeliverTxs(block *inter.Block, evmBlock *evmcore.EvmBlock) (*inter.Block, *evmcore.EvmBlock, *big.Int, types.Receipts, bool)
- func (a *App) EndBlock(block *inter.Block, evmBlock *evmcore.EvmBlock, receipts types.Receipts, ...) common.Hash
- func (a *App) EthAPIBackend() *EthAPIBackend
- func (a *App) GetEpoch() idx.Epoch
- func (a App) GetEpochValidators(epoch idx.Epoch) []sfctype.SfcStakerAndID
- func (a App) GetSfcConstants(epoch idx.Epoch) SfcConstants
- func (a App) HasEpochValidator(epoch idx.Epoch, stakerID idx.StakerID) bool
- func (a *App) InitChain(current idx.Epoch)
- func (a App) StateDB(from common.Hash) *state.StateDB
- type BlockInfo
- type BlocksMissed
- type Config
- type EthAPIBackend
- func (b *EthAPIBackend) ChainDb() ethdb.Database
- func (b *EthAPIBackend) EvmLogIndex() *topicsdb.Index
- func (b *EthAPIBackend) ForEachSfcDelegator(do func(sfctype.SfcDelegatorAndAddr))
- func (b *EthAPIBackend) ForEachSfcStaker(do func(sfctype.SfcStakerAndID))
- func (b *EthAPIBackend) GetDelegator(ctx context.Context, addr common.Address) (*sfctype.SfcDelegator, error)
- func (b *EthAPIBackend) GetDelegatorClaimedRewards(ctx context.Context, addr common.Address) (*big.Int, error)
- func (b *EthAPIBackend) GetDowntime(ctx context.Context, stakerID idx.StakerID, epoch rpc.BlockNumber) (num idx.Block, period inter.Timestamp, err error)
- func (b *EthAPIBackend) GetOriginationScore(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
- func (b *EthAPIBackend) GetReceipts(n idx.Block) types.Receipts
- func (b *EthAPIBackend) GetSfcStaker(stakerID idx.StakerID) *sfctype.SfcStaker
- func (b *EthAPIBackend) GetStakerClaimedRewards(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
- func (b *EthAPIBackend) GetStakerDelegatorsClaimedRewards(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
- func (b *EthAPIBackend) GetStakerPoI(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
- func (b *EthAPIBackend) GetValidationScore(ctx context.Context, stakerID idx.StakerID, epoch rpc.BlockNumber) (score *big.Int, err error)
- func (b *EthAPIBackend) HasSfcStaker(stakerID idx.StakerID) bool
- type SfcConstants
- type Store
- func (s *Store) AddDirtyOriginationScore(stakerID idx.StakerID, v *big.Int)
- func (s *Store) AddDirtyValidationScore(stakerID idx.StakerID, v *big.Int)
- func (s *Store) AddPoiFee(poiPeriod uint64, diff *big.Int)
- func (s *Store) ApplyGenesis(net *lachesis.Config) (block *evmcore.EvmBlock, isNew bool, err error)
- func (s *Store) Close()
- func (s *Store) DelActiveOriginationScore(stakerID idx.StakerID)
- func (s *Store) DelActiveValidationScore(stakerID idx.StakerID)
- func (s *Store) DelAllActiveOriginationScores()
- func (s *Store) DelAllActiveValidationScores()
- func (s *Store) DelAllWeightedDelegatorsFee()
- func (s *Store) DelDelegatorClaimedRewards(addr common.Address)
- func (s *Store) DelDirtyOriginationScore(stakerID idx.StakerID)
- func (s *Store) DelDirtyValidationScore(stakerID idx.StakerID)
- func (s *Store) DelSfcDelegator(address common.Address)
- func (s *Store) DelSfcStaker(stakerID idx.StakerID)
- func (s *Store) DelStakerClaimedRewards(stakerID idx.StakerID)
- func (s *Store) DelStakerDelegatorsClaimedRewards(stakerID idx.StakerID)
- func (s *Store) DelStakerPOI(stakerID idx.StakerID)
- func (s *Store) DelWeightedDelegatorsFee(stakerID idx.StakerID)
- func (s *Store) EvmLogs() *topicsdb.Index
- func (s *Store) EvmTable() ethdb.Database
- func (s *Store) FlushState()
- func (s *Store) ForEachSfcDelegator(do func(sfctype.SfcDelegatorAndAddr))
- func (s *Store) ForEachSfcStaker(do func(sfctype.SfcStakerAndID))
- func (s *Store) GetActiveOriginationScore(stakerID idx.StakerID) *big.Int
- func (s *Store) GetActiveSfcStakers() []sfctype.SfcStakerAndID
- func (s *Store) GetActiveValidationScore(stakerID idx.StakerID) *big.Int
- func (s *Store) GetActiveValidationScoreEpoch(stakerID idx.StakerID, epoch idx.Epoch) *big.Int
- func (s *Store) GetAddressFee(addr common.Address, poiPeriod uint64) *big.Int
- func (s *Store) GetAddressLastTxTime(addr common.Address) inter.Timestamp
- func (s *Store) GetAddressPOI(address common.Address) *big.Int
- func (s *Store) GetBlock(n idx.Block) *BlockInfo
- func (s *Store) GetBlocksMissed(stakerID idx.StakerID) BlocksMissed
- func (s *Store) GetBlocksMissedEpoch(stakerID idx.StakerID, epoch idx.Epoch) BlocksMissed
- func (s *Store) GetDelegatorClaimedRewards(addr common.Address) *big.Int
- func (s *Store) GetDirtyOriginationScore(stakerID idx.StakerID) *big.Int
- func (s *Store) GetDirtyValidationScore(stakerID idx.StakerID) *big.Int
- func (s *Store) GetEpochValidators(epoch idx.Epoch) []sfctype.SfcStakerAndID
- func (s *Store) GetLastVoting() (block idx.Block, start inter.Timestamp)
- func (s *Store) GetPoiFee(poiPeriod uint64) *big.Int
- func (s *Store) GetReceipts(n idx.Block) types.Receipts
- func (s *Store) GetSfcConstants(epoch idx.Epoch) SfcConstants
- func (s *Store) GetSfcDelegator(address common.Address) *sfctype.SfcDelegator
- func (s *Store) GetSfcStaker(stakerID idx.StakerID) *sfctype.SfcStaker
- func (s *Store) GetSfcStakers() []sfctype.SfcStakerAndID
- func (s *Store) GetStakerClaimedRewards(stakerID idx.StakerID) *big.Int
- func (s *Store) GetStakerDelegatorsClaimedRewards(stakerID idx.StakerID) *big.Int
- func (s *Store) GetStakerPOI(stakerID idx.StakerID) *big.Int
- func (s *Store) GetTotalSupply() *big.Int
- func (s *Store) GetWeightedDelegatorsFee(stakerID idx.StakerID) *big.Int
- func (s *Store) HasEpochValidator(epoch idx.Epoch, stakerID idx.StakerID) bool
- func (s *Store) HasSfcConstants(epoch idx.Epoch) bool
- func (s *Store) HasSfcStaker(stakerID idx.StakerID) bool
- func (s *Store) IncBlocksMissed(stakerID idx.StakerID, periodDiff inter.Timestamp)
- func (s *Store) IncDelegatorClaimedRewards(addr common.Address, diff *big.Int)
- func (s *Store) IncStakerClaimedRewards(stakerID idx.StakerID, diff *big.Int)
- func (s *Store) IncStakerDelegatorsClaimedRewards(stakerID idx.StakerID, diff *big.Int)
- func (s *Store) IndexLogs(recs ...*types.Log)
- func (s *Store) MoveDirtyOriginationScoresToActive()
- func (s *Store) MoveDirtyValidationScoresToActive()
- func (s *Store) NewDowntimeSnapshotEpoch(epoch idx.Epoch)
- func (s *Store) NewScoreSnapshotEpoch(epoch idx.Epoch)
- func (s *Store) ResetBlocksMissed(stakerID idx.StakerID)
- func (s *Store) SetAddressFee(addr common.Address, poiPeriod uint64, val *big.Int)
- func (s *Store) SetAddressLastTxTime(addr common.Address, t inter.Timestamp)
- func (s *Store) SetAddressPOI(address common.Address, poi *big.Int)
- func (s *Store) SetBlock(b *BlockInfo)
- func (s *Store) SetDelegatorClaimedRewards(addr common.Address, amount *big.Int)
- func (s *Store) SetEpochValidators(epoch idx.Epoch, vv []sfctype.SfcStakerAndID)
- func (s *Store) SetLastVoting(block idx.Block, start inter.Timestamp)
- func (s *Store) SetPoiFee(poiPeriod uint64, val *big.Int)
- func (s *Store) SetReceipts(n idx.Block, receipts types.Receipts)
- func (s *Store) SetSfcConstants(epoch idx.Epoch, constants SfcConstants)
- func (s *Store) SetSfcDelegator(address common.Address, v *sfctype.SfcDelegator)
- func (s *Store) SetSfcStaker(stakerID idx.StakerID, v *sfctype.SfcStaker)
- func (s *Store) SetStakerClaimedRewards(stakerID idx.StakerID, amount *big.Int)
- func (s *Store) SetStakerDelegatorsClaimedRewards(stakerID idx.StakerID, amount *big.Int)
- func (s *Store) SetStakerPOI(stakerID idx.StakerID, poi *big.Int)
- func (s *Store) SetTotalSupply(amount *big.Int)
- func (s *Store) SetWeightedDelegatorsFee(stakerID idx.StakerID, val *big.Int)
- func (s *Store) StateDB(from common.Hash) *state.StateDB
- type StoreConfig
- type TxPosition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
App is a prototype of Tendermint ABCI Application
func (*App) BeginBlock ¶
func (a *App) BeginBlock(block *inter.Block, cheaters inter.Cheaters, stateHash common.Hash, stateReader evmcore.DummyChain)
BeginBlock is a prototype of ABCIApplication.BeginBlock
func (*App) DeliverTxs ¶
func (a *App) DeliverTxs( block *inter.Block, evmBlock *evmcore.EvmBlock, ) ( *inter.Block, *evmcore.EvmBlock, *big.Int, types.Receipts, bool, )
DeliverTxs includes a set of ABCIApplication.DeliverTx() calls It execs ordered txns of new block on state.
func (*App) EndBlock ¶
func (a *App) EndBlock( block *inter.Block, evmBlock *evmcore.EvmBlock, receipts types.Receipts, cheaters inter.Cheaters, stats *sfctype.EpochStats, txPositions map[common.Hash]TxPosition, blockParticipated map[idx.StakerID]bool, ) common.Hash
EndBlock is a prototype of ABCIApplication.EndBlock
func (App) GetEpochValidators ¶
func (a App) GetEpochValidators(epoch idx.Epoch) []sfctype.SfcStakerAndID
GetEpochValidators provides store's method.
func (App) GetSfcConstants ¶
func (a App) GetSfcConstants(epoch idx.Epoch) SfcConstants
GetSfcConstants provides store's method.
func (App) HasEpochValidator ¶
HasEpochValidator provides store's method.
type BlocksMissed ¶
BlocksMissed is information about missed blocks from a staker.
type Config ¶
type Config struct { Net lachesis.Config StoreConfig // TxIndex enables indexing transactions and receipts TxIndex bool // EpochDowntimeIndex enables indexing downtime by epoch EpochDowntimeIndex bool // EpochActiveValidationScoreIndex enables indexing validation score by epoch EpochActiveValidationScoreIndex bool }
Config for the application.
type EthAPIBackend ¶
type EthAPIBackend struct {
// contains filtered or unexported fields
}
EthAPIBackend provides methods for ethapi.Backend
func (*EthAPIBackend) ChainDb ¶
func (b *EthAPIBackend) ChainDb() ethdb.Database
func (*EthAPIBackend) EvmLogIndex ¶
func (b *EthAPIBackend) EvmLogIndex() *topicsdb.Index
func (*EthAPIBackend) ForEachSfcDelegator ¶
func (b *EthAPIBackend) ForEachSfcDelegator(do func(sfctype.SfcDelegatorAndAddr))
ForEachSfcDelegator provides store's method.
func (*EthAPIBackend) ForEachSfcStaker ¶
func (b *EthAPIBackend) ForEachSfcStaker(do func(sfctype.SfcStakerAndID))
ForEachSfcStaker provides store's method.
func (*EthAPIBackend) GetDelegator ¶
func (b *EthAPIBackend) GetDelegator(ctx context.Context, addr common.Address) (*sfctype.SfcDelegator, error)
GetDelegator returns SFC delegator info
func (*EthAPIBackend) GetDelegatorClaimedRewards ¶
func (b *EthAPIBackend) GetDelegatorClaimedRewards(ctx context.Context, addr common.Address) (*big.Int, error)
GetDelegatorClaimedRewards returns sum of claimed rewards in past, by this delegator
func (*EthAPIBackend) GetDowntime ¶
func (b *EthAPIBackend) GetDowntime( ctx context.Context, stakerID idx.StakerID, epoch rpc.BlockNumber, ) ( num idx.Block, period inter.Timestamp, err error, )
GetDowntime returns staker's Downtime for epoch. * When epoch is "pending" the downtime for latest epoch are returned. * When epoch is "latest" the downtime for latest sealed epoch are returned.
func (*EthAPIBackend) GetOriginationScore ¶
func (b *EthAPIBackend) GetOriginationScore(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
GetOriginationScore returns staker's OriginationScore.
func (*EthAPIBackend) GetReceipts ¶
func (b *EthAPIBackend) GetReceipts(n idx.Block) types.Receipts
func (*EthAPIBackend) GetSfcStaker ¶
func (b *EthAPIBackend) GetSfcStaker(stakerID idx.StakerID) *sfctype.SfcStaker
GetSfcStaker provides store's method.
func (*EthAPIBackend) GetStakerClaimedRewards ¶
func (b *EthAPIBackend) GetStakerClaimedRewards(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
GetStakerClaimedRewards returns sum of claimed rewards in past, by this staker
func (*EthAPIBackend) GetStakerDelegatorsClaimedRewards ¶
func (b *EthAPIBackend) GetStakerDelegatorsClaimedRewards(ctx context.Context, stakerID idx.StakerID) (*big.Int, error)
GetStakerDelegatorsClaimedRewards returns sum of claimed rewards in past, by this delegators of this staker
func (*EthAPIBackend) GetStakerPoI ¶
GetStakerPoI returns staker's PoI.
func (*EthAPIBackend) GetValidationScore ¶
func (b *EthAPIBackend) GetValidationScore( ctx context.Context, stakerID idx.StakerID, epoch rpc.BlockNumber, ) ( score *big.Int, err error, )
GetValidationScore returns staker's ValidationScore for epoch. * When epoch is "pending" the validation score for latest epoch are returned. * When epoch is "latest" the validation score for latest sealed epoch are returned.
func (*EthAPIBackend) HasSfcStaker ¶
func (b *EthAPIBackend) HasSfcStaker(stakerID idx.StakerID) bool
HasSfcStaker provides store's method.
type SfcConstants ¶
type SfcConstants struct { ShortGasPowerAllocPerSec uint64 LongGasPowerAllocPerSec uint64 BaseRewardPerSec *big.Int }
SfcConstants are constants which may be changed by SFC contract
type Store ¶
Store is a node persistent storage working over physical key-value database.
func NewStore ¶
func NewStore(dbs *flushable.SyncedPool, cfg StoreConfig) *Store
NewStore creates store over key-value db.
func (*Store) AddDirtyOriginationScore ¶
AddDirtyOriginationScore add gas value for active validation score
func (*Store) AddDirtyValidationScore ¶
AddDirtyValidationScore add gas value for active validation score
func (*Store) ApplyGenesis ¶
ApplyGenesis writes initial state.
func (*Store) DelActiveOriginationScore ¶
DelActiveOriginationScore deletes record about active origination score of a staker
func (*Store) DelActiveValidationScore ¶
DelActiveValidationScore deletes record about active validation score of a staker
func (*Store) DelAllActiveOriginationScores ¶
func (s *Store) DelAllActiveOriginationScores()
DelAllActiveOriginationScores deletes all the record about dirty origination scores of stakers
func (*Store) DelAllActiveValidationScores ¶
func (s *Store) DelAllActiveValidationScores()
DelAllActiveValidationScores deletes all the record about dirty validation scores of stakers
func (*Store) DelAllWeightedDelegatorsFee ¶
func (s *Store) DelAllWeightedDelegatorsFee()
DelAllWeightedDelegatorsFee deletes all the records about gas used by delegators of all stakers
func (*Store) DelDelegatorClaimedRewards ¶
DelDelegatorClaimedRewards deletes record about sum of claimed rewards in past
func (*Store) DelDirtyOriginationScore ¶
DelDirtyOriginationScore deletes record about dirty origination score of a staker
func (*Store) DelDirtyValidationScore ¶
DelDirtyValidationScore deletes record about dirty validation score of a staker
func (*Store) DelSfcDelegator ¶
DelSfcDelegator deletes SfcDelegator
func (*Store) DelSfcStaker ¶
DelSfcStaker deletes SfcStaker
func (*Store) DelStakerClaimedRewards ¶
DelStakerClaimedRewards deletes record about sum of claimed rewards in past
func (*Store) DelStakerDelegatorsClaimedRewards ¶
DelStakerDelegatorsClaimedRewards deletes record about sum of claimed rewards in past
func (*Store) DelStakerPOI ¶
DelStakerPOI deletes record about staker's PoI
func (*Store) DelWeightedDelegatorsFee ¶
DelWeightedDelegatorsFee deletes record about gas used by delegators of a staker
func (*Store) ForEachSfcDelegator ¶
func (s *Store) ForEachSfcDelegator(do func(sfctype.SfcDelegatorAndAddr))
ForEachSfcDelegator iterates all stored SfcDelegators
func (*Store) ForEachSfcStaker ¶
func (s *Store) ForEachSfcStaker(do func(sfctype.SfcStakerAndID))
ForEachSfcStaker iterates all stored SfcStakers
func (*Store) GetActiveOriginationScore ¶
GetActiveOriginationScore return gas value for active validator score
func (*Store) GetActiveSfcStakers ¶
func (s *Store) GetActiveSfcStakers() []sfctype.SfcStakerAndID
GetActiveSfcStakers returns stakers which will become validators in next epoch
func (*Store) GetActiveValidationScore ¶
GetActiveValidationScore return gas value for active validator score
func (*Store) GetActiveValidationScoreEpoch ¶
GetActiveValidationScore return gas value for active validator score
func (*Store) GetAddressFee ¶
GetAddressFee get gas used by address
func (*Store) GetAddressLastTxTime ¶
GetAddressLastTxTime get last time for last tx from this address
func (*Store) GetAddressPOI ¶
GetAddressPOI get POI value for user address
func (*Store) GetBlocksMissed ¶
func (s *Store) GetBlocksMissed(stakerID idx.StakerID) BlocksMissed
GetBlocksMissed return blocks missed num for validator
func (*Store) GetBlocksMissedEpoch ¶
func (*Store) GetDelegatorClaimedRewards ¶
GetDelegatorClaimedRewards returns sum of claimed rewards in past, by this delegator
func (*Store) GetDirtyOriginationScore ¶
GetDirtyOriginationScore return gas value for active validator score
func (*Store) GetDirtyValidationScore ¶
GetDirtyValidationScore return gas value for active validator score
func (*Store) GetEpochValidators ¶
func (s *Store) GetEpochValidators(epoch idx.Epoch) []sfctype.SfcStakerAndID
GetEpochValidators returns all stored EpochValidators on the epoch
func (*Store) GetLastVoting ¶
GetLastVoting says when last voting was (sealed epoch)
func (*Store) GetReceipts ¶
GetReceipts returns stored transaction receipts.
func (*Store) GetSfcConstants ¶
func (s *Store) GetSfcConstants(epoch idx.Epoch) SfcConstants
GetSfcConstants returns stored SfcConstants
func (*Store) GetSfcDelegator ¶
func (s *Store) GetSfcDelegator(address common.Address) *sfctype.SfcDelegator
GetSfcDelegator returns stored SfcDelegator
func (*Store) GetSfcStaker ¶
GetSfcStaker returns stored SfcStaker
func (*Store) GetSfcStakers ¶
func (s *Store) GetSfcStakers() []sfctype.SfcStakerAndID
GetSfcStakers returns all stored SfcStakers
func (*Store) GetStakerClaimedRewards ¶
GetStakerClaimedRewards returns sum of claimed rewards in past, by this staker
func (*Store) GetStakerDelegatorsClaimedRewards ¶
GetStakerDelegatorsClaimedRewards returns sum of claimed rewards in past, by this delegators of this staker
func (*Store) GetStakerPOI ¶
GetStakerPOI get POI value for staker
func (*Store) GetTotalSupply ¶
GetTotalSupply returns total supply
func (*Store) GetWeightedDelegatorsFee ¶
GetWeightedDelegatorsFee get gas used by delegators of a staker
func (*Store) HasEpochValidator ¶
HasEpochValidator returns true if validator exists
func (*Store) HasSfcConstants ¶
HasSfcConstants returns true if SFC constants are stored
func (*Store) HasSfcStaker ¶
HasSfcStaker returns true if staker exists
func (*Store) IncBlocksMissed ¶
IncBlocksMissed add count of missed blocks for validator
func (*Store) IncDelegatorClaimedRewards ¶
IncDelegatorClaimedRewards increments sum of claimed rewards in past
func (*Store) IncStakerClaimedRewards ¶
IncStakerClaimedRewards increments sum of claimed rewards in past
func (*Store) IncStakerDelegatorsClaimedRewards ¶
IncStakerDelegatorsClaimedRewards increments sum of claimed rewards in past
func (*Store) MoveDirtyOriginationScoresToActive ¶
func (s *Store) MoveDirtyOriginationScoresToActive()
MoveDirtyOriginationScoresToActive moves all the dirty records to active
func (*Store) MoveDirtyValidationScoresToActive ¶
func (s *Store) MoveDirtyValidationScoresToActive()
MoveDirtyValidationScoresToActive moves all the dirty records to active
func (*Store) NewDowntimeSnapshotEpoch ¶
NewDowntimeSnapshotEpoch add count of missed blocks for validator by epoch
func (*Store) NewScoreSnapshotEpoch ¶
NewScoreSnapshotEpoch add scores for validator by epoch
func (*Store) ResetBlocksMissed ¶
ResetBlocksMissed set to 0 missed blocks for validator
func (*Store) SetAddressFee ¶
SetAddressFee save gas used by address
func (*Store) SetAddressLastTxTime ¶
SetAddressLastTxTime save last time for tx from this address
func (*Store) SetAddressPOI ¶
SetAddressPOI save POI value for a user address
func (*Store) SetDelegatorClaimedRewards ¶
SetDelegatorClaimedRewards sets sum of claimed rewards in past
func (*Store) SetEpochValidators ¶
func (s *Store) SetEpochValidators(epoch idx.Epoch, vv []sfctype.SfcStakerAndID)
SetEpochValidator stores EpochValidator
func (*Store) SetLastVoting ¶
SetLastVoting saves when last voting was (sealed epoch)
func (*Store) SetReceipts ¶
SetReceipts stores transaction receipts.
func (*Store) SetSfcConstants ¶
func (s *Store) SetSfcConstants(epoch idx.Epoch, constants SfcConstants)
SetSfcConstants stores SfcConstants
func (*Store) SetSfcDelegator ¶
func (s *Store) SetSfcDelegator(address common.Address, v *sfctype.SfcDelegator)
SetSfcDelegator stores SfcDelegator
func (*Store) SetSfcStaker ¶
SetSfcStaker stores SfcStaker
func (*Store) SetStakerClaimedRewards ¶
SetStakerClaimedRewards sets sum of claimed rewards in past
func (*Store) SetStakerDelegatorsClaimedRewards ¶
SetStakerDelegatorsClaimedRewards sets sum of claimed rewards in past
func (*Store) SetStakerPOI ¶
SetStakerPOI save POI value for staker
func (*Store) SetTotalSupply ¶
SetTotalSupply stores total supply
func (*Store) SetWeightedDelegatorsFee ¶
SetWeightedDelegatorsFee stores gas used by delegators of a staker
Source Files ¶
- app.go
- apply_genesis.go
- block_info.go
- config.go
- epoch.go
- ethapi_backend.go
- poi.go
- provided_store.go
- scores.go
- sfc_index.go
- store.go
- store_block.go
- store_epoch_stats.go
- store_migration.go
- store_poi.go
- store_receipts.go
- store_rewards_history.go
- store_scores.go
- store_sfc_constants.go
- store_sfc_delegators.go
- store_sfc_stakers.go
- store_total_supply.go