Structs§
- MAYBE_
BUILTIN_ KEY - A table of 256 booleans indicates whether the first
u8
of a Pubkey exists in BUILTIN_INSTRUCTION_COSTS. If the value is true, the Pubkey might be a builtin key; if false, it cannot be a builtin key. This table allows for quick filtering of builtin program IDs without the need for hashing. - Migrating
Builtin Cost - NotMigrating
Builtin Cost
Enums§
- Builtin
Cost - DEVELOPER: when a builtin is migrated to sbpf, please add its corresponding migration feature ID to BUILTIN_INSTRUCTION_COSTS, and move it from NON_MIGRATING_BUILTINS_COSTS to MIGRATING_BUILTINS_COSTS, so the builtin’s default cost can be determined properly based on feature status. When migration completed, eg the feature gate is enabled everywhere, please remove that builtin entry from MIGRATING_BUILTINS_COSTS.
- Builtin
Migration Feature Index
Constants§
Functions§
- get_
builtin_ instruction_ cost - get_
builtin_ migration_ feature_ index - get_
migration_ feature_ id - Helper function to return ref of migration feature Pubkey at position
index
from MIGRATING_BUILTINS_COSTS