680 Commits

Author SHA1 Message Date
mergify[bot]
b7b56d5016
Docs: Solflare web/app updates (#21540) (#21668)
* 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>
(cherry picked from commit a2477c1f32404b17d09072edf8ab81c5d0678fc6)

Co-authored-by: Boris Vujicic <turshija@gmail.com>
2021-12-07 16:44:28 +00:00
mergify[bot]
18e3a635b4
docs: Fix SOL staked formula (#21615) (#21667)
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

(cherry picked from commit b57097ef18ab250aeb4ea8d3d111748ab4c41440)

Co-authored-by: Melroy van den Berg <melroy@melroy.org>
2021-12-07 16:01:12 +00:00
mergify[bot]
0e969015fc
Add offline and fee-payer utilities to CLI vote module (#21579) (#21649)
* 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

(cherry picked from commit 873fe81bc048599b540cf511872380d77be38f56)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-12-07 01:51:02 +00:00
mergify[bot]
60085305b4
Fix spelling of 'Borsh' (#21624)
(cherry picked from commit f3c2803af92c67272050a4c75ba64826a9d6e2b4)

Co-authored-by: Brian Anderson <andersrb@gmail.com>
2021-12-06 05:31:28 +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 00c6536528975c3b4041510f48b39536805ea35a.
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