Port estimatesmartfee from dcrd #18

Merged
roylee17 merged 3 commits from roylee/port-estimatesmartfee-from-dcrd into master 2022-02-02 09:14:27 +01:00
roylee17 commented 2022-01-31 16:20:51 +01:00 (Migrated from github.com)

Closing #17

Ported the fee estimator from DCRD, whose implementation is based on bitcoin core v0.14.
Lbrycrd (v0.17) includes the some improvement from bitcoin v0.15.

Test fixtures can't be reused, we need to manually / visually test against mainnet transaction flow.

Closing #17 Ported the fee estimator from DCRD, whose implementation is based on bitcoin core v0.14. Lbrycrd (v0.17) includes the some improvement from bitcoin v0.15. Test fixtures can't be reused, we need to manually / visually test against mainnet transaction flow.
coveralls commented 2022-01-31 16:27:22 +01:00 (Migrated from github.com)

Pull Request Test Coverage Report for Build 1782770275

  • 12 of 55 (21.82%) changed or added relevant lines in 4 files are covered.
  • 6 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.01%) to 51.831%

Changes Missing Coverage Covered Lines Changed/Added Lines %
mempool/mempool.go 6 9 66.67%
server.go 0 18 0.0%
rpcserver.go 0 22 0.0%
Files with Coverage Reduction New Missed Lines %
mempool/mempool.go 1 66.91%
peer/peer.go 2 76.47%
server.go 3 0%
Totals Coverage Status
Change from base Build 1738560652: 0.01%
Covered Lines: 22331
Relevant Lines: 43084

💛 - Coveralls
## Pull Request Test Coverage Report for [Build 1782770275](https://coveralls.io/builds/46155121) * **12** of **55** **(21.82%)** changed or added relevant lines in **4** files are covered. * **6** unchanged lines in **3** files lost coverage. * Overall coverage increased (+**0.01%**) to **51.831%** --- | Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | | :-----|--------------|--------|---: | | [mempool/mempool.go](https://coveralls.io/builds/46155121/source?filename=mempool%2Fmempool.go#L504) | 6 | 9 | 66.67% | [server.go](https://coveralls.io/builds/46155121/source?filename=server.go#L2423) | 0 | 18 | 0.0% | [rpcserver.go](https://coveralls.io/builds/46155121/source?filename=rpcserver.go#L897) | 0 | 22 | 0.0% <!-- | **Total:** | **12** | **55** | **21.82%** | --> | Files with Coverage Reduction | New Missed Lines | % | | :-----|--------------|--: | | [mempool/mempool.go](https://coveralls.io/builds/46155121/source?filename=mempool%2Fmempool.go#L580) | 1 | 66.91% | | [peer/peer.go](https://coveralls.io/builds/46155121/source?filename=peer%2Fpeer.go#L1781) | 2 | 76.47% | | [server.go](https://coveralls.io/builds/46155121/source?filename=server.go#L2425) | 3 | 0% | <!-- | **Total:** | **6** | | --> | Totals | [![Coverage Status](https://coveralls.io/builds/46155121/badge)](https://coveralls.io/builds/46155121) | | :-- | --: | | Change from base [Build 1738560652](https://coveralls.io/builds/45868270): | 0.01% | | Covered Lines: | 22331 | | Relevant Lines: | 43084 | --- ##### 💛 - [Coveralls](https://coveralls.io)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbcd#18
No description provided.