Commit Graph

183 Commits

Author SHA1 Message Date
OEM Configuration (temporary user) 08bcb62016 added remote table to update respones 2018-06-26 12:31:04 -06:00
Anatoly Yakovenko 8ef8a8dea7 borrow checker 2018-06-24 11:17:55 -06:00
Anatoly Yakovenko e929404676 comments 2018-06-24 11:17:55 -06:00
Anatoly Yakovenko c2258bedae fixed! 2018-06-24 11:17:55 -06:00
Anatoly Yakovenko 826e95afca fix logs 2018-06-24 11:17:55 -06:00
Anatoly Yakovenko 47583d48e7 get rid of dummy test 2018-06-24 11:17:55 -06:00
Anatoly Yakovenko e759cdf061 tests 2018-06-24 11:17:55 -06:00
Anatoly Yakovenko 88503c2a09 generic array fail case 2018-06-24 11:17:55 -06:00
Tyera Eulberg 45b2549fa9 Reset bad TestNode edit 2018-06-24 10:44:17 -06:00
Greg Fitzgerald c7ce454188 Use pnet_datalink instead of all of pnet
pnet_transport takes a long time to build. It's been especially
painful from within a docker container for reasons I don't care
to understand. pnet_datalink is the only part of pnet we're using
so booting the rest.
2018-06-24 10:39:59 -06:00
Tyera Eulberg 90628f3c8d Edit TestNode port logic to be consistent with new_leader (fixes hanging test_send_airdrop) 2018-06-22 14:52:36 -07:00
Anatoly Yakovenko effcef2184 fixed sleep bug 2018-06-20 16:58:10 -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
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
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
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
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
Stephen Akridge a06535d7ed cargo fmt 2018-06-05 15:32:25 -06:00
Stephen Akridge e28ad2177e Receive fixes 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 377d312c81 Revert log levels 2018-06-05 15:32:25 -06:00
Stephen Akridge 5455e8e6a9 Review comments 2018-06-05 15:32:25 -06:00
Stephen Akridge d053f78b74 Erasure refinements, fix generating orders table 2018-06-05 15:32:25 -06:00
Stephen Akridge 93b6fceb2f generate coding after indexing 2018-06-05 15:32:25 -06:00
Stephen Akridge ac7860c35d indexing blobs then coding 2018-06-05 15:32:25 -06:00
Greg Fitzgerald 7e788d3a17 No longer need explicit refs in rustc 1.26 2018-06-04 21:43:46 -06:00
anatoly yakovenko 69b3c75f0d
Power of two chance (#314)
* fix validator script
* 1/2^30 that we fail due to random returning the same value
2018-06-04 13:32:34 -07:00
Anatoly Yakovenko b2c2fa40a2 comments 2018-06-03 22:08:25 -06:00
Anatoly Yakovenko 50458d9524 more tests 2018-06-03 22:08:25 -06:00
Anatoly Yakovenko 9679e3e356 more tests 2018-06-03 22:08:25 -06:00
Anatoly Yakovenko 6db9f92b8a crdt gossip tests 2018-06-03 22:08:25 -06:00
anatoly yakovenko 216510c573
repair socket and receiver thread (#303)
repair socket and receiver thread
2018-06-02 08:32:51 -07:00
Greg Fitzgerald 359a8397c0 Make bootstrapping functions accessible to other binaries 2018-05-31 16:15:02 -06:00
Anatoly Yakovenko a2b92c35e1 thread names 2018-05-30 14:50:53 -06:00
Anatoly Yakovenko e44e81bd17 fmt 2018-05-30 14:04:48 -06:00
Anatoly Yakovenko f5eedd2d19 fmt 2018-05-30 14:04:48 -06:00
Anatoly Yakovenko 02c5b0343b fixed cloned 2018-05-30 14:04:48 -06:00
Anatoly Yakovenko cef1c208a5 Crdt pipeline, coalesce window repair requests in the listener by examining all of them at once, and ublock those threads from doing io. 2018-05-30 14:04:48 -06:00
Anatoly Yakovenko fe93bba457 logs
poll both endpoints in client

logs

logs

logs

names

verify plan not sig

log

set udp buffer to max

drop output

more verbose about window requests

log the leader

load leader identity

readme for single node demo

update

asserts

update

replay all

rsync

dynamic file read in testnode

fix

cleanup

readme

sum

fix scripts

cleanup

cleanup

readme
2018-05-26 20:13:42 -06:00
Greg Fitzgerald 9f5a3d6064 events -> transactions 2018-05-25 16:47:21 -06:00
Anatoly Yakovenko 8b02e0f57c logs 2018-05-25 07:02:39 -06:00
Anatoly Yakovenko 868df1824c fmt 2018-05-24 17:40:33 -06:00
Anatoly Yakovenko 1022f1b0c6 logs 2018-05-24 17:40:33 -06:00
Anatoly Yakovenko 2128c58fbe logs and tps counting 2018-05-24 10:35:23 -06:00
anatoly yakovenko 504b318ef1 Hooks for binaries to run as leader or replicator and attach to network (#221) 2018-05-23 14:03:19 -06:00
Greg Fitzgerald d4959bc157 Test cleanup
GenKey unit tests were in the benchmark suite.
2018-05-23 12:50:23 -06:00
Anatoly Yakovenko 437c485e5c cleanup 2018-05-23 12:07:44 -06:00
Anatoly Yakovenko 63a0ba6ec8 fixed 2018-05-16 23:28:03 -07:00
Anatoly Yakovenko 9a4ce6d70e fmt 2018-05-16 23:27:26 -07:00
Anatoly Yakovenko 35ee2d0ce1 cleanup 2018-05-16 23:27:26 -07:00
Anatoly Yakovenko b04716d40d fmt 2018-05-16 23:27:26 -07:00
Anatoly Yakovenko 8dc1b07e75 docs 2018-05-16 23:27:26 -07:00
Anatoly Yakovenko bee1e7ebaf compute convergence maximum 2018-05-16 23:27:26 -07:00
Anatoly Yakovenko f3f0b9f0c5 update 2018-05-16 23:27:26 -07:00
Anatoly Yakovenko a5cf745e1c check convergence 2018-05-16 23:27:26 -07:00
Robert Kelly a1889c32d4 fixed CrdtToSmall typo 2018-05-15 10:29:56 -04:00
Robert Kelly d42d024d9c minor changes 2018-05-15 10:23:11 -04:00
Anatoly Yakovenko 4131071b9a fix ignore tests 2018-05-14 22:06:42 -07:00
Anatoly Yakovenko 421273f862 disable tests that fail with kcov 2018-05-14 16:07:21 -07:00
Anatoly Yakovenko 2c7f229883 wait longer 2018-05-14 15:48:43 -07:00
Anatoly Yakovenko 904eabad2f waint longer 2018-05-14 15:48:24 -07:00
Anatoly Yakovenko 8b233f6be4 update 2018-05-14 15:43:26 -07:00
Anatoly Yakovenko 2d635386af rebased 2018-05-14 15:20:41 -07:00
Greg Fitzgerald d2dd005a59 accountant -> bank 2018-05-14 15:33:11 -06:00
Jackson Sandland 250830ade9 cargo fmt run 2018-05-11 11:38:52 -07:00
Jackson Sandland 1e91d09be7 crdt.rs - panic cleanup 2018-05-09 18:10:48 -07:00
Stephen Akridge e8f5fb35ac Multinode fixes and test
* Replace magic numbers for 64k event size
* Fix gossip, dont ping yourself
* Retransmit only to listening nodes
* Multinode test in stub marked unstable
2018-05-06 21:36:06 -07:00
Anatoly Yakovenko c2e2960bf7 Add broadcast impl 2018-05-03 10:34:01 -07:00
Anatoly Yakovenko d90ab90145 bind to all 2018-04-26 13:54:29 -07:00
Anatoly Yakovenko 48018b3f5b docs 2018-04-26 13:50:57 -07:00
Anatoly Yakovenko 15584e7062 recover full network from a star 2018-04-26 13:48:42 -07:00
Anatoly Yakovenko 55b8d0db4d cleanup 2018-04-23 23:33:21 -07:00
Anatoly Yakovenko 3d7969d8a2 initial crdt implementation 2018-04-23 23:06:28 -07:00