bcoin-org / bcoin

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

Neutrino: Sync #1168

Open manavdesai27 opened 1 year ago

manavdesai27 commented 1 year ago

This PR implements Headers-sync and the synchronisation of filters for Neutrino.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 77.32% and project coverage change: +0.84% :tada:

Comparison is base (a4bf281) 70.26% compared to head (d1d8e80) 71.10%. Report is 6 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1168 +/- ## ========================================== + Coverage 70.26% 71.10% +0.84% ========================================== Files 174 175 +1 Lines 27367 27664 +297 ========================================== + Hits 19229 19671 +442 + Misses 8138 7993 -145 ``` | [Files Changed](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?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/1168?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/1168?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/client/node.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?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/net/netaddress.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25ldC9uZXRhZGRyZXNzLmpz) | `87.03% <ø> (ø)` | | | [lib/net/seeds/main.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25ldC9zZWVkcy9tYWluLmpz) | `100.00% <ø> (ø)` | | | [lib/node/fullnode.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25vZGUvZnVsbG5vZGUuanM=) | `85.42% <ø> (+0.88%)` | :arrow_up: | | [lib/node/http.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25vZGUvaHR0cC5qcw==) | `59.79% <0.00%> (-0.16%)` | :arrow_down: | | [lib/wallet/nodeclient.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL3dhbGxldC9ub2RlY2xpZW50Lmpz) | `73.01% <50.00%> (-6.99%)` | :arrow_down: | | [lib/node/node.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25vZGUvbm9kZS5qcw==) | `75.67% <62.50%> (-0.76%)` | :arrow_down: | | [lib/net/pool.js](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org#diff-bGliL25ldC9wb29sLmpz) | `64.25% <73.86%> (+5.00%)` | :arrow_up: | | ... and [4 more](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcoin-org) | | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/bcoin-org/bcoin/pull/1168/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: Have feedback on the report? Share it here.

manavdesai27 commented 1 year ago

@masterchief164 Could you please review this PR?