Documentation ¶
Index ¶
Constants ¶
View Source
const ( ComputationKindHash common.ComputationKind ComputationKindVerifySignature ComputationKindAddAccountKey ComputationKindAddEncodedAccountKey ComputationKindAllocateStorageIndex ComputationKindCreateAccount ComputationKindEmitEvent ComputationKindGenerateUUID ComputationKindGetAccountAvailableBalance ComputationKindGetAccountBalance ComputationKindGetAccountContractCode ComputationKindGetAccountContractNames ComputationKindGetAccountKey ComputationKindGetBlockAtHeight ComputationKindGetCode ComputationKindGetCurrentBlockHeight ComputationKindGetProgram ComputationKindGetStorageCapacity ComputationKindGetStorageUsed ComputationKindGetValue ComputationKindRemoveAccountContractCode ComputationKindResolveLocation ComputationKindRevokeAccountKey ComputationKindRevokeEncodedAccountKey ComputationKindSetProgram ComputationKindSetValue ComputationKindUpdateAccountContractCode ComputationKindValidatePublicKey ComputationKindValueExists )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meter ¶
type Meter interface { // merge child funcionality NewChild() Meter MergeMeter(child Meter, enforceLimits bool) error // computation metering MeterComputation(kind common.ComputationKind, intensity uint) error ComputationIntensities() MeteredComputationIntensities TotalComputationUsed() uint TotalComputationLimit() uint // memory metering MeterMemory(kind common.MemoryKind, intensity uint) error MemoryIntensities() MeteredMemoryIntensities TotalMemoryEstimate() uint TotalMemoryLimit() uint }
type MeteredComputationIntensities ¶ added in v0.26.0
type MeteredComputationIntensities map[common.ComputationKind]uint
type MeteredMemoryIntensities ¶ added in v0.26.0
type MeteredMemoryIntensities map[common.MemoryKind]uint
type MetringOperationType ¶
type MetringOperationType uint
Click to show internal directories.
Click to hide internal directories.