Commit Graph

1039 Commits

Author SHA1 Message Date
Justin Starry a1522d0024
Use consistent naming for compute unit limit (#25229)
* Use consistent naming for compute unit limit

* feedback
2022-05-18 13:14:31 +08:00
Justin Starry 4690956849
RPC: Add minContextSlot param to ensure consistent responses (#25161)
* RPC: Add minContextSlot param to ensure consistent responses

* revert changes to deprecated endpoints

* update docs
2022-05-17 14:46:02 +08:00
ahlee42 9c754d6c95
Fixed typo in Docs ("transacton" -> "transaction") (#25260)
Co-authored-by: Arnold Lee <103599294+TamashiDev@users.noreply.github.com>
2022-05-16 14:48:59 -07:00
Justin Starry daac9399ed
docs: Remove redundant and incorrect tx priority details (#25239) 2022-05-16 04:41:51 +00:00
Tao Zhu b1b3702e6d
Prioritize transactions in banking stage by their compute unit price (#25178)
* - get prioritization fee from compute_budget instruction;
- update compute_budget::process_instruction function to take instruction iter to support sanitized versioned message;
- updated runtime.md

* update transaction fee calculation for prioritization fee rate as lamports per 10K CUs

* review changes

* fix test

* fix a bpf test

* fix bpf test

* patch feedback

* fix clippy

* fix bpf test

* feedback

* rename prioritization fee rate to compute unit price

* feedback

Co-authored-by: Justin Starry <justin@solana.com>
2022-05-16 12:06:33 +08:00
Jack May cde15ff687
support 64-bit prioritization fee (#25027) 2022-05-12 11:07:36 -07:00
Sohrab 069b052553
docs(developing): remove duplicate entry (#25129) 2022-05-12 01:57:09 -07:00
sakridge e0352ed56f
Fix typo (#25149) 2022-05-11 21:05:19 +00:00
Yihau Chen 671775a244
chore: add missing VERCEL_TOKEN (#25079)
* chore: add missing VERCEL_TOKEN

* chore: add a newline to trigger docs build
2022-05-09 11:29:36 +08:00
Luke Ingalls 032a2b8215
remove double word (#25074) 2022-05-08 17:11:10 +00:00
carllin 6a9a7df272
Proposal for transaction scheduler based on fee priority (#23438)
* Add proposal

* Multiple transactions per banking thread

* Update fee defintiion

* Remove whitespace

* Fixup spelling
2022-05-05 16:41:22 -05:00
Arash d75378fe12
fix: latest go version requires using 'go install' instead of 'go get'. (#24419) 2022-05-05 07:57:37 -07:00
Trent Nelson 9bca909f63 docs: clarify tx-wide default max units explainer 2022-05-04 16:55:17 -06:00
Jack May e070c5ca38
default compute units per instruction (#24899) 2022-05-03 09:50:06 -07:00
Çelik Köseoğlu fd46c69a17 Update install-solana-cli docs with Homebrew instructions 2022-05-02 12:58:27 -07:00
Justin Starry c0981a9f8c
docs: Update outdated compute budget docs (#24737)
* docs: Update outdated compute budget docs

* docs: Add section about reducing tx fees
2022-04-30 03:38:59 +08:00
dependabot[bot] 9a136aa684
chore: bump cross-fetch from 3.1.4 to 3.1.5 in /docs (#24812)
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 15:18:06 +08:00
T.J. Kyner 8be726aa67
typo fix in javascript-api docs (#24085) 2022-04-28 11:06:41 +08:00
apfitzge 5e6b2e49dc
fix typo in cluster docs (#24706) 2022-04-27 19:24:04 -05:00
Luke 5db0fbd848
Docs: Typo fix (#24629)
Changed "potential a" to "potentially a"
2022-04-25 13:43:50 +08:00
Matt Green 9f3eba1d12 Link to SPL documentation in terminology page 2022-04-21 13:56:49 -07:00
Tyera Eulberg 77f6ec5625
Add program_id to TokenBalances structs (#24513)
* Add program_id to TokenBalances structs

* Update docs
2022-04-19 22:01:22 -06:00
Jacob Creech 42532f5b20 docs: Update CTA for tech support to have StackOverflow
docs: Update CTA for tech support to have StackOverflow

docs: Update CTA for tech support to have StackOverflow

docs: remove discord praise
2022-04-18 13:32:26 -07:00
Justin Starry 3426433f99
cli: Fix resume deploy directions (#24422) 2022-04-17 16:10:22 +08:00
steveluscher 6c5a3ca4a0 docs: document the limits on RPC API inputs and outputs 2022-04-16 09:01:33 -07:00
Usama Liaquat 4023dece2f
docs: remove extra that (#23394) 2022-04-16 23:32:10 +08:00
Tyera Eulberg f7d557d5ae
Update simulateTransaction rpc handling of return_data, and update docs (#24355)
* Stringify return_data program_id; also camel-case all fields

* Update simulateTransaction json-rpc docs

* Base64-encode return data in simulation RPC responses
2022-04-14 23:42:08 -06:00
Tyera Eulberg fbe5e51a16
Move duplicate-block proposal (#24167) 2022-04-07 17:30:31 -06:00
T.J. Kyner 781094edb2
providing clarity on airdrop amount constraints (#24115)
* providing clarity on airdrop amount constraints

This change is in response to a review of a PR in the `solana-program-library` found here: https://github.com/solana-labs/solana-program-library/pull/3062

* replaced static limits with info on how to find them

* removed trailing whitespace
2022-04-07 16:35:13 -06:00
blake 4968e7d38c
Fix typo in documentation (#24076) 2022-04-02 08:09:41 -05:00
Michael Vines 87e0aa1b74 improve arg documentation 2022-03-25 21:37:10 -07:00
Will Hickey c4ecfa5716
Bump version to v1.11 (#23807)
* Revert crossbeam_epoch to stable. 0.9.8 only works with nightly
* Remove unneeded unit expression
2022-03-21 17:40:50 -05:00
g1stavo c556811c0f
docs: fix stake state typo (#23776) 2022-03-18 13:45:07 -06:00
Will Hickey 2f58c9e501
Bump version to 1.10.4 (#23743) 2022-03-17 14:02:13 -05:00
Zayyan Faizal 64e2d9dc47
docs: update sysvar docs for load_instruction_at_checked (#22925)
* docs: update sysvar docs for load_instruction_at_checked

Update the instruction introspection docs to use the updated load_instruction_at_checked function instead of deprecated load_instruction_at

* Update to load_current_index_checked
2022-03-15 20:22:34 +08:00
Tyera Eulberg 102dd68a03
Rename AccountsDb plugins to Geyser plugins (#23604) 2022-03-14 19:18:46 -06:00
Jacob Creech c5eb8ed7d1 docs: add web3 source docs copy 2022-03-14 15:18:08 -06:00
Will Hickey 63bf0f66af
Bump version to 1.10.3 (#23648) 2022-03-14 11:18:45 -05:00
kirill lykov 5d75ef4766
fix deadlink in doc (#23607) 2022-03-11 12:20:04 -08:00
Will Hickey b444836a97
Bump version to 1.10.2 (#23597) 2022-03-10 16:41:06 -06:00
Justin Starry 3114c199bd
Add RPC support for versioned transactions (#22530)
* Add RPC support for versioned transactions

* fix doc tests

* Add rpc test for versioned txs

* Switch to preflight bank
2022-03-08 15:20:34 +08:00
Will Hickey 1a99251498
Bump version to 1.10.1 (#23453) 2022-03-02 13:47:01 -06:00
Brian Long 7dbde2247d
Adds comments related to the public RPC endpoints (#22797)
* Adds comments related to the public RPC endpoints

* Update docs/src/cluster/rpc-endpoints.md

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

Co-authored-by: Brian Long <bl@triton.one>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-03-02 19:15:35 +00:00
Trent Nelson 5877e38baa docs: resolve svgbob binary 2022-02-28 17:33:30 -07:00
Tyera Eulberg 0de7b757d0
Update durable-nonce docs (#23397)
* Use parsable blockhash string

* Remove deprecated cli command from docs
2022-02-28 17:03:26 -07:00
tigarcia 22d2a40133 Updating known validators in the docs for testnet 2022-02-28 09:57:57 -07:00
alnoki d1f141484e
Update derivation path integer sign specification (#23336)
Previously, `ACCOUNT` and `CHANGE` were specified as being positive integers, but since both can assume a value of 0 (as in the given example), they should be specified as nonnegative integers
2022-02-24 16:49:58 -07:00
Trent Nelson 6a0d2fcfa7 docs: post merge review for #23286 2022-02-24 01:53:54 +00:00
Masaya Funakoshi 0dd36f3201
Grammar corrections PR#23206 Review Fixes (#23291)
* Accounts page grammar edits

* calling-between-programs page grammar edits

* PR #23206 "Grammar Corrections" review fixes

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

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

* Update docs/src/developing/programming-model/accounts.md

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

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-02-23 15:34:13 -07:00
Trent Nelson 09d064c090 docs: clarify spl token account creation handling for exchange integrations 2022-02-23 00:22:44 +00:00
Masaya Funakoshi ff604efc44
Grammar corrections (#23206)
* Accounts page grammar edits

* Runtime page grammar edits

* calling-between-programs page grammar edits

* transactions page grammar edits

* small changes with e.g. following Chicago Manual
2022-02-22 15:23:47 -08:00
Trent Nelson fa680a35ea docs: remove wallet ads 2022-02-16 22:19:10 -07:00
sethgirvan b66a304e7b
docs: fix typos (#22320) 2022-02-16 22:57:22 -06:00
gagliardetto aaf657297f
Update jsonrpc-api.md (#23190) 2022-02-16 16:55:39 +00:00
Tyera Eulberg 917113914d
Remove references to instruction parsing in SPL Token -> Depositing section (#23161) 2022-02-15 23:45:00 +00:00
Jerry bb50259956
Typo fix (#23152)
Fixed a type in the documentation.
2022-02-15 19:47:19 +00:00
SAITO Kosuke a43d04d295
change url (#23132)
Co-authored-by: cosuke2000 <saitou@matchingood.co.jp>
2022-02-15 10:57:03 -06:00
Tyera Eulberg d2a407a9a7
Update deprecated methods and recommend getBlocksWithLimit (#23127) 2022-02-14 23:43:18 -07:00
thepalmtrees 22a2a4252a
fix typo (#23107) 2022-02-13 08:52:03 -07:00
Michael Vines 05b387a852 Update minimum port range due to addition of QUIC port 2022-02-12 08:49:34 -08:00
Yueh-Hsuan Chiang 0855cef76c
Proposal for RocksDB Compaction optimized for Solana BlockStore (#21358) 2022-02-11 21:46:06 -08:00
Jack May 3d9874b95a
Add fees to tx-wide caps (#22081) 2022-02-11 16:23:16 -08:00
Anton 4bd6a231d2
mention staking reward in getInflationReward doc (#23073) 2022-02-11 03:57:26 +00:00
Charlie You a7598b6d78
Add deactivate-feature feature to test validator cli (#23041) 2022-02-09 13:45:24 -08:00
sakridge 57a9146fa1
tpu docs (#23035) 2022-02-09 21:58:26 +01:00
wil-se eaf2df99c6 Fix typo
Fix typo
2022-02-06 08:21:24 -08:00
Trent Nelson 2fda90e414 docs-ci: prebuild cli bin with output to appease TravisCI hang check 2022-02-02 08:29:57 +00:00
Trent Nelson eac4a6df68 rpc: use minimal mode by default 2022-02-01 19:00:06 -07:00
Justin Kat 29bf1e2529
Small punctuation fix (#22838) 2022-01-31 11:21:35 -07:00
Bryan Ischo 8b1cde83c1 Update vote-signing.md to remove references to anachronistic behavior 2022-01-25 15:27:58 -08:00
tanliwei fd0f5e4d12 Fix typos
Fix typos
2022-01-23 18:39:46 -08:00
Arash 714a344937 fix: flag was incorrect in doc 2022-01-23 12:59:15 -08:00
Steve James 2b111cd631
fix typo in docs (#22690) 2022-01-23 08:46:19 -07:00
Kirill Fomichev 31ed4c18f9
Accountsdb: support config in Json5 (#22605)
* accountsdb: support config in json5

* update docs

* remove not required dependencies

Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
2022-01-22 18:00:06 -08:00
Radu Pașparugă a300e2d2dc
docs: fix broken link for "transaction-id" (#22682) 2022-01-22 19:34:28 +00:00
filip 373f200ab8
Update introduction.md (#22623)
A few fixes for grammatical and spelling issues.
2022-01-20 23:31:52 -07:00
Michael Vines 901b2881fb Add more details about vote account key rotation 2022-01-17 00:51:13 -08:00
Yihau Chen f12a8fcd73
docs: fix get fee for message docs (#22501) 2022-01-14 01:34:05 -07:00
Tyera Eulberg b27333e52d
Update docs vis-a-vis prohibition of RentPaying accounts (#22438)
* Rent-exempt docs for exchange integrations

* Remove discussion of rent-paying accounts from developing docs

* Improve verbiage
2022-01-12 19:32:19 +00:00
Michael Vines 37ebd9bd9e Update default --dynamic-port-range values to include some room for additional ports that may be added in the future 2022-01-05 16:50:15 -08:00
Michael Vines cd24ec2ef6 --dynamic-port-range now requires at least 12 ports 2022-01-05 16:12:06 -08:00
Justin Starry 9725f2e319
docs: Fix typo in proposal (#22282) 2022-01-04 22:11:51 +00:00
Justin Starry ca5591bfa0
Updates to the address lookup table proposal (#22269) 2022-01-04 11:35:20 +00:00
glihm 9665da9d0b
Documentation typos (#22262)
* Fix typo markdown link

* Add missing punctuation full stop
2022-01-04 18:49:14 +08:00
Lijun Wang 5b6027bef0
Fixed issue #22124 -- missing historical data if slot updated later. (#22193)
* Fixed issue #22124 -- missing historical data if slot updated later.

* Fixed a couple of comments
2022-01-03 16:10:44 -08:00
Tyera Eulberg 9029b46570
Fix token-balance owner type in docs (#22240) 2022-01-03 18:00:13 +00:00
Michael Vines 56fd32bda2 Remove Xargo.toml reference 2022-01-03 17:12:45 +00:00
Jacob Creech 4e4577afbe
chore: update transaction error links in docs (#22189) 2021-12-31 06:05:29 +08:00
Lijun Wang 135af08b8b
Add docs for notifying transactions via plugin (#22097)
* Added documentations for streaming transactions via plugin

* Updated comments for transaction info

* Updated doc on transaction format

* Removed a white space

* Apply suggestions from code review from Tyera

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

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-12-29 16:22:13 -08:00
Samuel Oloruntoba f643a8b425
docs: fix typo (#22116) 2021-12-25 21:12:06 -07:00
Justin Starry ec7536faf6
Add test to enforce that program id account info for CPI is optional (#22069)
* Update tests to demonstrate that program id account info for CPI is optional

* Clean up comments that say that program id account info is required
2021-12-24 00:43:15 +01:00
splintred 67c8034fe5
Update jsonrpc-api.md to document 'owner' property (#22074)
* Update jsonrpc-api.md to document 'owner' property

Documents 'owner' property on the token balances struct.

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

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-12-22 21:48:27 +00:00
Alexander Meißner ba8e15848e
Fix #21986 (#22035)
* Partial revert "Updates documentation around what needs to be passed in CPI. (#21633)"

* Enforces the program_id being passed explicitly by removing it from get_instruction_keyed_accounts().

* instruction_accounts => instructions_account
2021-12-21 12:53:22 +01:00
Lijun Wang 2347f65133
The sidebar for the plugin doc is showing the item as "Overview", corrected the styles (#22033) 2021-12-20 17:26:43 -08:00
Kardashev 116517fb6d
Fix weird formatting of bullets (#22013) 2021-12-20 13:16:13 -07:00
Jack May b8eff3456c
Update program close docs (#22026) 2021-12-20 10:30:06 -08:00
segfaultdoctor df6a4930b9
chore: add blockSubscribe api docs (#22002)
Co-authored-by: Zano <segfaultdoctor@protonmail.com>
2021-12-19 09:23:28 -07:00
jdcaballerov 3398f5a2f5
Update getSignaturesForAddress and getConfirmedSignaturesForAddress2 RPC call description (#21955)
* Update jsonrpc-api.md

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

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

* Wrap 80chars

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

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-12-16 19:19:41 +00:00
losman0s 9b06d64eb8 Add option to load accounts from file
This introduces the `--clone-from-file` option for
solana-test-validator. It allows specifying any number of files
(without extension) containing account info and data, which will be
loaded at genesis. This is similar to `--bpf-program` for programs
loading.

The files will be searched for in the CWD or in `tests/fixtures`.

Example: `solana-test-validator --clone-from-file SRM_token USD_token`
2021-12-15 11:05:02 -08:00
Artie Kushner d13a5056f1
Typo (#21898)
Sentence grammatically incomplete. "Typo"
2021-12-14 18:04:38 +00:00
Raza 746869fdac
Add missing word "that" (#21878) 2021-12-14 09:20:31 -05:00
Brian Anderson 033106ed81
Add solana-cli-config link to rust-api.md (#21840) 2021-12-14 00:33:10 -07:00
Tyera Eulberg fd212fd2a4 Add notes about new v1.9 rpc apis 2021-12-13 19:02:21 -07:00
Tyera Eulberg eebaf89874 Remove old notes referring to EOL versions 2021-12-13 19:02:21 -07:00
Lijun Wang 379e3ec848
Add Accountsdb plugin documentations (#21746)
Add the public facing documentation about the plugin framework: explaining the interface, how to load plugin and the example PostgreSQL plugin implementation.
Updated the rust documentation for the plugin interfaces for accounts and slot.
This changes are targeted for v1.8. Information about transactions will be updated later.
2021-12-10 15:54:40 -08:00
bji 6d18b6bab5
Fixed minor issues with the cluster overview docs which had confused some (#21744)
new users.
2021-12-09 13:11:52 -07:00
Justin Starry 0224a8b127
Update address map proposal to improve dev experience (#21576)
* Update address map proposal to improve dev experience

* another revision to match implementation
2021-12-07 22:58:18 -05:00
Boris Vujicic a2477c1f32
Docs: Solflare web/app updates (#21540)
* Update Solflare description

* Add Solflare to mobile wallets

* Sort mobile wallets alphabetically

* Sort web wollets alphabetically

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

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

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

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

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

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2021-12-07 11:04:46 -05:00
Melroy van den Berg b57097ef18
docs: Fix SOL staked formula (#21615)
Fix the formula on the proposal page: https://docs.solana.com/implemented-proposals/ed_overview/ed_validation_client_economics/ed_vce_state_validation_protocol_based_rewards
2021-12-07 10:36:36 -05:00
Tyera Eulberg 873fe81bc0
Add offline and fee-payer utilities to CLI vote module (#21579)
* create-vote-account: add offline, nonce, fee_payer capabilities

* vote-authorize: add offline, nonce, fee-payer

* vote-update-things: add offline, nonce, fee-payer

* withdraw-vote: add offline, nonce, fee-payer

* close-vote-acct: add fee-payer

* Allow WithdrawVoteAccount to empty account, since offline operations cannot perform account state queries as in CloseVoteAccount

* Fix lint

* Update offline-signing docs

* Add some parse unit tests

* Add offline integration test
2021-12-06 15:54:50 -07:00
Alexander Meißner 6f3f6eddb2
Updates documentation around what needs to be passed in CPI. (#21633) 2021-12-06 21:20:16 +01:00
Brian Anderson f3c2803af9 Fix spelling of 'Borsh' 2021-12-05 21:06:13 -08:00
Trent Nelson d6f22433d0 Bump version to v1.10.0 2021-12-04 20:17:54 +00:00
Michael Vines 1ae9cdcb43 RPC: Ensure innerInstructions/logMessages metadata is `null` when `--enable-cpi-and-log-storage` is disabled 2021-12-02 16:24:54 -08:00
Colin Ogoo 393c7653c7
fix(web3.js): VoteAccount.fromAccountData() throws range error (#21091)
* fix(vote-account): rangeError [ERR_OUT_OF_RANGE] error

The web3 buffer layout is out-of-date with the current `VoteState` implementation. The buffer layout
is updated to match the structure in
https://github.com/solana-labs/solana/blob/master/account-decoder/src/parse_vote.rs

fix #20786

* docs(vote account): update reference to match new payload

* fix(vote-account): update buffer layout for prior voters

Update buffer layout for prior voters to match serialized data

* fix(vote-account): response showing buffers instead of public keys

transform buffers into public keys

* refactor(vote account): extract parsing into function calls

* feat(vote account): address PR comments

* fix(web3.js vote account): start prior voters array from given index

* fix(web3.js vote account): incorrect data for prior voters array

* Update web3.js/src/vote-account.ts

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2021-11-30 13:55:21 -05:00
CrazySerGo a275ce5f4d Update restart-cluster.md 2021-11-28 22:31:12 -08:00
Aiham 88f8c89f18
Fix typo: a -> an (#21422) 2021-11-24 23:01:30 -07:00
Tyera Eulberg 6546c3cbae
Fixup processed docs (#21316) 2021-11-17 06:52:09 +00:00
Ben Newhouse 7e600bd451
Fix BPF parameter alignment to work regardless of target ABI (#21271) 2021-11-16 16:02:22 +01:00
Arthur Burkart 119549403d
docs: Replaces "is_rooted" with "is_connected" (#20762) 2021-11-15 09:52:26 -08:00
Ikko Ashimine ae207b7dbb
Fix typo in bankless-leader.md (#21152)
Reseting -> Resetting
2021-11-03 16:56:46 -06:00
Jeff Biseda 221b0f6841
Optimistic transaction propagation signal doc #20283 2021-11-03 14:20:27 -07:00
Jon Cinque ec86ff8fb3
docs: Update language around immutable programs (#21116) 2021-11-01 21:41:49 +01:00
Tyera Eulberg 0b8fcf0808
Check whether vote-authorize-voter-checked new vote authority is_interactive (#21051)
* Check interactive signer for vote-authorize-voter-checked

* Recommend checked vote reauthorization
2021-10-28 20:48:16 +00:00
Bradley D. Thornton f3e49cdf90
Update web-wallets.md (#20871)
Added Vivaldi to the list of browsers with support for Phantom. I've been using this browser for Phantom and have installed it on a few dozen customer's Chromium based Vivaldi browsers, on both Windows and various Linux distros over the past few months with flawless, error free operation.
2021-10-27 10:06:15 +01:00
Colin Ogoo 521b7b79cc
fix(docs): missing import (#20788)
add missing import of `Connection`
2021-10-26 11:44:00 -06:00
yihau dec104c580 feat: update getClusterNodes 2021-10-26 10:00:28 -07:00
Jack May af405f0ed7
Hide deploy from cli subcommands (#20901) 2021-10-25 09:53:21 -07:00
yihau aa13c90dd7 feat(docs): add transactionCount to getEpochInfo response 2021-10-24 17:45:04 -07:00
Slavomir 63f94a4db3 Fix response examples for `getTokenAccountsByOwner` and `getTokenAccountsByDelegate` 2021-10-23 09:24:48 -07:00
Brian Anderson f729dec321
Update 'Developing with Rust' GitHub links (#20860)
* Update old GitHub links in 'Developing with Rust' docs

* exclude_entrypoint -> no-entrypoint in 'Developing with Rust'
2021-10-22 01:55:46 -06:00
Jack May 451aac7f7f
More deterministic fee info (#20825) 2021-10-20 10:52:48 -07:00
Arthur Burkart 0c7bade0b2
docs: Amend RPC Transaction History proposal (#20794)
# Problem

The initial proposal ruled out implementing BigTable queries for
the `getBlockTime` RPC, but then it was implemented a couple months
later. Indicating that the functionality was never implemented in
the "implemented-proposals" document is a little confusing, so let's
bring the document in line with what actually happened. 🦾

# Summary of Changes

Remove the blurb about how `getBlockTime` was going to be deprecated
and add it to the list of calls that didn't yet support BigTable
queries at the time the proposal was written.
2021-10-19 19:05:33 -06:00
Brian Anderson cc4bb5a451
Expand Rust API docs entry point (#20770) 2021-10-19 13:47:55 -06:00
Elliot Lee 84660bbf3d
optimistic-confirmation-and-slashing - fix typos (#20741) 2021-10-18 13:30:05 -04:00
Trent Nelson 9543fd9cdd docs: prefer `solana gossip` to `solana-gossip spy` 2021-10-15 18:05:24 +00:00
Jack May 94ca5063de
Comprehensive compute fees (#20531)
* Comprehensive fees proposal

* Updated
2021-10-11 17:14:21 -07:00
Justin Starry 03d3e0098e
docs: Remove outdated instructions for managing stake accounts (#20555) 2021-10-11 19:58:35 +00:00
Yihau Chen 185c9f9e8f
fix(docs): getInflationRate epoch type from f64 => u64 (#20589) 2021-10-11 09:44:38 -06:00
Justin Starry 17314f4a95
Revert "docs: Explain what `solana-stake-accounts new` does (#20401)" (#20554)
This reverts commit 00c6536528.
2021-10-08 19:26:01 +00:00
Ted Robertson 00c6536528
docs: Explain what `solana-stake-accounts new` does (#20401) 2021-10-08 11:35:44 -04:00
Tyera Eulberg 5e431fbee2
Update deprecated snapshot/fees/blockhash api docs (#20522)
* Move and notate deprecated blockhash/fees docs

* Update getHighestSnapshotSlot note
2021-10-07 20:38:28 +00:00
Tyera Eulberg d56ad8ff4f
Update expected removal version to match backward-compatibility policy (#20515) 2021-10-07 18:51:16 +00:00
Trent Nelson 767f740305 Bump version to 1.9.0 2021-10-06 17:57:41 -07:00
Sean Young 2400e86d13 Simplify ed25519 instruction index
Allow u16::MAX to be specified for the instruction index. This makes it
possible to specify the current instruction, so it is not necessary to
know the instruction number.
2021-10-05 14:14:05 +01:00
Ted Robertson 2d5b471c09 Staking docs: link to overview 2021-10-04 17:03:12 -06:00
sgmoore 4b2fe9b20d Update README.md - fix two typos
Fix two misspellings
2021-10-02 09:31:26 -07:00
Lijun Wang fe97cb2ddf
AccountsDb plugin framework (#20047)
Summary of Changes

Create a plugin mechanism in the accounts update path so that accounts data can be streamed out to external data stores (be it Kafka or Postgres). The plugin mechanism allows

Data stores of connection strings/credentials to be configured,
Accounts with patterns to be streamed
PostgreSQL implementation of the streaming for different destination stores to be plugged in.

The code comprises 4 major parts:

accountsdb-plugin-intf: defines the plugin interface which concrete plugin should implement.
accountsdb-plugin-manager: manages the load/unload of plugins and provide interfaces which the validator can notify of accounts update to plugins.
accountsdb-plugin-postgres: the concrete plugin implementation for PostgreSQL
The validator integrations: updated streamed right after snapshot restore and after account update from transaction processing or other real updates.
The plugin is optionally loaded on demand by new validator CLI argument -- there is no impact if the plugin is not loaded.
2021-09-30 14:26:17 -07:00
Ted Robertson a7f2d9f55f
terminology.md: remove CBC block and unneeded filename (#20269) 2021-09-30 10:21:28 -04:00
Ted Robertson 38844a7010
Paper wallet: fix URI scheme (#20233) 2021-09-27 17:39:24 -06:00
Ted Robertson f24fff8495
stake-accounts.md: fix grammar, link Solana Explorer (#20270) 2021-09-27 22:09:07 +00:00
Ted Robertson f107aa296b
Wallet guide: fix grammar (#20228) 2021-09-27 10:20:13 -06:00
Ted Robertson af57bd3d48
Fix grammar in conventions.md (#20236) 2021-09-27 10:18:55 -06:00
Ted Robertson b95653331c
Fix typo (#20218) 2021-09-25 14:36:12 -04:00
Ted Robertson e9c839a9e7
gossip.md: simplify Markdown (#20201)
No need for \-escaping
2021-09-25 09:19:56 -04:00
Ted Robertson cb4121da19
Terminology: link BPF (#20199) 2021-09-25 09:15:14 -04:00
Ted Robertson c137c50d15
Fix blatant md formatting at the very top (#20198) 2021-09-25 09:14:26 -04:00
Ted Robertson 20fbf09072
Improve grammar in terminology/ledger (#20197) 2021-09-25 09:12:15 -04:00
Israel Ferrer Camacho 9653f6b28d
Fix public key md links (#20162) 2021-09-24 11:00:20 -04:00
Tyera Eulberg a70fd8e606
Update TransactionError link to docs.rs (#20145) 2021-09-23 14:55:28 -06:00
cryptogosu b16f2da444
Added web3 reference guide (#19970)
Added web3 reference guide

Added web3 reference guide
2021-09-22 09:38:38 -04:00
Sean Young d714cf659c Proposal: log binary data for Solidity
The program_id is not needed on "Program return data: " because it
always preceeded by the program invoke message, so no need to repeat
the program id. Also rename this to "Program return: " since "data"
is redundant.
2021-09-22 07:59:06 +01:00
Christoph Michel 3d0db28d12
Fix typo in docs/cli/deploy-a-program (#20097) 2021-09-21 15:50:42 -06:00
Ryan M. Shea 8dbed193c2
Add new logos to README files and docs (#20049)
* Add new logos to README files and docs

* Add explorer logos
2021-09-21 13:35:36 -06:00
visortelle 073c5359b0
Fix broken links in terminology.md (#19978) 2021-09-17 15:55:31 -06:00
visortelle 1ec22572f2
Fix typos in terminology.md (#19977) 2021-09-17 10:30:10 -06:00
Drew Taylor 2a29072019
Add `solana-close-vote-account` to CLI (#19756) 2021-09-13 08:13:59 -07:00
cryptogosu 62189c9f3c
Web3 docs updated with quickstart guide (#19457)
Web3 docs updated with quickstart guide

Web3 docs updated with quickstart guide
2021-09-13 16:42:09 +02:00
Michael Vines 0f76077969
Add `--destake-vote-account <VOTE_ADDRESS>...` argument to `create-snapshot` command (#19749) 2021-09-11 14:44:37 -07:00
Trent Nelson 999ba9e026 docs: be less specific about zen3 skus 2021-09-11 05:01:55 +00:00
Sean Young 098585234d Add return data implementation
This consists of:
 - syscalls
 - passing return data from invoked to invoker
 - printing to stable log
 - rust and C SDK changes
2021-09-10 14:25:54 +01:00
Ryan M. Shea 590e113f16
Grammar nits (#19703)
* Grammar nits

* add Phantom to staking docs
2021-09-07 22:24:43 -06:00
Sean Young 8b9e472a6c feat: add ed25519 signature verify program
Solang requires a method for verify ed25519 signatures. Add a new
builtin program at address Ed25519SigVerify111111111111111111111111111
which takes any number of ed25519 signature, public key, and message.
If any of the signatures fails to verify, an error is returned.

The changes for the web3.js package will go into another commit, since
the tests test against a released solana node. Adding web3.js ed25519
testing will break CI.
2021-09-05 18:59:37 +01:00
bitkeepwallet f0be3e4ea9
Update web-wallets.md (#19648) 2021-09-05 08:59:49 -07:00
Zahin Mohammad f68ca3895b
docs: fix typo (#19646) 2021-09-04 12:26:38 -06:00
Zahin Mohammad 497b6c152f
docs: fix typo (#19641) 2021-09-04 16:48:10 +00:00
Pierre/Long 8352bc48db
update Telegram link at docs (#19638) 2021-09-04 08:08:36 +00:00
Bryan Ischo e288459cf2 Removed the --authorized-withdrawer argument from create-vote-account
The parameter is now a required third argument.  This is because authorized
withdrawer should never be the same as vote account keypair or validator
identity keypair for security reasons.

Added a --allow-unsafe-authorized-withdrawer to override this restriction if
necessary.
2021-09-03 16:45:06 -07:00
Brooks Prumo 8ac94b2cf4
Add Incremental Snapshot support to RPC (#19559)
#### Problem

There's no way to get incremental snapshot information from RPC.

#### Summary of Changes

- Add new RPC method, `getHighestSnapshotSlot` that returns a `SnapshotSlotInfo`, which contains both the highest full snapshot slot, and the highest incremental snapshot slot _based on_ the full snapshot.
- Deprecate old RPC method, `getSnapshotSlot`
- Update API docs

Fixes #19579
2021-09-02 15:25:42 -05:00
Trent Nelson f4f14c42bb
docs: update spl token exchange integration (#19573)
* docs: update spl token exchange integration

* Apply suggestions from code review

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

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-09-02 11:32:08 -06:00
Lijun Wang 8378e8790f
Accountsdb replication installment 2 (#19325)
This is the 2nd installment for the AccountsDb replication.

Summary of Changes

The basic google protocol buffer protocol for replicating updated slots and accounts. tonic/tokio is used for transporting the messages.

The basic framework of the client and server for replicating slots and accounts -- the persisting of accounts in the replica-side will be done at the next PR -- right now -- the accounts are streamed to the replica-node and dumped. Replication for information about Bank is also not done in this PR -- to be addressed in the next PR to limit the change size.

Functionality used by both the client and server side are encapsulated in the replica-lib crate.

There is no impact to the existing validator by default.

Tests:

Observe the confirmed slots replicated to the replica-node.
Observe the accounts for the confirmed slot are received at the replica-node side.
2021-09-01 14:10:16 -07:00
Matthew Callens d11b0abf11
fix typo in calling-between-programs developing documentation (#19502) 2021-08-30 19:17:43 +00:00
Jack May f81bfc8462
Limit message encoding to base-64 (#19468) 2021-08-29 19:53:37 -07:00
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
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