blockchain

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDChainStore

type IDChainStore struct {
	*blockchain.ChainStore
}

func NewChainStore

func NewChainStore(genesisBlock *types.Block, dataPath string) (*IDChainStore, error)

func (*IDChainStore) GetRegisterIdentificationTx

func (c *IDChainStore) GetRegisterIdentificationTx(idKey []byte) ([]byte, error)

func (*IDChainStore) PersistRegisterIdentificationTx

func (c *IDChainStore) PersistRegisterIdentificationTx(batch database.Batch, idKey []byte, txHash common.Uint256)

func (*IDChainStore) RollbackRegisterIdentificationTx added in v0.0.2

func (c *IDChainStore) RollbackRegisterIdentificationTx(batch database.Batch, idKey []byte)

Jump to

Keyboard shortcuts

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