Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteIndex ¶
func WriteIndex(fn string, indexForBlocks *BlockIndex) error
Types ¶
type AddrHashIndexType ¶
type AddrHashIndexType struct { Addr addr.AddressType Data string }
type AddressIndex ¶
type AddressIndex struct {
AddrIndex map[string]AddrHashIndexType // Map of address to date (for S.C.)
}
type BlockIndex ¶
type BlockIndex struct { Index []string // List of block-hash BlockHashToIndex map[string]int // map from hash back to index AddrData AddressIndex // Contains map of addresses to data on this address FindValue ValueIndex // Locaitons of value }
func BuildIndex ¶
func BuildIndex(bkslice []*block.BlockType) (idx BlockIndex)
func ReadIndex ¶
func ReadIndex(fn string) (idx *BlockIndex, err error)
type TxWithAValue ¶
type TxWithValue ¶
type TxWithValue struct { Addr addr.AddressType // Address of Self Value []TxWithAValue // List of Values in a set of blocks, may have more than one value per block. }
type ValueIndex ¶
type ValueIndex struct {
AddrIndex map[string]TxWithValue // Map of address to list of Transaction with output value.
}
Click to show internal directories.
Click to hide internal directories.