Protocolo Base

Loader v4

The next-generation Solana program loader designed to replace the current Upgradeable BPF Loader (v3). Loader v4 introduces improvements including a simpler deployment process (single-step instead of buffer + deploy), built-in finalization (replacing the separate upgrade authority revocation), and more efficient program management. It streamlines the program lifecycle while maintaining backward compatibility with existing SBF bytecode.

IDloader-v4

Leitura rápida

Comece pela explicação mais curta e útil antes de aprofundar.

The next-generation Solana program loader designed to replace the current Upgradeable BPF Loader (v3). Loader v4 introduces improvements including a simpler deployment process (single-step instead of buffer + deploy), built-in finalization (replacing the separate upgrade authority revocation), and more efficient program management. It streamlines the program lifecycle while maintaining backward compatibility with existing SBF bytecode.

Modelo mental

Use primeiro a analogia curta para raciocinar melhor sobre o termo quando ele aparecer em código, docs ou prompts.

Pense nisso como parte da engrenagem que mantém a ordenação, execução ou consenso da rede funcionando.

Contexto técnico

Coloque o termo dentro da camada de Solana em que ele vive para raciocinar melhor sobre ele.

Consenso, rotação de líderes, slots, epochs e o runtime.

Por que builders ligam para isso

Transforme o termo de vocabulário em algo operacional para produto e engenharia.

Este termo destrava conceitos adjacentes rapidamente, então funciona melhor quando você o trata como um ponto de conexão, não como definição isolada.

Handoff para IA

Handoff para IA

Use este bloco compacto quando quiser dar contexto aterrado para um agente ou assistente sem despejar a página inteira.

Loader v4 (loader-v4)
Categoria: Protocolo Base
Definição: The next-generation Solana program loader designed to replace the current Upgradeable BPF Loader (v3). Loader v4 introduces improvements including a simpler deployment process (single-step instead of buffer + deploy), built-in finalization (replacing the separate upgrade authority revocation), and more efficient program management. It streamlines the program lifecycle while maintaining backward compatibility with existing SBF bytecode.
Relacionados: Upgradeable BPF Loader, BPF Loader, SBF (Formato de Bytecode Solana)
Glossary Copilot

Faça perguntas de Solana com contexto aterrado sem sair do glossário.

Use contexto do glossário, relações entre termos, modelos mentais e builder paths para receber respostas estruturadas em vez de output genérico.

Explicar este código

Opcional: cole código Anchor, Solana ou Rust para o Copilot mapear primitivas de volta para termos do glossário.

Faça uma pergunta aterrada no glossário

Faça uma pergunta aterrada no glossário

O Copilot vai responder usando o termo atual, conceitos relacionados, modelos mentais e o grafo ao redor do glossário.

Grafo conceitual

Veja o termo como parte de uma rede, não como uma definição sem saída.

Esses ramos mostram quais conceitos esse termo toca diretamente e o que existe uma camada além deles.

Ramo

Upgradeable BPF Loader

The current BPF Loader (BPFLoaderUpgradeab1e111...) that supports deploying and upgrading programs. It creates three accounts: the program account (thin proxy with executable flag), the program data account (holds the actual ELF bytecode), and records the upgrade authority. Programs can be made immutable by setting the authority to None.

Ramo

BPF Loader

A built-in program that loads and executes SBF programs. Solana has multiple loader versions: the deprecated BPF Loader (immutable programs), BPF Loader 2 (deprecated), and the current Upgradeable BPF Loader (BPFLoaderUpgradeable) that supports program upgrades. The loader verifies bytecode, manages deployment, and sets the executable flag.

Ramo

SBF (Formato de Bytecode Solana)

Solana Bytecode Format—Solana's customized evolution of BPF. SBF adds Solana-specific syscalls, modifies calling conventions, disables certain eBPF instructions, and adds features like position-independent code. Programs are compiled with `cargo build-sbf` and deployed as SBF ELF binaries. SBF replaced BPF as the canonical bytecode format.

Próximos conceitos para explorar

Continue a cadeia de aprendizado em vez de parar em uma única definição.

Estes são os próximos conceitos que valem abrir se você quiser que este termo faça mais sentido dentro de um workflow real de Solana.

Modelo de Programação

Upgradeable BPF Loader

The current BPF Loader (BPFLoaderUpgradeab1e111...) that supports deploying and upgrading programs. It creates three accounts: the program account (thin proxy with executable flag), the program data account (holds the actual ELF bytecode), and records the upgrade authority. Programs can be made immutable by setting the authority to None.

