txnreader

package
v0.0.0-...-53b40aa Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: AGPL-3.0, AGPL-3.0-only Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsReadOnly

func IsReadOnly(action *msgs.Action) bool

func IsWrite

func IsWrite(action *msgs.Action) bool

func IsWriteWithValue

func IsWriteWithValue(action *msgs.Action) bool

Types

type TxnActions

type TxnActions struct {
	Data []byte
	// contains filtered or unexported fields
}

func TxnActionsFromData

func TxnActionsFromData(data []byte, forceDecode bool) *TxnActions

func (*TxnActions) Actions

func (actions *TxnActions) Actions() *msgs.Action_List

func (*TxnActions) AsDeflated

func (actions *TxnActions) AsDeflated() *TxnActions

type TxnReader

type TxnReader struct {
	Id *common.TxnId

	Data []byte
	Txn  msgs.Txn
	// contains filtered or unexported fields
}

func TxnReaderFromData

func TxnReaderFromData(data []byte) *TxnReader

func (*TxnReader) Actions

func (tr *TxnReader) Actions(forceDecode bool) *TxnActions

func (*TxnReader) AsDeflated

func (tr *TxnReader) AsDeflated() *TxnReader

func (*TxnReader) Combine

func (a *TxnReader) Combine(b *TxnReader) *TxnReader

func (*TxnReader) IsDeflated

func (tr *TxnReader) IsDeflated() bool

Jump to

Keyboard shortcuts

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