Commit Graph

713 Commits

Author SHA1 Message Date
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
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
2a877ae06e docs: update devnet start args with new validators 2021-08-19 22:43:49 -06:00
a587eec20b docs: Remove decommissioned testnet archetype validator 2021-08-19 22:43:49 -06:00
eced50d103 docs: correct known validator operator 2021-08-19 22:43:49 -06:00
40613161a0 docs: trust minimize 2021-08-19 22:43:49 -06:00
e0bc5fa690 validator: Trusted validators are now called known validators 2021-08-19 22:43:49 -06:00
169ded9a70 docs: Mainnet Beta inflation has been enabled for quite some time 2021-08-19 22:43:49 -06:00
c053df143f RPC: add option to exclude accounts from get_supply (#19270) 2021-08-17 23:32:58 +00:00
b15fa9fbd2 Add EtcdTowerStorage 2021-08-14 09:46:36 -07:00
0b50bb2b20 Deprecate FeeCalculator returning APIs (#19120) 2021-08-13 09:08:20 -07:00
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
aa688e4549 fix typo (#19111) 2021-08-06 19:52:54 -07:00
d60ccf64e1 bump recommended maps/nofiles 2021-08-04 11:15:18 -06:00
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
4d0cd9b283 Added missing method to index and updated token account methods docs. (#18906) 2021-07-28 16:13:06 -06:00
e7a687d7ee Clarify entities in docs (#18821)
* Update docs

* Change History
2021-07-22 14:07:59 -06:00
71bd434297 docs: fix link to Native Programs page in transactions.md (#18830) 2021-07-21 22:37:40 -05:00
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
d751d5b6e8 Fixed broken links and added more context to getTokenAccountBalance docs 2021-07-21 10:24:53 -07:00
5f968928ec Remove 'Disable snapshot compression' section 2021-07-21 16:38:48 +00:00
b13caa14c9 Update simulateTransaction rpc docs (#18762) 2021-07-19 13:53:00 -07:00
269028360c fix another typo 2021-07-18 06:30:40 -07:00
1507477306 correct typo 2021-07-18 06:30:40 -07:00
c03490b24a Remove Tour de SOL more 2021-07-16 03:25:35 +00:00
5fe0350c2e Remove tour-de-sol/ 2021-07-15 19:43:53 -07:00
bf90ea282a rpc: more params for GetVoteAccountsConfig 2021-07-14 08:41:52 +00:00
4098af3b5b Record vote account commission with voting/staking rewards and surface in RPC 2021-07-12 15:09:44 -07:00
ab45532b52 Fix typo (#18595) 2021-07-12 07:38:44 +00:00
ebc7df62f3 Fix example in docs for getInflationReward (#18494) 2021-07-07 18:15:56 +00:00
77f61a5e2e docs: Correct integration validator cli reference 2021-07-06 21:58:40 +00:00
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
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
cc80197349 Update notification format info to be consistent (#18354) 2021-07-01 05:49:30 +00:00
8e7d393b70 Added formats to notifications in WebSocket RPC client. (#18231) 2021-06-30 22:04:37 -06:00
dfb6296499 Document slotsUpdates (#18335)
* Add slotsUpdates to jsonrpc docs

* Re-add unstable section
2021-06-30 21:24:08 +00:00
70d75ce4e8 docs: A-Z sort accepted proposals 2021-06-28 22:10:12 +00:00
0972d12c1c docs: expose TX v2 proposal 2021-06-28 22:10:12 +00:00
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