MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ReplayBlock

Method ReplayBlock

xenomint/state.go:513–515  ·  view source on GitHub ↗

ReplayBlock replays the queries from block. It also checks and skips some preceding pooled queries.

(block *types.Block)

Source from the content-addressed store, hash-verified

511// ReplayBlock replays the queries from block. It also checks and skips some preceding pooled
512// queries.
513func (s *State) ReplayBlock(block *types.Block) (err error) {
514 return s.ReplayBlockWithContext(context.Background(), block)
515}
516
517// ReplayBlockWithContext replays the queries from block with context. It also checks and
518// skips some preceding pooled queries.

Callers 2

saveBlockMethod · 0.80
TestStateFunction · 0.80

Calls 1

Tested by 1

TestStateFunction · 0.64