index

package
v0.0.0-...-96e5f69 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadIndex

func ReadIndex()

func WriteIndex

func WriteIndex(fn string, bkslice []*block.BlockType)

Types

type BlockIndex

type BlockIndex struct {
	Index       []string
	TxHashIndex map[string]TxHashIndexType
}

func BuildIndex

func BuildIndex(bkslice []*block.BlockType) (idx BlockIndex)

type TxHashIndexType

type TxHashIndexType struct {
	Index     int
	BlockHash string
}

Jump to

Keyboard shortcuts

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