Releases: CounterpartyXCP/counterparty-core
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
9.55.2
Description
Added subassets.
Preliminary segwit support on testnet.
Mandatory Upgrade Block
- All clients must upgrade by block 467417. Please upgrade as soon as possible!
Protocol Changes
- Implemented CIP-4 subassets (https://github.com/CounterpartyXCP/cips/blob/master/cip-0004.md) (protocol change: 467417)
Implementation Changes
- Update to
bitcoind 0.13.2-addrindex
- Update to
python-bitcoinlib 0.7.1-SNAPSHOT
on testnet, to add segwit support
Interface Changes
- Asset-related API calls can now take subasset longnames. (See API documentation for more information.)
Upgrade Procedure
For manual installations:
- You MUST update your bitcoind to version 0.13.2-addrindex!
- Download newest counterparty-lib and counterparty-cli
master
and update required python library versions to satisfy these versions as appropriate.
If running a federated node:
fednode rebuild bitcoin bitcoin-testnet counterparty counterparty-testnet
fednode restart bitcoin bitcoin-testnet
fednode update counterparty counterparty-testnet
9.55.1
Description
Addresses a crashing issue caused by an integer overflow bug.
Mandatory Upgrade Block
- All clients must upgrade by block 441563. Please upgrade as soon as possible!
Implementation Changes
Hotfix for integer overflow bug that caused a crash on mainnet block #441563
9.55.0
Description
Brings numerous protocol changes
Mandatory Upgrade Block
- All clients must upgrade by block 423888. Please upgrade as soon as possible!
Protocol Changes
- P2SH support for source / destination of addresses (protocol change: 423888)
- Moved check for invalid broadcast to better place to prevent broadcasting a cancel on a locked feed (protocol change: 423888)
- Only use first usable input for source (protocol change: 423888)
- Fixed issue with broadcasts of exactly 52 chars, by always adding a varint to specify the length (protocol change: 423888)
- Cleanup destroy.parse and add unit tests for it (protocol change: 423888)
Implementation Changes
- Please see
ChangeLog.md
Interface Changes
- Please see
ChangeLog.md
Upgrade Procedure
- Upgrade as normally done.
9.54.0
Description
This a hotfix in broadcast
transaction. Fee fraction can't be greater than 1, otherwise the total amount escrowed for the bet is lower than the requested fee and cause a CreditError('Negative quantity.')
. Also now invalid broadcasts don't trigger bet matching.
Mandatory Upgrade Block
- All clients must upgrade immediately.
Protocol Changes
- Max fee fraction of 1
Implementation Changes
- NONE
Interface Changes
- NONE
Upgrade Procedure
- NONE