Michael Vines
32aaa5fd06
Derive retry timeout from slot duration
2019-02-27 17:00:10 -08:00
Rob Walker
163874d4da
remove `purge` parameter to accounts ( #2990 )
2019-02-27 16:06:06 -08:00
Tyera Eulberg
873007bae1
Fix tests and move bank dependency slightly
2019-02-27 15:31:23 -08:00
Tyera Eulberg
a67a88c8ef
Hoist EntrySender in ReplayStage
2019-02-27 15:31:23 -08:00
carllin
6d1b43f1b1
Make leader_schedule a utitlity module named leader_schedule_utils ( #2988 )
2019-02-27 14:41:46 -08:00
Sagar Dhawan
3a20a20807
Reintroduce leader_id to blobs ( #2986 )
2019-02-27 13:37:08 -08: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
Michael Vines
140954a53c
Remove Tpu::is_leader(), fullnode doesn't need it anymore
2019-02-27 11:55:21 -08:00
Michael Vines
b5d7ac3ce3
Set delay based on ticks_per_slot to ensure the test makes it to a new block
2019-02-27 11:13:29 -08:00
Michael Vines
b5d714eec7
Derive retry timeout from slot duration
2019-02-27 11:13:29 -08:00
Michael Vines
36cdaffe25
Fix indent
2019-02-27 11:11:24 -08:00
Michael Vines
16e2443f61
Remove unnecessary if
2019-02-27 11:06:38 -08:00
Rob Walker
9adbc1dd60
nit: always pass &Arc<Bank>, clone() only where consumed
2019-02-27 10:55:43 -08:00
Michael Vines
b6ccb475f1
Clarify FIXME source
2019-02-27 10:37:48 -08:00
Sathish Ambley
ca0f16ccc0
Fix test failure
2019-02-27 08:22:52 -08:00
Stephen Akridge
c241a56fb0
Remove extraneous print.
2019-02-27 08:22:52 -08:00
Sathish Ambley
4149f7fd1c
Fix review comments
2019-02-27 08:22:52 -08:00
Sathish Ambley
cc68ecdacf
Use default if previous values do not exist
2019-02-27 08:22:52 -08:00
Sathish Ambley
96b349dcbb
Performance optimizations
2019-02-27 08:22:52 -08:00
Stephen Akridge
5216952691
Change benchmark path to target/ or OUT_DIR
...
Also reduce some code duplication with cleanup_dirs fn.
2019-02-27 08:22:52 -08:00
Sathish Ambley
c46b2541fe
- Fix lock/unlock of accounts
...
- Fix format check warnings
2019-02-27 08:22:52 -08:00
Stephen Akridge
2158ba5863
tx count per fork
2019-02-27 08:22:52 -08:00
Stephen Akridge
180d297df8
Rebase and panic with no accounts
...
Add Accounts::has_accounts function for hash_internal_state calculation.
2019-02-27 08:22:52 -08:00
Sathish Ambley
c276375a0e
Persistent account storage across directories
2019-02-27 08:22:52 -08:00
Sathish Ambley
130563cd4c
AppendVec
2019-02-27 08:22:52 -08:00
Michael Vines
9e2a7921c8
Recover from rebase
2019-02-26 22:08:17 -08:00
Michael Vines
9539154a4a
Remove test_name arg
2019-02-26 22:08:17 -08:00
Michael Vines
84bd9296cd
Centralize unwrap() within create_new_tmp_ledger!
2019-02-26 22:08:17 -08:00
Michael Vines
88ecce12a2
No longer need to give new_fullnode() a random string
2019-02-26 22:08:17 -08:00
Michael Vines
5a7b99ecc2
Add/employ create_new_tmp_ledger!()
2019-02-26 22:08:17 -08:00
Michael Vines
55a76ed4b0
Populate test ledgers with a full slots to reduce test boilerplate
2019-02-26 22:08:17 -08:00
carllin
033a04129a
Add lockouts to vote program ( #2944 )
...
* Add lockouts to vote program
* Rename MAX_VOTE_HISTORY TO MAX_LOCKOUT_HISTORY, change process_vote() to only pop votes after MAX_LOCKOUT_HISTORY + 1 votes have arrived
* Correctly calculate serialized size of an Option, rename root_block to root_slot
2019-02-26 22:19:31 -07:00
Pankaj Garg
789fff2ae2
Replace LeaderScheduler with LeaderScheduler1 ( #2962 )
...
* Migrate to LeaderScheduler1 (and added some missing methods)
* Delete LeaderScheduler
* Rename LeaderScheduler1 to LeaderScheduler
2019-02-26 22:16:18 -07:00
Jack May
9750488200
Update rust-bpf-sysroot to pull in latest core,stdsimd ( #2972 )
2019-02-26 19:55:28 -08:00
dependabot[bot]
46ec5cf765
Bump dirs from 1.0.4 to 1.0.5
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-26 20:04:36 -07:00
Carl
ee16cc77a3
Move last_ids to a simple Hash, unwrap from Arc<RwLock>>
2019-02-26 18:19:26 -08:00
Michael Vines
a669241cb1
Add/use get_tmp_ledger_path!() and tmp_copy_blocktree!()
2019-02-26 17:50:43 -08:00
Jack May
0174945853
Program tests now check signature status ( #2965 )
2019-02-26 17:09:57 -08:00
Rob Walker
ea0837973e
blocktree_processor to use slots as bank ids, and squash
2019-02-26 17:35:22 -07:00
dependabot[bot]
85819983d7
Bump lazy_static from 1.2.0 to 1.3.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-26 17:31:19 -07:00
Jack May
78841532f7
Add Rust helpers ( #2959 )
2019-02-26 15:17:38 -08:00
Stephen Akridge
72214b2b68
Squash test to test parent bank after squash
2019-02-26 15:15:34 -08:00
Sagar Dhawan
ee83a2ac29
Make stake sorting more deterministic for data plane
2019-02-26 14:11:08 -08:00
Michael Vines
82c759b6cb
Add whitespace, comment cleanup
2019-02-26 14:07:39 -08:00
Michael Vines
6de5354b8e
Update the RPC bank on fullnode rotation
2019-02-26 14:07:39 -08:00
Rob Walker
87281f6ed5
ensure at Accounts level that tokens == 0 means None ( #2960 )
2019-02-26 13:51:39 -08:00
Jack May
a8cd66ffa2
Pull Rust enabled LLVM ( #2957 )
2019-02-26 13:03:57 -08:00
Michael Vines
d1e1258f97
Revert "Ignore flaky test_active_set_refresh_with_bank"
...
This reverts commit 10ad536e09
.
2019-02-26 12:04:58 -08:00
Sagar Dhawan
4d73bbe48f
Fix flaky gossip weighted tests
2019-02-26 11:58:03 -08:00
Michael Vines
10ad536e09
Ignore flaky test_active_set_refresh_with_bank
2019-02-26 11:56:47 -08:00