BuxOrg / bux

Bitcoin UTXO & xPub Management Engine
https://getbux.io
Apache License 2.0
36 stars 6 forks source link

refactor(BUX-451): test BUX & cleanup before v1 #536

Closed chris-4chain closed 10 months ago

chris-4chain commented 10 months ago

Pull Request Checklist

This taks focused on manual tests of this bux package which I primarily conducted using provided examples and in connection with bux-server.

Along with these tests I made the following changes:

mergify[bot] commented 10 months ago

Welcome to our open-source project @chris-4chain! ๐Ÿ’˜

codecov[bot] commented 10 months ago

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (9081074) 51.88% compared to head (6da3e1e) 53.31%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/BuxOrg/bux/pull/536/graphs/tree.svg?width=650&height=150&src=pr&token=gh8XH5lven&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg)](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg) ```diff @@ Coverage Diff @@ ## master #536 +/- ## ========================================== + Coverage 51.88% 53.31% +1.42% ========================================== Files 109 110 +1 Lines 11250 10840 -410 ========================================== - Hits 5837 5779 -58 + Misses 4946 4596 -350 + Partials 467 465 -2 ``` | [Flag](https://app.codecov.io/gh/BuxOrg/bux/pull/536/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg) | Coverage ฮ” | | |---|---|---| | [unittests](https://app.codecov.io/gh/BuxOrg/bux/pull/536/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg) | `53.31% <67.44%> (+1.42%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg) | Coverage ฮ” | | |---|---|---| | [authentication.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-YXV0aGVudGljYXRpb24uZ28=) | `80.52% <100.00%> (+0.02%)` | :arrow_up: | | [beef\_bump.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-YmVlZl9idW1wLmdv) | `78.33% <100.00%> (รธ)` | | | [beef\_tx\_sorting.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-YmVlZl90eF9zb3J0aW5nLmdv) | `100.00% <100.00%> (รธ)` | | | [chainstate/client\_options.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-Y2hhaW5zdGF0ZS9jbGllbnRfb3B0aW9ucy5nbw==) | `70.29% <รธ> (+2.67%)` | :arrow_up: | | [chainstate/minercraft\_init.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-Y2hhaW5zdGF0ZS9taW5lcmNyYWZ0X2luaXQuZ28=) | `63.86% <100.00%> (รธ)` | | | [chainstate/mock\_minercraft.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-Y2hhaW5zdGF0ZS9tb2NrX21pbmVyY3JhZnQuZ28=) | `27.95% <100.00%> (+11.54%)` | :arrow_up: | | [client.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-Y2xpZW50Lmdv) | `60.50% <รธ> (รธ)` | | | [cron\_job\_declarations.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-Y3Jvbl9qb2JfZGVjbGFyYXRpb25zLmdv) | `87.50% <รธ> (รธ)` | | | [model\_incoming\_transactions.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-bW9kZWxfaW5jb21pbmdfdHJhbnNhY3Rpb25zLmdv) | `53.61% <100.00%> (+2.40%)` | :arrow_up: | | [model\_metadata.go](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg#diff-bW9kZWxfbWV0YWRhdGEuZ28=) | `87.39% <100.00%> (+1.13%)` | :arrow_up: | | ... and [22 more](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg) > `ฮ” = absolute (impact)`, `รธ = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg). Last update [9081074...6da3e1e](https://app.codecov.io/gh/BuxOrg/bux/pull/536?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BuxOrg).