Commit Graph

228 Commits

Author SHA1 Message Date
sakridge cf17eaf5aa
Add docs for restarting a cluster (#10857) 2020-07-01 10:52:09 -07:00
Tyera Eulberg d97850f1d9
Add account-decoder utilities (#10846)
* Fix comment and make less pub

* Add account-decoder crate and use to decode vote and system (nonce) accounts

* Update docs

* Rename RpcAccount struct

* s/Rpc/Display

* Call it jsonParsed and update docs

* Revert "s/Rpc/Display"

This reverts commit 6e7149f503f560f1e9237981058ff05642bb7db5.

* s/Rpc/Ui

* Add tests

* Ui more things

* Comments
2020-07-01 04:55:11 +00:00
sakridge 5adf6f6bde
Update expected shred version for testnet. (#10858) 2020-06-30 13:54:52 -07:00
Greg Fitzgerald 59aa299d05
Fix the docs build (#10834) 2020-06-29 21:28:15 +00:00
Tyera Eulberg b28ec32e18
Update transaction encoding docs (#10833) 2020-06-29 14:10:25 -06:00
Tyera Eulberg 72b6349438
Add design proposal for ProgramInstruction procedural macro (#10763)
* Add design proposal for ProgramInstruction procedural macro

* Update examples and some verbiage

* More constant-like

* Generated helpers expect Pubkey by value
2020-06-25 12:52:52 -06:00
Greg Fitzgerald 7ade330b23
Rename Client methods to match proposed BanksClient (#10793) 2020-06-25 03:35:38 +00:00
Dan Albert d5d5ad0071
Fixup stake doc wording (#10782)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-06-24 20:45:21 +00:00
Dan Albert 0b14ae5725
Add staking guide to docs (#10609) 2020-06-24 09:25:35 -06:00
Dan Albert c52f06a54a
Fix plumtree link (#10755)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-06-23 23:35:35 +00:00
Ryo Onodera 44f5452013
Remove unused StakeLockout::lockout (#10719)
* Remove unused StakeLockout::lockout

* Revert...

* Really revert to the original behavior...

* Use consistent naming after StakeLockout removal

* Furhter clean up

* Missed type aliases...

* More...

* Even more...
2020-06-23 10:30:09 +09:00
Michael Vines c0389ef82f Don't bother `api.github.com` on pull requests to avoid getting rate limited 2020-06-18 23:48:31 +00:00
carllin 9c22a6007d
Update testnet shred version (#10684)
Co-authored-by: Carl <carl@solana.com>
2020-06-18 00:55:06 -07:00
carllin dae8bc477b
Update testnet shred version (#10681)
Co-authored-by: Carl <carl@solana.com>
2020-06-18 07:39:47 +00:00
Dan Albert 36ca43e15b
Fix links in TdS registration docs page (#10641)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 02:36:18 +00:00
Ryo Onodera bdbd677d57
Add crates.io to exclude... (#10640) 2020-06-17 09:10:30 +09:00
Ryo Onodera 2bbd599dfa
Resotre linkcheck with some excludes (#10634) 2020-06-17 04:04:36 +09:00
Ryo Onodera b9d6af4227
Disable linkcheck for now (#10633) 2020-06-17 03:34:13 +09:00
Michael Vines 07e8e8af38
Remove trailing whitespace (#10554)
automerge
2020-06-13 14:48:27 -07:00
R. M. Shea 48febf153b
Change documentation introduction to indicate Foundation IP transfer (#10440) 2020-06-13 14:41:05 -07:00
Dan Albert 914f285914
Add Trust Wallet security info (#10516)
automerge
2020-06-11 17:59:41 -07:00
Ryo Onodera 75b8c2c4e3
Fix broken image link (#10496)
automerge
2020-06-10 02:45:17 -07:00
Ryo Onodera 40ffc56f8d
Update docs for eager rent collection (#10348)
* Update docs for eager rent collection

* Add rent doc and clarify account doc for app devs

* Clarify some and pass the grammarly

* Fix units notation

* Fix link

* Fix link really

* Fix link really really

* More grammarly

* Apply suggestions from code review

Thank you so much!

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

* Add explanation of 19.055441478439427

* Fix unit...

* Fix unit...

* Clarify rent duration reasoning

* Tweak a text for more clarification

* Tweak more..

* Apply suggestions from code review

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

* Revert too detailed out-of-context explanations

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-06-10 13:00:47 +09:00
Michael Vines cffd8d9427 Add missing " 2020-06-08 17:44:05 -07:00
Michael Vines 9f181f41fa
Add Algo|Stake as a recommended trusted testnet validator (#10452)
automerge
2020-06-08 08:17:19 -07:00
Michael Vines 7e2651ca51
RPC simulateTransaction endpoint now returns program log output (#10432) 2020-06-06 10:18:28 -07:00
Michael Vines 718244fb8f
Add Certus One as a trusted validator for testnet (#10433)
automerge
2020-06-05 16:44:58 -07:00
Ryo Onodera 3cea73cf14
docs: Fix missing closing code block ``` (#10424)
automerge
2020-06-05 00:19:56 -07:00
Tyera Eulberg 6c46f5c5e5
Throw error if no release version (#10396) 2020-06-03 12:08:32 -06:00
Ryo Onodera e63e7937cb
Introduce automatic ABI maintenance mechanism (1/2; prepare) (#10335)
* Introduce automatic ABI maintenance mechanism

* Compile fix...

* Docs fix...

* Programs compilation fix...

* Simplify source credit

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

* Cargo.lock...

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-06-03 20:51:56 +09:00
Greg Fitzgerald 8c3ad859a9
Add docs for the builtin programs (#10359)
* Add docs for the builtin programs

* Cleanup
2020-06-01 21:06:53 -06:00
Michael Vines 189aa7962e Add preflight checks to sendTransaction RPC method 2020-06-01 17:51:04 -07:00
Tyera Eulberg 6ff52f7fde
Exchange doc reformat pt2 (#10355) 2020-06-01 14:03:12 -06:00
Tyera Eulberg b538a22529
Exchange doc reformat (#10353) 2020-06-01 11:10:43 -06:00
Tyera Eulberg e619839236
Restore archiver design document (#10352) 2020-06-01 10:42:45 -06:00
Tyera Eulberg b563b49ed5
Improve Rpc inflation tooling (#10309)
automerge
2020-05-29 11:50:25 -07:00
Michael Vines 9eefb2c929 Bump version to 1.3.0 2020-05-28 15:01:13 -07:00
Michael Vines 2cd1e4e12a Adjust mainnet-beta shred version 2020-05-27 17:11:49 -07:00
Greg Fitzgerald c600cfc655
Cleanup programming model doc (#10274) 2020-05-27 16:18:11 -06:00
Tyera Eulberg 7d42d529af
Add exchange integration docs (#10054)
* Add exchange integration doc

* Round 1 review comments

* Add rent stub doc

* Pretty-print some things

* Rework blockhash info, move offline signing

* Add something to test section

* Update blockhash/last-valid-slot info
2020-05-27 09:47:03 -07:00
Tyera Eulberg 3f0995d3b4
Add commitment parameter to getFeeCalculatorForBlockhash (#10255)
* Accept commitment parameter on getFeeCalculatorForBlockhash

* Update docs

* Add get_fee_calculator_for_blockhash_with_commitment to rpc client
2020-05-26 17:23:58 -06:00
Tyera Eulberg 4e431bc818
Add mechanism to get blockhash's last valid slot (#10239)
automerge
2020-05-26 12:06:21 -07:00
Tyera Eulberg 5d96fcec63
Remove storage rpc docs (#10238) 2020-05-25 23:38:12 -06:00
Jack May bf8daf8e74
Update cross-program and program address proposals (#10234) 2020-05-25 22:25:16 -07:00
anatoly yakovenko 9fae5aacc2
grammar (#10200)
automerge
2020-05-23 08:13:20 -07:00
anatoly yakovenko c78fd2b36d
document optimistic confirmation and slashing roadmap (#10164)
* docs

* book nits

* Update docs/src/proposals/optimistic-confirmation-and-slashing.md

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

* Update optimistic-confirmation-and-slashing.md

* Update optimistic-confirmation-and-slashing.md

* Update optimistic-confirmation-and-slashing.md

* Update optimistic-confirmation-and-slashing.md

* Update optimistic-confirmation-and-slashing.md

* fixups

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-05-21 18:15:09 -07:00
Justin Starry 10d60288e8
Update default subscription commitment level from recent to single (#10161)
* Update default subscription commitment level from recent to single

* Update jsonrpc docs

* Fix failing tests
2020-05-22 00:33:24 +08:00
Tyera Eulberg 276815bd33
Fixup subscription docs (#10146) 2020-05-20 13:19:03 -06:00
Greg Fitzgerald e66b5d09db
Rename getCirculatingSuppy to getSupply in JSON API doc (#10121)
automerge
2020-05-19 15:37:26 -07:00
Michael Vines 427c78d891
Add SimulateTransaction RPC endpoint (#10106)
automerge
2020-05-19 12:08:19 -07:00
Tyera Eulberg bac4aec16f
Trigger RPC notifications after block commitment cache update (#10077)
* Fixup commitment-aggregation metric

* Trigger notifications after commitment-cache update

* Fixup fn name

* Add single-confirmation commitment level

* Rename to highest_confirmed_slot

* Pass commitment-cache info directly to notifications

* Use match

* Update commitment docs

* Update out of date pubsub docs
2020-05-18 12:49:01 -06:00
Reisen bfcfbab818
Add Vote PubSub endpoint for live gossip votes. (#10045)
* Add Vote PubSub endpoint for live gossip votes.

* Updated tests for Vote RPC and Vote Listener

* Add JSON RPC documentation for Vote RPC.

* Base58 encode hash in Vote RPC response.
2020-05-17 15:01:08 -06:00
Dan Albert a32f34f131
Add docs section to upgrade Solana App on Ledger Live (#10070)
automerge
2020-05-15 11:26:40 -07:00
Jack May eb1acaf927
Remove archiver and storage program (#9992)
automerge
2020-05-14 18:22:47 -07:00
Dan Albert d195dce5d1
Clean up Ledger instructions (#10047)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-05-14 14:03:16 -06:00
Jack May 1e80044e93
fix docs makefile (#10016) 2020-05-13 09:08:25 -07:00
Tyera Eulberg ee7f15eff1
Rpc: optionally filter getLargestAccounts by circulating/nonCirculating (#10007)
* Add circ/non-circ filter to getLargestAccounts

* Plumb largest accounts into client and cli

* Bump timeout toward CI flakiness

* Update docs
2020-05-12 21:05:05 -06:00
Michael Vines a5fb3fc220
Update testnet shred version (#10000)
automerge
2020-05-11 23:30:00 -07:00
Michael Vines 84b6120983
getClusterNodes RPC API now includes the node software version (#9990) 2020-05-11 21:30:01 -07:00
Tyera Eulberg 3ee702a922
Rpc: Add getCirculatingSupply endpoint, redux (#9953)
* Add Bank.clock() helper

* Add non-circulating calculations

* Plumb getSupply rpc endpoint

* Add docs for getSupply, and remove getTotalSupply from docs

* Add pubkeys! procedural macro

* Use procedural macro in non_circulating_supply
2020-05-09 12:05:29 -06:00
Michael Vines 766062b2cc Correct method name 2020-05-06 11:27:55 -07:00
Tyera Eulberg f5b0d13f08
Rpc: add getLargestAccounts endpoint (#9869)
automerge
2020-05-04 16:46:10 -07:00
Greg Fitzgerald 217931479b
Bump Ledger Beta app version (#9822)
automerge
2020-04-30 11:15:09 -07:00
Leopold Schabel e5bad7594f
Clarify Ledger security implications (#9820)
* Clarify Ledger security implications

* Remove trailing whitespace
2020-04-30 12:14:51 -06:00
Tyera Eulberg 6deaf649ef
Add commitment Root variant, and add fleshed out --commitment arg to Cli (#9806)
automerge
2020-04-29 21:55:33 -07:00
Trent Nelson 2f705b5b55
Docs: Fix linkcheck errors (#9743)
automerge
2020-04-27 14:51:53 -07:00
Justin Starry f71a23a72a
Fix broken doc link to anatomy of transaction (#9728)
automerge
2020-04-27 00:58:27 -07:00
Michael Vines 3670d3fd7a
Add missing slash 2020-04-23 21:37:25 -07:00
Michael Vines cb2efd530f
Update testnet expected shred version 2020-04-23 20:36:52 -07:00
Dan Albert 24354ccd6a
Clean up wallet URL paths (#9667)
automerge
2020-04-22 16:48:21 -07:00
Tyera Eulberg 5d2f488004
Add getLowestNonpurgedBlock rpc; use blockstore api in getConfirmedBlocks (#9656)
automerge
2020-04-22 13:33:06 -07:00
Michael Vines 9b71573965
Align ci/publish-docs and ci/test-checks doc builds (#9653)
* Align ci/publish-docs and ci/test-checks doc builds

* Fix links
2020-04-22 09:51:01 -07:00
Michael Vines 5b8d963ee2
Clean up TdS/validator docs (#9638) 2020-04-21 16:59:09 -07:00
Greg Fitzgerald 0d24e758b2
Add docs for installing the beta Ledger app (#9641) 2020-04-21 17:36:37 -06:00
Justin Starry 92afe9020f
Document potential null responses in RPC API docs (#9629) 2020-04-22 01:07:57 +08:00
Tyera Eulberg 18cba86f77
Wait for supermajority of cluster to have rooted a transaction to consider it finalized (#9618)
* Add rooted stake to BlockCommitment

* Use rooted stake to include cluster check
2020-04-20 23:25:49 -06:00
anatoly yakovenko 657fbfbefa
Proposal for deterministic program generated Pubkey's that can be used only by programs to create signatures in process_instruction. (#8155)
* program keys

* cleanup

* update

* missing SUMMARY

* review comments

* fixed @jackmay comment

* update to take a user base address

* rename
2020-04-18 16:51:20 -07:00
Michael Vines a7ed33b552 Pacify shellcheck 2020-04-15 17:46:19 -07:00
Michael Vines d567799d43 Use $rust_stable 2020-04-15 17:15:14 -07:00
Michael Vines 40737e9efa Add health check URI 2020-04-15 09:06:24 -07:00
carllin 9a95257c40
Optimistic Confirmation Proposal (#9157)
* Add summary of one block conf

Co-authored-by: Carl <carl@solana.com>
2020-04-13 19:50:05 -07:00
Tyera Eulberg 91159ea8e3
Rpc: Add getConfirmedSignaturesForAddress (#9407)
automerge
2020-04-09 20:21:31 -07:00
Michael Vines aeddd8c95a
Use consistent vote account filename (#9414)
automerge
2020-04-09 17:53:56 -07:00
Dan Albert d4e284b7c5
Remove Trust Wallet Beta install instructions (#9396)
automerge
2020-04-09 08:48:07 -07:00
Tyera Eulberg e1aa247548
Rpc: Add getConfirmedTransaction (#9381)
* Add blockstore method to return a complete transaction by signature

* Plumb getConfirmedTransaction rpc

* Add doc
2020-04-09 00:57:30 -06:00
Dan Albert 33a68ec9c3
Fix docs (#9349)
automerge
2020-04-06 20:17:20 -07:00
Dan Albert c78b658a92
Clean up paper/file system wallet docs (#9340)
* Add filesystem wallet page

* Move validator paper wallet instructions to validator page

* Remove paper wallet staking section

* Add steps for multiple fs and paper wallets

* Add keypair convention page and better multi-wallet example
2020-04-06 19:32:02 -06:00
Greg Fitzgerald a4e2ee99d3
Add Rust client proposal (#9246)
* Add Rust client proposal

* Apply review feedback
2020-04-06 16:38:03 -06:00
Dan Albert 9a9fa5594d
Add instructions for multiple trust wallet addresses (#9335)
automerge
2020-04-06 15:00:06 -07:00
Dan Albert 75234e28e5
Update choose cluster docs (#9328)
automerge
2020-04-06 12:16:32 -07:00
Tyera Eulberg acf64f8476
Update getSignatureStatuses to return historical statuses (#9314)
automerge
2020-04-06 03:04:54 -07:00
Justin Starry b584174d67
Deprecate `confirmTransaction`, `getSignatureStatus`, and `getSignatureConfirmation` (#9298)
* Deprecate `confirmTransaction`, `getSignatureStatus`, etc

* Rename get_signature_statuses to get_signature_statuses_with_commitment

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-04-05 14:31:24 +08:00
Michael Vines 36ab7e0600
Remove h 2020-04-04 16:18:25 -07:00
Michael Vines ad0997e15f
RPC: add `err` field to TransactionStatus, alongside the now deprecated `status` field (#9296)
automerge
2020-04-04 16:13:26 -07:00
Dan Albert 175ffd9054
Update set-solana-release-tag.sh 2020-04-03 11:21:34 -06:00
Dan Albert fd5f8a8046
Fix sed command for mac and linux (#9286) 2020-04-03 10:42:33 -06:00
Dan Albert ad98f14fc1
Minor doc fixup 2020-04-02 15:59:49 -06:00
Dan Albert 0e53939e00
Add windows instructions to CLI install docs (#9270) 2020-04-02 15:36:02 -06:00
Dan Albert 18fe0f0c44
Add instructions for Trust Wallet Beta for Android (#9261)
automerge
2020-04-02 11:26:22 -07:00
Dan Albert 3b89708653
Add ledger live screenshots and reduce duplicate instructions (#9258)
automerge
2020-04-02 10:17:40 -07:00