bitpay / bitcore-p2p

Interface to the bitcoin P2P network for bitcore
MIT License
81 stars 275 forks source link

Bump bcoin from 1.0.0-beta.12 to 1.0.2 #115

Open dependabot[bot] opened 4 years ago

dependabot[bot] commented 4 years ago

Bumps bcoin from 1.0.0-beta.12 to 1.0.2.

Changelog

Sourced from bcoin's changelog.

Bcoin release notes & changelog

v2.1.2

  • Fixed wallet RPC method importprunedfunds.

v2.1.1

  • Fixed a bug with the wallet 'conflict' event.

v2.1.0

  • Added an endpoint to the wallet HTTP API at GET / for an aliveness check. It returns the current version and network type.

v2.0.0

How to upgrade

The way that block data is stored has changed for greater performance, efficiency, reliability and portability.

  • Block and undo block data has been moved from LevelDB into flat files.
  • The transaction and address indexes have been moved into separate LevelDB databases.
  • The transaction index has been de-duplicated, and will reduce disk usage by half for those running with txindex enabled.
  • The txindex and addrindex can now be enabled after the initial block download.
  • The addrindex has been sorted to support querying for large sets of results, and will no longer cause CPU and memory exhaustion issues.
  • The addrindex will correctly distinguish between p2pkh and p2wpkh addresses.
  • BIP158 compact block filters can be computed and indexed (filterindex).

To upgrade to the new disk layout it's necessary to move block data from LevelDB (e.g. ~/.bcoin/chain) to a new file-based block storage (e.g. ~/.bcoin/blocks), and remove txindex and addrindex data from the chain database, for those that have that feature enabled.

To do this you can run:

node ./migrate/chaindb4to6.js /path/to/bcoin/chain

The migration will take 1-3 hours, depending on hardware. The block data will now be stored at /path/to/bcoin/blocks. After the data has been moved the chain database will be compacted to free disk space.

Alternatively, you can also sync the chain again, however the above

Commits
  • 58ea98d v1.0.2
  • 7647145 networks: add one more checkpoint for testnet.
  • da94437 v1.0.1
  • 08a04b5 net: update default mainnet seeds.
  • 44e856d networks: update checkpoints and chainwork.
  • b0155b6 v1.0.0
  • fa84b8c pkg: update deps.
  • e15d791 mtx: allow passing of preferred inputs to coin selector.
  • 97e4d09 pkg: update deps.
  • cfeacb3 chain: mark historical bad merkle block as mutable.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bitpay/bitcore-p2p/network/alerts).