Commit Graph

634 Commits

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