Commit Graph

7860 Commits

Author SHA1 Message Date
Greg Fitzgerald
6a8a494f5d Rename WindowStage to RetransmitStage
The window is used for both broadcasting from leader to validator
and retransmitting between validators.
2018-08-13 20:17:16 -06:00
Greg Fitzgerald
a09d2e252a Move window dependencies out of streamer
No tests!?
2018-08-13 20:17:16 -06:00
Greg Fitzgerald
3e9c463ff1 Offer only 1 way to create a fullnode with an empty window 2018-08-13 20:17:16 -06:00
Tyera Eulberg
46d50f5bde Remove p2p crate (and uPnP support) 2018-08-13 18:22:58 -07:00
Rob Walker
e8da903c6c move tmp_ledger back to target dir 2018-08-13 16:52:53 -07:00
Rob Walker
ab10b7676a use stable cache 2018-08-13 16:23:30 -07:00
Rob Walker
fa44a71d3e move bench to a seprate, parallel step 2018-08-13 16:23:30 -07:00
Rob Walker
c86e9e8568 pad max_data_size to jerasure's alignment requirements 2018-08-13 16:10:51 -07:00
Rob Walker
9e22e23ce6 increase stable timeout until tomorrow 2018-08-13 15:45:50 -07:00
Rob Walker
835f29a178 off by 2 2018-08-13 15:12:12 -07:00
Michael Vines
9688f8fb64 Update IP address v0.7.1 2018-08-13 12:32:09 -07:00
Michael Vines
df5cde74b0 Back out pre-0.7.1 workaround 2018-08-13 12:13:00 -07:00
Michael Vines
231d5e5968 0.7.1 2018-08-13 12:12:27 -07:00
Michael Vines
c2ba72fe1f Fix up validator sanity 2018-08-13 10:23:35 -07:00
Michael Vines
d93786c86a Revert "turn off validator sanity while I work on it"
This reverts commit d4304eea28.
2018-08-13 10:23:35 -07:00
Pankaj Garg
bf15cad36b Add get_finality request and use it from multinode test (#941) 2018-08-13 08:55:13 -07:00
anatoly yakovenko
288ed7a8ea Vote should be valid (#945)
* test that fails

* fix for test

* rename
2018-08-12 18:19:54 -07:00
anatoly yakovenko
f07c038266 Fix bank coalescing (#949)
* fix bank coalescing

* comments

* fix bench

* fix bench

* backout banking stage coalescing

* 120 nodes

* 100
2018-08-12 10:04:21 -07:00
Rob Walker
8eed120c38 add missing backslash 2018-08-10 23:45:08 -07:00
Rob Walker
5dbcb43abd more enhancements 2018-08-10 19:53:58 -07:00
Rob Walker
dd1eefaf62 change verify-internal to precheck
update to new ledger API
2018-08-10 19:53:58 -07:00
Rob Walker
35de159d00 better error messages 2018-08-10 19:53:58 -07:00
Rob Walker
546a1e90d5 clippy fixups 2018-08-10 19:53:58 -07:00
Rob Walker
b033e1d904 enhance ledger-tool
* add json, which does the thing with json, move print to Rust's {:?}
  * add --head NUM, to limit how much work gets done for print, json, verify
  * add verify-internal, which very carefully checks ledger format without
      trying first to "recover" it
  * exit with errors on mis-usage
2018-08-10 19:53:58 -07:00
Rob Walker
96d6985895 rework read_ledger, LedgerWriter, and LedgerWindow for recover()
fixes #910
2018-08-10 18:07:23 -07:00
Michael Vines
58f220a3b7 Add tic-tac-toe program flow concept 2018-08-10 17:39:54 -07:00
Stephen Akridge
a206f2570d Add hostname to metrics on panic 2018-08-10 17:08:40 -07:00
anatoly yakovenko
2318ffc704 Use a different counter for validator account not found errors. (#931)
* Use a different counter for validator account not found errors.  This is a usefull signal of something going wrong with the ledger
2018-08-10 15:18:44 -07:00
Rob Walker
d4304eea28 turn off validator sanity while I work on it 2018-08-10 14:56:46 -07:00
Rob Walker
06af9de753 fixups 2018-08-10 11:41:31 -07:00
Rob Walker
7f71e1e09f fixups 2018-08-10 11:41:31 -07:00
Rob Walker
bb7eccd542 check validator startup in testnet-sanity.sh 2018-08-10 11:41:31 -07:00
Rob Walker
b04c71acd9 check issue 910 in testnet-sanity 2018-08-10 11:41:31 -07:00
Rob Walker
bbf9ea89c5 add some flushing to ledger 2018-08-10 11:41:31 -07:00
Rob Walker
846ad61941 use ~/.solana instead of PWD to keep cargo happy, don't rsync --append 2018-08-10 11:41:31 -07:00
Rob Walker
8b41c415b7 add equal sign 2018-08-10 08:05:48 -07:00
Elisa Rossi
197ba8b395 Fixed punctuation 2018-08-09 16:39:04 -07:00
Tyera Eulberg
8d2a61a0c9 Alphabetize bins 2018-08-09 16:23:05 -06:00
Tyera Eulberg
7512317243 Alphabetize dependencies 2018-08-09 16:23:05 -06:00
Greg Fitzgerald
bca2294655 cargo fmt 2018-08-09 13:41:37 -06:00
Greg Fitzgerald
abd55e4159 Add coding guidelines document 2018-08-09 13:41:37 -06:00
Greg Fitzgerald
4a980568ac Rename sig variables to signature
We'll avoid introducing three-letter terms to free up the namespace
for three-letter acronyms.

But recognize the term "sigverify", a verb, to verify a digital
signature.
2018-08-09 13:41:37 -06:00
Greg Fitzgerald
9d436fc5f8 Rename pk variables to pubkey 2018-08-09 13:41:37 -06:00
Greg Fitzgerald
ad331e6d56 Rename PublicKey type to Pubkey
Recognize pubkey as a noun meaning the public key of a keypair.
2018-08-09 13:41:37 -06:00
Greg Fitzgerald
d7e4e57548 Rename public_key variables to pubkey 2018-08-09 13:41:37 -06:00
Greg Fitzgerald
b2067d2721 Rename kp variables to keypair 2018-08-09 13:41:37 -06:00
Greg Fitzgerald
c2bbe4344e Rename KeyPair to Keypair 2018-08-09 13:41:37 -06:00
Greg Fitzgerald
8567253833 Ignore flaky test 2018-08-09 10:15:10 -06:00
Greg Fitzgerald
ca7d4c42dd Rename cur_hashes to num_hashes 2018-08-09 10:15:10 -06:00
Michael Vines
8ca514a5ca Remove unnecessary : 2018-08-08 22:45:39 -07:00