Jack May
355a23c8f6
Deprecate old and document new RPC APIs ( #19456 )
2021-08-27 05:22:53 -07:00
Tyera Eulberg
7482861f4b
Add parameter to allow setting max-retries for SendTransaction rpc ( #19387 )
...
* Add parameter to cap rpc send retries for a tx
* Add parameter to docs
2021-08-24 22:44:13 -06:00
Brian Anderson
9483866e0b
Correct JSON-RPC docs for getSlot ( #19355 )
...
* Correct JSON-RPC docs for getSlot
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-08-21 00:15:50 +00:00
Brent Fitzgerald
3be5715f45
Add note about ASK keyword to paper wallet doc ( #19330 )
...
* Add note about ASK keyword to paper wallet doc
Per https://github.com/solana-labs/solana/issues/17325#issuecomment-844434585 , this change adds a note to the paper wallet docs mentioning the use of the `ASK` keyword.
Also specifes that the `solana-keygen pubkey prompt://` command returns a derived bip44 base address.
(I'm new to Solana development and this was a point of confusion for me, only resolved by finding this issue)
* Update docs/src/wallet-guide/paper-wallet.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-08-20 08:57:50 -06:00
Trent Nelson
2a877ae06e
docs: update devnet start args with new validators
2021-08-19 22:43:49 -06:00
Trent Nelson
a587eec20b
docs: Remove decommissioned testnet archetype validator
2021-08-19 22:43:49 -06:00
Trent Nelson
eced50d103
docs: correct known validator operator
2021-08-19 22:43:49 -06:00
Trent Nelson
40613161a0
docs: trust minimize
2021-08-19 22:43:49 -06:00
Trent Nelson
e0bc5fa690
validator: Trusted validators are now called known validators
2021-08-19 22:43:49 -06:00
Trent Nelson
169ded9a70
docs: Mainnet Beta inflation has been enabled for quite some time
2021-08-19 22:43:49 -06:00
Justin Starry
c053df143f
RPC: add option to exclude accounts from get_supply ( #19270 )
2021-08-17 23:32:58 +00:00
Michael Vines
b15fa9fbd2
Add EtcdTowerStorage
2021-08-14 09:46:36 -07:00
Jack May
0b50bb2b20
Deprecate FeeCalculator returning APIs ( #19120 )
2021-08-13 09:08:20 -07:00
Haik Dulgarian
e7190cc727
Improve terminology page ( #18441 )
...
Co-authored-by: Gregg Dourgarian <greggd@aidacreative.com>
Co-authored-by: Haskell FTW <HaskellFTW@protonmail.com>
2021-08-10 16:19:46 -07:00
bji
83f0915e15
Updated transaction fee burn description. ( #19161 )
2021-08-10 15:13:38 -07:00
0xlucius
aa688e4549
fix typo ( #19111 )
2021-08-06 19:52:54 -07:00
Trent Nelson
d60ccf64e1
bump recommended maps/nofiles
2021-08-04 11:15:18 -06:00
Chris Kalani
9d2f0e237b
Updating Phantom description, removing invite code ( #19004 )
...
* Updating Phantom description, removing invite code
* Updated copy
* Update web-wallets.md
2021-08-01 13:21:44 -05:00
hugo
4d0cd9b283
Added missing method to index and updated token account methods docs. ( #18906 )
2021-07-28 16:13:06 -06:00
Ryan M. Shea
e7a687d7ee
Clarify entities in docs ( #18821 )
...
* Update docs
* Change History
2021-07-22 14:07:59 -06:00
Stephen Peterkins
71bd434297
docs: fix link to Native Programs page in transactions.md ( #18830 )
2021-07-21 22:37:40 -05:00
Lijun Wang
c70f8d26af
Accounts db replication design proposal ( #18651 )
...
Problem
Validators fall behind the network when bogged down by heavy RPC load. This
seems to be due to a combination of CPU load and lock contention caused by
serving RPC requests. The most expensive RPC requests involve account scans.
Summary of Changes
The AccountsDb replication design proposal is described.
2021-07-21 14:25:53 -07:00
murlux
d751d5b6e8
Fixed broken links and added more context to getTokenAccountBalance docs
2021-07-21 10:24:53 -07:00
Michael Vines
5f968928ec
Remove 'Disable snapshot compression' section
2021-07-21 16:38:48 +00:00
Jack May
b13caa14c9
Update simulateTransaction rpc docs ( #18762 )
2021-07-19 13:53:00 -07:00
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
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
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
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