Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Num uint64 Txs []*Transaction }
type PubAndHashUpdates ¶
type PubAndHashUpdates struct { PubUpdates *privacyenabledstate.PubUpdateBatch HashUpdates *privacyenabledstate.HashedUpdateBatch }
func NewPubAndHashUpdates ¶
func NewPubAndHashUpdates() *PubAndHashUpdates
func (*PubAndHashUpdates) ApplyWriteSet ¶
func (u *PubAndHashUpdates) ApplyWriteSet( txRWSet *rwsetutil.TxRwSet, txHeight *version.Height, db privacyenabledstate.DB, containsPostOrderWrites bool, ) error
type Transaction ¶
type Transaction struct { IndexInBlock int ID string RWSet *rwsetutil.TxRwSet ValidationCode peer.TxValidationCode ContainsPostOrderWrites bool }
func (*Transaction) ContainsPvtWrites ¶
func (t *Transaction) ContainsPvtWrites() bool
func (*Transaction) RetrieveHash ¶
func (t *Transaction) RetrieveHash(ns string, coll string) []byte
Click to show internal directories.
Click to hide internal directories.