ramstore

package
v0.0.0-...-e6e99b1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RAMStore

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

func NewRAMStore

func NewRAMStore() RAMStore

func (RAMStore) GetBlock

func (store RAMStore) GetBlock(hash []byte) *blocktrain.Block

func (RAMStore) GetData

func (store RAMStore) GetData(txID string) []byte

func (RAMStore) GetTree

func (store RAMStore) GetTree(hash []byte) *blocktrain.MerkleNode

func (RAMStore) InsertBlock

func (store RAMStore) InsertBlock(block *blocktrain.Block)

func (RAMStore) InsertData

func (store RAMStore) InsertData(data []byte, txID string)

func (RAMStore) InsertTree

func (store RAMStore) InsertTree(root *blocktrain.MerkleNode)

Jump to

Keyboard shortcuts

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