753 Commits

Author SHA1 Message Date
94ca5063de Comprehensive compute fees (#20531)
* Comprehensive fees proposal

* Updated
2021-10-11 17:14:21 -07:00
03d3e0098e docs: Remove outdated instructions for managing stake accounts (#20555) 2021-10-11 19:58:35 +00:00
185c9f9e8f fix(docs): getInflationRate epoch type from f64 => u64 (#20589) 2021-10-11 09:44:38 -06:00
17314f4a95 Revert "docs: Explain what solana-stake-accounts new does (#20401)" (#20554)
This reverts commit 00c6536528.
2021-10-08 19:26:01 +00:00
00c6536528 docs: Explain what solana-stake-accounts new does (#20401) 2021-10-08 11:35:44 -04:00
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
d56ad8ff4f Update expected removal version to match backward-compatibility policy (#20515) 2021-10-07 18:51:16 +00:00
767f740305 Bump version to 1.9.0 2021-10-06 17:57:41 -07:00
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
2d5b471c09 Staking docs: link to overview 2021-10-04 17:03:12 -06:00
4b2fe9b20d Update README.md - fix two typos
Fix two misspellings
2021-10-02 09:31:26 -07:00
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
a7f2d9f55f terminology.md: remove CBC block and unneeded filename (#20269) 2021-09-30 10:21:28 -04:00
38844a7010 Paper wallet: fix URI scheme (#20233) 2021-09-27 17:39:24 -06:00
f24fff8495 stake-accounts.md: fix grammar, link Solana Explorer (#20270) 2021-09-27 22:09:07 +00:00
f107aa296b Wallet guide: fix grammar (#20228) 2021-09-27 10:20:13 -06:00
af57bd3d48 Fix grammar in conventions.md (#20236) 2021-09-27 10:18:55 -06:00
b95653331c Fix typo (#20218) 2021-09-25 14:36:12 -04:00
e9c839a9e7 gossip.md: simplify Markdown (#20201)
No need for \-escaping
2021-09-25 09:19:56 -04:00
cb4121da19 Terminology: link BPF (#20199) 2021-09-25 09:15:14 -04:00
c137c50d15 Fix blatant md formatting at the very top (#20198) 2021-09-25 09:14:26 -04:00
20fbf09072 Improve grammar in terminology/ledger (#20197) 2021-09-25 09:12:15 -04:00
9653f6b28d Fix public key md links (#20162) 2021-09-24 11:00:20 -04:00
a70fd8e606 Update TransactionError link to docs.rs (#20145) 2021-09-23 14:55:28 -06:00
b16f2da444 Added web3 reference guide (#19970)
Added web3 reference guide

Added web3 reference guide
2021-09-22 09:38:38 -04:00
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
3d0db28d12 Fix typo in docs/cli/deploy-a-program (#20097) 2021-09-21 15:50:42 -06:00
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
073c5359b0 Fix broken links in terminology.md (#19978) 2021-09-17 15:55:31 -06:00
1ec22572f2 Fix typos in terminology.md (#19977) 2021-09-17 10:30:10 -06:00
2a29072019 Add solana-close-vote-account to CLI (#19756) 2021-09-13 08:13:59 -07:00
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
0f76077969 Add --destake-vote-account <VOTE_ADDRESS>... argument to create-snapshot command (#19749) 2021-09-11 14:44:37 -07:00
999ba9e026 docs: be less specific about zen3 skus 2021-09-11 05:01:55 +00:00
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
590e113f16 Grammar nits (#19703)
* Grammar nits

* add Phantom to staking docs
2021-09-07 22:24:43 -06:00
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
f0be3e4ea9 Update web-wallets.md (#19648) 2021-09-05 08:59:49 -07:00
f68ca3895b docs: fix typo (#19646) 2021-09-04 12:26:38 -06:00
497b6c152f docs: fix typo (#19641) 2021-09-04 16:48:10 +00:00
8352bc48db update Telegram link at docs (#19638) 2021-09-04 08:08:36 +00:00
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
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
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
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
d11b0abf11 fix typo in calling-between-programs developing documentation (#19502) 2021-08-30 19:17:43 +00:00
f81bfc8462 Limit message encoding to base-64 (#19468) 2021-08-29 19:53:37 -07:00
355a23c8f6 Deprecate old and document new RPC APIs (#19456) 2021-08-27 05:22:53 -07:00
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
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