Socket
Socket
Sign inDemoInstall

bcash

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bcash - npm Package Versions

1.1.1

Diff

tuxcanfly
published 1.1.0 •

Changelog

Source

v1.1.0

This release includes:

  • Nov 15 upgrade
    • Implement and enforce canonical transaction order.
    • Add OP_CHECKDATASIG and OP_CHECKDATASIGVERIFY.
    • Enforce minimum transaction size of 100 bytes.
    • Enforce VERIFY_SIGPUSHONLY.
    • Enforce VERIFY_CLEANSTACK.
  • Remove monolith deployments
  • Update bcrypto
  • bug fixes

Backports from bcoin:

  • bug fixes
tuxcanfly
published 1.0.2 •

Changelog

Source

v1.0.2

Major changes include backports from bcoin:

  • buffer-map refactor
  • bug fixes

Notable Changes

  • Initial tagged bcash release.

Bcoin Release Notes & Changelog

v1.x

Migration

The chain indexing subsystem has been refactored to be more modular and flexible. A migration is required to cleanup the old indexes, if present.

Indexing has been made extensible so that new indexers such as a filter index for BIP 157 can be implemented easily.

Users can toggle any indexing on/off anytime before or after the initial sync. The indexer will start resyncing the chain state and replaying blocks to process them for indexing. Once caught up, it will just index new blocks.

An index can be dropped by just deleting the corresponding database.

Notable Changes

  • __lib/indexer__ Indexer implements the base methods which are common to all indexers, including setting up the database, handling chain events such as new block etc.

  • By default, bcoin ships TXIndexer, AddrIndexer implementations. These indexers preserve all the existing indexing functionality and can be enabled via the same flags i.e. --index-tx --index-address, for compatibility.

  • Database location can be configured via --index-prefix config option. Default locations are prefix + /index e.g.: ~/.bcoin/testnet/index/tx, ~/.bcoin/testnet/index/addr.

  • __/lib/blockchain/chain__ - the following methods have been moved out of the chain to the indexers:

    node.txindex implements:

    • getMeta(hash)
    • getTX(hash)
    • hasTX(hash)
    • getSpentView(tx)

    node.addrindex implements:

    • getCoinsByAddress(addrs)
    • getHashesByAddress(addrs)
    • getTXByAddress(addrs)
    • getMetaByAddress(addrs)

    Using these methods on the chain is deprecated.

chjj
published 0.0.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc