fixtures

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopCompactor

type NoopCompactor struct {
	// contains filtered or unexported fields
}

func NewNoopCompactor

func NewNoopCompactor(l *complete.Ledger) *NoopCompactor

func (*NoopCompactor) Done

func (c *NoopCompactor) Done() <-chan struct{}

func (*NoopCompactor) Ready

func (c *NoopCompactor) Ready() <-chan struct{}

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) (int, bool, 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