Commit Graph

4065 Commits

Author SHA1 Message Date
d1945c29d7 Don't depend on solana_native_loader for IDs in the SDK 2019-02-07 08:23:44 -08:00
83b40e4f30 Inline assertions from overreaching helper
The assert_counters() helper creates unreadable tests and makes
us have to update every test any time a counter is added. Instead,
we can just assert the values of any particular counters the test
may have affected.
2019-02-07 08:43:52 -07:00
95ac6305bc Remove unnecessary dependencies on fullnode mod 2019-02-06 21:31:48 -08:00
ab4828aae7 Replace role_notifiers tuple with two explicit fields 2019-02-06 21:31:48 -08:00
c506423e70 Remove superfluous imports 2019-02-06 21:31:48 -08:00
f0843fc5f1 NodeServices: de-pub, remove dead code 2019-02-06 21:31:48 -08:00
c87e035302 Remove multinode test dependency on Fullnode internals 2019-02-06 20:38:22 -08:00
abb9a72b27 Reduce Fullnode public API surface 2019-02-06 20:04:51 -08:00
acc6bf1564 Don't over complicate the solution 2019-02-06 19:55:12 -08:00
db688207a5 Add abort signals to tvu/tpu receivers 2019-02-06 19:55:12 -08:00
9681c4d468 Fix resource hogging when waiting for role transition 2019-02-06 19:55:12 -08:00
d9e2b94d7a bank::new_with_leader_scheduler_config() - remove Option<> 2019-02-06 19:47:09 -08:00
f789038baa Consolidate fullnode ledger helpers 2019-02-06 19:47:09 -08:00
2e23b03f94 Remove dead code 2019-02-06 19:47:09 -08:00
5181a2a9b1 Guard against invalid tick heights 2019-02-06 14:23:10 -08:00
2d2572d2cb Set DEFAULT_TICKS_PER_SLOT = 32 to stabilize integration tests 2019-02-06 14:23:10 -08:00
fa553029d5 Temporarily disable test_validator_to_leader_transition 2019-02-06 14:23:10 -08:00
c986a20bcf Disable unstable test: test_multi_node_dynamic_network 2019-02-06 14:23:10 -08:00
c5a74ada05 leader_scheduler: remove bootstrap_height 2019-02-06 14:23:10 -08:00
73979d8f5a Remove sleep, fund the vote account faster 2019-02-06 14:23:10 -08:00
f90d96367d Add Fullnode::run() to optionally manage node role transitions automatically 2019-02-06 14:23:10 -08:00
5f565c92c9 cargo incremental builds breaks Rust BPF, locally disable it (#2674) 2019-02-06 13:59:10 -08:00
7452486c72 Kill running docker containers left over from a previous job 2019-02-06 13:57:11 -08:00
afdf0efd31 Disable bpf_rust temporarily 2019-02-06 13:31:35 -08:00
7fc271ef97 Bump stable timeout 2019-02-06 13:31:35 -08:00
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
0229c97071 Move economics images into img/
And flip the exe bit
2019-02-06 09:29:52 -07:00
c0b398c7c9 Fix markdown and typo 2019-02-06 09:29:52 -07:00
549f9676f1 Allow validators to accumulate credits for voting 2019-02-05 14:24:49 -07:00
6248624ee7 Bump jsonrpc-derive from 10.0.1 to 10.0.2
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/paritytech/jsonrpc/releases)
- [Commits](https://github.com/paritytech/jsonrpc/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 08:17:25 -07:00
0025d36880 Move solana proper back to paritytech/jsonrpc 2019-02-04 22:17:23 -07:00
4985b682c3 Move vote_signer back to paritytech/jsonrpc 2019-02-04 22:17:23 -07:00
85333c5d62 Bump serde_derive from 1.0.85 to 1.0.87
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.85 to 1.0.87.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.85...v1.0.87)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 17:07:01 -07:00
3feda8a315 ReplayStage asking ledger for updates (#2597)
* Modify replay stage to ask db_ledger for updates instead of reading from upstream channel

* Add signal for db_ledger to update listeners about updates

* fix flaky test
2019-02-04 15:33:43 -08:00
5375c420c1 headers style have been adjusted 2019-02-04 14:25:26 -07:00
ac9f6a77c9 Fix compilation errors due to missing "features" section in Cargo.toml
- e.g. breaks in compilations during testnet deployment with Cuda enabled
2019-02-04 11:30:40 -08:00
58f4e0653a Updates to edge testnet dashboard
- Update leader/validator pipeline stage graph, as any node can be
  doing either of the roles
- Update network stats graphs to remove hostname based filtering
2019-02-04 11:08:39 -08:00
03e6a56b3c Add datetime to EntryStream message 2019-02-04 11:03:54 -08:00
32f19c5c19 Bump serde from 1.0.85 to 1.0.87
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.85 to 1.0.87.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.85...v1.0.87)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 09:08:09 -07:00
98e893c69b Avoid empty --features= arg to avoid unnecessary cargo building 2019-02-02 20:08:49 -08:00
fea480526b Add macOS tip 2019-02-02 20:08:49 -08:00
4aa6695a13 source ulimit-n.sh so it applies to the current shell 2019-02-02 20:08:49 -08:00
a7e5423ede Set ulimit -n 2019-02-02 20:08:49 -08:00
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
9d34ded5f3 Update and fix test_broadcast_last_tick (#2644) 2019-02-01 17:13:15 -08:00
511d8275d6 Document current vote program semantics
And add a new 'staker_id' VoteState member variable to offer a path to
work our way out.  Update leader scheduler to use staker_id, but
continue setting it to 'from_id' for the moment.

No functional changes here.
2019-02-01 16:03:46 -08:00
0a9226ec8e Use voting helper 2019-02-01 16:03:46 -08:00
9c07a8c26a VoteProgram -> VoteState 2019-02-01 16:03:46 -08:00
6058bfb687 Simplify voting helpers 2019-02-01 16:03:46 -08:00
7a6d730db3 Skip retransmit when node is leader (#2625)
* Skip retransmit when node is leader

* Fix window test
2019-02-01 14:30:26 -08:00