Expand description
CKB VM cost model.
The cost model assign cycles to instructions.
Constants§
- BYTES_
PER_ CYCLE - How many bytes can transfer when VM costs one cycle.
Functions§
- transferred_
byte_ cycles - Calculates how many cycles spent to load the specified number of bytes.