fixtures

package
v0.26.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopWAL

type NoopWAL struct{}

func (*NoopWAL) Done

func (w *NoopWAL) Done() <-chan struct{}

func (*NoopWAL) NewCheckpointer

func (w *NoopWAL) NewCheckpointer() (*wal.Checkpointer, error)

func (*NoopWAL) PauseRecord

func (w *NoopWAL) PauseRecord()

func (*NoopWAL) Ready

func (w *NoopWAL) Ready() <-chan struct{}

func (*NoopWAL) RecordDelete

func (w *NoopWAL) RecordDelete(rootHash ledger.RootHash) error

func (*NoopWAL) RecordUpdate

func (w *NoopWAL) RecordUpdate(update *ledger.TrieUpdate) error

func (*NoopWAL) Replay

func (w *NoopWAL) Replay(checkpointFn func(tries []*trie.MTrie) error, updateFn func(update *ledger.TrieUpdate) error, deleteFn func(ledger.RootHash) error) error

func (*NoopWAL) ReplayLogsOnly

func (w *NoopWAL) ReplayLogsOnly(checkpointFn func(tries []*trie.MTrie) error, updateFn func(update *ledger.TrieUpdate) error, deleteFn func(rootHash ledger.RootHash) error) error

func (*NoopWAL) ReplayOnForest

func (w *NoopWAL) ReplayOnForest(forest *mtrie.Forest) error

func (*NoopWAL) Segments

func (w *NoopWAL) Segments() (first, last int, err error)

func (*NoopWAL) UnpauseRecord

func (w *NoopWAL) UnpauseRecord()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL