Module ckb_script::cost_model
source · Expand description
CKB VM cost model.
The cost model assign cycles to instructions.
Constants§
- How many bytes can transfer when VM costs one cycle.
Functions§
- Calculates how many cycles spent to load the specified number of bytes.