bcoin-org / bcoin

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

feat: Add neutrino mode client support #1160

Open masterchief164 opened 1 year ago

masterchief164 commented 1 year ago

This PR adds client-side support for the neutrino mode

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 50.70% and no project coverage change.

Comparison is base (b005869) 69.55% compared to head (4c3681b) 69.56%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1160 +/- ## ======================================== Coverage 69.55% 69.56% ======================================== Files 158 159 +1 Lines 26603 26877 +274 ======================================== + Hits 18505 18696 +191 - Misses 8098 8181 +83 ``` | [Impacted Files](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org) | Coverage Δ | | |---|---|---| | [lib/bcoin-browser.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jjb2luLWJyb3dzZXIuanM=) | `0.00% <0.00%> (ø)` | | | [lib/bcoin.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jjb2luLmpz) | `0.00% <0.00%> (ø)` | | | [lib/blockchain/layout.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jsb2NrY2hhaW4vbGF5b3V0Lmpz) | `100.00% <ø> (ø)` | | | [lib/indexer/filterindexer.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2luZGV4ZXIvZmlsdGVyaW5kZXhlci5qcw==) | `64.81% <0.00%> (-29.78%)` | :arrow_down: | | [lib/blockchain/chaindb.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jsb2NrY2hhaW4vY2hhaW5kYi5qcw==) | `77.92% <39.13%> (-0.53%)` | :arrow_down: | | [lib/net/pool.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25ldC9wb29sLmpz) | `60.05% <42.64%> (+0.80%)` | :arrow_up: | | [lib/net/peer.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25ldC9wZWVyLmpz) | `71.96% <50.00%> (+0.76%)` | :arrow_up: | | [lib/node/neutrino.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25vZGUvbmV1dHJpbm8uanM=) | `76.92% <76.92%> (ø)` | | | [lib/blockchain/chain.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL2Jsb2NrY2hhaW4vY2hhaW4uanM=) | `73.50% <87.50%> (+0.16%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1160/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.