Commit Graph

804 Commits

Author SHA1 Message Date
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