Commit Graph

3331 Commits

Author SHA1 Message Date
a22e1199cf Add fork selection RFC (#2061)
RFC and simulation for fork generation.
2018-12-14 11:15:23 -08:00
79f12d6b55 Move EntryTree back to proposals 2018-12-14 12:12:34 -07:00
483f6702a6 Rewrite synchronization chapter (#2156)
* Rewrite synchronization chapter
* Add synchronization terminology
2018-12-14 11:06:53 -07:00
f6e3464ab9 bench-tps rebase 2018-12-14 09:38:46 -08:00
708876e9a7 Fix CI and related issues in bench-tps
Rename crate to `solana-bench-tps` in its Cargo.toml

Move crate

Add to ci/publish-crate.sh
2018-12-14 09:38:46 -08:00
29d04aa533 Move bench_tps to new crate in workspace
Separate CLI/clap related code, create a new `Config` struct to hold all
configuration/CLI args

Remove most code from `main.rs`

Add a little documentation
2018-12-14 09:38:46 -08:00
6fcccedb70 align tick entries' tick_height with actual number of ticks in bank (#2147) 2018-12-14 02:25:50 -08:00
60f3aeb4ef clippy fix 2018-12-13 23:40:26 -08:00
c1ad987b04 Run checks over all crates in the workspace 2018-12-13 23:40:26 -08:00
9d0b7c6b31 Remove bench_streamer feature 2018-12-13 22:25:27 -08:00
d489cb1a8b Desnake upload_ci_artifact for consistency 2018-12-13 22:25:27 -08:00
0fe6d61036 Move binaries from src/bin into their own crate 2018-12-13 22:25:27 -08:00
092edabd2d Add homepage field to all crates 2018-12-13 22:25:27 -08:00
1a68bce94c Rename fullnode.rs to main.rs 2018-12-13 22:25:27 -08:00
87fe3ade81 Add noop cuda feature entry 2018-12-13 20:08:24 -08:00
accabca618 Find solana-fullnode-cuda 2018-12-13 20:08:24 -08:00
091b21fae7 Vote every number of ticks (#2141)
* Vote every number of ticks

* address review comments

* fix for failing leader rotation tests

* remove check for vote failure from replay tests
(as votes will be cached and transmitted when leader is available)
2018-12-13 18:43:10 -08:00
85398c728a Disable assert in replicator startup test 2018-12-13 16:50:30 -08:00
7325b19aef Do not allocate for each metrics submission (#2146) 2018-12-13 16:40:00 -08:00
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
3ce3f1adc1 Move book dev instructions out of top-level readme 2018-12-13 11:17:11 -07:00
9880a86f80 remove prev_id, unused (#2150) 2018-12-13 09:24:38 -08:00
647e5d76b0 Move solana-fullnode into fullnode/ 2018-12-13 01:45:29 -08:00
7e4af9382e Move solana-upload-perf into upload-perf/ 2018-12-13 01:06:40 -08:00
282d4a3563 Move solana-keygen into keygen/ 2018-12-13 01:06:40 -08:00
cafeef33c3 Relocate all keypair generation into one location: sdk/src/signature.rs 2018-12-13 01:06:40 -08:00
4f48f1a850 add db_ledger genesis, rework to_blob(), to_blobs() (#2135) 2018-12-12 20:42:12 -08:00
a05a378db4 cleanup 2018-12-12 19:12:51 -08:00
245362db96 Make a dummy version of serving repairs from db_ledger 2018-12-12 19:12:51 -08:00
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
3408ce89a7 add check_tick_height (#2144) 2018-12-12 18:52:11 -08:00
59a094cb77 Ensure bpf_c files exist to avoid accidental rebuilds as the tree changes 2018-12-12 17:30:41 -08:00
8782b14842 Cargo.lock 2018-12-12 17:14:50 -08:00
0f38b4b856 Remove unused dependencies 2018-12-12 17:14:50 -08:00
75f407e191 Provide entire elf to bpf_loader 2018-12-12 17:14:50 -08:00
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
9b81696a09 remove obsoleted TODO 2018-12-12 16:26:59 -08:00
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
962e8dca1d Fix markdown 2018-12-12 17:19:46 -07:00
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
f2ef74d1a1 Consistent naming between ToC and chapters 2018-12-12 17:19:46 -07:00
546c92751b 80-char lines 2018-12-12 17:19:46 -07:00
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
bf33d9d703 Disable snap build until #2127 is resolved 2018-12-12 15:13:11 -08:00
3a89d80a61 Update name in TPU 2018-12-12 14:55:27 -07:00
fd45e83651 Add web wallet example 2018-12-12 14:55:27 -07:00
27e2fd9b06 Update README.md 2018-12-12 14:35:22 -07:00
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
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
ad8b095677 Capitalize acronyms in book 2018-12-12 12:15:20 -07:00