datastore

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddress

func GetAddress(addr string) *model.Address

GetAddress makes creating,retrieving,updating the model type simplified.

func GetClaim

func GetClaim(addr string) *model.Claim

GetClaim makes creating,retrieving,updating the model type simplified.

func GetInput

func GetInput(txHash string, isCoinBase bool, prevHash string, prevN uint) *model.Input

GetInput makes creating,retrieving,updating the model type simplified.

func GetOutput

func GetOutput(txHash string, vout uint) *model.Output

GetOutput makes creating,retrieving,updating the model type simplified.

func GetSupport

func GetSupport(txHash string, vout uint) *model.Support

GetSupport makes creating,retrieving,updating the model type simplified.

func GetTxAddress

func GetTxAddress(txID uint64, addrID uint64) *model.TransactionAddress

GetTxAddress makes creating,retrieving,updating the model type simplified.

func PutAddress

func PutAddress(address *model.Address) error

PutAddress makes creating,retrieving,updating the model type simplified.

func PutClaim

func PutClaim(claim *model.Claim) error

PutClaim makes creating,retrieving,updating the model type simplified.

func PutInput

func PutInput(input *model.Input) error

PutInput makes creating,retrieving,updating the model type simplified.

func PutOutput

func PutOutput(output *model.Output) error

PutOutput makes creating,retrieving,updating the model type simplified.

func PutSupport

func PutSupport(support *model.Support) error

PutSupport makes creating,retrieving,updating the model type simplified.

func PutTxAddress

func PutTxAddress(txAddress *model.TransactionAddress) error

PutTxAddress makes creating,retrieving,updating the model type simplified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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