filesystem

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type FilesystemBlockPersistence

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

func (*FilesystemBlockPersistence) GetBlockByTx

func (f *FilesystemBlockPersistence) GetBlockByTx(txHash primitives.Sha256, minBlockTs primitives.TimestampNano, maxBlockTs primitives.TimestampNano) (block *protocol.BlockPairContainer, txIndexInBlock int, err error)

func (*FilesystemBlockPersistence) GetBlockTracker

func (*FilesystemBlockPersistence) GetLastBlock

func (*FilesystemBlockPersistence) GetLastBlockHeight

func (f *FilesystemBlockPersistence) GetLastBlockHeight() (primitives.BlockHeight, error)

func (*FilesystemBlockPersistence) GetResultsBlock

func (*FilesystemBlockPersistence) GetTransactionsBlock

func (*FilesystemBlockPersistence) ScanBlocks

func (f *FilesystemBlockPersistence) ScanBlocks(from primitives.BlockHeight, pageSize uint8, cursor adapter.CursorFunc) error

func (*FilesystemBlockPersistence) WriteNextBlock

func (f *FilesystemBlockPersistence) WriteNextBlock(blockPair *protocol.BlockPairContainer) (bool, error)

Jump to

Keyboard shortcuts

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