Commit Graph

189 Commits

Author SHA1 Message Date
Stephen Buttolph db01f2e7e9
Merge pull request #106 from ava-labs/snowball-testing
Clarify that the snowball byzantine struct is only for testing
2020-06-22 01:25:01 -04:00
Stephen Buttolph dbdf3b35f9
Merge pull request #105 from ava-labs/avalanche-testing
Set up tests for error handling in avalanche
2020-06-22 01:24:34 -04:00
Stephen Buttolph 21b2fe8313
Merge pull request #104 from ava-labs/snowstorm-testing
Set up tests for error handling in snowstorm
2020-06-22 01:23:47 -04:00
Stephen Buttolph 18372f03dd
Merge pull request #102 from ava-labs/snowman-testing
Added tests for error checking in snowman
2020-06-22 01:23:18 -04:00
StephenButtolph c88c85ea9b Minor cleanup in snowball consensus 2020-06-22 00:14:19 -04:00
StephenButtolph 12297cb0d2 Clarify that the snowball byzantine struct is only for testing 2020-06-22 00:08:11 -04:00
StephenButtolph 3211546b5a Set up tests for error handling in avalanche 2020-06-21 23:56:08 -04:00
StephenButtolph fb7e491000 Set up tests for error handling in snowstorm 2020-06-21 22:38:53 -04:00
StephenButtolph d923d5c0f9 Cleaned up tests 2020-06-21 21:30:29 -04:00
StephenButtolph 8865eabec7 Added tests for error checking in snowman 2020-06-21 21:26:50 -04:00
StephenButtolph d2573be25f Added duration metrics 2020-06-21 20:00:54 -04:00
StephenButtolph 7a2a7f0add fixed polls metrics 2020-06-21 19:44:35 -04:00
StephenButtolph b0ad887a42 refactored polls into their own sub package 2020-06-21 19:38:24 -04:00
Stephen Buttolph 2e13c33f23
Merge pull request #86 from ava-labs/bootstrap-process-list
Bootstrap process list
2020-06-19 16:36:45 -04:00
Dan Laine 7c05353d3d skip unneccessary parse 2020-06-19 16:33:33 -04:00
Dan Laine 245f13ea65 add stripeDistance and stripeWidth 2020-06-19 16:29:27 -04:00
Stephen Buttolph f2126cba19
Merge pull request #87 from ava-labs/remove-tx-dependencies
use transitive dependencies when possible with transaction dependencies
2020-06-19 16:16:11 -04:00
Stephen Buttolph 145edd2864
Merge pull request #94 from ava-labs/fix-query-failed-message-formatting
Fix query failed message formatting
2020-06-19 16:15:07 -04:00
StephenButtolph 975198bb5e report error returned by the snowstorm RecordPoll 2020-06-19 15:13:34 -04:00
Aaron Buchwald 25478846d3
Remove extra string formatter in chain router QueryFailed message 2020-06-19 13:34:47 -04:00
StephenButtolph 534ef0bffc Merge branch 'denali' into improve-memory 2020-06-19 13:30:55 -04:00
Aaron Buchwald 28a313becf
Fix param attribute access 2020-06-19 13:02:28 -04:00
Dan Laine 8b75abdee0 cache only contains vertices at height 5000, 10000, etc. 2020-06-19 12:18:20 -04:00
StephenButtolph 006ff75149 improve leveldb batch usage and pointer releasing in caches 2020-06-19 11:02:38 -04:00
Aaron Buchwald a3d3ef4787 Change ForceAccepted to process list of already stored vtxs 2020-06-18 14:49:38 -04:00
StephenButtolph 84c4e30937 formatting update 2020-06-18 00:30:15 -04:00
Stephen Buttolph e8114cd814
Merge branch 'master' into bootstrap-heap 2020-06-17 20:58:45 -04:00
Dan Laine 15898c4ac2 style fix 2020-06-17 20:41:02 -04:00
Dan Laine f0cd642c2d move cache check out of loop 2020-06-17 20:35:28 -04:00
StephenButtolph 9a43e1222b added tests 2020-06-17 20:31:13 -04:00
Dan Laine f4a789b433 use heap in bootstrapping to reduce amount of work done. Move cache check to reduce memory allocations. 2020-06-17 20:15:42 -04:00
Dan Laine 4da1ce58fb patch for bug that caused bootstrapping to never finish 2020-06-17 19:42:11 -04:00
StephenButtolph 3d6fff70e0 nits to clean up the PR 2020-06-16 23:53:19 -04:00
Stephen Buttolph 19d871538e
Merge branch 'master' into polls-early-termination 2020-06-16 23:29:35 -04:00
StephenButtolph 8ec2862c04 Merge branch 'master' of github.com:ava-labs/gecko-internal 2020-06-16 23:08:29 -04:00
StephenButtolph 181bd76b10 Merge branch 'master' of github.com:ava-labs/gecko 2020-06-16 23:08:17 -04:00
Stephen Buttolph d3d6471a2a
Merge branch 'master' into lower-gossip-logs 2020-06-16 23:04:58 -04:00
Aaron Buchwald aab8f5f3d4 Implement early termination case for avalanche polling 2020-06-16 19:29:08 -04:00
Stephen Buttolph 8fe8586dab
Merge branch 'master' into lower-gossip-logs 2020-06-16 16:35:28 -04:00
StephenButtolph 52b6c1df21 merged 2020-06-16 16:35:13 -04:00
Stephen Buttolph 89ab9fce4b
Merge branch 'master' into set-cache 2020-06-16 16:28:31 -04:00
StephenButtolph ad130e848e merged 2020-06-16 16:10:45 -04:00
Dan Laine 4ecd92efba add minimum size to uniqueBag and Requests 2020-06-16 15:43:30 -04:00
Dan Laine 191cd48593 add minimum map size to Blocker 2020-06-16 15:34:34 -04:00
StephenButtolph 11f66e1394 merged 2020-06-16 14:17:47 -04:00
Aaron Buchwald 0fdddae9fc
Optimize DAG traversal in insertFrom 2020-06-16 11:53:57 -04:00
StephenButtolph c3c9cec1ea updated new messages to match new logging format 2020-06-15 15:51:12 -04:00
StephenButtolph e4a0e73155 merged router + added optimization around failed gets 2020-06-15 15:43:59 -04:00
StephenButtolph 960377e2b4 cleaned up imports 2020-06-11 18:08:42 -04:00
StephenButtolph f52d0c29bd Register a timeout for querying ourselves to ensure we never drop a query 2020-06-11 18:00:21 -04:00