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() MeteredIntensities TotalComputationUsed() uint TotalComputationLimit() uint // memory metering MeterMemory(kind common.ComputationKind, intensity uint) error MemoryIntensities() MeteredIntensities TotalMemoryUsed() uint TotalMemoryLimit() uint }
type MeteredIntensities ¶
type MeteredIntensities map[common.ComputationKind]uint
type MetringOperationType ¶
type MetringOperationType uint
Click to show internal directories.
Click to hide internal directories.