Sathish
0469dc52ac
Ensure accounts are unlocked ( #3458 )
2019-03-25 12:21:32 -07:00
Carl
4cf418f33f
Fix wrong keypair
2019-03-23 16:33:50 -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
Pankaj Garg
f479021c0f
Update leader slot in poh recorder if we skipped it ( #3451 )
...
* reset poh recorder with the original start slot
2019-03-22 17:35:54 -07:00
Michael Vines
6a1904664c
Demote log level
2019-03-22 16:51:53 -07:00
Anatoly Yakovenko
a0d940acf0
allow empty ancestors
2019-03-21 16:01:43 -07:00
carllin
f4c914a630
Clear progress map on squash ( #3377 )
2019-03-21 16:01:43 -07:00
Anatoly Yakovenko
eede274cfe
fix is_locked_out logic
2019-03-21 16:01:43 -07:00
Carl
4df79b653b
PR comments
2019-03-21 16:01:43 -07:00
Carl
a2c1fa7cb4
Modify bank_forks to support squashing/filtering new root and also don't remove parents from bank_forks when inserting, otherwise we lose potential fork points when querying blocktree for child slots
2019-03-21 16:01:43 -07:00
Stephen Akridge
95cead91a5
Decendent is not a word
2019-03-21 16:01:43 -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
59f2a478b7
v0.12 specific stability changes
2019-03-21 15:00:30 -07:00
Pankaj Garg
430740b691
use ticks per slot to check if the current tick is in the leader slot
2019-03-21 13:45:41 -07:00
Pankaj Garg
797603a0fe
address review comments
2019-03-21 13:45:41 -07:00
Pankaj Garg
f402139991
change pubkey to ref
2019-03-21 13:45:41 -07:00
Pankaj Garg
4db72d85d7
find next leader slot before resetting working bank in Poh recorder
2019-03-21 13:45:41 -07:00
Pankaj Garg
007e17c290
Check if poh recorder has over stepped the leader slot
2019-03-21 13:45:41 -07:00
Rob Walker
3d5eeab6d9
stop copying Blooms ( #3379 )
...
* stop copying Blooms
* fixup
* clippy
2019-03-21 13:45:41 -07:00
Pankaj Garg
061d6ec8fd
fix formatting
2019-03-19 11:21:00 -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
9b3092b965
Report how many grace ticks were afforded to previous leader ( #3350 )
2019-03-19 11:21:00 -07:00
Sagar Dhawan
ca819fc4fb
Fix leader rotation counter
2019-03-19 11:21:00 -07:00
Tyera Eulberg
5ff8f57c0e
Remove dangling thin_client
2019-03-18 22:20:14 -07:00
Pankaj Garg
4798612560
Reduce log level for periodic debug messages
2019-03-15 16:02:52 -07:00
Rob Walker
9760cb2e6a
add support for finding the next slot a node will be leader ( #3298 )
2019-03-15 15:02:20 -07:00
Pankaj Garg
46b3b3a1c6
Give last leader some grace ticks to catch up ( #3299 )
...
* Wait for last leader for some ticks
* New tests and fixed existing tests
2019-03-15 15:02:20 -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
Michael Vines
b2d6681762
Bump log level for better CI logs
2019-03-15 07:48:57 -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
e666509409
Don't vote for empty leader transmissions ( #3248 )
...
* Don't vote for empty leader transmissions
* Add is_delta flag to bank to detect empty leader transmissions
* Plumb new is_votable flag through replay stage
* Fix PohRecorder tests
* Change is_delta to AtomicBool to avoid making Bank references mutable
* Reset start slot in poh_recorder when working bank is cleared, so that connsecutive TPU's will start from the correct place
* Use proper max tick height calculation
* Test for not voting on empty transmission
* tests for is_votable
2019-03-13 14:32:04 -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
2a4f4b3e53
Update crate references
2019-03-12 23:07:48 -06:00
Michael Vines
9a232475a7
0.12.1
2019-03-12 13:42:47 -07:00
Michael Vines
06d7573478
Adjust readme path
2019-03-12 13:36:13 -07:00
Sagar Dhawan
ae750bb16b
Filter vote accounts with no delegate from being selected in Rotation ( #3224 )
2019-03-11 21:32:19 -07:00
Pankaj Garg
80b2f2f6b7
Update current leader information in metrics and dashboard
2019-03-11 18:47:27 -07:00
Mark
56b0ba2601
KvStore - A data-store to support BlockTree ( #2897 )
...
* Mostly implement key-value store and add integration points
Essential key-value store functionality is implemented, needs more work to be integrated, tested, and activated.
Behind the `kvstore` feature.
2019-03-11 17:53:14 -05:00
Michael Vines
3073ebb20d
reduce pub
2019-03-11 17:09:21 -05:00
Stephen Akridge
f8e07ef5a3
banking_stage_entryfication fails when run as cargo test
...
Add some retry for getting entries from the channel.
2019-03-11 14:13:32 -07:00
Carl
a4b6d181a2
rename forwarder ports to tpu_via_blobs
2019-03-11 14:07:17 -07:00
Pankaj Garg
0b8c5d807d
code cleanup
2019-03-11 14:07:17 -07:00
Pankaj Garg
e201136eee
more review comments
2019-03-11 14:07:17 -07:00
Pankaj Garg
55f660d5f9
address review comments
2019-03-11 14:07:17 -07:00
Carl
a4acc631ee
Refactor packing packets into blobs into separate packets_to_blob() function in packets.rs
2019-03-11 14:07:17 -07:00
Carl
3ddf4b6c24
PR fixes
2019-03-11 14:07:17 -07:00