ledgerutil

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LedgerSet

type LedgerSet struct {
	TranSet *transutil.TranSet
	TxRwSet *rwsetutil.TxRwSet
}

func (*LedgerSet) FromProtoBytes

func (ledgerSet *LedgerSet) FromProtoBytes(protoBytes []byte) error

func (*LedgerSet) ToProtoBytes

func (ledgerSet *LedgerSet) ToProtoBytes() ([]byte, error)

type LedgerSetBuilder

type LedgerSetBuilder struct {
	TranSetBuilder *transutil.TranSetBuilder
	RwSetBuilder   *rwsetutil.RWSetBuilder
}

func NewLedgerBuilder

func NewLedgerBuilder() *LedgerSetBuilder

func (*LedgerSetBuilder) GetLedgerSet

func (builder *LedgerSetBuilder) GetLedgerSet() *LedgerSet

Jump to

Keyboard shortcuts

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