Documentation ¶
Index ¶
Constants ¶
View Source
const ( CIDForMainNet = 0x1 CIDForTestNet = 0xca97ec StatusIllegalArgument = module.StatusReverted + iota StatusNotFound )
View Source
const ( SysNoCharge = 1 << iota IISSDisabled BasicHidden )
View Source
const ( EETypesJavaAndPython = string(state.JavaEE + "," + state.PythonEE) EETypesPythonOnly = string(state.PythonEE) )
View Source
const BatchKey = "batch"
View Source
const (
BlockV1ProofFile = "block_v1_proof.bin"
)
Variables ¶
View Source
var BatchType = reflect.TypeOf((*batchData)(nil)).Elem()
Functions ¶
func ShowExtensionDiff ¶ added in v1.3.12
func ShowExtensionDiff(c service.DiffContext, e, r []byte) error
Types ¶
type BlockV1Proof ¶ added in v0.9.10
type BlockV1Proof struct { MerkleHeader *hexary.MerkleHeader LastVotes *blockv0.BlockVoteList }
type CallHandler ¶ added in v0.9.6
type CallHandler interface { contract.AsyncContractHandler GetMethodName() string AllowExtra() DoExecuteAsync(cc contract.CallContext, ch eeproxy.CallContext, store containerdb.BytesStoreState) error TLogStart() TLogDone(status error, steps *big.Int, result *codec.TypedObj) ApplyCallSteps(cc contract.CallContext) error }
type ChainConfig ¶ added in v0.9.6
type ChainConfig struct { Revision common.HexInt32 `json:"revision"` AuditEnabled common.HexInt16 `json:"auditEnabled"` Fee FeeConfig `json:"fee"` ValidatorList []*common.Address `json:"validatorList"` BlockInterval *common.HexInt64 `json:"blockInterval"` CommitTimeout *common.HexInt64 `json:"commitTimeout"` TimestampThreshold *common.HexInt64 `json:"timestampThreshold"` RoundLimitFactor *common.HexInt64 `json:"roundLimitFactor"` DepositTerm *common.HexInt64 `json:"depositTerm"` FeeSharingEnabled *common.HexInt16 `json:"feeSharingEnabled"` }
type ExtensionValues ¶ added in v1.3.12
type SystemCallHandler ¶ added in v0.9.6
type SystemCallHandler struct { CallHandler // contains filtered or unexported fields }
func (*SystemCallHandler) ExecuteAsync ¶ added in v0.9.6
func (h *SystemCallHandler) ExecuteAsync(cc contract.CallContext) (err error)
type TransferHandler ¶ added in v0.9.6
type TransferHandler struct {
*contract.CommonHandler
}
func (*TransferHandler) DoExecuteSync ¶ added in v0.9.6
func (h *TransferHandler) DoExecuteSync(cc contract.CallContext) (err error, ro *codec.TypedObj, addr module.Address)
func (*TransferHandler) ExecuteSync ¶ added in v0.9.6
func (h *TransferHandler) ExecuteSync(cc contract.CallContext) (err error, ro *codec.TypedObj, addr module.Address)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.