393 Commits

Author SHA1 Message Date
mergify[bot]
061965e291 Rename RpcNodeUnhealthy error to NodeUnhealthy, generalize getHealth RPC error object for the future (#14656)
(cherry picked from commit 5d9dc609b1)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-19 05:24:29 +00:00
mergify[bot]
a04375e204 Add getSnapshotSlot RPC method (#14632)
(cherry picked from commit 4003f86f04)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-16 20:51:33 +00:00
Michael Vines
7b19d26a6e Add getHealth RPC method 2021-01-16 10:51:54 -08:00
mergify[bot]
3d8cadebc0 Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (#14430) (#14611)
* Add optimistically_confirmed field to TransactionStatus

* Update docs

* Convert new field to confirmation_status

* Update docs to confirmationStatus

* Update variants

* Update docs

* Just Confirmed

(cherry picked from commit 9a89689ad3)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-01-15 17:25:04 +00:00
mergify[bot]
722cebc4c3 docs: Add stake programming documentation (#14529) (#14582)
* 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>
(cherry picked from commit b37dbed479)

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-01-14 16:17:25 +00:00
Trent Nelson
1b02ec4f6e Bump version to v1.5.4 2021-01-14 04:40:25 +00:00
Michael Vines
ec15ea079f Bump version to 1.5.3 2021-01-08 16:19:27 -08:00
mergify[bot]
d5ff64b0d7 docs: Validator tuning improvements (bp #14478) (#14480)
* docs: wrap lines

(cherry picked from commit 140642ea21)

* docs: Prefer `dd` to `fallocate` when creating swap file

(cherry picked from commit c035f2a745)

* docs: Add RUST_LOG explainer

(cherry picked from commit 30038a8849)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-01-07 19:41:45 +00:00
mergify[bot]
a1e06df4a8 Add validator --account-index docs (#14418) (#14428)
(cherry picked from commit efd9b769fc)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-01-05 03:06:15 +00:00
mergify[bot]
1f2480fd9f Fix pre-merge old name in the docs (#14425) (#14427)
(cherry picked from commit 974eb6e1ef)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-01-05 02:55:02 +00:00
mergify[bot]
9aeb3bc5d6 docs: Use "msg!" instead of "info!" (#14411) (#14416)
* 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>
(cherry picked from commit a41b5137f6)

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-01-04 20:02:09 +00:00
Michael Vines
97665b977e Bump version to v1.5.2 2021-01-04 06:44:52 +00:00
mergify[bot]
c085b94b43 docs: Update tmpfs partition guidance to include swap (bp #14387) (#14397)
* Update tmpfs partition guidance to include swap

(cherry picked from commit 68a84cf581)

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

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
(cherry picked from commit 9bb08ce75e)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-03 01:45:07 +00:00
Michael Vines
02da7dfedf Bump version to v1.5.1 2020-12-27 21:57:43 -08:00
mergify[bot]
192cca8f98 validator: Multiple --entrypoint support (bp #14256) (#14264)
* Update entrypoint contact info even when shred version adoption is not requested

(cherry picked from commit 3373082ffa)

* Multiple entrypoint support

(cherry picked from commit ace360ade2)

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-12-23 04:15:44 +00:00
mergify[bot]
85fc51dc61 fix formatting error in docs (#14163)
(cherry picked from commit 41a93ced23)

Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
2020-12-16 18:51:24 +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