Commit Graph

943 Commits

Author SHA1 Message Date
StephenButtolph e3b62549cb Merge branch 'denali' into tighten-cert-permissions 2020-06-22 11:41:37 -04:00
Dan Laine 5cb106d349 make staking cert/key read-only 2020-06-22 10:53:10 -04:00
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
Stephen Buttolph bb6bd861d5
Merge pull request #101 from ava-labs/moar-metrics
Added poll duration metrics
2020-06-22 01:22:49 -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
StephenButtolph 6c34fd79eb version bump 2020-06-19 17:56:35 -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 20d24b42b0
Merge pull request #93 from ava-labs/improve-memory
improve leveldb batch usage and pointer releasing in caches
2020-06-19 16:15:30 -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
Stephen Buttolph c6bdd5247f
Merge pull request #95 from ava-labs/health-get-api
Health get api
2020-06-19 16:14:46 -04:00
Stephen Buttolph 328aa57a11
Merge pull request #98 from ava-labs/consensus-error-handling
report error returned by the snowstorm RecordPoll
2020-06-19 16:14:28 -04:00
StephenButtolph 975198bb5e report error returned by the snowstorm RecordPoll 2020-06-19 15:13:34 -04:00
Dan Laine 979f4e2759 GET to ext/health returns 200 if heathy, else 500 2020-06-19 14:05:11 -04:00
Dan Laine 27bdba4776 GET to /ext/health returns a 200 and no body, per Fabio's request 2020-06-19 13:44:57 -04:00
Aaron Buchwald 25478846d3
Remove extra string formatter in chain router QueryFailed message 2020-06-19 13:34:47 -04:00
StephenButtolph e9517c166d Merge branch 'denali' into remove-tx-dependencies 2020-06-19 13:31:14 -04:00
StephenButtolph 534ef0bffc Merge branch 'denali' into improve-memory 2020-06-19 13:30:55 -04:00
Stephen Buttolph 4056dc49cd
Merge pull request #92 from ava-labs/fix-param-access
Fix param attribute access
2020-06-19 13:28:13 -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 f78d7b3caf use transitive dependencies when possible with transaction dependencies 2020-06-18 13:34:04 -04:00
StephenButtolph be6be7ae1c reverted breaking changes 2020-06-18 01:45:58 -04:00
Stephen Buttolph 45b9a230b6
Merge pull request #83 from ava-labs/lets-format
formatting changes
2020-06-18 00:54:40 -04:00
StephenButtolph 84c4e30937 formatting update 2020-06-18 00:30:15 -04:00
StephenButtolph 3eb9788976 formatting changes 2020-06-17 23:29:30 -04:00
Stephen Buttolph f616952736
Merge pull request #82 from ava-labs/bootstrap-heap
move cache check and use heap in bootstrapping
2020-06-17 22:09:27 -04:00
Stephen Buttolph e8114cd814
Merge branch 'master' into bootstrap-heap 2020-06-17 20:58:45 -04:00
Stephen Buttolph 36f305e5f6
Merge pull request #81 from ava-labs/bootstrap-bug-fix
patch for bug that caused bootstrapping to never finish
2020-06-17 20:58:21 -04:00
Stephen Buttolph 9543966d44
Merge branch 'master' into bootstrap-heap 2020-06-17 20:57:56 -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
Stephen Buttolph d4373f2a0a
Merge branch 'master' into bootstrap-bug-fix 2020-06-17 20:31:42 -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