Commit Graph

492 Commits

Author SHA1 Message Date
Greg Fitzgerald f120449aae
Move implemented proposals into the implemented section of the book (#7591)
* Move implemented proposals to implemented section of the book

Leave "Slashing" commentary in a new proposal.

* Remove considered considerations

@CriesofCarrots says meh about the first concern, and has moved the
second concern into a GitHub issue #7485.
2019-12-20 15:13:31 -07:00
Greg Fitzgerald 636f51c93c Update testnet descriptions (#7586)
automerge
2019-12-20 12:43:17 -08:00
Trent Nelson 9bb47c8c61
Book: Document CLI offline signing (#7575)
* Book: Document offline signing

* Address review

* nits

* consistency

* one voice
2019-12-20 13:07:07 -05:00
Trent Nelson 8b7bbbc6af
Streamline paper wallet pubkey verification docs (#7570)
* Book: Move paper wallet keypair docs to usage page

* Book: Remove dedicated paper wallet keypair docs

* Nudge our reader. Be extra clear

* Clarify `--skip-seed-phrase-validation` argument rationale
2019-12-19 20:59:07 -05:00
Rob Walker 3f405d8908
Add unix_timestap to stake lockups (#7569) 2019-12-19 14:37:47 -08:00
Rob Walker 0245847ea8
Update runtime.md (#7568) 2019-12-19 13:11:43 -08:00
Michael Vines ff171baa67 Add show-block-production command 2019-12-19 00:02:11 -07:00
Tyera Eulberg c5b076ec7e Add getConfirmedBlocks rpc method (#7550)
automerge
2019-12-18 15:51:47 -08:00
Michael Vines bd22b641b3 Speed up getLeaderSchedule RPC call by reducing pubkey duplication 2019-12-18 15:59:55 -07:00
Tyera Eulberg dcaf69a5d5
Exemplify pre/postBalance enhancement to getConfirmedBlock (#7518)
* Add pre/postBalance to getConfirmedBlock

* Pluralize to match actual implementation
2019-12-18 10:47:02 -07:00
Michael Vines 434cde179f GetLeaderSchedule can now return a schedule for arbitrary epochs 2019-12-17 23:41:42 -07:00
Rob Walker acb7ce16ca
Cleanup book build (#7254)
* book

* remove copies stuff

* missing png

* update cage in publish-book.sh

* shellcheck

* update image link

* avoid clone

* nits
2019-12-17 14:29:46 -08:00
Tyera Eulberg 3513f4ee84
Rename drone to faucet (#7508) 2019-12-16 14:05:17 -07:00
Greg Fitzgerald c4f3bb9b67
Use term dapp only in places where the application needs to run entirely on-chain (#7446) 2019-12-12 10:38:09 -07:00
Greg Fitzgerald 45487a91f9
Add more precision to testnet definitions and expectations (#7435)
* Add more precision to testnet definitions and expectations

* Apply review feedback
2019-12-12 10:37:42 -07:00
Justin Starry d4d246bfd1 Fix broken link in paper wallet docs (#7388)
automerge
2019-12-09 16:26:49 -08:00
Justin Starry c02a14c798
Add docs for checking account balance of a paper wallet (#7384)
* Add docs for checking account balance of a paper wallet

* Add url instruction

* Update usage.md
2019-12-09 15:35:18 -08:00
Tyera Eulberg 6a0d683f79
Brush up validator start docs (#7333)
* Brush up validator start docs

* Gut Choosing a Testnet to be less confusing
2019-12-06 14:07:41 -07:00
Tyera Eulberg a60521269d
Use u64 for consistency (#7326) 2019-12-06 10:24:31 -07:00
Justin Starry 8fac9102eb
Add docs for using a paper wallet with solana cli (#7311) 2019-12-05 21:12:41 -05:00
Rob Walker 709bda5939
custodian signs withdraw (#7286) 2019-12-04 21:25:01 -08:00
Rob Walker 8a28734603
re svg (#7288) 2019-12-04 20:38:42 -08:00
Pankaj Garg 0a390cbc91
Update validator-start document to reflect sys-tuner changes (#7275) 2019-12-04 15:17:12 -08:00
Justin Starry 76829457df
Fix typo, grammar, and formatting in Paper Wallet documentation (#7268)
* Fixes

* Simply installation steps

* Remove profile step

* Split up commands

* 2 -> 3
2019-12-04 15:44:02 -05:00
Justin Starry c3e7deb4b6
Use wrappable code snippet for paper wallet installation (#7261) 2019-12-04 12:30:12 -05:00
Rob Walker ae93d574c2
commission as percent (#7239)
* commission_as_percent

* fixup
2019-12-03 20:55:04 -08:00
Justin Starry 94dcd3fe12
Remove extra installation options for paper wallet (#7245)
* Remove extra installation options for paper wallet

* Copy installation link out of code block for printing
2019-12-03 22:54:33 -05:00
Justin Starry 2dc1ae9026
Add Paper Wallet Installation page to sidebar (#7242) 2019-12-03 21:43:39 -05:00
Justin Starry a66a49d384
Update paper wallet documentation (#7223)
* wip

* Update paper wallet documentation

* Add install from tarball instructions

* Separate out installation page
2019-12-03 20:12:24 -05:00
Jack May 5f58e0661b
Remove duplicate word (#7236) 2019-12-03 16:45:59 -08:00
Tyera Eulberg 757425a360
Add validator timestamp oracle proposal (#7159)
* Add validator timestamp oracle proposal

* Make timestamping part of the Vote program

* Describe extending Vote to include timestamp: Option<UnixTimestamp>

* Qualify getBlockTime-eligible blocks as rooted
2019-12-02 18:51:54 -07:00
Tyera Eulberg 42f56b9f86
Further validator doc cleanup (#7187) 2019-12-02 11:49:54 -07:00
Tyera Eulberg 704c50ea17
More validator doc cleanup (#7185)
* Cleanup and wrap lines in validator docs

* Add references to tune_system and solana-keygen grind
2019-12-02 10:53:07 -07:00
Greg Fitzgerald 92d485dd4d
Cleanup (#7176)
* Drop serde error instances

These were no longer needed after ToPrimitive instances were
added.

* Rename last of _api crates
2019-11-29 13:50:32 -07:00
Tyera Eulberg f4229a5d3e
Validator docs revamp part 1 (#7171)
* Validator Docs revamp part 1

* Notes from @CriesofCarrots

* Fixup links and start page

* Update versions
2019-11-28 15:39:27 -07:00
Justin Starry 57d4b50467 Add Paper Wallet documentation to the book (#7147)
automerge
2019-11-26 20:56:11 -08:00
Tyera Eulberg 58c144ee55
Add getBlockTime rpc api (#7130)
* Add getBlockTime rpc api

* Add getBlockTime to docs

* Fix duration rounding for common tick/slot durations; add slot duration calculation

* Expose slots_per_year

* Use genesis values instead of clock defaults to calculate block offset

* Add get-block-time cli subcommand

* Fix test_rent: decrease magic number usage
2019-11-26 00:40:36 -07:00
Michael Vines 294662a1ce
Bump version to 0.22.0 2019-11-25 21:34:50 -07:00
Justin Starry b8cd0a1bc0
Allow secure keypair input for `solana-archiver` and `solana` cli tools (#7106)
* Add seed phrase keypair recover to archiver

* Add seed phrase keypair to cli with ASK keyword

* cli main tweaks
2019-11-23 11:55:43 -05:00
Justin Starry ce8d37984d
Allow secure keypair input for solana-validator cli (#7080)
* Allow secure keypair input for solana-validator cli

* feedback

* Add --skip-mnemonic-validation

* Update --identity to --identity-keypair

* Use struct instead of tuple

* Fix dependencies

* cargo fmt

* Add basic tests

* Use `seed phrase` instead of `mnemonic`

* Update passphrase prompt
2019-11-22 10:20:40 -05:00
Trent Nelson 8590326b50 Book: Add proposal for durable transaction nonces (#6725)
automerge
2019-11-20 14:33:02 -08:00
Tyera Eulberg 854fc8d552
Add getConfirmedBlock to json-rpc docs (#7046) 2019-11-19 14:00:15 -07:00
Greg Fitzgerald c09469fa3a
Rename verify_instruction() to verify_account_changes() (#7020) 2019-11-18 15:01:14 -07:00
Sagar Dhawan 79d7090867
Remove obsolete references to Blob (#6957)
* Remove the name "blob" from archivers

* Remove the name "blob" from broadcast

* Remove the name "blob" from Cluset Info

* Remove the name "blob" from Repair

* Remove the name "blob" from a bunch more places

* Remove the name "blob" from tests and book
2019-11-14 11:49:31 -08:00
Michael Vines f116cdeed9
Add validator catchup command (#6922) 2019-11-13 15:58:14 -07:00
sakridge 2523fa73cf Use release as default (#6896) 2019-11-12 13:39:12 -07:00
Sunny Gleason 5903339c17
feat: return bank/block info with block-related results (#6716) 2019-11-12 14:49:41 -05:00
Justin Starry 62eea636b0
Update jsonrpc-api.md 2019-11-09 19:46:04 -05:00
Tyera Eulberg 86ead6a65c
Update book toc for readonly accounts (#6854) 2019-11-09 08:25:24 -07:00
Tyera Eulberg fbfbafa3d4
Update readonly accounts docs (#6801) 2019-11-09 07:35:37 -07:00
Justin Starry 9807f47d4e
Rename genesis block to genesis config (#6816) 2019-11-08 23:56:57 -05:00
anatoly yakovenko ddcf906a88 Add docs for FEC rate calculation (#6788)
automerge
2019-11-07 12:44:40 -08:00
Trent Nelson 180bc1784e Book: Add blockhash to terminology (#6711)
automerge
2019-11-07 10:46:04 -08:00
Justin Starry e420800aeb
Update terminology for block height and genesis block (#6782) 2019-11-06 23:09:03 -05:00
TristanDebrunner 29f3b198cf Update snapshot verification proposal (#6764)
automerge
2019-11-06 13:48:28 -08:00
Tyera Eulberg b3a75a60a4
Use rooted bank by default in rpc bank selection (#6759)
* Name anonymous parameters for clarity

* Add CommitmentConfig to select bank for rpc

* Add commitment information to jsonrpc docs

* Update send_and_confirm retries as per commitment defaults

* Pass CommitmentConfig into client requests; also various 'use' cleanup

* Use _with_commitment methods to speed local_cluster tests

* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests

* Restore solana ping speed

* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
Tyera Eulberg c6931dcb07
Remove credit-only account handling (#6726)
* Renaming
- credit-only/credit-debit to read-only/read-write
- debitable to writable

* Remove credit handling, making credit-only accounts read-only

* Update programs to remove deprecated credit-only account designation

* Use readonly and writable instead of underscored types
2019-11-05 09:38:35 -07:00
Tyera Eulberg 33f4aaf3fd
Rename confidence to commitment (#6714) 2019-11-04 16:44:27 -07:00
Justin Starry d2d78a073f Remove lingering references to base-2 SOLs (#6629)
automerge
2019-10-30 14:59:44 -07:00
Tyera Eulberg 4ec95043d7
Update sol:lamport ratio to base-10 (#6611)
* Update sol:lamport ratio

* Update various SOL quantities in bash scripts
2019-10-29 20:03:48 -06:00
Tyera Eulberg 4156cea704
Fixup running-validator docs (#6607)
* Fixup validator docs

* Remove $
2019-10-29 17:13:20 -06:00
Rob Walker a587d05098
fix re delegate (#6603) 2019-10-29 14:42:45 -07:00
carllin 08238e8307
Add proposal for tick verification in slots (#6512)
* Add proposal for tick verification in slots
2019-10-26 16:14:30 -07:00
Dan Albert 73c31d873e
Update Cargo.toml versions from 0.20.0 to 0.21.0 (#6568) 2019-10-25 17:40:49 -06:00
Tyera Eulberg e9bdee3dc7
Add getEpochSchedule to rpc docs (#6535) 2019-10-24 11:30:11 -06:00
sakridge f1172617cc
Purge accounts with lamports=0 on rooted forks (#6315) 2019-10-23 12:46:48 -07:00
carllin 6ce115ec95
Add commitment metrics implementation to book (#5903)
* Add commitment metrics implementation to book
2019-10-23 12:35:47 -07:00
Michael Vines f80a5b8c34
Remove some TODOs (#6488)
* Remove stale TODOs

* Ban TODO markers from markdown

* Scrub all TODOs from ci/ and book/
2019-10-21 22:25:06 -07:00
Greg Fitzgerald 3b9b9b1500 Rename remaining uses of fullnode to validator (#6476)
automerge
2019-10-21 20:21:21 -07:00
Greg Fitzgerald 9232057e95
Rename replicator to archiver (#6464)
* Rename replicator to archiver

* cargo fmt

* Fix grammar
2019-10-21 11:29:37 -06:00
Ryan Shea a48dcb1421 Add "Subject to change" for legal purposes. (#6432) 2019-10-18 08:06:46 -07:00
Michael Vines 47e1ea107b
Add show-validators 2019-10-14 23:04:31 -07:00
Tyera Eulberg 5d99853502 Add getBlockConfidence rpc endpoint (#6350)
automerge
2019-10-14 15:24:10 -07:00
Greg Fitzgerald c6e4641781
Remove many uses of legacy term 'fullnode' (#6324) 2019-10-10 17:33:00 -06:00
Justin Starry c28633a949
Fix book SVGs (#6286) 2019-10-09 10:48:47 -04:00
Rob Walker 7cf90766a3
add epoch_schedule sysvar (#6256)
* add epoch_schedule sysvar

* book sheesh!
2019-10-08 22:34:26 -07:00
Greg Fitzgerald 9fbbb17c3b
GitBook: [master] 17 pages and 65 assets modified 2019-10-08 23:35:34 +00:00
Tyera Eulberg 79987e788e
Remove vote pubkey from deactivate_stake (#6257)
* Remove vote pubkey from deactivate_stake

* Fix test

* Update docs
2019-10-07 16:07:01 -06:00
Tyera Eulberg 9c9754fa0f
Cli refactor: rename wallet to cli (#6243)
* Rename Wallet structs to Cli

* Rename wallet to cli more broadly

* Update to cli/config.yml, and update docs
2019-10-04 16:13:21 -06:00
anatoly yakovenko b5f7a4bff9
Add Bankless Leader design (#6224)
* bankless leader proposal

* docs

* mvines feedback

* clarify CD status of the execution key

* s/execution key/fee account

* remove weird spacing

* robs review comments

* document how base fork is reset

* frozen bank, not finalized

* nit

* add rationale
2019-10-04 11:13:46 -07:00
Michael Vines db7a3ac826
Revert "GitBook: [master] 12 pages and 33 assets modified"
This reverts commit f792171ae9.
2019-10-02 23:53:20 -07:00
Michael Vines f792171ae9
GitBook: [master] 12 pages and 33 assets modified 2019-10-03 06:41:01 +00:00
Michael Vines 5aab2866e1
Rebuild SVGs 2019-10-02 22:51:14 -07:00
Rob Walker 4fbe36d9c6
Update stake-delegation-and-rewards.md (#6182)
* Update stake-delegation-and-rewards.md

* Update stake-delegation-and-rewards.md

* Update stake-delegation-and-rewards.md
2019-09-30 12:30:55 -07:00
Rob Walker 4f4618441c
split wallet staking commands (#6168)
* split wallet staking commands

* elide real home

* unit->UNIT for usage

* unit->UNIT, don't try to run SUBCOMMANDS: ;)

* more fixup

* fixups

* actually check

* shellcheck

* preserve #6158 after rebase

* fixup

* test

* too hard

* remove test
2019-09-29 21:18:15 -07:00
Jack May 4c5d0fc51f
Validator-info doc update (#6152) 2019-09-27 13:26:02 -07:00
Michael Vines bf199a2ebc
doc: update validator-info publish arguments (#6146) 2019-09-27 11:15:38 -07:00
Michael Vines cc05019bbb
Create vote account with 1 lamport instead of 1 SOL 2019-09-27 08:14:10 -07:00
sakridge 7c964cf79f
Add specific hardware setup to performance metrics doc. (#6131) 2019-09-26 18:59:41 -07:00
Michael Vines b4da83a3ab
Remove CUDA feature (#6094) 2019-09-26 13:36:51 -07:00
Parth 67d07254c2
Add rent estimation rpc (#6109)
* server side new rpc endpoint

* client side rpc

* take data_len as usize

Co-Authored-By: Tyera Eulberg <teulberg@gmail.com>

* add test and documentation
2019-09-26 23:27:13 +05:30
Rob Walker 355a40800d
remove consensus.msc (#6106) 2019-09-25 18:15:14 -07:00
Dan Albert 6be5e21aaf
GitBook: [master] 17 pages and 59 assets modified 2019-09-25 20:58:40 +00:00
Justin Starry 571dc4e387
Update stale code references for vote program in book (#6061) 2019-09-24 15:55:32 -04:00
Michael Vines 529b163bd0
GitBook: [master] 156 pages and 12 assets modified 2019-09-23 03:38:34 +00:00
Michael Vines aacead62c0
Move images from img/ to .gitbook/assets 2019-09-21 22:26:45 -07:00
Michael Vines ae5a6a06bb
Revert "GitBook: [master] 156 pages and 8 assets modified"
This reverts commit 60320e6b6e.
2019-09-21 22:24:11 -07:00
Michael Vines 60320e6b6e
GitBook: [master] 156 pages and 8 assets modified 2019-09-22 04:31:10 +00:00
sakridge 169ece8226 Rename client.sh to bench-tps.sh (#6014) 2019-09-21 21:12:10 -07:00
sakridge 5020a4aa6b Add required port to --entrypoint arg in docs. (#6015) 2019-09-21 21:12:01 -07:00