Commit Graph

4645 Commits

Author SHA1 Message Date
Pankaj Garg
f479021c0f Update leader slot in poh recorder if we skipped it (#3451)
* reset poh recorder with the original start slot
v0.12.1-pre3
2019-03-22 17:35:54 -07:00
Michael Vines
b91afb7079 Remove attempt to update the cluster, just restart it (v0.12 is not ready for update) 2019-03-22 16:51:53 -07:00
Michael Vines
e189c429d5 Refrain from trying to configure a staking account that was previously configured 2019-03-22 16:51:53 -07:00
Michael Vines
6a1904664c Demote log level 2019-03-22 16:51:53 -07:00
Michael Vines
3285cf8047 Retry more for a new blockhash 2019-03-22 10:56:59 -07:00
Michael Vines
bdee3a25f2 Add --poll-for-new-genesis-block flag 2019-03-22 00:44:31 -07:00
Michael Vines
8655df0520 Use same gossip port for all testnet nodes 2019-03-21 23:56:23 -07:00
Michael Vines
c43eecb8ca Include multinode-demo scripts in release tarball 2019-03-21 22:12:07 -07:00
Michael Vines
18f45ebc2c Use installed binaries if not within the cargo workspace 2019-03-21 22:12:07 -07:00
Michael Vines
fd28642603 Run a drone on blockstreamer nodes 2019-03-21 22:12:07 -07:00
Michael Vines
038583b466 Kill all node processes (blockexplorer) 2019-03-21 22:12:07 -07:00
Michael Vines
ed138d392d Fixup ledger path 2019-03-21 17:06:05 -07:00
Michael Vines
58f1f0a28b solana-install doesn't exist on v0.12 2019-03-21 16:49:41 -07:00
Michael Vines
330d9330b0 Ensure current crate versions match the tag before publishing to crates.io 2019-03-21 16:27:44 -07:00
Michael Vines
d626a89c88 / 2019-03-21 16:27:06 -07:00
Michael Vines
db5d22e532 Upload tarball as a github release asset 2019-03-21 16:27:06 -07:00
Michael Vines
aa8759744e Add script to upload github release assets 2019-03-21 16:27:06 -07:00
Michael Vines
060db36c34 Add GITHUB_TOKEN 2019-03-21 16:27:06 -07:00
Michael Vines
fa1ea1c458 Switch version file from .txt to .yaml; add target tuple to version.yml 2019-03-21 16:27:06 -07:00
Pankaj Garg
7685ba2805 Disable accounts squash call from bank
- It's asserting and killing testnet
- temporary solution for beacons
2019-03-21 16:01:43 -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
Michael Vines
f93c9f052f Ensure genesis ledger directory is populated on all validator nodes
This allows all nodes to serve the genesis ledger over rsync instead of
just the bootstrap leader
2019-03-21 15:55:12 -07:00
Michael Vines
e2871053bd Get client-id.json out of the genesis ledger directory 2019-03-21 15:55:08 -07:00
Pankaj Garg
351c9c33d2 change num threads in banking stage bench 2019-03-21 15:00:30 -07:00
Pankaj Garg
59f2a478b7 v0.12 specific stability changes 2019-03-21 15:00:30 -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
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
Pankaj Garg
ad7e727938 Use same VM type for validators as leader, if CUDA is enabled (#3253)
- Since all nodes are created equal
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
Michael Vines
8278585545 Avoid panic on duplicate account indices 2019-03-19 16:06:50 -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