Commit Graph

329 Commits

Author SHA1 Message Date
Greg Fitzgerald 3f6a79b078 Add a validator node proposal (#3035)
automerge
2019-05-06 13:41:28 -07:00
Michael Vines 9b50583641
wallet: add --url, remove --host/--rpc-host/--rpc-port/-rpc-tls (#4153)
Also by default the wallet now talks to testnet.solana.com instead of
localhost
2019-05-06 07:38:26 -07:00
Tyera Eulberg 71f9b44687
Add Confirmations parameter to RPC Subscriptions (#4154)
* Add optional depth parameter to pubsub, and store in subscriptions

* Pass bank_forks into rpc_subscription; add method to check depth before notify and impl for account subscriptions

* Impl check-depth for signature subscriptions

* Impl check-depth for program subscriptions

* Plumb fork id through accounts

* Use fork id and root to prevent repeated account notifications; also s/Depth/Confirmations

* Write tests in terms of bank_forks

* Fixup accounts tests

* Add pubsub-confirmations tests

* Update pubsub documentation
2019-05-06 08:31:50 -06:00
Michael Vines f3f416b7ba
Rename --network argument to --entrypoint (#4149) 2019-05-03 15:00:19 -07:00
Michael Vines 7fe3c75c6b
Add a node-specific ip echo service to remove dependency on ifconfig.co (#4137) 2019-05-03 11:01:35 -07:00
Rob Walker ffb15578ce
remove cargo install cargo-audit from CI (#4123) 2019-05-02 15:35:47 -07:00
sakridge ae12dc2c75
Add specs to testnet participation guide (#4078) 2019-05-02 15:21:05 -07:00
Sagar Dhawan 8202310073
Minor update to gossip spy command (#4103) 2019-05-01 14:25:26 -07:00
Greg Fitzgerald 2604f8ac0a
Move implemented functionality into the Implemented Proposals section (#4057) 2019-04-29 17:29:41 -06:00
Greg Fitzgerald d862565b16
Move Transact proposal to implemented (#4055)
And update names to reflect what was implemented.
2019-04-29 09:13:39 -06:00
Pankaj Garg 7f9a476660
Performance metrics computation methodology (#4041) 2019-04-27 16:37:51 -07:00
Michael Vines e3ab76f1a7
Pin recommended release version (#4021) 2019-04-26 21:10:31 -07:00
Michael Vines 1684a7bd18
Move validators from testnet-beta to testnet (#4011)
* Move validators from testnet-beta to testnet

* Move testnet influxdb datasource to influxcloud
2019-04-26 09:02:12 -07:00
Michael Vines 82776b333d Merge the "cloud" grafana dashboard into the normal dashboard (#4007)
automerge
2019-04-25 21:14:36 -07:00
Michael Vines 4c200635b7 Shuffle initial mention of solana-gossip (#3991)
automerge
2019-04-25 09:30:30 -07:00
Michael Vines b98200aca4
Use rm -rf (#3990) 2019-04-25 08:58:34 -07:00
Michael Vines 05b4dbf148
Document an alternative mechanism to locate the validator's vote id 2019-04-23 19:35:20 -07:00
Michael Vines c309cd80aa
Add getClusterNodes/getSlotLeader JSON RPC API (#3940)
* Minor cleanup

* Include _this_ node in the contact info trace

* Add getClusterNodes/getSlotLeader RPC API
2019-04-23 14:46:41 -07:00
Greg Fitzgerald 29698fcd38
Cleanup stragglers from move-to-transfer rename (#3947) 2019-04-23 13:30:42 -06:00
Michael Vines 05bcb7f292
Add stop node command to solana-gossip (#3928) 2019-04-22 14:51:20 -07:00
Michael Vines 6f2f7018e8
Update testnet-participation.md 2019-04-20 19:14:07 -07:00
Michael Vines 8514d27c2f
Update testnet-participation.md 2019-04-18 13:16:15 -07:00
Michael Vines 2c0afe71b2
minor grooming 2019-04-18 07:31:42 -07:00
Michael Vines 78d5ace754
Refactor multinode-demo/ scripts to avoid shipping fullnode-x.sh (#3835) 2019-04-17 18:03:58 -07:00
Michael Vines 7ec198b9cc
Minor doc fixes++ 2019-04-16 17:45:48 -07:00
Michael Vines b2e762ccc6
Minor doc fixes 2019-04-16 17:43:52 -07:00
Michael Vines 63d66ece57
net/ testnet nodes now stake more lamports (#3812)
* Add --bootstrap-leader-lamports

* Generalize --no-stake into --stake NUM

* Use a large stake for net/ fullnodes

* Setup vote account before starting fullnode to avoid mixed log output
2019-04-16 13:03:01 -07:00
Michael Vines c67cc694ae
Remove stake from `./net sanity` ephemeral validator (#3797) 2019-04-15 21:42:25 -07:00
Michael Vines 0767c0c07f Add DNS resolution to cli tools 2019-04-14 21:25:46 -07:00
Michael Vines f6aa90e193 Add fullnode --dynamic-port-range option 2019-04-14 07:08:29 -07:00
Michael Vines 1f35779821 Add solana-install usage info 2019-04-12 17:08:18 -07:00
Dan Albert e6f02d1a10
Use latest release for testnet doc (#3711)
* Use latest release for testnet doc

* Clean up markdown
2019-04-10 15:01:37 -07:00
Michael Vines df9cf92782 testnet-participation.md is now /implemented/ 2019-04-10 12:26:47 -07:00
Michael Vines f243a96e01 Remove testnet/metrics server debug info from book 2019-04-10 12:26:47 -07:00
Michael Vines 842d146b0d
Limit USE_INSTALL scope 2019-04-10 11:50:23 -07:00
Michael Vines d45d8e9670
s/credit/read/ 2019-04-08 08:39:59 -07:00
Tyera Eulberg d3c4e4f7b3 Update docs 2019-04-05 22:09:29 -06:00
Pankaj Garg c2fdd1362a bump release version in testnet participation document 2019-04-05 08:30:42 -07:00
Pankaj Garg 77bb9e7ffc Fix the release number in testnet participation document 2019-04-02 11:26:54 -07:00
Tyera Eulberg 92c66a411b Remove bench-tps converge-only 2019-04-01 23:05:25 -06:00
Tyera Eulberg 6ff2a0a75e Rework discover to handle additional parameters, and be unit-testable 2019-04-01 23:05:25 -06:00
Greg Fitzgerald 32683cac7c Move markdown into book 2019-03-31 16:23:06 -06:00
Greg Fitzgerald 1adf8355f2 Add design proposal for deterministic transaction fees 2019-03-31 16:23:06 -06:00
Pankaj Garg 8e25c39564 fix formatting of numbered list 2019-03-29 11:46:21 -07:00
Pankaj Garg 78ab79c322 fix build failure 2019-03-29 11:46:21 -07:00
Pankaj Garg 052fc9b74f Information on how to debug testnet issues 2019-03-29 11:46:21 -07:00
Anatoly Yakovenko bf61321cab fix metrics 2019-03-26 14:30:25 -07:00
Anatoly Yakovenko 591653981b fix metrics 2019-03-26 14:30:25 -07:00
Pankaj Garg e651510805 Instructions on how to boot metrics server 2019-03-26 14:02:41 -07:00
Greg Fitzgerald 9759ac2961 Mark book's javascript library as binary
highlight.js has a big dictionary of words. When git-grep includes
one of those words, it floods the screen with the whole dictionary.

Mark it as binary so that it'll now just report one line:

     Binary file book/theme/highlight.js matches
2019-03-26 07:39:34 -07:00
Anatoly Yakovenko af9b173dfd fix link 2019-03-26 05:43:02 -07:00
Greg Fitzgerald 4d34102d9c Move stragglers into the book
The stuff added between the time we switched to proposals/ and the git-revert
2019-03-25 19:39:22 -07:00
Greg Fitzgerald 028b9da0da Revert "Move the design proposals to a separate book"
This reverts commit 4ca18d6b9affbc574d1b3d3d230230b057f8fde3.
2019-03-23 14:04:34 -06:00
anatoly yakovenko 148e08a8a5
Enable cluster tests (#3372)
* Cluster tests

* stable!

* fixup! stable!

* fixup! fixup! stable!

* fixup! fixup! fixup! stable!

* fixup! fixup! fixup! fixup! stable!

* fixed space

* add getNumBlocksSinceSignatureConfirmation entry for the json rpc docs

* Check in upcoming epochs for potential leadership slots in next_leader_slot()
2019-03-21 07:43:21 -07:00
Michael Vines a17843c8f6 solana-install design proposal 2019-03-14 13:21:00 -07:00
Greg Fitzgerald 9fac3b26ee Move the design proposals to a separate book
Fixes #3262
2019-03-14 10:08:43 -07:00
Greg Fitzgerald c1eec0290e
Rename userdata to data (#3282)
* Rename userdata to data

Instead of saying "userdata", which is ambiguous and imprecise,
say "instruction data" or "account data".

Also, add `ProgramError::InvalidInstructionData`

Fixes #2761
2019-03-14 10:48:27 -06:00
Eric de13082347 add economic design mvp to summary and overview 2019-03-14 09:42:19 -06:00
Eric 48b5d666d0 some economic mvp features 2019-03-14 09:42:19 -06:00
Eric 70bb49a46d some economic mvp features 2019-03-14 09:42:19 -06:00
Eric 105fc7029e create mvp section 2019-03-14 09:42:19 -06:00
Greg Fitzgerald 4ca4038d54 Rename BankError to TransactionError 2019-03-13 21:26:57 -06:00
Greg Fitzgerald 0568d7238e Add implemented design proposals section 2019-03-13 13:20:37 -06:00
Greg Fitzgerald 9bc05313a2 Update TPU ASCII art 2019-03-13 13:14:15 -06:00
Tyera Eulberg 1d689e84f1 Move and rename cluster_client 2019-03-12 22:05:38 -06:00
anatoly yakovenko 9eb7e63819
Add staking rewards design proposal for delegation (#3148)
* proposal for single vote many delegators
2019-03-11 16:35:42 -07:00
Greg Fitzgerald 86e2f35ac4 Only need the TPU and a light client implement Transact 2019-03-10 23:20:10 -06:00
Greg Fitzgerald 7696a64891 Add design doc for testing programs 2019-03-10 23:20:10 -06:00
Greg Fitzgerald 799ed24113 Integrate bank-forks proposal into the book 2019-03-10 20:13:36 -06:00
Greg Fitzgerald 63477dabcd Attempt to clarify bank forks 2019-03-10 20:13:36 -06:00
Rob Walker cd0bc1dea5
updates to reflect new_from_parent() (#3076)
* design draft

* update

* section on updating root forks

* updates to reflect new_from_parent()

* fixup

* Grammar check
2019-03-10 13:59:16 -07:00
anatoly yakovenko 5de38852d2 Add cluster test framework doc. (#3189) 2019-03-08 19:29:41 -07:00
Tyera Eulberg 259c820f15 Review comments 2019-03-07 17:21:32 -07:00
Tyera Eulberg e888c90ecf Add program notifications to JSON RPC documentation 2019-03-07 17:21:32 -07:00
Greg Fitzgerald d09639f7d2 Move the design out of the proposals section 2019-03-06 17:24:17 -07:00
Anatoly Yakovenko 946ee8a354 Add description of vote and rewards programs 2019-03-06 17:24:17 -07:00
Michael Vines 3794048c91 Rename tokens to lamports in book/ 2019-03-05 17:56:44 -08:00
Michael Vines 53f09c44f3 Rename tokens to lamports in sdk/ 2019-03-05 17:28:06 -08:00
Jack May a481822321
Fix signatureUnsubscribe documentation (#3118) 2019-03-04 18:07:16 -08:00
Jack May 44013855d8 Book nits (#3096)
* Book nits

* nits
2019-03-04 15:44:54 -07:00
anatoly yakovenko fb55d1c3d4
Design for leader to leader transition between slots (#2715) 2019-03-04 10:10:52 -08:00
Michael Vines cd4bccfd12 Remove snap support 2019-03-02 17:41:09 -08:00
Michael Vines a94880574b block_hash => blockhash 2019-03-02 12:13:30 -07:00
Michael Vines 85159a0eb4 Rename JSON RPC getLastId to getRecentBlockHash 2019-03-02 12:13:30 -07:00
Michael Vines 95cbb8a5c0 Switch to recent_block_hash 2019-03-02 12:13:30 -07:00
Tyera Eulberg 8e273caf7d Brush up data-plane-fanout to read less like a proposal 2019-03-01 22:50:42 -07:00
Sagar Dhawan 46b7b795bf
Fix Typo in Fullnode Diagram (#3036) 2019-03-01 11:58:09 -08:00
Greg Fitzgerald 028f41eb51 Move secure vote signing out of proposals 2019-03-01 12:16:28 -07:00
Michael Vines 7e7b79ef34 Rename prev_id to prev_hash 2019-03-01 09:31:49 -08:00
Greg Fitzgerald 4704aa1f80 Rename SlotMeta::is_trunk to SlotMeta::is_rooted 2019-02-28 10:39:56 -07:00
Greg Fitzgerald e45559a1a7
Add slot 3 back to ASCII art (#2979)
* Add slot 3 back to ASCII art

* New slot-oriented diagrams

When 1-block-per-slotm, slots are drawn vertically. That's the ideal
case. Abandoning a block is what should look like something forking
off to the side.
2019-02-27 14:27:58 -07:00
Greg Fitzgerald b752511f41 Attempt to pull the completed replication work into the book 2019-02-26 09:23:12 -07:00
Greg Fitzgerald ba50e1ac81 Move data plane fanout chapter out of proposals 2019-02-26 09:20:09 -07:00
Greg Fitzgerald 8353b420d1 Move blocktree-oriented diagram out of proposals 2019-02-22 15:24:36 -07:00
Stephen Akridge bad48ce83c Split replicator doc into what is implemented and what is not 2019-02-22 13:12:49 -07:00
Tyera Eulberg deeabb862d Call it blockstreamer 2019-02-21 17:24:29 -07:00
Tyera Eulberg d8f6865338 Rename EntryStream to Blockstream 2019-02-21 17:24:29 -07:00
Tyera Eulberg 4a0c759795 Fix misspellings stumbled on 2019-02-21 17:24:29 -07:00
Tyera Eulberg a131c90260 Add doc for api node 2019-02-21 17:24:29 -07:00
Sagar Dhawan bf3d2bd2ec Update Gossip entry in the book 2019-02-21 15:32:21 -07:00
Anatoly Yakovenko 27f973c923 github review 2019-02-20 14:19:25 -07:00
Anatoly Yakovenko 3357cebcdb Added notes from discussion on discord 2019-02-20 14:19:25 -07:00
Anatoly Yakovenko 7ce9c0a2e9 cleanup runtime chapter 2019-02-20 14:18:43 -07:00
Michael Vines ade36566ea
i 2019-02-18 21:56:23 -08:00
Michael Vines 1fd2885995
Add missing - 2019-02-18 20:09:18 -08:00
Michael Vines 0dbc33f781 Finish removing getConfirmationTime 2019-02-17 16:27:50 -08:00
anatoly yakovenko c74b8b6df3
Add a design for leader schedule rotation and genesis. (#2714)
Leader schedule rotation.
2019-02-15 16:34:34 -08:00
Carl d3761c2435 Change definitions in book to match current changes 2019-02-14 13:37:55 -08:00
Carl 34da362ee6 fix blocktree tests 2019-02-14 13:37:55 -08:00
Greg Fitzgerald 4e4a1643c4 Boot SystemInstruction::Spawn 2019-02-14 13:26:46 -07:00
Eric f2ab8f17c8 udpate staking section 2019-02-14 07:45:58 -07:00
Pankaj Garg dca73068c5 address review comments 2019-02-13 15:31:45 -08:00
Pankaj Garg 4094e62ed3 propose architecture change for fullnode 2019-02-13 15:31:45 -08:00
Pankaj Garg 7a0e897960 address review comments 2019-02-13 15:31:45 -08:00
Pankaj Garg e78fc74e03 Update fullnode diagram to reflect bank, voting and forks changes 2019-02-13 15:31:45 -08:00
anatoly yakovenko aec44e3761 Add design for the leader validator loop (#2650) 2019-02-13 12:00:43 -07:00
Greg Fitzgerald ab3dd2a1b3
Integrate the blocktree proposal into the book (#2704) 2019-02-08 20:27:35 -07:00
Greg Fitzgerald 7b7a2fc52b Rename Appendix to API Reference
And move before the proposals, since all this stuff is already
implemented.
2019-02-08 18:08:00 -07:00
Greg Fitzgerald c82ffaabdc Rename, purge use of term delta
This would be a fine document to introduce the term delta, but
it looks like the content flows just fine without it.
2019-02-07 16:25:23 -07:00
Greg Fitzgerald 4e6a9b029a finalized -> frozen 2019-02-07 16:25:23 -07:00
Greg Fitzgerald 3e519faaa8 Move to 80-char lines 2019-02-07 16:25:23 -07:00
Greg Fitzgerald e2eb7c1ba7 Render ASCII art 2019-02-07 16:25:23 -07:00
Greg Fitzgerald 87ba5b865d Fix markdown 2019-02-07 16:25:23 -07:00
Greg Fitzgerald 992f2790e7 Cleanup 2019-02-07 16:25:23 -07:00
Anatoly Yakovenko e1a099632e fork design book 2019-02-07 16:25:23 -07:00
Greg Fitzgerald 5bb4ac9873 Cleanup 2019-02-07 16:09:04 -07:00
Anatoly Yakovenko 31b0d14856 wip, initial explanation on vote signer validator and stake owner relationship 2019-02-07 16:09:04 -07:00
Greg Fitzgerald 582ba4f173 Move economics into the proposed changes
Once this is implemented, we'll move it into the "A Solana Cluster"
section.
2019-02-06 09:29:52 -07:00
Greg Fitzgerald 0229c97071 Move economics images into img/
And flip the exe bit
2019-02-06 09:29:52 -07:00
Greg Fitzgerald c0b398c7c9 Fix markdown and typo 2019-02-06 09:29:52 -07:00
Manuel 5375c420c1 headers style have been adjusted 2019-02-04 14:25:26 -07:00
Greg Fitzgerald 3ff8bbcf65 Cleanup economic design (#2649)
* Remove section numbers
* Fix all hyperlinks
* Add detail on protocol-designated minimum tx fee amount
2019-02-02 18:35:18 -08:00
anatoly yakovenko e104941569
Add design proposal for reliable vote transmission (#2601)
* reliable vote transmission design proposal

* summary

* comments
2019-01-31 07:34:49 -08:00
Greg Fitzgerald c536a0bf04 Remove mention of BCC 2019-01-30 18:00:04 -07:00
Anatoly Yakovenko 5b8e7bfcf2 s/voter/validator 2019-01-30 15:44:51 -07:00
Anatoly Yakovenko 3cbbceec78 rewarding 2019-01-30 15:44:51 -07:00
Anatoly Yakovenko e684fafb68 fmt 2019-01-30 15:44:51 -07:00
Anatoly Yakovenko 651342b3db cleanup fork selection 2019-01-30 15:44:51 -07:00
Greg Fitzgerald 883fc39c80 Rename EntryTree to Blocktree 2019-01-30 13:29:34 -07:00
Michael Vines 4bb6549895 Genesis block is now a json file 2019-01-25 09:05:15 -08:00
Greg Fitzgerald ce41760fdd Update definitions of block and slot 2019-01-23 18:22:20 -08:00
Eric b381d9e06d add pngs and formatting 2019-01-17 14:30:20 -07:00
Eric a416b53d11 file permissions 2019-01-17 14:30:20 -07:00
Eric 6fd13e3af0 rename files 2019-01-17 14:30:20 -07:00
Eric 4b7dc8200c reference reformatting 2019-01-17 14:30:20 -07:00
Eric b83279848a html table to md table 2019-01-17 14:30:20 -07:00
Eric a48b278c10 add economic design sections to TOC 2019-01-17 14:30:20 -07:00
Michael Vines a84b6bc7e4 Overhaul wallet rpc/drone command-line arguments 2019-01-17 08:36:05 -08:00
Mark 00ee8813f7
Add initial build step to getting started (#2455) 2019-01-16 14:46:57 -06:00
Greg Fitzgerald e76f2ea89c Add record to runtime pipeline 2019-01-16 13:39:30 -07:00