carllin
bf11d7ef43
Fix resetting PohRecorder to wrong bank ( #3553 ) ( #3574 )
...
* Check whether future slot already has transmission
2019-03-30 02:06:49 -07:00
carllin
6c46fcfa4e
Restart node test ( #3459 )
...
* Add test to local_cluster for restarting a node
* fix so that we don't hit end of epoch - leader not found before trying to transfer
2019-03-23 15:00:23 -07:00
Carl
12ec5304f2
Revert "fix so that we don't hit end of epoch - leader not found before trying to transfer"
...
Revert "Add test to local_cluster for restarting a node"
2019-03-22 21:46:08 -07:00
Carl
e32f798d5f
fix so that we don't hit end of epoch - leader not found before trying to transfer
2019-03-22 20:47:32 -07:00
Carl
68a8b955bc
Add test to local_cluster for restarting a node
2019-03-22 19:30:14 -07:00
anatoly yakovenko
89c42ecd3f
Implement locktower voting ( #3251 )
...
* locktower components and tests
* integrate locktower into replay stage
* track locktower duration
* make sure threshold is checked after simulating the vote
* check vote lockouts using the VoteState program
* duplicate vote test
* epoch stakes
* disable impossible to verify tests
2019-03-21 16:01:43 -07:00
Pankaj Garg
3f7cd4adc4
Ignore broken tests that are fixed on master
...
- ignoring, as cherry picking from master will bring in other
unnecessary dependent changes
2019-03-21 13:45:41 -07:00
Pankaj Garg
4318854a64
ignore broken test
2019-03-21 13:45:41 -07:00
Pankaj Garg
000cc27e53
Schedule node for consecutive slots as leader ( #3353 )
...
* Also tweak epoch and slot duration
* new test for leader schedule
2019-03-19 11:21:00 -07:00
Pankaj Garg
1e70f85e83
[v0.12] Reduce ticks per second ( #3287 )
...
* Reduce ticks per second
- It's improving TPS. Temp fix for beacons timeframe
* Fix confirmation test
2019-03-15 14:15:54 -07:00
Greg Fitzgerald
c60baf99f3
Rename userdata to data ( #3282 )
...
* Rename userdata to data
Instead of saying "userdata", which is ambiguous and imprecise,
say "instruction data" or "account data".
Also, add `ProgramError::InvalidInstructionData`
Fixes #2761
2019-03-14 13:04:42 -07:00
carllin
6740cb5b02
Replay Stage start_leader() can use wrong parent fork() ( #3238 )
...
* Make sure start_leader starts on the last voted block, not necessarily the biggest indexed bank in frozen_slots()
* Fix tvu test
2019-03-13 03:16:13 -07:00
Tyera Eulberg
1e8e99cc3e
Move and rename cluster_client
2019-03-12 23:07:48 -06:00
Tyera Eulberg
ca8e0ec7ae
Move thin client tests to integration test suite
2019-03-12 23:07:48 -06:00
Tyera Eulberg
2a4f4b3e53
Update crate references
2019-03-12 23:07:48 -06:00
Carl
3ddf4b6c24
PR fixes
2019-03-11 14:07:17 -07:00
Carl
ccd1173a83
Add local cluster test for forwarding
2019-03-11 14:07:17 -07:00
Rob Walker
195a880576
pass Pubkeys as refs, copy only where values needed ( #3213 )
...
* pass Pubkeys as refs, copy only where values needed
* Pubkey is pervasive
* fixup
2019-03-09 19:28:43 -08:00
Michael Vines
ac226c3e14
Remove superfluous set_leader() usage
2019-03-08 19:59:54 -08:00
Michael Vines
17921c9fae
Delete NodeInfo type
2019-03-08 18:37:36 -08:00
Rob Walker
0acdbc0d03
plumb staking_account and voting_keypair from multinode-demo to Vote ( #3199 )
...
* plumb staking_account and voting_keypair from bash to Vote
2019-03-08 19:29:08 -07:00
Michael Vines
31cbb52654
Rename new_entry_point as new_gossip_entry_point to clarify usage
2019-03-08 17:42:25 -08:00
Michael Vines
cd88f81817
bench-tps no longer uses an invalid ContactInfo for RPC
2019-03-08 17:42:25 -08:00
Michael Vines
e18673953c
Remove poll_gossip_for_leader()
2019-03-08 11:14:47 -08: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
f83a64d17f
poll_gossip_for_leader: simplify timeout arg
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
Michael Vines
b03fd782de
Make room for more fields in JsonRpcConfig
2019-03-06 10:23:57 -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
545feab6db
Misc token to lamport renaming
2019-03-05 17:56:44 -08:00
Greg Fitzgerald
fc8489a04d
Stop using LocalVoteSigner
2019-03-05 09:34:54 -07:00
Michael Vines
6ab6e6cb9b
Clean up exit flag handing across TVU
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
906df5e20e
Exit signal cleanup: pass in references, make the receiver clone as needed
2019-03-04 18:43:21 -08:00
Rob Walker
6d82123125
rename bank_id to bank_slot
2019-03-04 17:10:27 -08:00
Anatoly Yakovenko
3a4018cd03
review comments; rename Unsafe to TestOnlyAllowRpcFullnodeExit
2019-03-04 10:18:17 -08:00
Anatoly Yakovenko
c299dd390e
Fullnode rpc to exit with unsafe config
2019-03-04 10:18:17 -08:00
anatoly yakovenko
1654199b23
Use PohRecorder to synchronize instead of rotate. ( #3080 )
2019-03-03 16:44:06 -08:00
Michael Vines
a94880574b
block_hash => blockhash
2019-03-02 12:13:30 -07:00
Michael Vines
85159a0eb4
Rename JSON RPC getLastId to getRecentBlockHash
2019-03-02 12:13:30 -07:00
Michael Vines
258cf21416
Purge remaining last_id (now called block_hash)
2019-03-02 12:13:30 -07:00
Michael Vines
2bfad87a5f
Rename Bank.last_id() to Bank.last_block_hash()
2019-03-02 12:13:30 -07:00
Michael Vines
ce1b72809a
Rename get_last_id() to get_recent_block_hash()
2019-03-02 12:13:30 -07:00
Michael Vines
2bc939f535
Adapt to slower moving last_ids
2019-03-02 08:47:31 -08:00
Anatoly Yakovenko
b1a648113f
simple replay stage
2019-03-01 20:56:29 -08:00
anatoly yakovenko
041a06b432
kill multinode ( #3038 )
2019-03-01 20:09:13 -08: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
7c4473e0aa
Rename Entry.id to Entry.hash
2019-03-01 09:31:49 -08:00