Commit Graph

981 Commits

Author SHA1 Message Date
Yang Li 269028360c fix another typo 2021-07-18 06:30:40 -07:00
Yang Li 1507477306 correct typo 2021-07-18 06:30:40 -07:00
Michael Vines c03490b24a Remove Tour de SOL more 2021-07-16 03:25:35 +00:00
Michael Vines 5fe0350c2e Remove tour-de-sol/ 2021-07-15 19:43:53 -07:00
Trent Nelson bf90ea282a rpc: more params for `GetVoteAccountsConfig` 2021-07-14 08:41:52 +00:00
Michael Vines 4098af3b5b Record vote account commission with voting/staking rewards and surface in RPC 2021-07-12 15:09:44 -07:00
Tyera Eulberg ab45532b52
Fix typo (#18595) 2021-07-12 07:38:44 +00:00
Max Ogden ebc7df62f3
Fix example in docs for getInflationReward (#18494) 2021-07-07 18:15:56 +00:00
Trent Nelson 77f61a5e2e docs: Correct integration validator cli reference 2021-07-06 21:58:40 +00:00
Sean Michael b887e89972
Update terminology.md (#18430)
* Update terminology.md

Fix duplicate "holders"

* Update docs/src/inflation/terminology.md

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-07-06 02:51:55 +00:00
Ruud van Asseldonk 94ab0eb49f Document order of recent blockhashes sysvar
I wanted to use this sysvar to get a recent block hash, but I didn't
know whether the first or the last entry contains the most recent block
hash.

By calling it for mainnet, printing the results, and comparing that to
the recent blocks on solanabeach.io/blocks, I discovered that the
entries are ordered from most recent to least recent. Document this to
save future readers the trouble.
2021-07-01 22:22:52 -07:00
Tyera Eulberg cc80197349
Update notification format info to be consistent (#18354) 2021-07-01 05:49:30 +00:00
Tiago Carvalho 8e7d393b70
Added formats to notifications in WebSocket RPC client. (#18231) 2021-06-30 22:04:37 -06:00
Tyera Eulberg dfb6296499
Document slotsUpdates (#18335)
* Add slotsUpdates to jsonrpc docs

* Re-add unstable section
2021-06-30 21:24:08 +00:00
Trent Nelson 70d75ce4e8 docs: A-Z sort accepted proposals 2021-06-28 22:10:12 +00:00
Trent Nelson 0972d12c1c docs: expose TX v2 proposal 2021-06-28 22:10:12 +00:00
trial123Zel 8fc4c2f375
Zelcore wallet support for SOL/SPLs info added (#17580)
* Zelcore wallet support for SOL/SPLs info added

I have added a quick infodump about Zelcore wallet supporting various features of the Solana ecosystem. I looked at previous commits and it seemed adding to the top of the file was the norm, but please feel free to move around if needed.

* Zelcore wallet info moved to bottom of file.
2021-06-26 17:01:08 +00:00
bji c045f1dfb5
Added notes to running validator documentation to ensure that 'exec' is used from scripts when starting the validator to prevent logrotate signals from killing the validator. (#18234) 2021-06-25 20:02:26 +00:00
Marcel Jackisch 6b62ba045d
Update leader-rotation.md (#18192)
Confusing wording regarding epoch length
2021-06-24 13:56:27 +00:00
Jack May 8a136736ad
Update sysvar docs (#18125) 2021-06-22 09:59:48 -07:00
Trent Nelson 93dd965947 docs: flesh out validator network requirements 2021-06-21 19:28:26 -06:00
Trent Nelson cf187dcb0b docs: don't suggest cloud instances for validators 2021-06-21 19:28:26 -06:00
Greg Fitzgerald 43775111fb
Remove "synthetic" from sysvar definition (#18016)
Avoid confusion with synthetic tokens
2021-06-16 20:17:08 +00:00
Jon Cinque 1b1d34da59
Refactor stake program into solana_program (#17906)
* Move stake state / instructions into solana_program

* Update account-decoder

* Update cli and runtime

* Update all other parts

* Commit Cargo.lock changes in programs/bpf

* Update cli stake instruction import

* Allow integer arithmetic

* Update ABI digest

* Bump rust mem instruction count

* Remove useless structs

* Move stake::id() -> stake::program::id()

* Re-export from solana_sdk and mark deprecated

* Address feedback

* Run cargo fmt
2021-06-15 18:04:00 +02:00
Sarat Limawongpranee 3657469826
Fix typo in docs (#17920) 2021-06-14 10:33:23 -06:00
Haik Dulgarian 54155f875a
minor fixes to punctuation and typos (#17881)
* fix minor typos and punctuation

* fix minor typos and punctuation

* rewording for clarity and typo corrections

* rewording for clarity and typo corrections

* rewording for clarity and typo corrections

Co-authored-by: Gregg Dourgarian <greggd@aidacreative.com>
2021-06-13 23:35:10 -07:00
Justin Starry 191519188d
Add proposal for transactions v2 and address map program (#17103)
* Add proposal for supporting big transactions

* account index program

* fix formatting

* review feedback

* Add cost changes section

* Add cost section and more attack details

* fix lint

* document metadata changes

* nit

* rpc details

* add index meta struct

* add additional proposal and chagne title

* rename proposal file

* rename to address map and rewrite tx format

* no more appends, limit mapping size to 256

* update dos section

* add note about readonly

* restructure message to use enum

* cleanup
2021-06-10 17:38:00 -07:00
Michael Vines 193813d49a Add more info about how to safely change the identity of a staked validator 2021-06-08 12:08:15 -07:00
Tyera Eulberg 2dfb5b7579
Update a dangling devnet endpoint doc (#17836) 2021-06-08 15:57:25 +00:00
oncecsc 10c6e771b5
fix getBlock API reference (#17661) 2021-06-02 00:11:36 -07:00
Ryo Onodera 41975016b9
Make the sys-tuner oneliner actually copy-pastable (#17615)
* Make the sys-tuner oneliner actually copy-pastable

* Use `command -v`
2021-05-31 17:51:54 +00:00
Tim Hagn 53c91ee89e
feat: docs i18n support (continuation from #14818) (#17190)
* Initial commit for i18n support

* Bring out index page

* Lint
	modified:   src/pages/index.js

* More Crowdin ephemera

* copy src content to i18n/**/docusaurus-plugin-content-docs/current folders

* run write-translations

* remove superflous files in i18n

* fix formatting

* remove icons folders from translations, add ja, pt, vi translations

* fix formatting

* update translation JSON files

* add crowdin support & crowdin:sync command, sync with crowdin

* exclude failing locales

* remove i18n from git cache, add write-heading-ids script

* add crowdin:sync to before_install.sh script

* add write-i18m shortening script & crowdin:download script (also to before_install.sh)

* move crowdin:download from before_install.sh to prebuild hook

* remove prebuild hook

* remove crowdin script, bump deps

* re-add cli/usage

* update package-lock.json

* add translation sync to build.sh for master

* update README

* add ja to localesNotBuilding, write e-ids

* fix formatting

* get on sync with master

* replace check for master branch

* change build script to work on travis

* use refs instead of names

* fix build.sh

* replace head ref check with channel check

* get stable channel in build.sh

* remove zip

* remove header ids

Co-authored-by: rmshea <8948187+rmshea@users.noreply.github.com>
2021-05-27 21:21:37 -07:00
Michael Vines 8eab0e8602
Bump version to v1.8.0 (#17541) 2021-05-27 08:51:53 -07:00
Tyera Eulberg ab581dafc2
Add block height to ConfirmedBlock structs (#17523)
* Add BlockHeight CF to blockstore

* Rename CacheBlockTimeService to be more general

* Cache block-height using service

* Fixup previous proto mishandling

* Add block_height to block structs

* Add block-height to solana block

* Fallback to BankForks if block time or block height are not yet written to Blockstore

* Add docs

* Review comments
2021-05-26 22:16:16 -06:00
Michael Vines 9541411c15 Plumb transaction-level rewards (aka "rent debits") into the `getTransaction` RPC method 2021-05-27 03:05:05 +00:00
Felipe Lima 7dfc1d9790 Fix typo in docs 2021-05-26 19:49:23 -07:00
Michael Vines cbce440af4 simulateTransaction can now return accounts modified by the simulation 2021-05-26 14:20:23 -07:00
Jon Cinque bb72ab7f1b
docs: Add `find_program_address` and example (#17515) 2021-05-26 15:25:05 +00:00
Tyera Eulberg e9bc1c6b07
Add last valid block height to rpc Fees (#17506)
* Add last_valid_block_height to fees rpc

* Add getBlockHeight rpc

* Update docs
2021-05-26 07:26:19 +00:00
Michael Vines 3d40ec3c88 Add missing fields from getClusterNodes documentation 2021-05-26 02:00:30 +00:00
Justin Starry 660d37aadf sigVerify conflicts with replace, add tests 2021-05-25 17:32:00 -07:00
Justin Starry e14f3eb529 rename flag 2021-05-25 17:32:00 -07:00
Justin Starry 96cef5260c Add a flag to simulateTransaction to use most recent blockhash 2021-05-25 17:32:00 -07:00
Jack May 4eb6deee2d
Update sysvar docs (#17493) 2021-05-25 16:57:53 -07:00
Trent Nelson 64bfc14a75 docs: Add RPC node HW recommendations 2021-05-25 15:12:51 -06:00
Jon Cinque a03230338a
docs: Add inner instruction and cross-program invocation (#17476) 2021-05-25 18:42:54 +02:00
Trent Nelson 2019558f03 docs: budget program is gone, link to SPL Token multisig 2021-05-25 15:40:31 +00:00
Nikita d41266e4e9
rpc: add context toggle to getProgramAccounts (#17399)
* fix(rpc): return context in get_program_accounts

* doc(rpc): document withContext flag

* fix(rpc): fix comment

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

* fix(rpc): fix doc

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

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-05-22 07:12:21 +00:00
Jack May 8c073b2c94 Update getrandom bpf dependency 2021-05-21 08:55:47 -07:00
Justin Starry ddfc15b9f2
docs: Update transaction expiration time (#17347) 2021-05-20 14:55:34 +00:00
Ulrich Stark f1b4a0a2e0
Fix typo (#17326) 2021-05-19 11:24:08 -06:00
Ryan M. Shea c65c4475f6
Add Contextual Search (#17299)
* this should prevent other language results appearing in the search area
2021-05-18 05:47:19 +00:00
Trent Nelson de76adbdf3 Update docs/src/running-validator/validator-start.md 2021-05-17 10:22:10 -06:00
Chris Bellew 02157f4753 Update keypair configuration output
While going through the tutorial to start a validator I noticed that the output I received from running...

```
solana config set --keypair ~/validator-keypair.json
```

...different from the output I was seeing. Wondering whether the docs are out of date I thought I'd propose an update to the docs just in case.
2021-05-17 10:22:10 -06:00
Michael Vines 1f322b8a9c Add two more testnet entrypoints 2021-05-17 08:07:38 -07:00
Marcin Zawiejski 611628a402
fixed getProgramAccounts fields list (#17278) 2021-05-17 14:23:30 +00:00
Sebastian Ibarguen d6ab4196ea
Remove duplicate std::net reference (#17254) 2021-05-16 18:51:41 -06:00
Josh Hundley 7be3171f4a fix: update devnet and testnet urls 2021-05-14 16:20:39 -06:00
Josh Hundley ec621e71dc docs: update old devnet and testnet url references 2021-05-14 16:20:39 -06:00
Michael Vines 515f8a21d5 Add NEW labels for RPC methods introduced in v1.7 2021-05-14 21:22:52 +00:00
Laptev Stanislav 5e642a174c
docs: remove missig link (#17212) 2021-05-14 09:27:58 -06:00
Trent Nelson 754c708473 test-validator: Display more cluster info in dash 2021-05-14 08:36:08 +00:00
joeaba 26afc7620b
Update clusters.md (#17220) 2021-05-14 04:13:28 +00:00
Trent Nelson 3e0c0abb53 Update docs/src/developing/test-validator.md 2021-05-13 17:28:31 +00:00
Trent Nelson 7868df3211 Update docs/src/developing/test-validator.md 2021-05-13 17:28:31 +00:00
Trent Nelson 3214105a21 Update docs/src/developing/test-validator.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-05-13 17:28:31 +00:00
Trent Nelson e08687acfd Update docs/src/developing/test-validator.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-05-13 17:28:31 +00:00
Trent Nelson 38d7e9a4c4 Update docs/src/developing/test-validator.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-05-13 17:28:31 +00:00
Trent Nelson 5b13d4057b Update docs/src/developing/test-validator.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-05-13 17:28:31 +00:00
Trent Nelson 056c1a7b50 Update docs/src/developing/test-validator.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-05-13 17:28:31 +00:00
Trent Nelson 768a2ebe9d docs: Add docs for `solana-test-validator` 2021-05-13 17:28:31 +00:00
Trent Nelson 248f2309ef docs: fix fixed banner layout 2021-05-13 04:27:17 +00:00
Trent Nelson a821c4d57f docs: lock update missed in 545e037e38 2021-05-13 04:27:17 +00:00
joeaba 597373f5fa
Update devnet and testnet endpoints (#17188) 2021-05-12 19:39:15 +00:00
chaseeb 4625231e30
Update web-wallet.md to add phantom with fixed link (#17161)
* Update web-wallet.md to add phantom with fixed link

Update web-wallet.md to add phantom with fixed link

* Update web-wallets.md for phantom

removing trailing whitespaces

* Update docs/src/wallet-guide/web-wallets.md

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-05-11 04:23:13 +00:00
Tyera Eulberg a5ec3a0547
SignerSource: rename input scheme to `prompt`, default to bip44 solana base key (#17154)
* Rename ask to prompt

* Default to Solana bip44 base if no derivation-path

* Add SignerSource legacy field, support legacy ASK

* Update docs

* Fix docs: validator current doesn't support uri SignerSources
2021-05-10 19:28:47 -06:00
Justin Starry a1df57a4ea
Add chinese translations to docs (#17125)
* import zh translations

* Fix broken links

* fix whitespace
2021-05-09 00:46:24 +08:00
Michael Vines d6c076f1b6 getBlockProduction now correctly reports block production 2021-05-07 19:04:51 -07:00
Tyera Eulberg 694c674aa6
Implement Bip32 for seed-phrase/passphrase signing (#16942)
* Add Keypair helpers for bip32 derivation

* Plumb bip32 for SignerSourceKind::Ask

* Support full-path querystring

* Use as_ref

* Add public wrappers for from_uri cases

* Support master root derivations (and fix too-deep print

* Add ask:// HD documentation

* Update ASK elsewhere in docs
2021-05-03 19:58:56 -06:00
Jordan Sexton 40c31f87e0
Fixing a broken link in the docs (#16975) 2021-05-03 10:04:55 -05:00
Max Block 43ccaf14b0
Update sysvars.md (#16998)
a typo
2021-05-03 03:36:26 -06:00
Tyera Eulberg d7166c5778
Remove errant backslash (#16994) 2021-05-02 19:53:03 +00:00
srinivas valekar c003f8e93c
Corrected typo in calling between programs document (#16991)
* Corrected typo in calling between programs document

* corrected another typo

Co-authored-by: Srinivas Valekar <srinivasvalekar@Srinivass-MacBook-Pro.local>
2021-05-02 12:03:51 -06:00
Mark Jackson 18a04b0825
Docs/staking with exodus wallet (#16938)
* add Exodus as wallet that supports staking

* remove extra verbiage

* add binance & ftx. add note for these additions that you cannot select a validator with them

* Formatting

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2021-05-01 17:03:00 +00:00
Justin Starry 545e037e38
Docs cleanup (#16964)
* Run lint:fix on docs

* Update dependencies

* Run prettier

* Run lint
2021-04-30 16:20:56 +08:00
Trent Nelson 3d98321b38 docs: fix copy-pasta breaking typo in `getRecentBlockhash` example 2021-04-30 04:03:15 +00:00
Ryan M. Shea 8c651d2530
Change positioning (#16951)
* oops!
2021-04-29 12:54:18 -06:00
Michael Vines 542d88929f Add getBlockProduction RPC method 2021-04-28 20:02:54 -07:00
Tyera Eulberg 783bd79e9d
Fixup rpc-endpoints (#16924) 2021-04-28 20:13:58 +00:00
joeaba 0aecc6033a
Update rpc-endpoints.md (#16910) 2021-04-28 21:01:54 +05:30
Ryan M. Shea 7f1c1fe6a4
Add banner to page (#16908) 2021-04-28 08:14:25 -06:00
Michael Vines 59fc33635a Add getVoteAccounts RPC method parameter to restrict results to a single vote account 2021-04-27 04:27:15 +00:00
Tyera Eulberg 5eb5d9b2f5
Update bpf loader info on native-programs docs (#16840)
* Update bpf loader info on native-programs docs

* Link to program deployment docs
2021-04-26 20:09:44 +00:00
Josh ec37a843a4
docs: getInflationReward rpc output fields should be in lower camel case (#16802) 2021-04-24 19:13:02 +00:00
Tyera Eulberg da58f20a99
Restore text wrapping (#16776) 2021-04-23 17:03:21 +00:00
strykerin e9a616cfc2
fix reference to Rust Restrictions section (#16763) 2021-04-23 14:40:03 +08:00
strykerin c217ee3a00
docs: fix formatting issue (#16761) 2021-04-23 09:41:20 +08:00
Jack May b22c13dcd7
Update secp instruction link in docs (#16729) 2021-04-21 21:33:05 -07:00
Michael Vines b8b54567b1 Clean up "APR" language around inflation rewards 2021-04-21 19:02:03 -07:00
Michael Vines 6004c0abf5 getLeaderSchedule now supports filtered results based on validator identity 2021-04-21 17:59:26 -07:00
Jack May bb2b4c7e0b
Update float docs (#16695) 2021-04-20 17:28:30 -07:00
Trent Nelson 12678a819d docs: Expand native program descriptions 2021-04-20 08:50:54 +00:00
Trent Nelson d575450ef0 docs: Flesh out address verification in integraion guide 2021-04-20 08:50:54 +00:00
Justin Starry a7e65c0034
RPC: use finalized as default pubsub commitment level (#16659)
* RPC: use finalized as default pubsub commitment level

* update docs

* Fix tests
2021-04-20 08:19:54 +00:00
Guillaume Claret 5399faaf53 Documentation typo for langauge 2021-04-17 07:53:21 -07:00
Justin Starry c8ed14c647
docs: Fix typo in program deploy instructions (#16572) 2021-04-15 13:56:19 +00:00
Trent Nelson 76ce28c723 docs: freshen and clarify rent-exempt dev description 2021-04-15 04:13:57 +00:00
strykerin 1f29031b9d
fix transaction spelling (#16558) 2021-04-14 20:02:55 -06:00
Connor McFarlane eddfe06a00 Other hostname changes 2021-04-14 09:46:56 -07:00
Connor McFarlane d684ec00aa Correct gossip hostname 2021-04-14 09:46:56 -07:00
Tyera Eulberg 37afa00ffb
Rpc: deprecate getConfirmed endpoints (#16502)
* Deprecate getConfirmed methods in rpc

* Add new methods to docs

* Move deprecated rpc methods to separate docs section

* Add note to docs about removal timing
2021-04-13 01:50:15 -06:00
Tyera Eulberg 70f3f7e679
Move obsolete rpc endpoints to separate api for removal (#16500)
* Move obsolete rpc methods to separate api for removal

* Remove obsolete method from docs

* Fix test using obs method
2021-04-12 20:33:40 -06:00
Jon Cinque 448d5be79f
docker: Expose all ports in Dockerfile, add back localnet.sh (#16401)
* docker: Expose all ports in Dockerfile, add back localnet.sh

* Add documentation for where to find containers

* Obliterate script
2021-04-11 21:13:57 +02:00
Trent Nelson 117860218f docs: Validator SOL reqs followup 2021-04-07 09:49:52 -06:00
Trent Nelson 0e42a35e4f docs: Add validator SOL reqs 2021-04-07 03:52:52 +00:00
Josh e501fa5f0b
Rpc: introduce get_inflation_reward rpc call (#16278)
* feat: introduce get_inflation_reward rpc call

* fix: style suggestions

* fix: more style changes and match how other rpc functions are defined

* feat: get reward for a single epoch

* feat: default to the most recent epoch

* fix: don't factor out get_confirmed_block

* style: introduce from impl for RpcEncodingConfigWrapper

* style: bring commitment into variable

* feat: support multiple pubkeys for get_inflation_reward

* feat: add get_inflation_reward to rpc client

* feat: return rewards in order

* fix: rename pubkeys to addresses

* docs: introduce jsonrpc docs for get_inflation_reward

* style: early return in map (not sure which is more idiomatic)

* fix: call the rpc client function args addresses as well

* fix: style

* fix: filter out only addresses we care about

* style: make this more idiomatic

* fix: change rpc client epoch to optional and include some docs edits

* feat: filter out rent rewards in get_inflation_reward

* feat: add option epoch config param to get_inflation_reward

* feat: rpc client get_inflation_reward takes epoch instead of config and some filter staking and voting rewards
2021-04-06 18:10:53 -07:00
bji 364af3a3e0
issue #10831: added --with-memo option to all cli commands that submit (#16291)
* issue #10831: added --with-memo option to all cli commands that submit
transactions.  Also, improve the block command to show UTF-8 string instead
of integer values for memo program data.

* Fixed tests and changed some syntax according to feedback.

* Use spl_memo id (all versions where applicable) instead of hardcoding id.

* Update Cargo.toml in programs/bpf.

* Update formatting via cargo fmt.

* Update to use spl_memo version 3.0.1, which simplifies package imports
2021-04-05 20:53:50 +00:00
Michael Vines e4889220c4 Remove UNSTABLE warning from logsSubscribe 2021-04-02 12:53:42 -07:00
Tyera Eulberg da27acabcc
Rpc: enable getConfirmedSignaturesForAddress2 to return confirmed (not yet finalized) data (#16281)
* Update blockstore method to allow return of unfinalized signature

* Support confirmed sigs in getConfirmedSignaturesForAddress2

* Add deprecated comments

* Update docs

* Enable confirmed transaction-history in cli

* Return real confirmation_status; fill in not-yet-finalized block time if possible
2021-04-01 04:35:57 +00:00
Huge c723251575 Update overview.md
fix link which was broken/wrong
2021-03-31 14:39:52 -07:00
sakridge 7db3af647b
Update retransmit docs to move deshredder and rename (#16229)
deshredder into something else
2021-03-30 15:37:33 -07:00
Trent Nelson 2bcfbad653 docs: Reduce airdrop examples to 1 SOL 2021-03-30 21:28:42 +00:00
Tyera Eulberg 60ed8e2892
Rpc: enable getConfirmedBlocks and getConfirmedBlocksWithLimit to return confirmed (not yet finalized) data (#16161)
* Add commitment config capabilities

* Use rpc limit if no end_slot provided

* Limit to actually finalized blocks

* Support confirmed blocks in getConfirmedBlocks and getConfirmedBlocksWithLimit

* Update docs

* Add client plumbing

* Rename config enum
2021-03-29 12:41:31 -06:00
bji e50f598449
Implement mnemonic support for solana-keygen grind (solana-labs#9325) (#16108)
* Implement mnemonic support for solana-keygen grind (solana-labs#9325)

* Updated to include feedback from review.

* Renaming as per review feedback

* Fixed an incorrectly transcribed underscore

* Properly re-use string constants.
2021-03-27 23:47:50 -06:00
Tyera Eulberg 433f1ead1c
Rpc: enable getConfirmedBlock and getConfirmedTransaction to return confirmed (not yet finalized) data (#16142)
* Add Blockstore block and tx apis that allow unrooted responses

* Add TransactionStatusMessage, and send on bank freeze; also refactor TransactionStatusSender

* Track highest slot with tx-status writes complete

* Rename and unpub fn

* Add commitment to GetConfirmed input configs

* Support confirmed blocks in getConfirmedBlock

* Support confirmed txs in getConfirmedTransaction

* Update sigs-for-addr2 comment

* Enable confirmed block in cli

* Enable confirmed transaction in cli

* Review comments

* Rename blockstore method
2021-03-26 16:47:35 -06:00
Tyera Eulberg a8ef29df27
Support getBlockTime for unfinalized blocks (#16103) 2021-03-24 20:52:08 -06:00
Davey ad47c63f27
Add Exodus as Solana Mobile app option (#16100)
* Add Exodus as Solana Mobile app option

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

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-03-24 21:09:20 +00:00
Justin Starry e7fd7d46cf
rpc: add getSlotLeaders method (#16057) 2021-03-23 17:48:54 +00:00
Michael Vines 3dff5c9dee transfer now requires --allow-unfunded-recipient if the recipient doesn't exist 2021-03-23 02:31:39 +00:00
Trent Nelson 07dc522981 docs: SIGUSR1 killing wrapper shell scripts 2021-03-19 07:22:11 +00:00
Tyera Eulberg aa54c468ea
rpc: Add config options limiting getConfirmedBlock response data (#15970)
* Add new confirmed block struct

* Add RpcConfirmedBlockConfig options

* Configure block response based on new options

* Add client api, use in cli fetch_epoch_rewards

* Update docs

* Apply review suggestions
2021-03-18 17:58:20 +00:00
Jack May 7f500d610c
Add Close instrruction and tooling to upgradeable loader (#15887) 2021-03-17 21:39:29 -07:00
Michael Vines 1c261d293f Encourage use of the default --ledger location 2021-03-16 16:36:59 +00:00
Michael Vines 0c9ca5522c Bump version to v1.7.0 2021-03-13 09:01:21 +00:00
Tyera Eulberg 5b2da19c93
Rpc: support extended config for getConfirmedBlock (#15827)
* Add rpc confirmed-block config wrapper to support struct of extended config

* Update docs

* Make config wrapper generic and use in getConfirmedTransaction as well

* Update/clean confirmed-tx docs
2021-03-12 22:19:45 +00:00
Trent Nelson c4ee1ab710 docs: deprecate lastvalidslot field of jsonrpc getfees 2021-03-11 08:38:18 +00:00
Trent Nelson 45190f6281 docs: stabilize spl token jsonrpc methods 2021-03-11 08:38:18 +00:00
Trent Nelson 9c8be34906 docs: 'builtins' -> 'runtime facilities' 2021-03-11 08:38:18 +00:00
Trent Nelson 0e452c8d91 docs: rename 'deployed programs' section to 'on-chain programs' 2021-03-11 08:38:18 +00:00
Trent Nelson 3e6c7c4a3e docs: add rust client api entry 2021-03-11 08:38:18 +00:00
Michael Vines 66b781eec3 Add 'unknown' health check state 2021-03-05 17:46:50 +00:00
Kasim Te 9c8e7564ed
Update deploy-a-program.md (#15727) 2021-03-05 01:41:33 -07:00
Michael Vines 24ab84936e Break up RPC API into three categories: minimal, full and admin 2021-03-04 16:39:44 -08:00
Jack May 2177e0aff8
cli: add program show for non-upgradeable programs (#15707) 2021-03-04 19:42:15 +00:00
Jack May b53cb8eb2d
Deprecate Instruction::new (#15695) 2021-03-04 05:46:48 +00:00
Trent Nelson d6ea2f392b docs: address post-merge review of #15649 2021-03-04 05:19:48 +00:00
Greg Fitzgerald 9bbe015a05
Document and clean up AppendVec (#15640)
* Document AppendVec

* Remove the almost-duplicate state in AppendVec

AppendVec was maintaining two offsets, `current_len` and
`append_offset`. Despite the different looking names, the two
values have the same meaning, but were updated at slightly different
times. When appending a batch of accounts, `current_len` updates would
be immediately available to other threads after each append, whereas
`append_offset` would only be updated after its mutex was unlocked.
`append_offset` is redundant. By removing it, we eliminate potential
bugs and no longer need to suppress clippy warnings.

* Remove get_mut() from AppendVec design

Only the offset into the AppendVec memory is thread-safe. The memory
itself is only threadsafe because it is append-only and is otherwise
unprotected. Adding get_mut() would only be safe if the memory was
protected by a ReadWrite lock.
2021-03-03 12:51:48 -08:00
Trent Nelson 5cd6a0c2f1 Docs: Update validator hardware recommendations 2021-03-03 20:39:37 +00:00
Tyera Eulberg 19ac79b5cc
Deprecate UiTokenAmount::ui_amount (#15616)
* Add TokenAmount::ui_amount_string

* Fixup solana-tokens

* Update docs
2021-03-02 22:51:41 -07:00
rmshea 00f2b039b4 Remove Hackathon banner 2021-03-02 18:19:37 -08:00
Greg Fitzgerald 2463cc1e6a
Fix typos (#15610) 2021-03-02 06:36:49 -08:00
Michael Vines 3998807dcc Update testnet break RPC node identity 2021-02-27 09:34:04 -08:00
Jon Cinque ebd43938a7
docs: Update stake merging documentation (#15489)
* Update stake merging documentation

* Integrate review feedback

* Integrate review feedback in comment too
2021-02-25 17:24:39 +01:00
sakridge 1b59b163dd
Add max retransmit and shred insert slot (#15475) 2021-02-23 13:06:33 -08:00
Jack May 30012818a1
update cpi docs (#15494) 2021-02-23 12:37:50 -08:00
Michael Vines 4b0114b991 Limit the number of getProgramAccounts filters 2021-02-23 18:43:22 +00:00
Michael Vines 65f1afe5e1 Limit getProgramAccounts memcpy filter string to 128 bytes 2021-02-23 18:43:22 +00:00
Tyera Eulberg 123de5de54
Update uiAmount type in docs (#15471) 2021-02-22 16:54:07 -07:00
Jack May 4648439f5c
cli: improve deploy resume interface (#15418)
* cli: improve deploy resume interface

* add docs
2021-02-19 11:06:05 -08:00
Jon Cinque 3ac7e09de6
docs: Remove references to "create_address_with_seed" (#15339) 2021-02-17 14:25:02 +01:00
Austin Abell 17a328bc6f
Fix typo in account docs (#15349) 2021-02-16 09:58:33 -07:00
publish-docs.sh a8d4d746ce Fix broken TdS links 2021-02-13 10:23:34 -07:00
Josh 760e163190
docs: getLargestAccounts caching notice (#15293) 2021-02-12 08:20:32 -08:00
publish-docs.sh b64a971610 Fix registration link 2021-02-11 21:52:56 -07:00
Tyera Eulberg da6753b8c0
Warp timestamp and extend max-allowable-drift for accommodate slow blocks (#15204)
* Remove timestamp_correction feature gating

* Remove timestamp_bounding feature gating

* Remove unused deprecated ledger code

* Remove unused deprecated unbounded-timestamp code

* Enable independent adjustment of fast/slow timestamp bounding

* Update timestamp bounds to 25% fast, 80% slow; warp timestamp

* Update bank hash test

* Add PR number to feature

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

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-02-09 15:49:00 -07:00
Tyera Eulberg 819d829c41
Only publish release-tag docs on beta channel (#15158) 2021-02-05 23:39:04 -07:00
publish-docs.sh 3a5c142a9b Update slashing roadmap link 2021-02-05 16:29:03 -07:00
Ryo Onodera 85ffc8fa1c
Warn lastValidSlot with some terminology tweaks (#15081)
* Warn lastValidSlot with some terminology tweaks

* Apply suggestions from code review

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

* Restore previous arrangment of slot def. and tweak upon it

* Apply suggestions from code review

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

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-05 15:47:02 +09:00
Jack May 82350f9350
deploy doc updates (#15109) 2021-02-04 16:18:14 -08:00
Jack May d0118a5c42
Add program deployment docs (#15075) 2021-02-04 01:30:50 -08:00
Trent Nelson 894b412aef docs: bump nofiles recommendations to match maps 2021-02-02 21:59:21 -07:00
R. M. Shea b57f33948d
Add Hackathon banner (#15004) 2021-02-02 09:43:41 -07:00
Tyera Eulberg 2780214e71
Clean up some old commitment names (#14994) 2021-02-02 16:33:45 +00:00
Justin Starry 3eea88a3a8
Update transactions.md 2021-02-02 22:42:59 +08:00
Eric Williams 7614c2e341
Update economics docs (#14965)
* clarified inflation split and equation

* clarify staking yield description
2021-02-01 23:38:22 +01:00
Michael Vines 2e54b6acb1 Fix cli usage build 2021-01-29 19:03:10 +00:00
sakridge 84e52b6065
Increase vm map limit recommendation (#14892)
Give some more buffer from 400k
2021-01-29 09:01:01 -08:00
Trent Nelson 52326d53be docs: Fix mangled `getConfirmedTransaction` parameter list 2021-01-28 22:13:03 -07:00
Eric Williams fdfc0f409d
format to list 2021-01-28 22:47:06 +01:00
Josh 6b8e710988
RPC documentation updates for token deltas / blockTimes in getConfirmedSignatures2/getConfirmedTransaction (#14871)
* docs: add token balances response info

* docs: add blockTime to getConfirmedSignatures and getConfirmedTransaction

* docs: update example responses

* fix: remove space
2021-01-27 16:15:37 -08:00
Eric Williams 5594a7122d
Reorg and cleanup of economics section of docs (#14868)
* reorg validator economics

* overview cleanup

* terminology

* terminology formatting

* katex for docusaurus

* adjusted staking yield writeup

* more reorg

* move section header

* rm unlinked mds

* add new mds

* Update docs/src/inflation/terminology.md

Co-authored-by: Dan Albert <dan@solana.com>

* Update docs/src/inflation/terminology.md

Co-authored-by: Dan Albert <dan@solana.com>

* Update docs/src/inflation/terminology.md

Co-authored-by: Dan Albert <dan@solana.com>

* Update docs/src/inflation/terminology.md

Co-authored-by: Dan Albert <dan@solana.com>

* Update docs/src/inflation/terminology.md

Co-authored-by: Dan Albert <dan@solana.com>

* Update docs/src/transaction_fees.md

Co-authored-by: Dan Albert <dan@solana.com>

* addressing Dans comments in #14868

* incorporating pr commits

* trailing whitespaces

* more trailing whitespaces

* remove services link and add plot

* add plots

Co-authored-by: Dan Albert <dan@solana.com>
2021-01-27 22:54:00 +01:00
Tyera Eulberg ffa5c7dcc8
Deprecate commitment variants (#14797)
* Deprecate commitment variants

* Add new CommitmentConfig builders

* Add helpers to avoid allowing deprecated variants

* Remove deprecated transaction-status code

* Include new commitment variants in runtime commitment; allow deprecated as long as old variants persist

* Remove deprecated banks code

* Remove deprecated variants in core; allow deprecated in rpc/rpc-subscriptions for now

* Heavier hand with rpc/rpc-subscription commitment

* Remove deprecated variants from local-cluster

* Remove deprecated variants from various tools

* Remove deprecated variants from validator

* Update docs

* Remove deprecated client code

* Add new variants to cli; remove deprecated variants as possible

* Don't send new commitment variants to old clusters

* Retain deprecated method in test_validator_saves_tower

* Fix clippy matches! suggestion for BPF solana-sdk legacy compile test

* Refactor node version check to handle commitment variants and transaction encoding

* Hide deprecated variants from cli help

* Add cli App comments
2021-01-26 19:23:07 +00:00
Jeff Washington (jwash) 1d6e9335ff
rent text cleanup (#14837) 2021-01-26 09:07:38 -06:00
Ryo Onodera 60611ae8a0
Add security best practice sections (#14798) 2021-01-25 15:36:11 -08:00
Ryo Onodera 1d87091d51
Improve documentation of sendTransaction (#14770)
* Improve documentation of sendTransaction

* Apply suggestions from code review

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

* Word wrap and improve terminology

* Tweak

* Oops

* Apply suggestions from code review

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

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-01-23 09:51:25 +00:00
Tyera Eulberg 66fd187f16
Make exchange listening-for-deposits language stronger (#14775)
* Make exchange listening-for-deposits language stronger

* Update docs/src/integrations/exchange.md

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

* Update from deprecated method

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-01-23 07:16:42 +00:00
Michael Vines 5ac536d0fb Minor doc clarification 2021-01-20 23:58:39 -08:00
R. M. Shea 37b7c6a6cf
Remove SearchBar swizzled component, update search (#14649) 2021-01-19 00:38:30 -07:00
Michael Vines 5d9dc609b1 Rename RpcNodeUnhealthy error to NodeUnhealthy, generalize `getHealth` RPC error object for the future 2021-01-18 19:57:25 -08:00
Michael Vines 4003f86f04 Add `getSnapshotSlot` RPC method 2021-01-16 19:31:21 +00:00
Michael Vines dacb95083d Add `getHealth` RPC method 2021-01-16 10:10:48 -08:00
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
Jack May 90714941b7
Add rand dep error to app faq (#12568) 2020-09-29 20:16:53 -07:00
Michael Vines 6156dc300d Tune the sys-tuner documentation 2020-09-30 01:04:29 +00:00
Jack May b51c0f3095
Add programming faq (#12545)
* Add programming faq

* feedback and new content

* nudge
2020-09-29 16:06:54 +00:00
Justin Starry 6601ec8f26
Record and store invoked instructions in transaction meta (#12311)
* Record invoked instructions and store in transaction meta

* Enable cpi recording if transaction sender is some

* Rename invoked to innerInstructions
2020-09-24 22:36:22 +08:00
Trent Nelson 215bbe85d8 Docs: Set realistic stake warm-up expectations for validators 2020-09-24 02:48:59 +00:00
Tyera Eulberg a713e3c92d
Document getConfirmedSignaturesForAddress2 until param (#12424) 2020-09-23 13:33:00 -06:00
sakridge 7dd4de80eb
Add docs for secp256k1 and instruction introspection. (#12369) 2020-09-21 13:50:23 -07:00
Michael Vines cd852a5c22
Document that testnet has a faucet 2020-09-19 08:41:58 -07:00
Trent Nelson a695561f86 💉 2020-09-18 21:25:30 +00:00
Trent Nelson 327c3d4154 Remove Ledger wallet approval output from examples 2020-09-18 21:25:30 +00:00
Trent Nelson cee8db0da3 Listify newly created account properties 2020-09-18 21:25:30 +00:00
Trent Nelson add08c673e Justify installing spl-token 2020-09-18 21:25:30 +00:00
Trent Nelson 42b40b7d34 Withdraw is a verb 2020-09-18 21:25:30 +00:00
Trent Nelson 7ee07fd4e8 Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-09-18 21:25:30 +00:00
Trent Nelson f52fdc8546 Update docs/src/integrations/exchange.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-09-18 21:25:30 +00:00
Trent Nelson 11a8abe3bf Docs: Add SPL Token exchange integration 2020-09-18 21:25:30 +00:00
Tyera Eulberg 06906413ef
Unbreak 'Listening for Deposits' section (#12338) 2020-09-18 15:05:13 -06:00
Michael Vines 9410eab2af Restore --expected-shred-version argument for mainnet-beta 2020-09-16 18:05:41 -07:00
Michael Vines c231bb7154 Update index.js 2020-09-16 16:42:50 +00:00
Michael Vines 5d682d2e05 Fix 'Description will go into a meta tag in head' meta tag 2020-09-16 16:42:50 +00:00
Michael Vines 4ada4d43f2 Drop the recommendation that `--expected-shred-version` be set by validators
`--expected-shred-version` is another knob for users to get wrong and is
documentation that can get stale due to cluster restarts.  Turns out
it's also generally not required anymore either because:
1. The cluster entrypoint can always be expected to be using the correct
   shred version, and that shred version will be adopted by the new node
   (earlier this was not the case when the `solana-gossip spy` node on
   mainnet-beta.solana.com:8001 ran with shred version 0)
2. On a cluster restart, `--expected-bank-hash` is a much stronger
   assertion that the validator is starting from the correct place (and
   didn't exist when `--expected-shred-version` was first recommended)
2020-09-15 10:24:20 -07:00
Michael Vines c8f03c7f6d Documenet how to reduce validator port exposure 2020-09-14 20:18:27 -07:00
carllin 3c69cd6d61
Update commitment options (#12173) 2020-09-11 11:19:06 -07:00
R. M. Shea cade92d2b4
Update logo (#12026)
* update to a new logo!

Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
2020-09-11 10:23:54 -04:00
Tyera Eulberg 361e5322e4
Update commitment options (#12171) 2020-09-10 13:34:25 -06:00
Justin Starry 9940870c89
Fix RPC transaction method configs serialization (#12100) 2020-09-08 13:08:09 +08:00
Diego Wilson 69e7e0129e
Correct minor typo in turbine-block-propagation.md (#12073)
Calcuating -> Calculating
2020-09-05 18:03:53 -06:00
pk 38f36a7a7a fix solana-install syntax
```
solana-install info
solana-install deploy
solana-install update
solana-install run
```
2020-09-03 22:27:52 -07:00
sakridge 8068566f20
secp256k1 instruction proposal (#11980) 2020-09-03 15:59:22 -07:00
Tyera Eulberg b22de369b7
Rpc: add getMultipleAccounts endpoint (#12005)
* Add rpc endpoint to return the state of multiple accounts from the same bank

* Add docs

* Review comments: Dedupe account code, default to base64, add max const

* Add get_multiple_accounts to rpc-client
2020-09-03 11:35:06 -06:00
Tyera Eulberg b720921c83
Docs.rs version replacement (#11981) 2020-09-01 13:47:29 -06:00
Richard Ayotte a19f696a42 Add missing backslash to solana-validator command 2020-08-31 16:27:42 -07:00
Michael Vines e4d7e1fe3f Use DNS for devnet/testnet entrypoints 2020-08-31 07:38:40 +00:00
Michael Vines eee0c83324 Add new trusted validator for testnet 2020-08-30 22:39:52 -07:00
Dan Albert 8ba3a33129
Add SolFlare as stake-supporting wallet (#11891)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-08-28 16:02:36 +00:00
Eric Williams 3eb5b95e27
Update rust installation instructions for benchmarking (#11635)
* update rust installation instructions for benchmarking

* replace drone with faucet for clarity

* point to README for Rust setup
2020-08-27 11:26:49 -07:00
Dan Albert 36e8441149
Add SolFlare guide to docs (#11843) 2020-08-26 16:59:45 -06:00
Tyera Eulberg 1988ee9cd6
Rpc: Filter accounts with invalid mints from get_parsed_token_accounts (#11844)
* Filter out accounts with invalid mints from get_parsed_token_accounts

* Explicit docs
2020-08-26 11:39:42 -06:00
Ryo Onodera 2c5366f259
Document how to validate account pubkey (#11821) 2020-08-26 01:13:12 +09:00
Michael Vines dec9d534e6 Fix typo 2020-08-22 09:22:01 -07:00
Michael Vines b660704faa Allow the sendTransaction preflight commitment level to be configured 2020-08-22 08:19:50 -07:00
pk 6af36adf1c updated bench-tps.md
removed `$` as the copy didn't like it :-)
2020-08-21 20:41:23 -07:00
Tyera Eulberg 747f8d5877
Rpc: Return error if block does not exist (#11743)
* Return error if block does not exist

* Update docs
2020-08-20 15:05:30 -06:00
Trent Nelson 5354df8c1c Expand system tuning docs 2020-08-19 16:36:03 +00:00
Tyera Eulberg 35828e8fe7
Remove old signatureSubscribe info (#11704) 2020-08-19 02:29:39 +00:00
Trent Nelson 0413a305d2 Comment that docs Algolia key is safe to publish 2020-08-18 05:25:51 +00:00
Michael Vines e5281157fa Remove "binary" encoding. Document "encoding" as required 2020-08-17 17:26:29 -07:00
Michael Vines adc984a225 Rename Binary64 to Base64. Establish Base58 encoding 2020-08-17 17:26:29 -07:00
Michael Vines 757e147b3b Rework UiAccountData encode/decode such that it works from Rust 2020-08-17 17:26:29 -07:00
Michael Vines b5f3ced860 Add base64 (binary64) encoding for getConfirmedTransaction/getConfirmedBlock 2020-08-17 17:26:29 -07:00
Trent Nelson 2f3ae52e8f Update devnet cluster docs since reboot 2020-08-17 22:27:57 +00:00
Ryo Onodera 23fa84b322
Re-do rent collection check on rent-exempt account (#11349)
* wip: re-do rent collection check on rent-exempt account

* Let's see how the ci goes

* Restore previous code

* Well, almost all new changes are revertable

* Update doc

* Add test and gating

* Fix tests

* Fix tests, especially avoid to change abi...

* Fix more tests...

* Fix snapshot restore

* Align to _new_ with better uninitialized detection
2020-08-17 14:22:16 +09:00
Dan Albert 6194a29875
Restore CLI usage page (#11619)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-08-13 16:02:13 -06:00
sakridge 072be66704
Update docs to latest processors (#11613) 2020-08-13 08:36:22 -07:00
Ryo Onodera 51e818ad64
Fix typo: epoch => slot... (#11573) 2020-08-12 08:14:07 +00:00
Tyera Eulberg 697a0e2947
Add getTokenLargestAccounts to docs (#11560) 2020-08-11 21:05:16 +00:00
Ryo Onodera 6c242f3fec
Fix bad rent in Bank::deposit as if since epoch 0 (#10468)
* Fix bad rent in Bank::deposit as if since epoch 0

* Remove redundant predicate

* Rename

* Start to add tests with some cleanup

* Forgot to add refactor code...

* Enchance test

* Really fix rent timing in deposit with robust test

* Simplify new behavior by disabling rent altogether
2020-08-12 00:04:32 +09:00
Justin Starry f12fc66a69
Fix simulateTransaction JSON-RPC docs (#11533) 2020-08-11 18:11:19 +08:00
Tyera Eulberg 88ca04dbdb
Add config param to specify offset/length for single and program account info (#11515)
* Add config param to specify dataSlice for account info and program accounts

* Use match instead of if
2020-08-10 22:35:29 +00:00
sakridge 068d23f298
Add Binary64 option for account data (#11474)
* Add Binary64 option for account data

* Decode into binary64

* Reword docs
2020-08-08 22:40:13 -07:00
Greg Fitzgerald edadd5d6d5
Remove Budget from CLI (#11451)
* Remove support for Budget

Also:
* Make "pay" command a deprecated alias for the "transfer" command

* chore: remove budget from web3.js

* Drop Budget depedency from core

Validators no longer ship with builtin Budget
2020-08-07 16:01:51 -06:00
Tyera Eulberg b7c2681903
Token Accounts: return ui_amount, decimals with decoded account (#11407)
* Return ui_amount, decimals from token client methods

* Return ui_amount, decimals in RPC jsonParsed token accounts

* Fixup docs

* Return ui_amount, decimals in pubsub jsonParsed token accounts

* Remove unnecessary duplicate struct

* StringAmount rename
2020-08-07 11:37:39 -06:00
Raj Gokal 14dcaaee6c
Link fix (#11368)
* fixes logo

* cleans up homepage on docs

* adds icon files and tightens margins

* cleans up sidenav, adds top nav items

* fixes a link

* removes icon files

Co-authored-by: Dan Albert <dan@solana.com>
2020-08-06 13:19:35 -06:00
Tyera Eulberg 7430896c79 Mark token-specific rpcs as unstable 2020-08-05 20:46:11 -07:00
Michael Vines 02c0981ecf Rename startAfter to before 2020-08-05 14:33:14 -07:00
Michael Vines 1b2276520b Add getConfirmedSignaturesForAddress2 RPC method 2020-08-05 14:33:14 -07:00
Michael Vines e56ea138c7 Add RPC transaction history design 2020-08-05 14:27:12 -07:00
Trent Nelson e12ab9d0dd Bump version to 1.4.0 2020-08-05 12:04:15 -06:00
Tyera Eulberg 308186da79
Rework parsed account format (#11372)
* Rework parsed account format

* Serialize as type
2020-08-05 00:59:10 -06:00
Tyera Eulberg 86e3f96f16
Return token amounts as floats (#11370)
* Return token amounts as floats

* Floating-point equality

* Return float and raw token amounts

* Fix decimals and token rpcs for native-mint tokens

* Fixup docs and review comments
2020-08-05 06:48:09 +00:00
Raj Gokal 8c873e232f
fixes logo (#11350)
* fixes logo

* cleans up homepage on docs

* adds icon files and tightens margins
2020-08-04 10:51:25 -07:00
Tyera Eulberg d0144ce382
Fix token rpc-client methods (#11361)
* Convert None to error in parse_keyed_accounts

* Allow encoding configuration in getTokenAccounts methods
2020-08-04 11:11:30 -06:00
Raj Gokal e2789b9373 cross-links SPL library 2020-08-01 08:33:26 -07:00
Dan Albert a5b6fd3d9b
Add Vote Account Management Doc (#11278)
* Add vote account management doc

* Add links to new doc

* Whitespace

* Fixup language

* Cleaner title

* Apply review feedback

* Apply further feedback

* Fix usage page header

Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-31 02:43:41 +00:00
Greg Fitzgerald 31ea69f278
Add low-latency, RPC proposal (#11221)
* Add RiP Curl proposal

* Apply review feedback
2020-07-30 10:52:47 -06:00
Dan Albert e8c0ec53e6
Fix wallet links (#11284)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-30 05:06:04 +00:00
Josh Kauffman 995a7ba8eb Update vote-signing.md 2020-07-29 20:40:44 -07:00
Josh Kauffman e0f74c6862 Update fork-generation.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 01e26012b3 Update wallet-guide.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 239080c131 Update stake-delegation-and-rewards.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 24831ea42d Update vote-signing.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 1ecc276fd1 Update turbine-block-propagation.md 2020-07-29 20:40:44 -07:00
Josh Kauffman d6a4ad18fe Update managing-forks.md 2020-07-29 20:40:44 -07:00
Josh Kauffman d93366fc52 Update fork-generation.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 8c611cf87e Update leader-rotation.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 6a5b7e5b98 Update synchronization.md 2020-07-29 20:40:44 -07:00
Josh Kauffman 8054c3f3fa Fix typos 2020-07-29 20:40:44 -07:00
Dan Albert cd043b5d70
Add top level link to Clusters page (#11276)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-29 21:27:25 +00:00
Tyera Eulberg b45ac5d4db
Add SPL Token-specific rpc endpoints (#11231)
* Simplify account-decoder program ids + spl_token helper

* Spl program namespace version

* Add getTokenAccountBalance endpoint

* Remove token program id from getTokenAccountBalance request

* Add getTokenSupply endpoint

* Remove token program id from getTokenSupply request

* Add getTokenAccountsByOwner/Delegate endpoints

* Remove token program id from getTokenAccountsByOwner/Delegate requests

* Named parameter
2020-07-28 23:00:48 -06:00
R. M. Shea cbf0b779d7
Add Docusaurus search (#11135)
* Add Docusaurus search

* Add Algolia configuration information

* Trailing whitespace :(

Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
2020-07-27 10:26:03 -06:00
Tom Zakrajsek 234449c627 Fix markup for heading 2020-07-26 00:22:43 -07:00
Michael Vines 01ff6846f7 Windows binaries are now built with the MSVC instead of the GNU toolchain.
Update `solana-install-init` target info to match
2020-07-25 10:02:52 -07:00
Dan Albert eac423f92c
Add package-lock.json to docs (#11200)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-24 14:15:22 -06:00
Dan Albert c8f866e6c0
Restore stake delegation page to sidebar 2020-07-24 13:42:05 -06:00
Greg Fitzgerald 8b1b392be9
Remove move_loader and librapay (#11184)
* Remove move_loader and librapay

* Remove Embedding Move from implemented proposals

* Remove Move variant from CI

* Remove move_loader ID
2020-07-23 15:08:59 -06:00
Tyera Eulberg c90de8978d
Add encoding and filters parameters to rpc Subscriptions (#11065)
* Plumb account configs and enable encoding

* Enable filters for pubsub program accounts

* Update docs
2020-07-23 13:38:28 -06:00
Michael Vines a5dd848702 getEpochInfo RPC endpoint now includes the current block height 2020-07-21 17:24:07 -07:00
Wei Tang 0cb422fbbb
Insubstantial grammar fix (#11133) 2020-07-20 23:32:45 +09:00
Dan Albert b9c29c3263
Update build.sh 2020-07-18 08:31:54 -06:00
Dan Albert 1ad0d210bc
Remove tictactoe, add Break and Hello World to docs (#11117)
* Remove tictactoe, add Break to apps docs

* Add hello world

* fix whitespace

Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-18 00:09:10 +00:00
Dan Albert d0d4d9b3d1
Fix 404 broken links (#11113)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-17 17:48:07 +00:00
Dan Albert fe71f9ad1a
Change transparent .svg to opaque .png (#11084)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-15 21:35:18 +00:00
Dan Albert 6342e3e215
Refactor file and URL paths in docusaurus (#11080)
* Fix introduction link

* Restore staking guide pages

* Remove Edit this page link

* Fix broken wallet guide link

* Restore lost images

* Fixup URL paths to match gitbook style

* Refactor wallet guide READMEs and clean up URLs

* Remove lingering gitbook files

* Refactor all README files to keep consistent linking

* Updte homepage tile links

Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-15 20:11:51 +00:00
Dan Albert 303a4df6ef
Clean up docs publishing flow (#11043)
* Clean up publishing flow

* Update README

Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-14 07:56:14 -06:00
Dan Albert ffeac298a2
Move from gitbook to docusaurus, build docs in Travis CI (#10970)
* fix: ignore unknown fields in more RPC responses

* Remove mdbook infrastructure

* Delete gitattributes and other theme related items

Move all docs to /docs folder to support Docusaurus

* all docs need to be moved to /docs

* can be changed in the future

Add Docusaurus infrastructure

* initialize docusaurus repo

Remove trailing whitespace, add support for eslint

Change Docusaurus configuration to support `src`

* No need to rename the folder! Change a setting and we're all good to
go.

* Fixing rebase items

* Remove unneccessary markdown file, fix type

* Some fonts are hard to read. Others, not so much. Rubik, you've been
sidelined. Roboto, into the limelight!

* As much as we all love tutorials, I think we all can navigate around a
markdown file. Say goodbye, `mdx.md`.

* Setup deployment infrastructure

* Move docs job from buildkite to travic

* Fix travis config

* Add vercel token to travis config

* Only deploy docs after merge

* Docker rust env

* Revert "Docker rust env"

This reverts commit f84bc208e807aab1c0d97c7588bbfada1fedfa7c.

* Build CLI usage from docker

* Pacify shellcheck

* Run job on PR and new commits for publication

* Update README

* Fix svg image building

* shellcheck

Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-11 05:11:07 +00:00
Michael Vines aef6bf272e getConfirmedBlocks now has an upper limit on slot range 2020-07-10 12:18:31 -07:00
Michael Vines 491f5ae61a Add block time placeholder to getConfirmedBlock 2020-07-10 14:47:11 +00:00
sakridge e50227745d
update testnet docs (#10954) 2020-07-08 04:04:17 +00:00
Tyera Eulberg 4de0713aa3
Rpc: Add getStakeActivation endpoint (#10902)
* Add getStakeActivation endpoint

* Add docs

* Update docs/src/apps/jsonrpc-api.md

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

* Rework return type

* Update docs

* Rebase

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-07-06 13:28:40 -06:00
Tyera Eulberg 8d951776ab
Rpc: add filter to getProgramAccounts (#10888)
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts

* Accept bytes in bs58

* Rename to memcmp

* Add Memcmp optional encoding field

* Add dataSize filter

* Update docs

* Clippy

* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-03 07:46:29 +00:00
Michael Vines d53228e69d getInflationRate now only supports the current epoch 2020-07-02 02:11:31 +00:00
carllin 6b45481bbb
Instructions for validator logging (#10845)
* Instructions for disabling log throttling

* Remove syslog, add logrotate

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

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

Co-authored-by: Carl <carl@solana.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2020-07-01 12:50:31 -07:00
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