Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ TxExecTimeout: 10 * time.Second, ConcurrentLimit: 20, }
View Source
var (
NativeCodeIDJuriaCoin = bytes.Repeat([]byte{1}, 32)
)
Functions ¶
This section is empty.
Types ¶
type CodeDriver ¶
type CodeDriver interface { // Install is called when code deployment transaction is received // Example data field - download url for code binary // After successful Install, getInstance should give a Chaincode instance without error Install(codeID, data []byte) error GetInstance(codeID []byte) (chaincode.Chaincode, error) }
type CodeInfo ¶
type CodeInfo struct { DriverType DriverType `json:"driverType"` CodeID []byte `json:"codeID"` }
type DeploymentInput ¶
type DriverType ¶
type DriverType uint8
const ( DriverTypeNative DriverType = iota + 1 DriverTypeBincc )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.