Commit Graph

440 Commits

Author SHA1 Message Date
Tyera Eulberg 9a89689ad3
Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (#14430)
* Add optimistically_confirmed field to TransactionStatus

* Update docs

* Convert new field to confirmation_status

* Update docs to confirmationStatus

* Update variants

* Update docs

* Just Confirmed
2021-01-15 16:05:05 +00:00
Jon Cinque b37dbed479
docs: Add stake programming documentation (#14529)
* Add stake programming documentation

We had some questions about stake programming documentation, and there
wasn't a place that contained information about the stake-o-matic and
other stake development in one place.  This adds a page with that
information.

* Update docs/src/staking/stake-programming.md

Co-authored-by: Eric Williams <eric@solana.com>

* Update docs/src/staking/stake-programming.md

Co-authored-by: Eric Williams <eric@solana.com>

* Update docs/src/staking/stake-programming.md

Co-authored-by: Eric Williams <eric@solana.com>

* Update docs/src/staking/stake-programming.md

Co-authored-by: Eric Williams <eric@solana.com>

* Update docs/src/staking/stake-programming.md

Co-authored-by: Eric Williams <eric@solana.com>

* Apply suggestions from code review

* Remove trailing whitespace

Co-authored-by: Eric Williams <eric@solana.com>
2021-01-14 17:04:04 +01:00
Trent Nelson 30038a8849 docs: Add RUST_LOG explainer 2021-01-07 19:27:46 +00:00
Trent Nelson c035f2a745 docs: Prefer `dd` to `fallocate` when creating swap file 2021-01-07 19:27:46 +00:00
Trent Nelson 140642ea21 docs: wrap lines 2021-01-07 19:27:46 +00:00
Tyera Eulberg efd9b769fc
Add validator --account-index docs (#14418) 2021-01-04 19:51:06 -07:00
Ryo Onodera 974eb6e1ef
Fix pre-merge old name in the docs (#14425) 2021-01-05 02:41:24 +00:00
Jon Cinque a41b5137f6
docs: Use "msg!" instead of "info!" (#14411)
* docs: Use "msg!" instead of "info!"

* Update docs/src/developing/deployed-programs/developing-rust.md

Co-authored-by: Michael Vines <mvines@gmail.com>

* Fix typo / format

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-04 20:49:09 +01:00
Michael Vines 9bb08ce75e Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-01-03 01:34:15 +00:00
Michael Vines 68a84cf581 Update tmpfs partition guidance to include swap 2021-01-03 01:34:15 +00:00
Michael Vines ace360ade2 Multiple entrypoint support 2020-12-22 18:35:31 -08:00
Jeff Washington (jwash) 41a93ced23 fix formatting error in docs 2020-12-16 10:38:37 -08:00
Michael Vines 1e977ac025 Bump version to v1.6.0 2020-12-15 18:28:04 +00:00
Jack May 03fc031611 Update serialization docs 2020-12-15 08:53:51 -08:00
Jeff Washington (jwash) 42be09afb6
Terminology fixes (#14112) 2020-12-14 13:04:26 -08:00
Yihau Chen deaa27fbdb
fix the typo in developing-rust.md (#14098) 2020-12-13 17:21:17 -08:00
Michael Vines 5237da4e01 spelling 2020-12-12 22:36:10 -08:00
Leopold Schabel d33ab34d75
Remove "Timezone For Log Messages" section (#14014)
To my understanding, the Solana process always logs a UTC timestamp
anyway, so this is not needed. Plus, using PST on servers is really
weird from a systems engineering point of view.
2020-12-10 17:51:11 -08:00
Trent Nelson 845c783b0e Docs: Correct the system.conf NOFILE variable name 2020-12-08 07:44:43 +00:00
Jack May dca579851c
Cannot change owner if account is executable (#13977) 2020-12-07 11:37:07 -08:00
Tyera Eulberg 6ae4d2e5cb
Fix logsSubscribe (#13996) 2020-12-07 19:00:52 +00:00
Michael Vines ced9f889a4 Refresh testnet restart instructions 2020-12-03 14:17:56 -08:00
Michael Vines 5bfe93e74c Add a ramdisk section to the validator start guide 2020-12-02 13:31:01 -08:00
Tyera Eulberg 0f76daaf7a
Add specific page for rpc endpoints (#13899) 2020-12-01 21:19:15 -07:00
Tommy Johnson daebade239 add zsh trouble shooting note to ledger docs 2020-11-29 19:26:52 -08:00
Michael Vines d18b417346 Update examples to use Tokenkeg 2020-11-26 18:26:57 -08:00
Michael Vines 4ef2da0ff0 Add `solana logs` command 2020-11-25 11:44:41 -08:00
Michael Vines 215ddecaa5 Add base64+zstd encoding for RPC account data 2020-11-25 02:03:23 +00:00
Michael Vines bee9998e91 tiny doc fix 2020-11-24 12:27:40 -08:00
Michael Vines 61ab2072bd Clean up default commitment handling for subscriptions 2020-11-23 22:54:47 -08:00
Jack May 1d008bab4a
Guard against bsd sed (#13735) 2020-11-21 17:56:23 -08:00
Michael Vines 8808a74593 --vote-account doesn't support ASK but --authorized-voter does 2020-11-20 15:17:18 +00:00
Jack May af08ba93e6
fix doc redirects (#13709) 2020-11-19 21:34:21 +00:00
Jack May 9668dd85d4
fix rust example section link (#13701) 2020-11-19 18:07:00 +00:00
Jack May 13a08c7f08
Fix doc proposal sidebar layout (#13675) 2020-11-18 22:22:11 +00:00
Michael Vines 31d2f445a2 Recommend --no-port-check to improve validator restart time 2020-11-18 09:25:45 -08:00
Michael Vines 8761ce4691 Document feature-set field in getVersion 2020-11-15 18:01:47 -08:00
Michael Vines 5d72e52ad0 Disable the PubSub vote subscription by default
The --rpc-pubsub-enable-vote-subscription flag may be used to enable it.
The current vote subscription is problematic because it emits a
notification for *every* vote, so hundreds a second in a real cluster.
Critically it's also missing information about *who* is voting,
rendering all those notifications practically useless.

Until these two issues can be resolved, the vote subscription is not
much more than a potential DoS vector.
2020-11-14 12:36:37 -08:00
Jack May 887b0e4b72
Add doc content and feedback (#13563) 2020-11-13 10:18:04 -08:00
Jack May eb306da148
Report and bail on broken links (#13540) 2020-11-11 17:46:24 -08:00
Trent Nelson fb815294b3 docs: Consistent used of "jsonParsed" throughout RPC reference 2020-11-09 20:28:04 -07:00
Trent Nelson 87924c7111 docs: Consistently use "jsonParsed" param for RPC `getAccountInfo` 2020-11-09 20:28:04 -07:00
Trent Nelson 1d7c00c915 docs: Wrap RPC `getAccountInfo` at 80 char 2020-11-09 20:28:04 -07:00
Tyera Eulberg c0e2ef06dc
Fix Bank accounts hash mismatch related to Clock::unix_timestamp (#13477)
* Test for different ancestors with mismatch bank hash

* Test cleanup

* Remove nondeterministic ancestor check

* Update timestamp bounding feature key

* Update design doc

* Filter recent_timestamps to nodes voting within the last epoch

Co-authored-by: Stephen Akridge <sakridge@gmail.com>
2020-11-10 02:10:09 +00:00
Jack May 14fb75927e
update cpi docs (#13480) 2020-11-09 22:29:57 +00:00
Jack May 337684b384
update doc redirects (#13481) 2020-11-09 22:10:38 +00:00
Jack May 461ae40eea
provide full Rust panic messages in BPF and add memory optimizations (#13455) 2020-11-09 13:40:26 -08:00
Jon Cinque ede891a6c6
docs: Clarify the commitment levels based on questions (#13387)
* Clarify the commitment levels based on questions

Many people have asked about what commitment levels mean, and which to
choose.  This update includes some of the language at
`sdk/src/commitment_config.rs` and a recommendation for different use
cases.

Additionally, the preflight commitment documentation was out of date,
specifying that "max" was always used, and this is no longer the case.

* Update docs/src/developing/clients/jsonrpc-api.md

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

* Update docs/src/developing/clients/jsonrpc-api.md

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

* Update docs/src/developing/clients/jsonrpc-api.md

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

* Fix typo

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-05 20:34:55 +01:00
Trent Nelson 66c3c6c2b3 CI: Use branch-versioned cargo throughout 2020-11-05 05:05:57 +00:00
Justin Starry dd54ea78ac
Bump low end validator RAM requirement (#13406) 2020-11-05 11:56:14 +08:00
Jack May 8aa00381ef
stack overflow docs (#13399)
* stack overflow docs

* whitespace
2020-11-04 21:35:59 +00:00
Michael Vines 97284adabb Update SPL Token exchange documentation to include associated-token-account workflow 2020-11-04 11:41:29 -08:00
Jack May 3d5e778d5d
Flesh out development docs (#13318)
* flesh out development docs

* nits
2020-11-03 20:53:17 +00:00
Trent Nelson fefa297877 docs: Mainnet-beta totally has smart contract enabled 2020-11-03 19:04:30 +00:00
Tyera Eulberg af9a3f004e
Fix typos (#13334) 2020-11-01 06:52:41 +00:00
Tyera Eulberg a3912bc084 Add design proposal and update validator-timestamp-oracle 2020-10-31 21:30:42 -07:00
Tyera Eulberg 3a1e125ce3 Add Clock sysvar details, update struct docs 2020-10-31 21:30:42 -07:00
Justin Starry 458e9a1533
Codify breaking change guidelines (#13066)
* Codify breaking change guidelines

* feedback

* Rename title and add expectations section

* Update docs/src/apps/backwards-compatibility.md

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

* Update docs/src/apps/backwards-compatibility.md

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

* Update docs/src/apps/backwards-compatibility.md

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

* Update docs/src/apps/backwards-compatibility.md

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

* Update docs/src/apps/backwards-compatibility.md

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

* Update docs/src/apps/backwards-compatibility.md

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

* Update docs/src/apps/backwards-compatibility.md

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

* Update backwards-compatibility.md

* Update docs/src/apps/backwards-compatibility.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Update docs/src/apps/backwards-compatibility.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Update docs/src/apps/backwards-compatibility.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Specify rust crates and add deprecation process

* Promise semver for software releases

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-10-31 09:45:18 +08:00
Josh d2ee9db214
docs: add log messages to json-rpc docs (#13317) 2020-10-30 14:22:58 -07:00
Tyera Eulberg db9ddc7e5b
Update links from sdk to program (#13248) 2020-10-28 15:16:58 -06:00
Tyera Eulberg 664b6125b6
Add doc page on sysvar accounts (#13237)
* Add doc page on sysvar accounts

* Update with suggestions
2020-10-28 14:54:36 -06:00
Trent Nelson eb597cd60f docs: Reference metrics envvars for each cluster 2020-10-28 19:30:55 +00:00
Trent Nelson 4dc4fefee2 docs: Remove stale metrics steps 2020-10-28 19:30:55 +00:00
Trent Nelson 8b1638f026 Docs: Testnet has a faucet now 2020-10-26 20:13:46 +00:00
Jack May 35f77ccc73
update call depth docs (#13155) 2020-10-26 12:41:48 -07:00
Michael Vines b5170b993e Shorten magic install URL 2020-10-23 22:24:06 +00:00
Jack May e10de86440
update program address docs (#13069) 2020-10-21 10:09:12 -07:00
Tyera Eulberg 46d0019955
Parse stake and system instructions (#13035)
* Fix token account check

* Add helper to check num accounts

* Add parse_stake

* Add parse_system

* Fix AuthorizeNonce docs

* Remove jsonParsed unstable markers

* Clippy
2020-10-20 21:02:17 -06:00
Jon Cinque a18add6eed
Include count in doc for example grind command (#12979) 2020-10-20 20:46:48 +02:00
Michael Vines de04a208c7 Add more info for --limit-ledger-size 2020-10-20 17:34:11 +00:00
Michael Vines 6123d71489 Minor doc typo 2020-10-19 03:09:09 +00:00
Ryo Onodera 87311cce7f
Mention monitoring and updating for exchanges (#12953)
* Mention monitoring and updating for exchanges

* Fix link syntax...

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Apply suggestions from code review

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

* More review comments and word-wrapping

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-10-17 15:35:29 +09:00
carllin 8aecea6d05
Transaction Inclusion Proposal (#12936)
Co-authored-by: Carl Lin <carl@solana.com>
2020-10-16 18:57:12 -07:00
Trent Nelson cc0781e0ac Docs: Clarify validator disk requirements 2020-10-15 17:38:40 +00:00
Michael Vines b1b2c6ee7b Restore getVoteAccounts documentation 2020-10-15 08:33:30 -07:00
Michael Vines f0d0bdc572 Rework curl examples to be more readable 2020-10-15 08:04:05 +00:00
R. M. Shea 9e7fad1fd2
Change developer CTA (#12857)
* change `index.js`
2020-10-14 19:30:20 -06:00
kemargrant b8f03c9b0f
Update programming-faq.md (#12864)
Fix typo
2020-10-13 18:49:28 -06:00
Michael Vines d83027c0cd Update docs/src/running-validator/vote-accounts.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-10-13 04:17:52 +00:00
Michael Vines 253114ca20 Add docs on vote account key rotation 2020-10-13 04:17:52 +00:00
Michael Vines 65213a1782 Use latest stable channel release if there's no beta release 2020-10-12 21:57:38 +00:00
Eric Williams 1ab36203de
Retry inflation parameter update along with documentation updates (#12778)
* update initial inflation parameter

* update economics section of docs
2020-10-12 13:10:57 -07:00
Michael Vines 1859fbeb30 Update gossip entrypoints 2020-10-10 08:39:13 -07:00
Michael Vines c5c8da1ac0 Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli 2020-10-09 21:54:13 -07:00
Michael Vines 3fedcdc6bc Advise setting `--wal-recovery-mode`, and using `--private-rpc` for mainnet-beta 2020-10-09 15:41:19 +00:00
Michael Vines 11df2e2236 Bump version to v1.5.0 2020-10-08 04:51:36 +00:00
Michael Vines dadc84fa8c Revert "Restore --expected-shred-version argument for mainnet-beta"
This reverts commit 9410eab2af.
2020-10-08 04:46:04 +00:00
Trent Nelson e35889542b RPC: Support base64 encoded transactions
Defaults to base58
2020-10-06 22:41:06 -06:00
Dan Albert 0571882b1d
Add new wallets to docs, clean up existing structure (#12655)
* Add new wallets to docs

* Re-enstate SolFlare guide

* Update docs/src/wallet-guide/apps.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

Co-authored-by: publish-docs.sh <maintainers@solana.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-10-05 22:25:05 +00:00
Michael Vines fbb5e5c4e6
Add systemd and log rotation section to validator start docs (#12675)
* Add systemd and log rotation section to validator start docs

* Update docs/src/running-validator/validator-start.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Update docs/src/running-validator/validator-start.md

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-10-05 12:19:13 -07:00
Dan Albert 0ef3cac1f8
Update docs to show support for Nano X (#12647) 2020-10-02 16:45:24 -06:00
Diego Wilson 4ef3fcc976 Remove developer mode step from Ledger Live setup
Looks like the Solana Ledger app is past the Beta phase!
I was able to install the Solana app from Ledger Live without
having to enable developer mode.

There's also no mention of developer mode in Ledger's
Solana setup article:
https://support.ledger.com/hc/en-us/articles/360016265659-Solana-SOL-
2020-10-02 15:21:38 -06:00
Michael Vines 75b621160e Add GetConfirmedBlocksWithLimit RPC method 2020-10-01 22:56:17 -07:00
Josh b2fc7f7caa
docs: getRecentPerformanceSamples json rpc (#12627) 2020-10-01 22:30:49 -07:00
Michael Vines e03a64ae1b Document postBalance field 2020-10-02 05:24:59 +00:00
Michael Vines 18074555fe Update devnet genesis hash 2020-09-30 11:37:35 -07:00
Dan Albert ede19ef33b
Tighten docs publishing flow (#12572) 2020-09-30 11:24:00 -06:00
Jack May 22d16c69b7
Add programming-faq to sidebar (#12586)
* Add programming-faq to sidebar

* nudge

* fix path
2020-09-30 09:56:48 +00:00
Michael Vines 6c23197f37 " 2020-09-29 23:09:55 -07:00
Michael Vines bc649da77d Add missing implemented design proposals to docs sidebar 2020-09-29 22:55:50 -07:00