Commit Graph

999 Commits

Author SHA1 Message Date
Steven Luscher 511182479b
docs: add direct link to StackExchange from the On-Chain Programs docs (#32937)
* docs: add direct link to StackExchange from the On-Chain Programs docs

* Update link to Discord.

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

---------

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
2023-09-27 16:36:08 +00:00
Max Kaplan b1316739f2
docs: updating systemd command (#33393) 2023-09-25 22:26:10 +02:00
Nick Frostbutter d27aaa79c8
[docs] clarified `jsonParsed` fallback encoding for `simulateTransaction` (#33324)
docs: clarified fallback encoding
2023-09-20 09:53:12 -07:00
aric df93145c97
Update compressed-nfts.md typo single single token (#33321) 2023-09-20 12:04:46 +02:00
Jimii 9970bfcf97
docs: add solana stack exchange site (#33280) 2023-09-19 11:30:18 +02:00
Jon Cinque 30055b02b5
docs: Clarify when validator commission can be set (#32796)
docs: Clarify when commission can be set
2023-09-14 11:29:42 +02:00
Christian Kamm 525e59f01a
sdk, programs/bpf_loader: add sol_remaining_compute_units syscall (#31640)
bpf_loader: add sol_remaining_compute_units syscall

Co-authored-by: jonch <9093549+jon-chuang@users.noreply.github.com>
2023-09-13 08:57:08 -06:00
Alexander Meißner bbb57be0a5
Refactor - Move interfaces of address-lookup-table into the program SDK (#33165)
* Adds a module `address_lookup_table` to the SDK.

* Adds a module `address_lookup_table::instruction` to the SDK.

* Adds a module `address_lookup_table::error` to the SDK.

* Adds a module `address_lookup_table::state` to the SDK.

* Moves AddressLookupTable into SDK as well.

* Moves AddressLookupTableAccount into address_lookup_table.

* Adds deprecation messages.

* Disentangles dependencies across cargo files.
2023-09-11 21:10:40 +02:00
Tyera 17b1b5646d
rpc: turn off getStakeActivation epoch parameter (#33156)
* Return error on past-epoch parameter

* Update docs
2023-09-05 16:52:49 -06:00
Callum McIntyre 19306bac74
Correct docs for getMultipleAccounts RPC (#32684) 2023-09-05 13:35:48 +00:00
Trent Nelson 9d7e5fc139
docs: update discord links (#32935) 2023-08-22 17:17:58 +00:00
Joe C de4eee15c8
JSON RPC API docs updates (#32747) 2023-08-14 22:24:27 -05:00
Jon Cinque c73a56faf8
stake: Rename `StakeStateWithFlags` -> `StakeStateV2` (#32795) 2023-08-11 01:07:21 +02:00
Jon Cinque 8e4a9a94ed
sdk: Add new version of `StakeState` to avoid breaking downstream users (#32736)
* sdk: Rename `StakeState` -> `StakeStateWithFlags`

* Add back `StakeFlags` with a deprecation warning
2023-08-09 00:05:40 +02:00
Ikko Eltociear Ashimine 626e7dcfae
docs: Fix typo in off-chain-message-signing.md (#32758)
specfied -> specified
2023-08-08 13:00:46 +02:00
Trent Nelson 1ce26ecba0
remove references to eol helloworld example repo (#32550) 2023-07-20 00:35:54 -05:00
dependabot[bot] dba39d9134
Bump word-wrap from 1.2.3 to 1.2.4 in /docs (#32527)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-18 18:29:00 -07:00
Ashwin Sekar 8c480d6d2d
Update consensus docs (#32482)
Update tower-bft docs
2023-07-14 19:08:11 -07:00
Ikko Eltociear Ashimine 0e5a14927b
Fix typo in simple-payment-and-state-verification.md (#32374)
concatentation -> concatenation
2023-07-04 11:58:00 -06:00
pairnon 43e791f3ac
Fix docs typos (#32364)
fix docs typos
2023-07-03 07:52:31 -05:00
Michael c595c388e0
Add skip rate to docs and adjust block-production to use the term ski… (#32230)
* Add skip rate to docs and adjust block-production to use the term skip rate in line with the output of solana validators

* Format and adjust padding
2023-06-21 16:38:46 -07:00
Brennan 42ccc5cf40
update turbine docs for redundant path disabled (#29985)
* update turbine docs for redundant path disabled

* Create data-plane-propagation.png

* PR feedback - scrub out neighborhoods
2023-06-21 09:46:17 -07:00
Logan Yu 24ffc113bb
fix errors in lookup tables code example (#32055)
* fix errors in lookup tables code example

* Update lookup-tables.md

* add missing = and change variable name to txid
2023-06-20 13:56:56 +00:00
galactus 2ceabd9368
Simd 47 syscall sysvar last restart slot (#31957)
* add sysvar and logic for last restart slot

* cleanup

* add test for getting last restart slot from account

* format code

* add some basic rustdoc

* copy+paste error

* feature flag for last_restart_slot

* add to sysvars.md

* updated wording in sysvars.md

* rename sol_get_last_restart_slot_sysvar > sol_get_last_restart_slot

* create sbf C header for sol_get_last_restart_slot

* cleanup imports

* reverted hardened_unpack workaround

* cleanup imports

* cleanup logs + blank lines

* Implementing ui changes for last restart slot, nit

* Some more nit change and implementing the UI for sysvar

* fixing the CI

* Minor clippy fix

* format changes

* changes suggested by mvines and lichtso

* increase timeout in local_cluster test

* fix code format

* use keypair for feature flag from mvines

* delete test.json file

* Revert "increase timeout in local_cluster test"

This reverts commit a67465ae22.

* last restart slot should be always less than or equal to current slot

* fixing bug

* changes after  steviez comments

* format issue fixed

* fixing the comment on premature application of future hardfork

* nit change in test

Co-authored-by: steviez <steven@solana.com>

* reverting sysvar_cache.rs because change was not necessary

---------

Co-authored-by: steve-gg <grooviegermanikus@gmail.com>
Co-authored-by: steviez <steven@solana.com>
2023-06-16 20:14:02 +00:00
Raza eabe107066
[docs] Add beginner-friendly intro to Solana guide (#31861)
* Docs: Create intro to Solana guide

* Docs: Fix formatting on getstarted/overview

* Docs: Fix linter errors on getstarted/overview
2023-06-14 21:35:19 -05:00
HaoranYi ffe4c06a19
Add epoch_reward sysvar (#32049)
* Add epoch_reward sysvar

* Apply suggestions from code review

Co-authored-by: Brooks <brooks@prumo.org>

* remove new from EpochRewards

* remove copy test

* Apply suggestions from code review

Co-authored-by: Jon Cinque <joncinque@pm.me>
Co-authored-by: Tyera <teulberg@gmail.com>

* reviews

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
Co-authored-by: Brooks <brooks@prumo.org>
Co-authored-by: Jon Cinque <joncinque@pm.me>
Co-authored-by: Tyera <teulberg@gmail.com>
2023-06-14 08:41:26 -05:00
Tim Garcia bcacb32cbc
[docs] Validator guidebook incorporated into docs (#31660)
* docs: adding multiple pages in from the guidebook

* fix: minor updates to the rpc node setup page

* fix: added known validators info to the rpc page

* docs: added best practices pages

* fix: updated internal linking

* docs: added faq page and update links

* Expanding the validator FAQ, updating hardware req

* Updates to validator setup

* Fixed broken RPC API links

* Remove GPU reqs, clarify install best practices

* Updating neworking requirements in validator reqs

* Removing trailing white spaces

* Removing systuner usage from docs

* ssh authentication note, more on withdrawls

* Adding feedback from educational workshop

* Details on system clock, cpu freq, validator set

* add link to gossip for clock drift system req

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* Update docs/src/validator/best-practices/monitoring.md

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* clarification on monitoring docs

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* adding a reference to the hardware requirements

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* fixing link to clusters page

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* typo fix

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* Update docs/src/validator/get-started/setup-a-validator.md

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* Update docs/src/validator/best-practices/monitoring.md

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* Update docs/src/validator/best-practices/monitoring.md

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>

* Referencing the validator health report

* Removed trailing whitespace

---------

Co-authored-by: nickfrosty <nfrostbutter@gmail.com>
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
2023-06-13 14:11:37 -05:00
Nick Frostbutter b1a303c8bf
[docs] signatureSubscribe wording tweaks (#31996)
* fix: minor tweaks

* refactor: updating wording

* Update docs/src/api/websocket/_signatureSubscribe.mdx

Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>

---------

Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
2023-06-13 14:22:22 +00:00
samkim-crypto 57a89a7ec8
[docs] Add zk token proof program description (#32011) 2023-06-13 11:13:51 +09:00
Gopye 1ff7b28abc
Docs/fix/transaction confirmation (#32057)
* docs: remove nonsense sentence

* docs: fix transaction confirmation link
2023-06-12 15:15:52 +02:00
Gopye 9a65d8fc31
docs: fix typo in the Versioned Transaction docs (#32056)
docs: fix typo

Co-authored-by: sean delaney <notunderground@protonmail.com>
2023-06-12 15:13:52 +02:00
Michael 2f4a189d47
Hide Keybase and replace with URL (#31852) 2023-06-06 06:22:55 -07:00
Nick Frostbutter 8fbada42f9
[docs] `signatureSubscribe` websocket (#31841)
fix: signatureSubscribe websocket method

Closes #24558
2023-06-05 18:25:21 +00:00
bji 0957a50a34
Add snapshots arguments to the ledger tool command because numerous o… (#31847)
Add snapshots arguments to the ledger tool command because numerous operators
have been tripped up by not realizing that these arguments are needed for
fairly standard configs.  The additional arguments are harmless for those
who don't separate snapshots into separate dirs, but essential for those
who do.
2023-05-27 15:03:59 +00:00
Brooks 89fd848e6c
Moves Epoch Accounts Hash proposal to implemented (#31824) 2023-05-25 14:14:16 -04:00
Raza 5077d58b73
docs: Add Windows installation instructions (#31774) 2023-05-24 08:42:13 -05:00
carllin a3fc622550
Update consensus docs (#31588) 2023-05-23 16:32:21 -04:00
Jeff Biseda 97293fe506
update frozen_abi dev workflow in docs (#31705) 2023-05-18 16:23:59 -07:00
Trent Nelson b422ac0368
remove `solana-sys-tuner` binary and all references (#31682) 2023-05-16 18:22:58 -06:00
Callum McIntyre 6c1cdb57c6
[docs] add error response for getBlockTime RPC call (#31653)
Co-authored-by: Callum McIntyre <callum.mcintyre@solana.com>
2023-05-16 17:02:24 -05:00
Callum McIntyre 16381d8f65
[docs] remove incorrect pubkey param from getEpochInfo (#31651)
Co-authored-by: Callum McIntyre <callum.mcintyre@solana.com>
2023-05-16 18:23:30 +00:00
Jordan Sexton 125a18550d
[docs] Add note about txids to signature status RPC method docs (#31628) 2023-05-12 20:16:16 -07:00
Dmitri Makarov c5905f525c
Update on-chain debugging docs following up changes in ledger-tool UI (#31593) 2023-05-12 06:34:51 -04:00
Dmitri Makarov 078304888d
Decommission rbpf-cli, replaced by solana-ledger-tool run subcommand (#31512) 2023-05-05 09:31:38 -07:00
Callum McIntyre 9b547fe9f8
[docs] add that loadedAddresses is undefined when using jsonParsed encoding (#31441)
- Applies to `getTransaction` and `getBlock` RPC calls
- This is intended because `accountKeys` already includes these addresses + lookupTable source. See https://github.com/solana-labs/solana/pull/31392#issuecomment-1527856367
2023-05-02 15:41:23 -05:00
Tyera 7474404539
Fix lockup docs (#31362) 2023-04-28 13:00:47 -06:00
sakridge f2befbb78e
Add note on how cargo build-bpf works (#30938) 2023-04-20 20:30:11 +02:00
Nick Frostbutter 26bec21d05
[docs] clarify logsSubscribe `mentions` param (#31225)
* fix: clarify logsSubscribe mentions param

* Update docs/src/api/websocket/_logsSubscribe.mdx

Co-authored-by: Tyera <teulberg@gmail.com>

* Update docs/src/api/websocket/_logsSubscribe.mdx

Co-authored-by: Tyera <teulberg@gmail.com>

---------

Co-authored-by: Tyera <teulberg@gmail.com>
2023-04-17 18:22:11 +00:00
kirill lykov 592b3ce17e
fix docs blockstore formatting (#31105)
* fix docs blockstore formatting

* Update docs/src/validator/blockstore.md

Co-authored-by: steviez <steven@solana.com>

* fix function signature in replay docs

Co-authored-by: steviez <steven@solana.com>

* update `get_slot_entries` function description in the docs

Co-authored-by: steviez <steven@solana.com>

* fix formatting

* remove new line in a doc

---------

Co-authored-by: steviez <steven@solana.com>
2023-04-14 12:13:28 +00:00
Nick Frostbutter 768405c410
[docs][ci] skip usage doc build for non-deploys (#31063)
* build: skip cli usage doc build for non-deploys

* fix: checking for CI

* chore: removed trailing whitespace

* fix: apease buildkite
2023-04-13 13:26:26 -05:00