Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareCaptures ¶ added in v0.28.0
func CompareCaptures(exp, act []*ReplayCapture) (uint64, error)
CompareCaptures of two independent replays
Types ¶
type Replay ¶ added in v0.23.3
Replay is a kernel for state replaying
func (*Replay) Block ¶ added in v0.23.3
func (re *Replay) Block(height uint64) (*ReplayCapture, error)
Block loads and commits a block
type ReplayCapture ¶ added in v0.23.3
type ReplayCapture struct { Height uint64 AppHashBefore binary.HexBytes AppHashAfter binary.HexBytes TxExecutions []*exec.TxExecution }
func (*ReplayCapture) Compare ¶ added in v0.28.0
func (exp *ReplayCapture) Compare(act *ReplayCapture) error
Compare the app hashes of two block replays
func (*ReplayCapture) String ¶ added in v0.24.0
func (rc *ReplayCapture) String() string
type Source ¶ added in v0.30.0
type Source struct { Explorer *bcm.BlockStore State *state.State // contains filtered or unexported fields }
Source is a kernel for tracking state
func NewSource ¶ added in v0.30.0
func NewSource(burrowDB, tmDB dbm.DB, genesisDoc *genesis.GenesisDoc) *Source
func NewSourceFromDir ¶ added in v0.30.0
func NewSourceFromDir(genesisDoc *genesis.GenesisDoc, dbDir string) *Source
func NewSourceFromGenesis ¶ added in v0.30.0
func NewSourceFromGenesis(genesisDoc *genesis.GenesisDoc) *Source
func (*Source) LatestBlockchain ¶ added in v0.30.0
func (src *Source) LatestBlockchain() (*bcm.Blockchain, error)
func (*Source) LatestHeight ¶ added in v0.30.0
Click to show internal directories.
Click to hide internal directories.