Commit Graph

956 Commits

Author SHA1 Message Date
Dan Laine 6c6136d551 only downsize underlying arrays if they're much too large 2020-06-23 16:44:02 -04:00
Dan Laine 19a3f69e99 Merge branch 'duplicated-writes' into memory-improvements 2020-06-23 13:10:01 -04:00
Dan Laine f92fa88d24 commit db after parsing tx to avoid memory leak 2020-06-23 13:04:10 -04:00
Dan Laine 998f4bff40 add comments; remove unnceccessary batch write; avoid possible memory leak; reset batch after write 2020-06-23 13:03:23 -04:00
StephenButtolph 7ef37af0d6 changed test to enforce abortions 2020-06-22 18:14:35 -04:00
StephenButtolph 5b6debbaba added regression test 2020-06-22 18:08:20 -04:00
StephenButtolph 7bc66938da Merge branch 'denali' into duplicated-writes 2020-06-22 17:59:09 -04:00
Stephen Buttolph c3c10a0a81
Merge pull request #112 from ava-labs/handler-improvements
handler engine gets/sets
2020-06-22 17:57:51 -04:00
Stephen Buttolph 6664c9bd20
Merge pull request #108 from ava-labs/tighten-cert-permissions
make staking cert/key read-only
2020-06-22 17:40:10 -04:00
Dan Laine c9aa8eedc2 pre-allocate arrays 2020-06-22 16:50:31 -04:00
Dan Laine fc15e3cfe6 prevent potential memory leaks 2020-06-22 16:35:42 -04:00
StephenButtolph 473bef24b1 removed duplicated batch writes, fixed tests 2020-06-22 15:50:52 -04:00
StephenButtolph 3a854ebdec handler engine gets/sets 2020-06-22 15:20:35 -04:00
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