Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistributeIncentive ¶
Types ¶
type MissRuns ¶ added in v1.7.0
type MissRuns struct {
// contains filtered or unexported fields
}
func NewMissRuns ¶ added in v1.7.0
func (MissRuns) GetMissStat ¶ added in v1.7.0
type ReplayPreventer ¶
type ReplayPreventer struct {
// contains filtered or unexported fields
}
func NewReplayPreventer ¶
func NewReplayPreventer( store *store.Store, blockHeight int64, indexRange int64, ) ReplayPreventer
func (*ReplayPreventer) Append ¶
func (rp *ReplayPreventer) Append(tx []byte, txHeight, blockHeight int64) error
Append() is called at DeliverTx()
func (*ReplayPreventer) Check ¶
func (rp *ReplayPreventer) Check(tx []byte, txHeight, blockHeight int64) error
Check() is called at CheckTx()
func (*ReplayPreventer) Index ¶
func (rp *ReplayPreventer) Index(blockHeight int64)
Index() is called at EndBlock()
func (*ReplayPreventer) Update ¶
func (rp *ReplayPreventer) Update(blockHeight, indexRange int64)
Update() is called at BeginBlock()
Click to show internal directories.
Click to hide internal directories.