1985 Commits

Author SHA1 Message Date
Tyera Eulberg
f55103498f Remove commented test code 2019-03-07 19:18:53 -07:00
Greg Fitzgerald
c5e9c6fdb6 Get chacha off Budget 2019-03-07 19:18:53 -07:00
Greg Fitzgerald
125a345c90 Fix pubsub test 2019-03-07 19:18:53 -07:00
Greg Fitzgerald
10b16753af Remove 'new' constructor 2019-03-07 19:18:53 -07:00
Tyera Eulberg
259c820f15 Review comments 2019-03-07 17:21:32 -07:00
Tyera Eulberg
6a81f9e443 Add program subscriptions to rpc 2019-03-07 17:21:32 -07:00
Sagar Dhawan
02eb234399
Fix TVU and PoH Recorder going out of sync (#3164)
* Fix broadcast_stage error

* Account for very fast ticks in tick verification
2019-03-07 15:49:07 -08:00
Michael Vines
0be59cad4e Remove dead code 2019-03-07 13:05:42 -08:00
Michael Vines
5edbd6a7fb gossip_service::discover() now reports the leader 2019-03-07 13:05:42 -08:00
Michael Vines
54ff9b3ac2 Shutdown gossip on failure 2019-03-07 13:05:42 -08:00
Michael Vines
5463226184 Give spy nodes a proper keypair 2019-03-07 13:05:42 -08:00
Michael Vines
b96bccd71f Use Self 2019-03-07 13:05:42 -08:00
Michael Vines
07a948a0d0 Replicator now uses its keypair for gossip 2019-03-07 13:05:42 -08:00
Michael Vines
8f034280dc Increase polling frequency to report convergence quicker 2019-03-07 13:05:42 -08:00
Michael Vines
83f551d9b9 Use poll_gossip_for_leader() 2019-03-07 13:05:42 -08:00
Michael Vines
f83a64d17f poll_gossip_for_leader: simplify timeout arg 2019-03-07 13:05:42 -08:00
Michael Vines
8bc7d5a172 Remove spy_node duplication 2019-03-07 13:05:42 -08:00
Michael Vines
679a718cbf poll_gossip_for_leader() code cleanup 2019-03-07 13:05:42 -08:00
Michael Vines
b083e4db48 Resolve TODO 2019-03-07 13:05:42 -08:00
Michael Vines
a3cab470d3 Rename ClusterInfo::new_with_keypair() to ClusterInfo::new() 2019-03-07 13:05:42 -08:00
Michael Vines
bb93504965 Rename ClusterInfo::new() to ClusterInfo::new_with_invalid_keypair() 2019-03-07 13:05:42 -08:00
Rob Walker
9e9c0785e7
groom broadcast (#3170) 2019-03-07 09:43:42 -08:00
Tyera Eulberg
9fedc9513b Use generics for add/remove subscriptions 2019-03-06 20:50:48 -08:00
Rob Walker
01fb76f4bd
add epoch warmup (#3166)
add epoch warmup
2019-03-06 16:32:23 -08:00
Rob Walker
63a4ed74a4
consolidate logic for epoch and slot_index into Bank (#3144) 2019-03-06 14:44:21 -08:00
Pankaj Garg
0252bf2f46 fix fmt 2019-03-06 12:25:28 -08:00
Pankaj Garg
283bb84134 Create UDP socket once per process_loop for forwarding transactions 2019-03-06 12:25:28 -08:00
Michael Vines
0a4f909566 requestAirdrop RPC API is now optional 2019-03-06 10:23:57 -08:00
Michael Vines
516aa44aad Don't fetch the working_bank twice 2019-03-06 10:23:57 -08:00
Michael Vines
b1763f9187 Remove dead code 2019-03-06 10:23:57 -08:00
Michael Vines
b03fd782de Make room for more fields in JsonRpcConfig 2019-03-06 10:23:57 -08:00
Tyera Eulberg
789a9df9f6 s/id/hash in block events 2019-03-06 08:51:10 -08:00
Michael Vines
bd39ab9365 Clean up exit signal handling 2019-03-05 19:20:29 -08:00
anatoly yakovenko
1c0cfb17a3 Start leader based on Poh tick height. (#3084)
* Start leader based on poh and test

* Equalize validator and leader stakes in LocalCluster

* Clear WorkingBank on poh_recorder reset
2019-03-05 17:56:51 -08:00
Michael Vines
f1d1852691 Rename tokens to lamports in core/ 2019-03-05 17:28:06 -08:00
Michael Vines
53f09c44f3 Rename tokens to lamports in sdk/ 2019-03-05 17:28:06 -08:00
Carl
bd237a2d6f Add transaction to test harness to set the delegate for validator vote accounts 2019-03-05 16:51:47 -07:00
Carl
76a7038335 Update test harness to set a delegate on validator vote accounts 2019-03-05 16:51:47 -07:00
Rob Walker
cb0560df92 remove dead code 2019-03-05 15:35:24 -08:00
Rob Walker
b9e878ee80
slot_height considered harmful (#3135)
* slot_height considered harmful
* fix test_tick_slot_epoch_indexes
2019-03-05 14:18:29 -08:00
Michael Vines
1997640094 Remove prints 2019-03-05 14:09:40 -08:00
Stephen Akridge
0f1d6c6271 Check for no entries left in blocktree in a given slot
There may not be ENTRIES_PER_SEGMENT entries a slot, if so
then we will hang waiting for more.
2019-03-05 11:53:40 -08:00
Greg Fitzgerald
52fc974cdf The funder is not a staker 2019-03-05 12:46:18 -07:00
Greg Fitzgerald
fc8489a04d Stop using LocalVoteSigner 2019-03-05 09:34:54 -07:00
Greg Fitzgerald
885eeec3ed Boot storage program from the SDK 2019-03-05 07:16:33 -07:00
Michael Vines
6ab6e6cb9b Clean up exit flag handing across TVU 2019-03-04 21:26:50 -08:00
Michael Vines
2a849ae268 Inline LeaderServices 2019-03-04 21:26:50 -08:00
Michael Vines
4808f6a9f8 Clean up exit flag handing in TPU 2019-03-04 21:26:50 -08:00
Michael Vines
96bfe92334 Clean up fullnode/tpu/tvu/fetch_stage exit signal 2019-03-04 21:26:50 -08:00
Michael Vines
e7cde846cb Clean up gossip service exit flag handling 2019-03-04 21:26:50 -08:00