Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
func (*Block) Transactions ¶
func (b *Block) Transactions() ([]*Transaction, error)
type BlockIterator ¶
type BlockIterator struct {
// contains filtered or unexported fields
}
func NewBlockIterator ¶
func NewBlockIterator(iterator ledger.ResultsIterator) *BlockIterator
func (*BlockIterator) Close ¶
func (iter *BlockIterator) Close()
func (*BlockIterator) Next ¶
func (iter *BlockIterator) Next() (*Block, error)
type ChaincodeEvent ¶
type ChaincodeEvent struct {
// contains filtered or unexported fields
}
func (*ChaincodeEvent) ChaincodeID ¶
func (event *ChaincodeEvent) ChaincodeID() string
func (*ChaincodeEvent) EventName ¶
func (event *ChaincodeEvent) EventName() string
func (*ChaincodeEvent) Payload ¶
func (event *ChaincodeEvent) Payload() []byte
func (*ChaincodeEvent) ProtoMessage ¶
func (event *ChaincodeEvent) ProtoMessage() *peer.ChaincodeEvent
func (*ChaincodeEvent) Transaction ¶
func (event *ChaincodeEvent) Transaction() *Transaction
type ChaincodeEventsIterator ¶
type ChaincodeEventsIterator struct {
// contains filtered or unexported fields
}
func NewChaincodeEventsIterator ¶
func NewChaincodeEventsIterator(iterator ledger.ResultsIterator) *ChaincodeEventsIterator
func (*ChaincodeEventsIterator) Close ¶
func (iter *ChaincodeEventsIterator) Close()
func (*ChaincodeEventsIterator) Next ¶
func (iter *ChaincodeEventsIterator) Next() (*gateway.ChaincodeEventsResponse, error)
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) Block ¶
func (tx *Transaction) Block() *Block
func (*Transaction) ChaincodeEvents ¶
func (tx *Transaction) ChaincodeEvents() ([]*ChaincodeEvent, error)
func (*Transaction) ID ¶
func (tx *Transaction) ID() string
func (*Transaction) Status ¶
func (tx *Transaction) Status() peer.TxValidationCode
func (*Transaction) Timestamp ¶
func (tx *Transaction) Timestamp() *timestamp.Timestamp
func (*Transaction) Valid ¶
func (tx *Transaction) Valid() bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.