Skip to content

counterparty-lib v9.51.0

Compare
Choose a tag to compare
@adamkrellenstein adamkrellenstein released this 01 Apr 14:04
· 4046 commits to master since this release
v9.51.0
c54c38d

Description

This is an incremental upgrade with a few minor protocol changes. The most significant change is the addition of the HTTP REST API, which should make interacting with the Counterparty reference client much easier for developers.

Mandatory Upgrade Block

  • All clients must be upgraded by block 352000.

Protocol Changes

  • Check for null data chunks.
  • Disable rock‐paper‐scissors.
  • Catch unhandled exception with invalid script on testnet

Implementation Changes

  • Default to using opreturn encoding when possible

Interface Changes

  • Deprecate get_asset_info(assets) API method.
  • Deprecate get_xcp_supply() API method in favor of get_supply(asset).
  • Changed get_unspent_txouts API method parameter and return values.
  • Added HTTP Rest API.
  • Authentication on JSON‐RPC API is off by default
  • rpc_password configuration parameter is no longer mandatory

Upgrade Procedure

  • Upgrade counterparty-cli to v1.1.0 (recommended)
  • Transition away from deprecated API method calls.
  • Disable API authentication if it's unnecessary.