Anatoly Yakovenko
b1a648113f
simple replay stage
2019-03-01 20:56:29 -08:00
Greg Fitzgerald
2782922f7a
Rename BroadcastService back to BroadcastStage
2019-03-01 21:10:53 -07:00
anatoly yakovenko
041a06b432
kill multinode ( #3038 )
2019-03-01 20:09:13 -08:00
dependabot[bot]
269a82f796
Bump serde_derive from 1.0.88 to 1.0.89
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.88...v1.0.89 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-01 20:15:49 -07:00
Pankaj Garg
6b83ce4937
address review comments
2019-03-01 17:58:05 -08:00
Pankaj Garg
ae557104a5
Create vote account and fund it in local cluster test harness
2019-03-01 17:58:05 -08:00
Sagar Dhawan
6a34b11dd0
Sum up all stakes for a delegate when calculating stake ( #3045 )
2019-03-01 17:31:59 -08:00
Rob Walker
54417acfba
changed vote_states to vote_accounts, more useable ( #3047 )
2019-03-01 17:22:49 -08:00
Rob Walker
29d12d9ff1
remove new_bank_from_parent_with_id() ( #3039 )
2019-03-01 16:39:23 -08:00
Stephen Akridge
4ee857ab7d
More vote account fixes
...
vote_index not being maintained correctly during a squash.
The tokens==0 shielding accounts were being inserted with
owner=default Pubkey so they didn't know they are vote accounts
and should update the vote accounts set.
2019-03-01 16:25:14 -08:00
dependabot[bot]
771a88665c
Bump serde from 1.0.88 to 1.0.89
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.88...v1.0.89 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-01 15:51:11 -07:00
Rob Walker
a7c18cc0b4
Fnbool_to_FnOptionT
2019-03-01 14:12:50 -08:00
Michael Vines
e30e4cc603
Remove get_confirmation_timestamp() from HashQueue
2019-03-01 13:38:17 -08:00
Michael Vines
fdc31e99df
Clean up type casts
2019-03-01 13:38:17 -08:00
Michael Vines
a72325dbc2
entry_id -> entry
2019-03-01 13:38:17 -08:00
Michael Vines
67b6be66c8
Rename MAX_ENTRY_IDS
2019-03-01 13:38:17 -08:00
Michael Vines
8ec13d557f
Generalize tick_height to hash_height
2019-03-01 13:38:17 -08:00
Michael Vines
31f570a9f4
Remove unused functions
2019-03-01 13:38:17 -08:00
Sagar Dhawan
46b7b795bf
Fix Typo in Fullnode Diagram ( #3036 )
2019-03-01 11:58:09 -08:00
Rob Walker
38273427ad
have banks save vote_state by epoch to support stable leader schedules ( #3019 )
...
have banks save vote_state by epoch to support stable leader schedules
2019-03-01 11:54:28 -08:00
Michael Vines
46fb0b1b94
Rename last_id to last_hash within HashQueue
2019-03-01 11:48:09 -08:00
Michael Vines
224b705f8d
Rename genesis_block.last_id() to genesis_block.hash()
2019-03-01 11:48:09 -08:00
Greg Fitzgerald
028f41eb51
Move secure vote signing out of proposals
2019-03-01 12:16:28 -07:00
anatoly yakovenko
c27726e065
Add a black box local cluster harness ( #3028 )
...
Integration test harness for the network.
2019-03-01 10:36:52 -08:00
Michael Vines
a57fb00584
Rename last_id_queue.rs to hash_queue.rs
2019-03-01 09:50:51 -08:00
Michael Vines
360055ad70
Rename LastIdQueue to HashQueue
2019-03-01 09:50:51 -08:00
Michael Vines
558f10c862
Rename PohEntry.id to PohEntry.hash
2019-03-01 09:50:51 -08:00
Greg Fitzgerald
c53c351759
Rename erc20 to token-program
...
Everything it uses already had that name, just the crate was never
renamed.
2019-03-01 10:47:38 -07:00
Michael Vines
7c4473e0aa
Rename Entry.id to Entry.hash
2019-03-01 09:31:49 -08:00
Michael Vines
7e7b79ef34
Rename prev_id to prev_hash
2019-03-01 09:31:49 -08:00
Michael Vines
e993d511e3
Rename last_entry_id variables to last_entry_hash
2019-03-01 09:01:59 -08:00
Michael Vines
251b0957f1
Ignore flaky test_dropped_handoff_recovery
2019-03-01 09:01:28 -08:00
Jack May
b9524217fe
Update rust example to use BPF enabled infrastructure ( #2974 )
2019-02-28 22:05:11 -08:00
Michael Vines
6b228df3df
Remove last_entry_id/next_blob_index from TvuRotationInfo
2019-02-28 21:57:17 -08:00
Michael Vines
6cf6a1ccc3
process_blocktree() now halts forks at the first partial slot
2019-02-28 21:57:17 -08:00
Michael Vines
d889e77fba
Add reset_slot_consumed()
2019-02-28 21:57:17 -08:00
Michael Vines
93d65aa9cc
Use your words
2019-02-28 21:02:29 -08:00
Michael Vines
f216a7179a
Ignore test_full_leader_validator_network
2019-02-28 21:01:10 -08:00
Sagar Dhawan
434b8a8970
Fix another PR race
2019-02-28 20:11:50 -08:00
carllin
cc9191f1b0
Update blocktree API's ( #3025 )
2019-02-28 19:49:22 -08:00
Rob Walker
567bbecca0
use bank.id() where we want 'slot'; bank.slot_height() is not slot ( #3014 )
2019-02-28 19:07:47 -08:00
Sagar Dhawan
07e4f9a611
Fix PR race
2019-02-28 18:44:07 -08:00
Pankaj Garg
b41286919d
Rename bank.id to bank.slot ( #3018 )
2019-02-28 18:02:45 -08:00
Jack May
564057c812
Bump rust-bpf-sysroot to pull in liballoc
2019-02-28 17:25:28 -08:00
Sagar Dhawan
20e4edec61
Refactor Vote Program Account setup ( #2992 )
2019-02-28 17:08:45 -08:00
Pankaj Garg
d5f0e49535
Refactor fullnode rotation test ( #3015 )
2019-02-28 15:53:09 -08:00
Pankaj Garg
30bccc0c68
Fix slot index used while calculating leader schedule
...
- slot_leader_at() was using absolute slot number instead of index in the epoch
2019-02-28 15:41:01 -08:00
Stephen Akridge
1c44b738fe
Fix vote_accounts test
2019-02-28 15:22:47 -08:00
carllin
217f30f9c3
Add get_supermajority_slot() function ( #2976 )
...
* Moved supermajority functions into new module, staking_utils
* Move staking functions out of bank, and into staking_utils, change get_supermajority_slot to only use state from epoch boundary
* Move bank slot height in staked_nodes_at_slot() to be bank id
2019-02-28 13:15:25 -08:00
Greg Fitzgerald
fec867539d
More SlotMeta docs ( #3011 )
2019-02-28 12:18:11 -07:00