Releases: CounterpartyXCP/counterparty-core
Dispenser sanity error hotfix
Hotfix for a sanity error which would cause a Counterparty server to stop operating normally.
Upgrade Procedure
For those running a federated node you should run the following commands:
cd federatednode/
fednode update counterparty counterparty-testnet
fednode rebuild counterparty counterparty-testnet
fednode rollback 698450 counterparty
fednode start counterparty
CIP23 - Fix Dividends for non-divisible assets
Minor revision that fixes non-divisible assets dividends.
This release has a block activated feature on block 670.000 which is consensus affecting. Upgrade and update via bootstrap ASAP.
Usual update procedure applies:
cd federatednode/
fednode stop
git pull
sudo rm -f data/counterparty/counterparty.*
sudo rm -rf data/indexd
fednode uninstall
fednode install full master
fednode rebuild counterparty counterparty-testnet
Minor fix - P2SH tx encoding
Minor version release to fix an issue with P2SH transaction encoding
Usual update procedure applies:
cd federatednode/
fednode stop
git pull
sudo rm -f data/counterparty/counterparty.*
sudo rm -rf data/indexd
fednode uninstall
fednode install full master
fednode rebuild counterparty counterparty-testnet
Counterparty 9.59.0
Counterparty 9.59.0 Release Notes:
- Replaced indexd backend with addrindexrs
- Adjust minimum DEX BTC order amount to 0.00001 BTC
- Mempool parsing updates (temp fix for heavy mempool loads)
- Speed up parsing of blocks
- Simplified Bech32 check
- Fixed ParseTransactionError error handler
- Updated holders() to include escrowed dispenser funds
- Added support for subasset names in MPMA lists & dispensers
- Fixed MPMA transaction parsing
- Added 'dispenses' table to track dispense transactions
- Added support for creating dispensers on new/empty addresses
- Rebuilt Counterparty databases and bootstrap images
- Fixed issue with wrong tx_hash being parsed for segwit transactions
- Fixed issue with segwit dispensers not detecting payments
Instructions for upgrading:
cd federatednode/
fednode stop
git pull
sudo rm -f data/counterparty/counterparty.*
sudo rm -rf data/indexd
fednode uninstall
fednode install full master
fednode rebuild counterparty counterparty-testnet
P2SH Encoding + MPMA
This release includes 2 new major features:
- P2SH encoding: Allows arbitrary size messages using 2 transactions to encode data inside P2SH scriptSigs.
- MPMA: Allows sending multiple assets to multiple addresses with different quantities and memos on a single message, usually used in conjunction with P2SH.
Instructions for upgrading:
cd federatednode/
fednode stop
git pull
sudo rm -f data/counterparty/counterparty.*
fednode update
fednode rebuild
Dispensers + Sweeps
Description
This release includes Dispensers and Sweeps (Protocol level, single message) support (effective immediatly).
Warning:
Update should be done ASAP as the rules are already active. Bootstrap download or a full reparse is required as there's already some dispensers active in mainnet and old nodes won't pick them up (and diverge).
Upgrade Timing
ASAP
For manual installations:
cd federatednode/
fednode stop
git pull
sudo rm -f data/counterparty/counterparty.*
fednode update
fednode rebuild
BTCPay Sanity Hotfix
A sanity error on a rarely ocurring event (expiration of partially filled btcpays) stopped counterparty from working. This hotfix fixes that.
Segwit + CIP19
Description
This release includes SegWit support on testnet (effective immediatly) and on mainnet (effective from an activation block). Also includes all the changes made due to implementation of CIP19.
Warning:
Updated should be done with at least a week in advance (activation of Segwit is around Jan 7th 2019) as indexd-server takes 2-4 days to sync initially and build all the indexing data (some community members will be providing torrents for downloading the initial synced database to speed up this process).
Upgrade Timing
All nodes should update before Block 557236 on mainnet. Segwit is activated on testnet since block 1440200 so a rollback to that block is suggested after update.
For manual installations:
Download the newest counterparty-lib master and update required python library versions to satisfy these versions and these versions as appropriate.
For those running a federated node with no front-end:
fednode update counterparty counterparty-testnet
For those running a full federated node with counterwallet:
fednode update
9.55.4
Description
- This is a hotfix for an uncaught exception that could cause all running counterparty servers to stop.
Upgrade Timing
- There is no mandatory upgrade block for this release. All users are encouraged to upgrade as soon as possible.
Upgrade Procedure
For manual installations:
- Download the newest counterparty-lib
master
and update required python library versions to satisfy these versions and these versions as appropriate.
For those running a federated node with no front-end:
fednode update counterparty counterparty-testnet
For those running a full federated node with counterwallet:
fednode update
9.55.3
Description
- Implements CIP-9 Enhanced Send, CIP-11 Shorten Transaction Type ID and CIP-12 Memo Requirement through Broadcasts.
- Fixes locked issuance workaround
- Updated python-bitcoinlib library for handling blocks that include transactions with segwit outputs
- Test suite and test services updates
Mandatory Upgrade Block
- All clients must upgrade by block 489956. Please upgrade as soon as possible!
Protocol Changes
- Implemented CIP-9 Enhanced Send (https://github.com/CounterpartyXCP/cips/blob/master/cip-0009.md) (protocol change: 489956)
- Implemented CIP-11 Shorten Transaction Type ID Namespace (https://github.com/CounterpartyXCP/cips/blob/master/cip-0011.md) (protocol change: 489956)
- Implemented CIP-12 Memo Requirement through Broadcasts (https://github.com/CounterpartyXCP/cips/blob/master/cip-0012.md) (protocol change: 489956)
- Fixes locked issuance workaround (https://github.com/CounterpartyXCP/counterparty-lib/pull/999)
Implementation Changes
- Update to
https://github.com/petertodd/python-bitcoinlib.git@98676f981bf14a6a3a8313e762161cc289043b58
to support proper segwit transaction serialization
Interface Changes
- Create_send and get_sends API calls now have memo parameters and attributes. (See API documentation for more information.)
Upgrade Procedure
For manual installations:
- Download newest counterparty-lib and counterparty-cli
master
and update required python library versions to satisfy these versions and these versions as appropriate.
For those running a federated node with no front-end:
fednode rebuild counterparty counterparty-testnet
fednode update counterparty counterparty-testnet
For those running a full federated node with counterwallet:
fednode rebuild
fednode update