Commit Graph

2334 Commits

Author SHA1 Message Date
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
Anatoly Yakovenko
c78132417f fix deadlock 2018-06-07 13:52:33 -06:00
Anatoly Yakovenko
ba1163d49f fix logs 2018-06-07 13:52:33 -06:00
Anatoly Yakovenko
6f9c89af39 fix deadlock 2018-06-07 13:52:33 -06:00
Greg Fitzgerald
f0d1fdfb46 Add missing module descriptions 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
3b8b2e030a Better docs for transaction 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
b4fee677a5 Better docs for payment_plan 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
fe706583f9 Better docs for sigverify_stage 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
d0e0c17ece Better docs for rpu 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
5aaa38bcaf Better docs for write_stage 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
6ff9b27f8e Better docs for entry 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
3f4e035506 Better docs for budget 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
57d9fbb927 Better docs for banking_stage 2018-06-07 09:25:36 -06:00
Greg Fitzgerald
ee44e51b30 Better docs for the bank 2018-06-07 09:25:36 -06:00
Stephen Akridge
a710d95243 Fix non-erasure blob nulling 2018-06-05 15:32:25 -06:00
Stephen Akridge
a06535d7ed cargo fmt 2018-06-05 15:32:25 -06:00
Stephen Akridge
f511ac9be7 Fixes for receiving old blobs and nulling the window with coding 2018-06-05 15:32:25 -06:00
Stephen Akridge
e28ad2177e Receive fixes 2018-06-05 15:32:25 -06:00
Stephen Akridge
cb16fe84cd Rework to fix coding blob insertion 2018-06-05 15:32:25 -06:00
Stephen Akridge
ec3569aa39 Move receive_index to correct place 2018-06-05 15:32:25 -06:00
Stephen Akridge
246edecf53 Add receive_index for broadcast blobs and fix blobs_len position 2018-06-05 15:32:25 -06:00
Stephen Akridge
34834c5af9 Store another size in the data block so it is coded as well 2018-06-05 15:32:25 -06:00
Stephen Akridge
b845245614 Restore more of the blob window and add is_coding helper 2018-06-05 15:32:25 -06:00
Stephen Akridge
5711fb9969 Generate coding for the current blob set not just the first coding set 2018-06-05 15:32:25 -06:00
Stephen Akridge
d1eaecde9a Fix deadlock and only push to contq if it's not a coding blob 2018-06-05 15:32:25 -06:00
Stephen Akridge
00c8505d1e Handle set_flags error 2018-06-05 15:32:25 -06:00
Stephen Akridge
33f01efe69 Fixes for erasure coding 2018-06-05 15:32:25 -06:00
Stephen Akridge
377d312c81 Revert log levels 2018-06-05 15:32:25 -06:00
Stephen Akridge
badf5d5412 Add window recovery 2018-06-05 15:32:25 -06:00