Commit Graph

4044 Commits

Author SHA1 Message Date
anatoly yakovenko c74b8b6df3
Add a design for leader schedule rotation and genesis. (#2714)
Leader schedule rotation.
2019-02-15 16:34:34 -08:00
Stephen Akridge 573116e259 Remove count_last_ids API 2019-02-15 11:05:41 -08:00
Michael Vines 71ab030ea4 Fiddle with timeouts to make CI happy 2019-02-14 18:40:31 -08:00
Michael Vines c4125b80ec Reduce max_tick_height to speed up CI 2019-02-14 18:40:31 -08:00
Michael Vines 626a381ddc Collect and re-forward packets received while TpuForwarder is shutting down 2019-02-14 18:40:31 -08:00
Michael Vines 5333bda234
test_3_partitions is unstable, ignore 2019-02-14 17:30:42 -08:00
Michael Vines cceeb8e52d On leader rotation forward any unprocessed transaction packets to the new leader 2019-02-14 14:49:48 -08:00
Michael Vines 94a0d10499 Avoid overrunning slot0 2019-02-14 14:49:48 -08:00
Michael Vines 3f6aba23dd Add custom BlocktreeConfig for bad tests that break with the default 2019-02-14 14:49:48 -08:00
Michael Vines cd9dac4c7e Use a reasonable max_tick_height 2019-02-14 14:49:48 -08:00
Michael Vines f478894729 Revert "Set DEFAULT_TICKS_PER_SLOT = 32 to stabilize integration tests"
This reverts commit 2d2572d2cb.
2019-02-14 14:49:48 -08:00
Michael Vines 97790480c9 Increase poll_for_signature retry timeout 2019-02-14 14:49:48 -08:00
Tyera Eulberg 9643c39bf6 Fix slot in block event 2019-02-14 14:25:54 -08:00
Carl 0a08d40237 fix repair service to support multinode tests that depend on repairs 2019-02-14 13:37:55 -08:00
Carl d029997aef add parent slot to broadcast 2019-02-14 13:37:55 -08:00
Carl ceb27b431e Add tree test to test multiple chaining children 2019-02-14 13:37:55 -08:00
Carl d3761c2435 Change definitions in book to match current changes 2019-02-14 13:37:55 -08:00
Carl b25d8ce764 Comment out repair service tests, to be fixed in another PR 2019-02-14 13:37:55 -08:00
Carl 34da362ee6 fix blocktree tests 2019-02-14 13:37:55 -08:00
Carl de6109c599 replace num_blocks with parent block 2019-02-14 13:37:55 -08:00
carllin 736f08815e
Add protocol request for requesting the highest blob in a slot (#2759) 2019-02-14 12:47:21 -08:00
Sunny Gleason 106645d9bd add message terminator (newline) to socket writer output to ease client integration 2019-02-14 12:27:53 -08:00
Greg Fitzgerald c55ada2f26 Fix wallet test 2019-02-14 13:26:46 -07:00
Greg Fitzgerald 4e4a1643c4 Boot SystemInstruction::Spawn 2019-02-14 13:26:46 -07:00
Greg Fitzgerald e1e84d4465 Don't reassign owner in Spawn 2019-02-14 13:26:46 -07:00
Greg Fitzgerald 4a0009365e Use Account::owner as loader for executable accounts 2019-02-14 13:26:46 -07:00
dependabot[bot] 3849b8ece4 Bump bincode from 1.0.1 to 1.1.1 (#2709)
* Bump bincode from 1.0.1 to 1.1.1

Bumps [bincode](https://github.com/TyOverby/bincode) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/TyOverby/bincode/releases)
- [Commits](https://github.com/TyOverby/bincode/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* update autocfg 0.1.1 => 0.1.2
2019-02-14 12:46:22 -06:00
Eric f2ab8f17c8 udpate staking section 2019-02-14 07:45:58 -07:00
Greg Fitzgerald 48671a1728 Let native_loader own native executable accounts 2019-02-13 20:55:36 -08:00
Greg Fitzgerald 72b6ec4aa8 Add native program account constructor 2019-02-13 20:55:36 -08:00
Michael Vines 8790a92f07 Adjust create_counter to avoid imposing an AtomicUsize import on users 2019-02-13 20:24:04 -08:00
Michael Vines 0f8ff07b51 tpu now hangs on to its cluster_info 2019-02-13 16:16:18 -08: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
Pankaj Garg 5054e74f7f update to edge book 2019-02-13 14:08:19 -07:00
Pankaj Garg 72e6a39172 Fix the link to proposals chapter in the CONTRIBUTING guidelines 2019-02-13 14:08:19 -07:00
Tyera Eulberg be73db13e0 Improve EntryStream trait and struct names 2019-02-13 13:07:30 -08:00
Tyera Eulberg cbaba5cbf3 Review comments 2019-02-13 13:07:30 -08:00
Tyera Eulberg c1447b2695 Add block event logic to EntryStreamStage 2019-02-13 13:07:30 -08:00
Sunny Gleason e58f08b60f Refactor EntryStream
Co-authored-by: Sunny Gleason <sunny.gleason@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2019-02-13 13:07:30 -08:00
Michael Vines 662d62f561 Always assert on the main test thread to abort quickly 2019-02-13 12:54:06 -08:00
Michael Vines cf4813a1ec Add tests to transact with a cluster rotating at 1 tick per slot 2019-02-13 12:54:06 -08:00
Michael Vines b03636dc33 Bolster test_fullnode_rotate() checks 2019-02-13 12:54:06 -08:00
Michael Vines 6187779d10 Wait for monitor threads to exit before Blocktree destruction 2019-02-13 12:54:06 -08:00
Stephen Akridge ddc8bfed29 Fix bad window_send_test channel logic
Test could hang if the blobs are not sent in the right order.
2019-02-13 11:23:54 -08:00
Stephen Akridge f1221d724d Consolidate logic with entry helper function
Creates an entry and updates the hash.
Also cleanup blobs creation in test_replay
2019-02-13 11:23:54 -08:00
anatoly yakovenko aec44e3761 Add design for the leader validator loop (#2650) 2019-02-13 12:00:43 -07:00
dependabot[bot] aed07f0f48 Bump jsonrpc-derive from 10.0.2 to 10.1.0 (#2748)
* Bump jsonrpc-derive from 10.0.2 to 10.1.0

Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc) from 10.0.2 to 10.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases)
- [Commits](https://github.com/paritytech/jsonrpc/compare/v10.0.2...v10.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump version for all jsonrpc crates; remove pubsub dependency in vote-signer
2019-02-13 10:44:22 -07:00