Commit Graph

1039 Commits

Author SHA1 Message Date
Nick Frostbutter 2090ad0c2e
[docs] corrected use of confirmTransaction in examples (#28547)
fix: updated method calls
2022-10-24 16:49:47 -05:00
Ikko Ashimine ff18bb3a06
Fix typo in restart-cluster.md (#28538)
occurence -> occurrence
2022-10-22 04:02:07 +08:00
sakridge b6f5cc6ebf
Update TVU with transaction status service (#28505)
There is no storage stage
2022-10-21 14:37:30 +02:00
sakridge 580b4f81bf
Fix optimistic concurrency control link (#28534) 2022-10-21 14:26:58 +02:00
Justin Starry 199398d5c4
Rename transaction v2 proposal (#28508)
Rename transactions v2 proposal to clear up versioning
2022-10-21 09:29:22 +08:00
bji a2e1228c1f
proposal: Added timely vote credits proposal. (#28162)
Added timely vote credits proposal.
2022-10-20 22:46:47 +00:00
Steven Luscher 7146220539
chore: update Docusaurus deps to latest available (#28514) 2022-10-20 13:54:26 -07:00
Justin Starry 58e27d45dc
RPC: respect data slice config if account parsing fails (#28387)
* RPC: respect data slice config if account parsing fails

* Remove check_slice_and_encoding method
2022-10-19 16:49:12 +08:00
Brahma f58c6c7c76
docs: improve transaction fee documentation (#28425)
* docs: clean up transaction fee page

- fix a few typos & sentence fragments
- try to simplify the explanation around burned fees

* more semantic optimization
2022-10-18 15:47:57 +00:00
Justin Starry 438d96e499
RPC: Return the data length for get account requests (#28421) 2022-10-18 01:56:04 +08:00
Justin Starry 70445b7402
Refactor: Rename `max_invoke_depth` to `max_invoke_stack_height` (#28427)
Refactor: Rename max_invoke_depth to max_invoke_stack_height
2022-10-17 23:54:56 +08:00
Alexey Skibin 108a02cfd4
Add off-chain messages support (#27456) 2022-10-17 11:19:12 -04:00
Satyam Bansal c5e59a081c
Fix Grammatical mistake on Get Started documentation page (#28347)
Fix Grammatical mistake

Fix Grammatical mistake on Get started page
2022-10-12 16:50:19 +00:00
Yihau Chen 4cbf59a5dd
docs: fix exchanges integration (#28315)
* fix description

* get blocks use devnet data
2022-10-10 05:03:44 +00:00
Dmitri Makarov f4dd24491f Migrate SDK from BPF to SBF 2022-10-07 08:57:06 -04:00
Yihau Chen c10c2f80d0
docs: use devnet blocks and transactions as v0 transaction examples (#28288) 2022-10-07 08:53:04 +00:00
HaoranYi 6eeedaec4f
[Proposal ]Partitioned Inflationary Rewards Distribution (#27455)
* add epoch-boundary-stake-reward proposal

* 80 col

* clarify rewarding interval selection for skipping slots

* update proposal with reward credit based on jeff's comments

* Update docs/src/proposals/epoch-boundary-stake-reward.md

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

* Update docs/src/proposals/epoch-boundary-stake-reward.md

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

* rename

* update proposal with more feedbacks

* revise

* update with carl's feedback

* use mathmatic notation to clarify interval boundaries

* more feedbacks

* remove parenthesis

* update snapshot paragraph

* update with reward calc service

* more feedbacks

* update with more feedbacks

* more feedbacks from carllin

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-10-06 14:26:47 -05:00
Michael Vines eea1d3a088
Update restart guide to include the use of `solana-ledger-tool latest-optimistic-slots` (#28267) 2022-10-06 10:54:39 -07:00
Jon Cinque 0aea2da091
docs: Update node build version to v16 (#28264) 2022-10-06 19:25:18 +02:00
Kartik Soneji c7c67f010b
docs: Better install command for Windows (#28138)
Pass install command to `cmd` on Windows
2022-10-06 12:38:48 +02:00
Abraar 8d3e924dd2
Fix typo in Versioned Transactions (#28213) 2022-10-04 08:29:24 +00:00
acheron 83f9c14d5c
docs: Rewrite the Quick Start guide to rely exclusively on playground (#28101)
* Update hello world docs client part

* Sign the transaction with playground wallet keypair

* Remove unused explorer image
2022-10-03 20:52:50 -05:00
Michael Vines df5f9f698f Surface the getVoteAccounts.epochCredits max-length constant in rpc-client-api 2022-09-26 21:58:19 -07:00
Nick Frostbutter c893f92508
[docs] versioned transactions and lookup tables (#28060)
* feat: added versioned transaction and ALT docs

* fix: relocated links and fixed sidebar parser
2022-09-27 07:16:18 +08:00
Alexander Meißner 71aee4fcaf
Feature: Explicitly limit `TransactionContext::instruction_trace_capacity` (#27938)
* Renames instruction_stack_capacity => instruction_stack_capacity.

* Replaces number_of_instructions_at_transaction_level by instruction_trace_capacity.

* Adds MaxInstructionTraceLengthExceeded.

* Adjusts TransactionContext::new() parameter.

* Adds feature gate limit_max_instruction_trace_length.

* Adds test_max_instruction_trace_length().
2022-09-26 10:47:16 +02:00
steviez 0a0d31e5fb
Add missing rootSlot documentation (#27709) 2022-09-22 14:59:31 -05:00
Justin Starry 91d556dc66
docs: Add versioned tx info to exchange integration guide (#27564)
* docs: Add versioned tx info to exchange integration guide

* feedback, extra tips, formatting
2022-09-22 14:19:36 +08:00
Tyera Eulberg fa0550da32
Add missing fields to JSON-RPC docs (#27964)
* Add docs for computeUnitsConsumed field

* Add confirmationStatus to getSignaturesForAddress response docs

* Make field-type formatting consistent
2022-09-21 11:59:30 -06:00
Will Hickey 8f96a39e73
Remove markdown file update from version increment-cargo-version.sh (#27851)
* Remove markdown file update from version increment-cargo-version.sh
* Update doc version numbers that were incorrectly advanced by increment-cargo-version.sh
* Revert incorrect doc change based on review feedback
2022-09-19 16:37:50 -05:00
Brian Anderson 0c1ff7c63d
Document the pubsub client APIs. (#27188)
* Document the pubsub client APIs.

* Apply suggestions from code review

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

* Update client/src/nonblocking/pubsub_client.rs

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

* Update pubsub_client docs

* Link pubsub docs to solana-rpc docs

* fmt

* Update solana_client references

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-09-15 16:39:16 -06:00
Yihau Chen aae07807cb
docs: fix wrong args in 'solana program set-buffer-authority' (#27817)
fix wrong args in 'solana program set-buffer-authority'
2022-09-15 19:03:27 +00:00
Tyera Eulberg 973a5fb0e9
Add new TransactionDetails level (#27601)
* Add new transaction details level

* Dedupe common code

* Update docs

* Respect showRewards parameter in tx meta
2022-09-15 10:00:30 -06:00
Yihau Chen 6eeff08b15
chore: fix docs pipeline (#27794)
* trigger docs build when .github/workflows/docs.yml changed

* echo tag info

* echo channel info

* echo any changes info

* bump tj-actions/changed-files@v29.0.7

* fix variable name

* fix broken link
2022-09-15 14:50:59 +08:00
Will Hickey c0e4379f43
Whickey/version v1.15 (#27739)
* Bump version to v1.13.0
* Bump version to v1.14.0
* Bump version to v1.15.0
2022-09-13 09:06:15 -05:00
Artie Kushner 836ba734ea Update validator-start.md
Typo (missing noun).
2022-09-12 07:23:54 -07:00
Nick Frostbutter cf1c44184c
[docs] quickstart guides (#27592)
* feat(wip): rust quickstart page

* feat: added quickstart pages

* fix: updated cards and card layout

* feat: added quickstart home (and to sidebar )

* fix: updated quickstarts

* fix: renamed to get started

* fix: typos and seo

* fix: JS example to interact with the onchain program
2022-09-10 02:36:04 +00:00
Tyera Eulberg 0bfc188375
Update getBlock/getTransaction rpc handling of return_data (#27672)
* Move return_data type to transaction-status crate

* Use UiTransactionReturnData in UiTransactionStatusMeta

* Fixup display handling

* Update docs
2022-09-08 21:10:57 +00:00
Tyera Eulberg 54284955de
Respect rewards parameter in getBlock transaction-level rewards (#27655)
* Respect options.show_rewards in UiTransactionStatusMeta

* Fixup docs
2022-09-08 10:17:02 -06:00
Tyera Eulberg 67b54b7634
Fixup docs formatting re: commitment configuration (#27561)
* Make commitment docs more consistent

* Add missing config field doc

* Make (optional) tag placement consistent
2022-09-02 08:42:07 -06:00
Tyera Eulberg 9b8bed86f9
Add getRecentPrioritizationFees RPC endpoint (#27278)
* Plumb priority_fee_cache into rpc

* Add PrioritizationFeeCache api

* Add getRecentPrioritizationFees rpc endpoint

* Use MAX_TX_ACCOUNT_LOCKS to limit input keys

* Remove unused cache apis

* Map fee data by slot, and make rpc account inputs optional

* Add priority_fee_cache to rpc test framework, and add test

* Add endpoint to jsonrpc docs

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

* Update docs/src/developing/clients/jsonrpc-api.md
2022-09-01 23:12:12 +00:00
Piyush Jaiswal b2002177be
Fixed typo and json standards in the document (#27557)
* fixed message.accountKeys typo

* Fixed parameter argument according to json standards
2022-09-01 14:27:20 -06:00
Nick Frostbutter 1f8258f547
[docs] developers home page (#27436)
* feat: developers landing page

* fix: updated links

* fix: updated labels for translateIds

* refactor: updated index page to use Card component

* style: removed whitespace

* refactor: added static labels for developer sidebar items

* feat: developer's sidebar and new layout file

* chore: removed whitespace

* fix: removed duplicate CLI sidebar item

* fix: card shadows and RPC card text
2022-08-31 12:32:36 -05:00
mwrites 59d61ee094
[docs] Terminology PDA - replace owner by authority (#27437)
replace owner by authority
2022-08-29 22:13:22 +00:00
Nick Frostbutter ad6b280b0a
[docs] Adding content pages under "developing" section (#26816)
* feat: added intro to dApps and programs pages

* style: removed whitespaces and updates MD syntax

* fix: spellcheck

* feat: what is rent page

* fix: fix typos and removed whitespaces

* fix: updated terminolgy

* feat: added what is web 3 page

* fix: removed dapps and web3 pages

* feat: added links to the developing sidebar

* fix: updated text based on comments

* fix: fixed link
2022-08-26 21:03:48 -05:00
Nick Frostbutter f6de4c6ccf
[docs] added commitment page (#27265)
feat: added commitment doc
2022-08-24 18:49:17 -05:00
Tyera Eulberg 62eebe6e6d
Parse address-lookup-table instructions (#27316)
* Parse address-lookup-table instructions

* Finish extend instruction handling

* Rename payer, recipient

* Update docs parsing status
2022-08-24 10:17:53 -06:00
Tyera Eulberg deb13abb1f
Update config parsing doc (#27340) 2022-08-23 15:45:27 +00:00
Tyera Eulberg 322fbc1406
Add documentation for JSON parsing (#27268)
* Add documentation about json parsing

* Link jsonParsed to info section

* Include version information
2022-08-22 23:06:38 -06:00
Nick Frostbutter 0d6a223e63
docs: updated "transaction fees" page (#26861)
* docs: transaction fees, compute units, compute budget

* docs: added messages definition

* Revert "docs: added messages definition"

This reverts commit 3c56156dfaaf17158c5eafbc5877080a83607a06.

* docs: added messages definition

* Update docs/src/transaction_fees.md

Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com>

* fix: updates from feedback

Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com>
2022-08-17 21:07:40 -05:00
Nick Frostbutter 5f195ba242
[docs] Docs sidebar/navbar restructure (#27005)
* fix: minor title changes

* fix: updated structure of 2 pages

* fix: proposals page and submitting one

added proposals page and made it clear how to submit one

* fix: minor update to docs home page

* fix: footer links

added more footer links and minor restructure

* fix: sidebar restructure

* fix: removed duplicate geyser link

* fix: sidebars and navbar

final separation of sidebars and updated navbar

* fix: formatting for the navbar icons

* fix: changes some sidebar links to refs

* style: changed order of footer's SPL link

* style: removed comment and fixed whitespace check
2022-08-15 21:23:39 -05:00
Ikko Ashimine 82dc789362
docs: fix typo in return-data.md (#27056)
langauge -> language
2022-08-10 11:29:34 -06:00
nickfrosty c7a997872b docs: updated absolute routes to local routes 2022-08-08 16:39:58 -05:00
Will Hickey ed8c224374
Bump version to v1.12 (#26967) 2022-08-06 13:20:30 -05:00
nickfrosty 4608155588 fix: fixed the incorrect/unknown redirects 2022-08-05 22:30:32 -05:00
github-actions[bot] fbf1bf6d86
Bump Version to 1.11.6 (#26906)
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-08-03 12:48:43 -05:00
Colin Ogoo a94920a4ea fix(formatting): trailling white space 2022-08-01 19:38:00 -06:00
Colin Ogoo aef8f1c6f0 style(formatting): wrap text lines to ~80char like the rest of the docs 2022-08-01 19:38:00 -06:00
Colin Ogoo 1e4e861764 Update docs/src/integrations/retrying-transactions.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-08-01 19:38:00 -06:00
Colin Ogoo b47649a771 Update docs/src/integrations/retrying-transactions.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-08-01 19:38:00 -06:00
Colin Ogoo 7e4f894061 fix(link): incorrect relative link 2022-08-01 19:38:00 -06:00
Colin Ogoo c1edaca621 style(note): convert code blocks to notes for legibility 2022-08-01 19:38:00 -06:00
Colin Ogoo b3dccdf266 style(prettier): fix formatting 2022-08-01 19:38:00 -06:00
Colin Ogoo d96edf4870 docs(integrations): docs for retrying transactions
Initial content from solana cookbook
2022-08-01 19:38:00 -06:00
Steven Luscher a0698d4cc3
Make it clear that `minContextSlot` in `sendTransaction` affects _preflight_ checks (#26845)
docs: make it clear that `minContextSlot` in `sendTransaction` affects _preflight_ checks
2022-07-29 10:50:42 -06:00
Nick Frostbutter 013d045981
[docs] added prettier config file (#26817)
feat: added prettier config file
2022-07-28 10:44:02 -07:00
github-actions[bot] 5d038b9d2a
Bump Version to 1.11.5 (#26758)
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-07-25 13:05:14 -06:00
kirill lykov 3396d4eccd
fix typo: ticck -> tick (#26711) 2022-07-23 14:23:10 +02:00
Tyera Eulberg f6eaa24cb7
Update maxSupportedTransactionVersion docs to explain what happens if parameter isn't present (#26728) 2022-07-21 22:27:13 -06:00
Brooks Prumo b10ea293af
rpc_client: Add get_stake_minimum_delegation_with_commitment() (#26697) 2022-07-20 20:26:47 -05:00
Ikko Ashimine a6c41367aa
docs: fix typo in blockstore-rocksdb-compaction.md (#26662)
Fix typo in blockstore-rocksdb-compaction.md

accross -> across
2022-07-18 13:37:40 -07:00
Brooks Prumo a8be960e05
Add RPC getStakeMinimumDelegation (#26638)
* Add RPC getStakeMinimumDelegation

* fixup! rpc

* fixup rpc

* fixup rpc client mock sender

* fixup docs

* pr: sort
2022-07-17 18:39:39 +00:00
Jeff Washington (jwash) 2b7cc107d8
typo (#26618) 2022-07-13 17:55:02 -05:00
github-actions[bot] fd5df1cf25
Bump Version to 1.11.4 (#26578)
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-07-11 23:30:38 -05:00
Tao Zhu 4a78dfe240
Clarify micro-lamports is unit of Compute Unit Price (#26486)
* to clarify micro-lamport is the unit of compute-unit price

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-07-07 16:06:34 -05:00
github-actions[bot] 9d937fb8a0
Bump Version to 1.11.3 (#26481)
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-07-07 14:39:46 -05:00
Tyera Eulberg f2abbcaf9c
Enable base58 and base64 encoding parameters for Memcmp filters (#26437)
* Minor refactoring of client RpcProgramAccountsConfig handling

* Enable explicit base58/base64 encoding of Memcmp filters, including client backward compatibility with nodes on old software

* Deprecate Memcmp::Encoding

* Remove deprecation warnings in rpc

* Remove deprecation warnings in cli

* Update docs

* Make variants self-documenting
2022-07-06 22:39:03 -06:00
Jeff Biseda f2fada9f21
document using ldb to drop rocksdb column families for downgrade scenarios (#26424) 2022-07-06 13:30:33 -07:00
Artie Kushner 1a87b6cd97 Updated link to compute budget struct
post ristretto reduction
2022-06-27 09:47:38 -07:00
Trent Nelson 3c33347723 docs: revert unintentional packaging changes 2022-06-24 23:08:27 +00:00
Trent Nelson 29aa45b38e docs: tune open file descriptor limit along with maps 2022-06-24 16:04:02 -06:00
Trent Nelson 78fcf89574 docs: aggregate sysctl knob optimization to one config file 2022-06-24 16:04:02 -06:00
Trent Nelson 66ad921200 docs: correct link target 2022-06-24 16:04:02 -06:00
github-actions[bot] 5c2f819f99
Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
Jack May a76a7b8361
update compute budget docs (#26014) 2022-06-22 16:46:37 -07:00
Tao Zhu 27295f55ad
Add `prioritization fee` to terminology (#26093)
* Add `prioritization fee` to terminolgy.md

Co-authored-by: Michael Vines <mvines@gmail.com>
2022-06-22 10:19:01 -05:00
Will Hickey 51f26dc96e
Bump version to 1.11.1 (#26104) 2022-06-21 12:07:46 -05:00
Steven Luscher 45d11f3d26
Implement `VoteInstruction::AuthorizeWithSeed` & `VoteInstruction::AuthorizeWithSeedChecked` (#25928)
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed`

* [vote_authorize_with_seed] You can now update a vote account's authority if it's a derived key for which you control the base key

* [vote_authorize_with_seed] Add test helper to create a vote account whose authorities are derived keys

* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeWithSeed`

* [vote_authorize_with_seed] Feature gate the `VoteInstruction::AuthorizeWithSeed` processor

* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to transaction status parser

* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to docs

* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed`

* [vote_authorize_with_seed] You can now update a vote account's authority (while checking that the new authority has signed) if it's a derived
key for which you control the base key

* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed` to transaction status parser

* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeCheckedWithSeed`
2022-06-13 20:36:44 -07:00
Dan Albert 734015115f
Update clusters.md (#24712) 2022-06-13 16:31:08 -06:00
behzad nouri b4190319a1
feat(nonce): adds system instruction to upgrade legacy nonce versions (#25789)
https://github.com/solana-labs/solana/pull/25788
permanently disables durable transactions with legacy nonce versions
which are within chain blockhash domain.

This commit adds a new system instruction for a one-time idempotent
upgrade of legacy nonce accounts in order to bump them out of chain
blockhash domain.
2022-06-10 00:04:29 +00:00
Ikko Ashimine c483141669 docs: fix typo in installer.md
necesary -> necessary
2022-06-07 09:46:21 -07:00
Artie Kushner 3bc8664a82 Update terminology.md 2022-05-25 18:08:49 -07:00
Michael c3cb1c9897
Update docs for validator identity change to include --no-wait-for-vote-to-start-leader (#25461) 2022-05-22 10:35:45 -07:00
dependabot[bot] 6b44550209
chore: bump normalize-url from 4.5.0 to 4.5.1 in /docs (#25450)
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 14:17:47 +08:00
dependabot[bot] 675aba70e3
chore: bump dns-packet from 1.3.1 to 1.3.4 in /docs (#25451)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 14:17:38 +08:00
dependabot[bot] 42cbbe5ed0
chore: bump path-parse from 1.0.6 to 1.0.7 in /docs (#25452)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 14:17:18 +08:00
Justin Starry 9309952071
docs: Run browserlist db update (#25448) 2022-05-22 04:17:05 +00:00
Jack May 397a14b127
Add warning to program derived address docs (#25412) 2022-05-20 10:19:41 -07:00
Alessandro Decina 9bf07ee206 More target_arch = "bpf" => target_os = "solana"
Continuing the work started in https://github.com/solana-labs/solana/pull/25358
2022-05-20 16:57:18 +10:00
Michael Vines c54e06355f
voteSubscribe pubsub notification now includes the vote transaction signature (#25291) 2022-05-19 18:28:46 -07:00
Brennan Watt 6af0546c14
Update tower-bft.md (#25376) 2022-05-19 12:52:37 -07:00
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