docs: rename 'deployed programs' section to 'on-chain programs'
This commit is contained in:
committed by
mergify[bot]
parent
3e6c7c4a3e
commit
0e452c8d91
@ -7,7 +7,7 @@ smart contracts elsewhere) with the Solana tools.
|
||||
|
||||
To learn about developing and executing programs on Solana, start with the
|
||||
[overview](developing/programming-model/overview.md) and then dig into the
|
||||
details of [deployed programs](developing/deployed-programs/overview.md).
|
||||
details of [on-chain programs](developing/on-chain-programs/overview.md).
|
||||
|
||||
To deploy a program, use the Solana tools to interact with the on-chain loader
|
||||
to:
|
||||
|
@ -13,7 +13,7 @@ across upgrades.
|
||||
|
||||
For each builtin program the program id and description each supported
|
||||
instruction is provided. A transaction can mix and match instructions from different
|
||||
programs, as well include instructions from deployed programs.
|
||||
programs, as well include instructions from on-chain programs.
|
||||
|
||||
## System Program
|
||||
|
||||
|
@ -274,7 +274,7 @@ result against the addresses supplied in the instruction.
|
||||
## Examples
|
||||
|
||||
Refer to [Developing with
|
||||
Rust](developing/deployed-programs/../../../deployed-programs/developing-rust.md#examples)
|
||||
Rust](developing/on-chain-programs/../../../on-chain-programs/developing-rust.md#examples)
|
||||
and [Developing with
|
||||
C](developing/deployed-programs/../../../deployed-programs/developing-c.md#examples)
|
||||
C](developing/on-chain-programs/../../../on-chain-programs/developing-c.md#examples)
|
||||
for examples of how to use cross-program invocation.
|
||||
|
@ -14,4 +14,4 @@ transaction. If any instruction is invalid, all account changes in the
|
||||
transaction are discarded.
|
||||
|
||||
To start developing immediately you can build, deploy, and run one of the
|
||||
[examples](developing/deployed-programs/examples.md).
|
||||
[examples](developing/on-chain-programs/examples.md).
|
@ -92,7 +92,7 @@ total budget consumption will be a combination of the various costs of the
|
||||
operations it performs.
|
||||
|
||||
At runtime a program may log how much of the compute budget remains. See
|
||||
[debugging](developing/deployed-programs/debugging.md#monitoring-compute-budget-consumption)
|
||||
[debugging](developing/on-chain-programs/debugging.md#monitoring-compute-budget-consumption)
|
||||
for more information.
|
||||
|
||||
The budget values are conditional on feature enablement, take a look the compute
|
||||
|
@ -133,14 +133,14 @@ program will process this instruction. The program's account's owner specifies
|
||||
which loader should be used to load and execute the program and the data
|
||||
contains information about how the runtime should execute the program.
|
||||
|
||||
In the case of [deployed BPF
|
||||
programs](developing/deployed-programs/overview.md), the owner is the BPF Loader
|
||||
and the account data holds the BPF bytecode. Program accounts are permanently
|
||||
marked as executable by the loader once they are successfully deployed. The
|
||||
runtime will reject transactions that specify programs that are not executable.
|
||||
In the case of [on-chain BPF programs](developing/on-chain-programs/overview.md),
|
||||
the owner is the BPF Loader and the account data holds the BPF bytecode. Program
|
||||
accounts are permanently marked as executable by the loader once they are
|
||||
successfully deployed. The runtime will reject transactions that specify programs
|
||||
that are not executable.
|
||||
|
||||
|
||||
Unlike deployed programs, [builtins](developing/builtins/programs.md) are handled
|
||||
Unlike on-chain programs, [builtins](developing/builtins/programs.md) are handled
|
||||
differently in that they are built directly into the Solana runtime.
|
||||
|
||||
### Accounts
|
||||
|
Reference in New Issue
Block a user