Commit Graph

3214 Commits

Author SHA1 Message Date
Stephen Akridge 85398c728a Disable assert in replicator startup test 2018-12-13 16:50:30 -08:00
Sathish 7325b19aef
Do not allocate for each metrics submission (#2146) 2018-12-13 16:40:00 -08:00
Stephen Akridge 7cdbbfa88e Storage stage updates
* Remove logging init from storage program: saw a crash in a test
  indicating the logger being init'ed twice.
* Add entry_height mining proof to indicate which segment the result is
  for
* Add an interface to get storage miner pubkeys for a given entry_height
* Add an interface to get the current storage mining entry_height
* Set the tvu socket to 0.0.0.0:0 in replicator to stop getting entries
  after the desired ledger segment is downloaded.
* Use signature of PoH height to determine which block to download for
  replicator.
2018-12-13 11:30:12 -08:00
Greg Fitzgerald 3ce3f1adc1 Move book dev instructions out of top-level readme 2018-12-13 11:17:11 -07:00
Rob Walker 9880a86f80
remove prev_id, unused (#2150) 2018-12-13 09:24:38 -08:00
Michael Vines 647e5d76b0 Move solana-fullnode into fullnode/ 2018-12-13 01:45:29 -08:00
Michael Vines 7e4af9382e Move solana-upload-perf into upload-perf/ 2018-12-13 01:06:40 -08:00
Michael Vines 282d4a3563 Move solana-keygen into keygen/ 2018-12-13 01:06:40 -08:00
Michael Vines cafeef33c3 Relocate all keypair generation into one location: sdk/src/signature.rs 2018-12-13 01:06:40 -08:00
Rob Walker 4f48f1a850
add db_ledger genesis, rework to_blob(), to_blobs() (#2135) 2018-12-12 20:42:12 -08:00
Carl a05a378db4 cleanup 2018-12-12 19:12:51 -08:00
Carl 245362db96 Make a dummy version of serving repairs from db_ledger 2018-12-12 19:12:51 -08:00
Mark b1b190b80d Fix too many args in Tvu::new (#2114)
* Reduce args in Tvu::new under to 8

Now pass in sockets through a the crate::tvu::Sockets struct

Move ClusterInfo.keypair to pub(crate) in order to remove redundant
signing keypair parameter

* remove commented code
2018-12-12 18:57:48 -08:00
Rob Walker 3408ce89a7
add check_tick_height (#2144) 2018-12-12 18:52:11 -08:00
Michael Vines 59a094cb77 Ensure bpf_c files exist to avoid accidental rebuilds as the tree changes 2018-12-12 17:30:41 -08:00
Michael Vines 8782b14842 Cargo.lock 2018-12-12 17:14:50 -08:00
Michael Vines 0f38b4b856 Remove unused dependencies 2018-12-12 17:14:50 -08:00
Michael Vines 75f407e191 Provide entire elf to bpf_loader 2018-12-12 17:14:50 -08:00
Michael Vines 4b07778609 Add bench_streamer feature to inhibit building solana-bench-streamer by default
This program is not currently used in any automation and is fairly slow
to build.  Disabling it by default will speed incremental builds.
2018-12-12 16:31:13 -08:00
Mekagoza 9b81696a09 remove obsoleted TODO 2018-12-12 16:26:59 -08:00
Mekagoza 80e19e0ad7 Encapsulate accounts of solana:🏦:Accounts
Make the field private and expose an account_values() method that
returns the values iterator from the internal hashmap
2018-12-12 16:26:59 -08:00
Greg Fitzgerald 962e8dca1d Fix markdown 2018-12-12 17:19:46 -07:00
Greg Fitzgerald 8da4be1b34 Prefer the term 'cluster' over 'network'
Use 'network' for the networking stack. Examples:

* The network drops packets.
* The cluster rejects bad transactions.
* The Solana cluster runs on a gigabit network.
2018-12-12 17:19:46 -07:00
Greg Fitzgerald f2ef74d1a1 Consistent naming between ToC and chapters 2018-12-12 17:19:46 -07:00
Greg Fitzgerald 546c92751b 80-char lines 2018-12-12 17:19:46 -07:00
carllin ae903f190e
Broadcast for slots (#2081)
* Insert blobs into db_ledger in broadcast stage to support leader to validator transitions

* Add transmitting real slots to broadcast stage

* Handle real slots instead of default slots in window

* Switch to dummy repair on slots and modify erasure to support leader rotation

* Shorten length of holding locks

* Remove logger from replicator test
2018-12-12 15:58:29 -08:00
Michael Vines bf33d9d703
Disable snap build until #2127 is resolved 2018-12-12 15:13:11 -08:00
Greg Fitzgerald 3a89d80a61 Update name in TPU 2018-12-12 14:55:27 -07:00
Greg Fitzgerald fd45e83651 Add web wallet example 2018-12-12 14:55:27 -07:00
Greg Fitzgerald 27e2fd9b06
Update README.md 2018-12-12 14:35:22 -07:00
Greg Fitzgerald 9a49ace606 No longer reserve terms from the terminology chapter
We followed the precedent set by the Rust book here, but now that
proposals are integrated, each proposal can simply include its own
terminology section.
2018-12-12 14:12:07 -07:00
Pankaj Garg 3413ecc2bd
Change query used to find list of nodes in the network (#2124)
* Change query used to find list of nodes in the network

* include "All" option for host selection
2018-12-12 12:38:00 -08:00
Greg Fitzgerald ad8b095677 Capitalize acronyms in book 2018-12-12 12:15:20 -07:00
Greg Fitzgerald 38c72070fb Update links 2018-12-12 12:11:12 -07:00
Greg Fitzgerald 93fe1af1a8 Integrate EntryTree description into the TVU doc 2018-12-12 12:11:12 -07:00
Greg Fitzgerald 504bf4ba84 Bring drone description into the present 2018-12-12 12:11:12 -07:00
Greg Fitzgerald 9f9c5fcf10 Migrate all RFC content into the book 2018-12-12 12:11:12 -07:00
Greg Fitzgerald 90a0237457 Cherrypick recent changes to gossip RFC
Delete the RFC since this is all implemented.

See: 02bfcd23a9
2018-12-12 11:55:07 -07:00
Greg Fitzgerald c83538a60c Add new proposal process
And move replication and enclave proposals there to get a feel
for how it'd look.
2018-12-12 11:04:57 -07:00
Greg Fitzgerald 13d4e3f29f Replace the leader rotation chapter with the latest RFC
The content that was originally copied was split into multiple
RFCs, leaving the book copy to bitrot.
2018-12-12 10:48:58 -07:00
jackcmay cefbb7c27d
Fix shared object relcations with multiple static arrays (#2121) 2018-12-12 08:41:45 -08:00
Pankaj Garg fa98434096
Update variables in dashboard (#2117)
* Update variables in dashboard

* fix escaped strings for query
2018-12-12 06:06:33 -08:00
Michael Vines af3ca02e35
Switch testnet-edge from snap to tarball
Snap publishing has been failing all day, unclear why.  Potentially
revert this commit if/when resolved.
2018-12-11 23:34:41 -08:00
Michael Vines 5c396c222a Clean up install-native-programs.sh usage 2018-12-11 23:29:05 -08:00
Michael Vines 088bab61a4 Remove |cargo install| duplication 2018-12-11 23:29:05 -08:00
Michael Vines 080d18b06e Only run publish-crate on release branches, clarify crate ordering 2018-12-11 23:29:05 -08:00
Michael Vines 54fb4e370c Abort make if scripts/install.sh fails 2018-12-11 21:57:53 -08:00
Greg Fitzgerald 17f1f40140
branch -> fork 2018-12-11 17:37:54 -07:00
Greg Fitzgerald b011ed6358
branch -> fork
Save your branches for git
2018-12-11 17:36:16 -07:00
Greg Fitzgerald acbc6335af
Minor fixes 2018-12-11 17:33:43 -07:00