docs: rename 'deployed programs' section to 'on-chain programs'

This commit is contained in:
Trent Nelson 2021-03-10 16:02:26 -07:00 committed by mergify[bot]
parent 3e6c7c4a3e
commit 0e452c8d91
15 changed files with 25 additions and 25 deletions

View File

@ -32,16 +32,16 @@ cat > "$CONFIG_FILE" <<EOF
"redirects": [
{ "source": "/apps", "destination": "/developing/programming-model/overview" },
{ "source": "/apps/bakcwards-compatibility", "destination": "/developing/backwards-compatibility" },
{ "source": "/apps/break", "destination": "/developing/deployed-programs/examples" },
{ "source": "/apps/break", "destination": "/developing/on-chain-programs/examples" },
{ "source": "/apps/builtins", "destination": "/developing/builtin-programs" },
{ "source": "/apps/drones", "destination": "/developing/deployed-programs/examples" },
{ "source": "/apps/hello-world", "destination": "/developing/deployed-programs/examples" },
{ "source": "/apps/drones", "destination": "/developing/on-chain-programs/examples" },
{ "source": "/apps/hello-world", "destination": "/developing/on-chain-programs/examples" },
{ "source": "/apps/javascript-api", "destination": "/developing/clients/javascript-api" },
{ "source": "/apps/jsonrpc-api", "destination": "/developing/clients/jsonrpc-api" },
{ "source": "/apps/programming-faq", "destination": "/developing/deployed-programs/faq" },
{ "source": "/apps/programming-faq", "destination": "/developing/on-chain-programs/faq" },
{ "source": "/apps/rent", "destination": "/developing/programming-model/accounts" },
{ "source": "/apps/sysvars", "destination": "/developing/programming-model/sysvars" },
{ "source": "/apps/webwallet", "destination": "/developing/deployed-programs/examples" },
{ "source": "/apps/webwallet", "destination": "/developing/on-chain-programs/examples" },
{ "source": "/implemented-proposals/cross-program-invocation", "destination": "/developing/programming-model/cpi" },
{ "source": "/implemented-proposals/program-derived-addresses", "destination": "/developing/programming-model/program-derived-addresses" },
{ "source": "/implemented-proposals/secp256k1_instruction", "destination": "/developing/programming-model/secpk1-instructions" }

View File

@ -90,15 +90,15 @@ module.exports = {
},
{
type: "category",
label: "Deployed Programs",
label: "On-chain Programs",
items: [
"developing/deployed-programs/overview",
"developing/deployed-programs/developing-rust",
"developing/deployed-programs/developing-c",
"developing/deployed-programs/deploying",
"developing/deployed-programs/debugging",
"developing/deployed-programs/examples",
"developing/deployed-programs/faq",
"developing/on-chain-programs/overview",
"developing/on-chain-programs/developing-rust",
"developing/on-chain-programs/developing-c",
"developing/on-chain-programs/deploying",
"developing/on-chain-programs/debugging",
"developing/on-chain-programs/examples",
"developing/on-chain-programs/faq",
],
},
"developing/backwards-compatibility",

View File

@ -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:

View File

@ -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

View File

@ -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.

View File

@ -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).

View File

@ -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

View File

@ -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