Modelo de Programação

BPF Loader

A built-in program that loads and executes SBF programs. Solana has multiple loader versions: the deprecated BPF Loader (immutable programs), BPF Loader 2 (deprecated), and the current Upgradeable BPF Loader (BPFLoaderUpgradeable) that supports program upgrades. The loader verifies bytecode, manages deployment, and sets the executable flag.

Protocolo Base

SBF (Formato de Bytecode Solana)

Solana Bytecode Format—Solana's customized evolution of BPF. SBF adds Solana-specific syscalls, modifies calling conventions, disables certain eBPF instructions, and adds features like position-independent code. Programs are compiled with `cargo build-sbf` and deployed as SBF ELF binaries. SBF replaced BPF as the canonical bytecode format.

Protocolo Base

Lockout

The period during which a Tower BFT vote prevents a validator from switching to a competing fork. Lockouts double with each consecutive confirmation: vote depth 1 = 2-slot lockout, depth 2 = 4 slots, etc. This exponential lockout makes it increasingly expensive for validators to change their vote, providing economic finality.

Comumente confundido com

Termos próximos em vocabulário, sigla ou vizinhança conceitual.

Essas entradas são fáceis de misturar quando você lê rápido, faz prompting em um LLM ou está entrando em uma nova camada de Solana.

Protocolo Baseledger-vote

Ledger Vote

A validator's on-chain attestation affirming that it has verified and replayed a specific block, recorded as a hash of the validator's state at that slot. Ledger votes are submitted as vote transactions to the Vote Program and form the basis of Tower BFT consensus. Each vote carries increasing lockout commitments that make fork-switching progressively more expensive.

Termos relacionados

Siga os conceitos que realmente dão contexto a este termo.

Entradas de glossário só ficam úteis quando estão conectadas. Esses links são o caminho mais curto para ideias adjacentes.

Modelo de Programaçãoupgradeable-loader

Upgradeable BPF Loader

The current BPF Loader (BPFLoaderUpgradeab1e111...) that supports deploying and upgrading programs. It creates three accounts: the program account (thin proxy with executable flag), the program data account (holds the actual ELF bytecode), and records the upgrade authority. Programs can be made immutable by setting the authority to None.

Modelo de Programaçãobpf-loader

BPF Loader

A built-in program that loads and executes SBF programs. Solana has multiple loader versions: the deprecated BPF Loader (immutable programs), BPF Loader 2 (deprecated), and the current Upgradeable BPF Loader (BPFLoaderUpgradeable) that supports program upgrades. The loader verifies bytecode, manages deployment, and sets the executable flag.

Protocolo Basesbf

SBF (Formato de Bytecode Solana)

Solana Bytecode Format—Solana's customized evolution of BPF. SBF adds Solana-specific syscalls, modifies calling conventions, disables certain eBPF instructions, and adds features like position-independent code. Programs are compiled with `cargo build-sbf` and deployed as SBF ELF binaries. SBF replaced BPF as the canonical bytecode format.

Mais na categoria

Permaneça na mesma camada e continue construindo contexto.

Essas entradas vivem ao lado do termo atual e ajudam a página a parecer parte de um grafo maior, não um beco sem saída.

Protocolo Base

Prova de História (PoH)

A clock mechanism that cryptographically proves the passage of time between events. PoH uses a sequential SHA-256 hash chain where each output becomes the next input, creating a verifiable ordering of events without requiring consensus. The leader produces ~400,000 hashes per slot (~400ms), and any validator can verify the sequence in parallel, enabling Solana's high throughput by removing the need for validators to agree on time.

Protocolo Base

Tower BFT

Solana's custom BFT consensus algorithm built on top of Proof of History. Tower BFT uses PoH as a clock to reduce communication overhead in traditional PBFT from O(n²) to O(n). Validators vote on forks with exponentially increasing lockout periods—each consecutive vote doubles the lockout, making rollbacks progressively more expensive. A fork is finalized when it reaches supermajority (66.7%+ of stake).

Protocolo Base

Slot

A time window during which a designated leader validator can produce a block. Each slot lasts approximately 400 milliseconds. Slots are numbered sequentially from genesis and grouped into epochs of 432,000 slots (~2-3 days). Not every slot produces a block—a skipped slot means the leader was offline or too slow.

Protocolo Base

Bloco

A set of entries produced by a leader during a single slot. A block contains transactions bundled into entries, each with a PoH hash proving ordering. Blocks are broken into shreds for network propagation via Turbine. Maximum block size is limited by compute units (48M CU cap per block) rather than byte size.