Commit Graph

777 Commits

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