package
0.1.0
Repository: https://github.com/openblockchain/obc-peer.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewBlock creates a new Block given the input parameters.
NewChaincodeDeployTransaction is used to deploy chaincode.
NewChaincodeExecute is used to deploy chaincode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTransaction creates a new transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnmarshallBlock converts a byte array generated by Bytes() back to a block.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
don't send events (used to cancel interest).
marshall into JSON byte array.
send protobuf objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Block carries The data that describes a block in the blockchain.
Contains information about the blockchain ledger such as height, current block hash, and previous block hash.
Specifies the current number of blocks in the blockchain.
Specifies the block number to be returned from the blockchain.
BlockState is the payload of OpenchainMessage.SYNC_BLOCK_ADDED.
No description provided by the author
Specify the deployment of a chaincode.
Provided by the peer to the chaincode to identify the requesting chaincode and allow for proper access to state.
ChaincodeID contains the path as specified by the deploy transaction that created it as well as the hashCode that is generated by the system for the path.
TODO: Merge this with ChaincodeID.
Carries the chaincode function and its arguments.
Carries the chaincode function and its arguments.
No description provided by the author
Used by the peer to identify the requesting chaincode and allows for proper access to state.
Carries the chaincode specification.
---------- producer events --------- Generic is used for encoding payload as JSON or raw bytes string type - "generic".
No description provided by the author
No description provided by the author
NonHashData is data that is recorded on the block, but not included in the block hash when verifying the blockchain.
OpenchainEvent is used by - consumers (adapters) to send Register - producer to advertise supported types and events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
---------- consumer events --------- Register is sent by consumers for registering events string type - "register".
No description provided by the author
Secret is a temporary object to establish security with the Devops.
No description provided by the author
SyncBlockRange is the payload of OpenchainMessage.SYNC_GET_BLOCKS, where start and end indicate the starting and ending blocks inclusively.
SyncBlocks is the payload of OpenchainMessage.SYNC_BLOCKS, where the range indicates the blocks responded to the request SYNC_GET_BLOCKS.
SyncStateDeltas is the payload of the OpenchainMessage.SYNC_STATE in response to the OpenchainMessage.SYNC_GET_STATE message.
SyncStateRequest is the payload of OpenchainMessage.SYNC_GET_STATE.
SyncState is the payload of OpenchainMessage.SYNC_SNAPSHOT, which is a response to penchainMessage.SYNC_GET_SNAPSHOT.
SyncSnapshotRequest Payload for the penchainMessage.SYNC_GET_SNAPSHOT message.
Transaction defines a function call to a contract.
TransactionBlock carries a batch of transactions.
TransactionResult contains the return value of a transaction.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Confidentiality Levels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author