Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeDriver ¶
type CodeDriver struct {
// contains filtered or unexported fields
}
func NewCodeDriver ¶
func NewCodeDriver(codeDir string, nativeDriver common.CodeDriver, storage storage.PersistStore) *CodeDriver
func (*CodeDriver) GetInstance ¶
func (drv *CodeDriver) GetInstance(codeID []byte) (common.Chaincode, error)
func (*CodeDriver) Install ¶
func (drv *CodeDriver) Install(codeID, data []byte) error
type Runner ¶
type Runner struct { CodePath string Driver common.CodeDriver Storage storage.PersistStore StateDB *statedb.StateDB // contains filtered or unexported fields }
func (*Runner) Init ¶
func (r *Runner) Init(ctx common.CallContext) error
Init deploys the solidity contract and binds the eth address.
func (*Runner) SetTxTrk ¶
func (r *Runner) SetTxTrk(txTrk *common.StateTracker)
Click to show internal directories.
Click to hide internal directories.