Miner S.C.
Miner-related Functions
goCopy codefunc NewMinerSmartContract() sci.SmartContractInterface {
var mscCopy = &MinerSmartContract{
SmartContract: sci.NewSC(ADDRESS),
bcContext: &smartcontract.BCContext{},
}
mscCopy.initSC()
mscCopy.setSC(mscCopy.SmartContract, mscCopy.bcContext)
return mscCopy
}goCopy codefunc (msc *MinerSmartContract) Execute(
t *transaction.Transaction,
funcName string,
input []byte,
balances cstate.StateContextI
) (string, error)Field
Description
Global Node Management
Field
Description
Field
Description
Execution Statistics
Function Name
Description
Last updated