Module solana_program::entrypoint

source ·
Expand description

The Rust-based BPF program entrypoint supported by the latest BPF loader.

For more information see the bpf_loader module.

Structs§

  • The bump allocator used as the default rust heap when running programs.

Constants§

  • assert_eq(std::mem::align_of::<u128>(), 8) is true for BPF but not for some host machines
  • Length of the heap memory region used for program heap.
  • Start address of the memory region used for program heap.
  • Maximum number of bytes a program may add to an account during a single realloc
  • Value used to indicate that a serialized account is not a duplicate
  • Programs indicate success with a return value of 0

Functions§

Type Aliases§