Commit Graph

762 Commits

Author SHA1 Message Date
Greg Fitzgerald fe9a1c8580 Fix comment 2018-06-21 21:24:32 -07:00
Greg Fitzgerald cd6d7d5198 Remove redundant clones 2018-06-21 21:24:32 -07:00
Anatoly Yakovenko effcef2184 fixed sleep bug 2018-06-20 16:58:10 -07:00
Greg Fitzgerald 410272ee1d Update generic_array
Warning: this may have performance implications.
2018-06-20 11:41:54 -07:00
Greg Fitzgerald 1c97bf50b6 Fix nightly
No longer ignore failures in the nightly build.
2018-06-19 17:38:04 -07:00
Greg Fitzgerald 2f4a92e352 Cleanup test 2018-06-19 12:36:02 -07:00
OEM Configuration (temporary user) ceafc29040 fix linting errors, add retransmission fix to repair requests 2018-06-19 12:36:02 -07:00
OEM Configuration (temporary user) b20efabfd2 added retransmission of repair messages 2018-06-19 12:36:02 -07:00
Rob Walker 6aced927ad improve ledger initialization for fullnode
* use a line iterator on stdin instead of a line iterator on a buffer
 * move some unwrap() to expect(), documenting failures
 * bind entry type earlier (for kicks)
2018-06-19 09:28:35 -07:00
Rob Walker 0de5e7a285 attempt to understand entry 2018-06-18 16:48:59 -07:00
Greg Fitzgerald c40000aeda Fix compiler warning 2018-06-18 15:49:41 -07:00
Stephen Akridge 31198bc105 Fix cargo bench nightly 2018-06-18 13:20:39 -07:00
Michael Vines 92599acfca Abort when -l is not present or unreadable 2018-06-16 09:55:03 -07:00
Greg Fitzgerald f6e70779fe Don't panic if sent a bad packet 2018-06-16 09:51:45 -06:00
Greg Fitzgerald 9d84ec4bb3 Delete TODO
That comment predates the separation of RPU and TPU.
2018-06-16 08:59:30 -06:00
Anatoly Yakovenko 586141adb2 Cleanup TVU docs 2018-06-15 22:45:35 -06:00
Michael Vines 15c7f36ea3 Improve error reporting 2018-06-15 17:10:00 -07:00
Greg Fitzgerald 327ee1dae8 Apply feedback from @aeyakovenko 2018-06-15 17:01:38 -06:00
Greg Fitzgerald 22885c3e64 Add TVU ASCII art 2018-06-15 17:01:38 -06:00
Stephen Akridge 94ededb54c Add comments and limit digits for tps prints 2018-06-15 11:54:01 -06:00
Stephen Akridge af6a07697a Change client-demo to run continuosly for some amount of time
Also retry for get_last_id/transaction_count if dropped.
2018-06-15 11:54:01 -06:00
Stephen Akridge 5f1d8c95eb Fix blob data size 2018-06-15 11:54:01 -06:00
Anatoly Yakovenko 7d9e032407 make sure we test large tables 2018-06-15 06:56:35 -06:00
Anatoly Yakovenko bc918a5ad5 purger 2018-06-15 06:56:35 -06:00
Anatoly Yakovenko ee54ce4727 min table size before purge 2018-06-15 06:56:35 -06:00
Anatoly Yakovenko e85bf2f2d5 tests pass 2018-06-15 06:56:35 -06:00
Anatoly Yakovenko a7460ffbd1 purge validators we havent seen for a long time 2018-06-15 06:56:35 -06:00
Rob Walker 7fe1fd2f95 clean up fullnode cmdline
* fix documentation, other opt parameters
 * add support for a named output file, remove hardcoded "leader.log"
 * resurrect stdout as the default output
2018-06-15 00:41:07 -07:00
Greg Fitzgerald 9b202c6e1e No longer flood log with emtpy entries 2018-06-14 18:04:36 -06:00
Stephen Akridge 87946eafd5 Lower processing transaction message to debug by default 2018-06-14 17:08:11 -06:00
Greg Fitzgerald 7575d3c726 Add timestamp to log messages
Upgraded env_logger and now we have timestamps and colorful messages.

Fixes #318
2018-06-14 17:07:58 -06:00
Stephen Akridge 8b9713a934 Skip link_local v4 addresses and v6 address when v6 is not enabled 2018-06-14 16:10:31 -06:00
anatoly yakovenko c24b0a1a3f
TVU rework (#352)
Refactored TVU, into stages
* blob fetch stage for blobs
* window stage for maintaining the blob window
* pulled out NCP out of the TVU so they can be separate units
TVU is now just the fetch -> window -> request and bank processing
2018-06-13 21:52:23 -07:00
Robert Kelly 34e0cb0092 cargo fmt 2018-06-13 19:17:21 -07:00
Robert Kelly 7b7c7cba21 changed atty library 2018-06-13 19:17:21 -07:00
Anatoly Yakovenko c45343dd30 comments 2018-06-13 16:11:44 -06:00
Anatoly Yakovenko b7f6603c1f fix coverage build 2018-06-13 16:11:44 -06:00
anatoly yakovenko 2d3b052dea
allow for insertion of dummy entry points into the local table (#346)
* Needed for #341. Create a dummy entry with public key 0..., but with a valid gossip address that we can ask for updates. This will allow validators to discover the full network by just knowing a single node's gossip address without knowing anything else about their identity.
* once we start removing dead validators this entry should get purged since we will never see a message from public key 0, #344
2018-06-13 11:42:30 -07:00
Greg Fitzgerald 5435bb734c Upgrade rand 2018-06-11 15:51:25 -06:00
Stephen Akridge 0fce3368d3 Fix json perf counter print and add script to generate a chart 2018-06-09 10:55:22 -07:00
Stephen Akridge 1ee5c81267 Fix benchmarking banking_stage 2018-06-08 15:50:36 -07:00
Stephen Akridge 3bb9d5eb50 Use timing::timestamp for counters 2018-06-08 15:50:36 -07:00
Greg Fitzgerald 7aa05618a3 data_replicator -> ncp
Fixes #327
2018-06-07 17:11:17 -06:00
Greg Fitzgerald cdfbbe5e60 Fix diagram typos 2018-06-07 17:11:17 -06:00
Greg Fitzgerald fe7d1cb81c Race -> Or
Thanks for the suggestion @FishmanL!
2018-06-07 17:11:03 -06:00
Anatoly Yakovenko c2a9395a4b perf counters 2018-06-07 14:59:21 -07:00
Greg Fitzgerald 586279bcfc Add server diagrams 2018-06-07 15:24:44 -06:00
Greg Fitzgerald 8bd10e7c4c Cleanup top-level lib doc 2018-06-07 15:24:44 -06:00
Greg Fitzgerald 928e6165bc Add TPU & RPU diagrams 2018-06-07 15:24:44 -06:00
anatoly yakovenko 77c9e801aa
fixed client demo (#325)
* fixed client demo
2018-06-07 13:51:15 -07:00