bcoin-org / bcoin

Javascript bitcoin library for node.js and browsers
https://bcoin.io
Other
2.98k stars 811 forks source link

feat: added wallet side integration for neutrino #1159

Open manavdesai27 opened 1 year ago

manavdesai27 commented 1 year ago

This PR adds relevant code for wallet side integration for Neutrino. It is a work in progress.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 24.65% and project coverage change: -0.14 :warning:

Comparison is base (b005869) 69.55% compared to head (d07744f) 69.42%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1159 +/- ## ========================================== - Coverage 69.55% 69.42% -0.14% ========================================== Files 158 158 Lines 26603 26672 +69 ========================================== + Hits 18505 18516 +11 - Misses 8098 8156 +58 ``` | [Impacted Files](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org) | Coverage Δ | | |---|---|---| | [lib/client/node.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2NsaWVudC9ub2RlLmpz) | `26.78% <0.00%> (-0.49%)` | :arrow_down: | | [lib/wallet/client.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL3dhbGxldC9jbGllbnQuanM=) | `0.00% <0.00%> (ø)` | | | [lib/wallet/walletdb.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL3dhbGxldC93YWxsZXRkYi5qcw==) | `81.27% <5.26%> (-1.85%)` | :arrow_down: | | [lib/blockchain/chain.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jsb2NrY2hhaW4vY2hhaW4uanM=) | `71.90% <16.66%> (-1.44%)` | :arrow_down: | | [lib/node/http.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25vZGUvaHR0cC5qcw==) | `59.43% <20.00%> (-0.51%)` | :arrow_down: | | [lib/net/pool.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25ldC9wb29sLmpz) | `59.19% <40.00%> (-0.06%)` | :arrow_down: | | [lib/blockchain/chaindb.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jsb2NrY2hhaW4vY2hhaW5kYi5qcw==) | `78.16% <50.00%> (-0.29%)` | :arrow_down: | | [lib/wallet/nodeclient.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL3dhbGxldC9ub2RlY2xpZW50Lmpz) | `77.04% <57.14%> (-2.96%)` | :arrow_down: | | [lib/wallet/nullclient.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL3dhbGxldC9udWxsY2xpZW50Lmpz) | `88.46% <100.00%> (+0.96%)` | :arrow_up: | | [lib/wallet/wallet.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL3dhbGxldC93YWxsZXQuanM=) | `69.24% <100.00%> (+0.04%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1159/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.