Help us shape the future of Go! Take the 2026 Go Developer Survey

fixtures

package
v0.37.21 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: AGPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopCompactor added in v0.27.0

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

func NewNoopCompactor added in v0.27.0

func NewNoopCompactor(l *complete.Ledger) *NoopCompactor

func (*NoopCompactor) Done added in v0.27.0

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

func (*NoopCompactor) Ready added in v0.27.0

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