Module solana_program::entrypoint[][src]

Expand description

@brief Solana Rust-based BPF program entry point supported by the latest BPFLoader. For more information see ‘./bpf_loader.rs’

Structs

BumpAllocator

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

Constants

HEAP_LENGTH

Length of the heap memory region used for program heap.

HEAP_START_ADDRESS

Start address of the memory region used for program heap.

MAX_PERMITTED_DATA_INCREASE

Maximum number of bytes a program may add to an account during a single realloc

SUCCESS

Programs indicate success with a return value of 0

Functions

deserialize

Deserialize the input arguments

Type Definitions

ProcessInstruction

User implemented function to process an instruction

ProgramResult