Releases: CounterpartyXCP/counterblock
1.4.0
- v1.4.0 (2016-06-26)
- Ported to Python 3
- PEP8 styling applied across codebase
- Added Docker packaging support
- Removed counterwallet_iofeeds and socketio stuff
- Move armory-utxsvr into its own repo
- Fixes for timezone in generated/parsed datetimes
- Update "reparse" command logic to make it like counterparty-lib
- Pegged deps to specific versions
- Added ability to disable file logging for main log and tx log
1.3.1
- v1.3.1 (2016-01-24)
- Modify blockfeed logic to work with reorgs properly again with the undolog fix introduced in
counterparty-lib
9.53.0. - Enhance blockfeed error recovery logic to make more robust and minimize/remove chance of blockfeed hangs.
/_api
handler includes extra fields:counterparty-server_caught_up
and improved reporting of error conditions.- Code upgraded to work with pymongo >= 3.1
- Modify blockfeed logic to work with reorgs properly again with the undolog fix introduced in
1.3.0
- v1.3.0 (2015-10-31)
- Fixes periodic
blockfeed
hanging issue (wherecounterblock
would still run, but not process new blocks fromcounterparty-server
) - Block processing is much more robust now if an exception is encountered (e.g. counterparty-server goes down). Should prevent additional hanging-type issues
- Tweaked
blockfeed
"caught up" checking logic. Should be more reliable - Simplified
blockchain
module -- we call API methods oncounterparty-server
now, whereever possible, instead of reimplementing them oncounterblock
- Enhance the information returned with
GET /_api
. Several new parameters added, includingERROR
for easier diagnosing of most common error conditions. GET /_api
now returns CORS headers, allowing it to be used with cross domain requests- Added this
ChangeLog.md
file
- Fixes periodic
1.2.0
- Pegs the pymongo library version, to avoid incompatibility issues with pymongo 3.0
- Improves exception logging for exceptions that happen within a greenlet thread context
- Fixes an issue with an exception on reorg processing (from counterparty-server's message feed).
- Modifies the state flow with rollbacks to streamline and simplify things a bit
1.2.0-BETA
This release moves most counterblock
functionality into plug-in modules.
NOTE: THIS RELEASE REQUIRES COUNTERPARTY 9.51.0
For the list of modules, and their purpose, as well as how you can write you own modules, please see this link.
Upgrading from 1.1.0
Assisted / Federated Node
If on a federated node, the easiest thing is to just update to the newest federatednode_build
master
, and rerun ./run.py
, selecting r
to rebuild.
Manually
If you'd like to manually make these changes, you'll need to create a few config files in your counterblock
config-dir
(e.g. ~xcp/.config/counterblock/
). The first is a modules.conf
(and possibly modules.testnet.conf
) file, which on a Counterwallet system (which enables all available plugin-modules) will look like this:
[LoadModule]
lib/modules/assets = True
lib/modules/counterwallet = True
lib/modules/counterwallet_iofeeds = True
lib/modules/dex = True
lib/modules/transaction_stats = True
lib/modules/betting = True
If you don't need all of these modules enabled, you can set any of the above to False
.
If you're running a Counterwallet server, you'll also need to create a counterwallet.conf
/ counterwallet.testnet.conf
file in that same directory. That file will contain the following:
[Default]
support-email=<your support email>
Of course, change <your support email>
to whatever email address you use.
Upon making these changes, you should then be able to restart counterblock, and it will load the appropriate plugins.
Reparse Recommended
NOTE: We highly recommend doing a manual re-parse the first time launching counterblock 1.2.0. Do this by specifying the --reparse
flag, e.g. sudo su -s /bin/bash -c 'PYTHON_EGG_CACHE=/tmp/counterblock.eggs counterblock --reparse' xcpd
for mainnet.
1.1.1
This is a bug fix release that fixes some (uncaught) runtime errors that can cause significant stability problems in Counterblock in certain cases. It also properly implements logging of uncaught errors to the counterblock log files.
It is highly recommended that all users running counterblock upgrade to this version.
1.1.0
Version 1.0.1
Fixes:
- block state variable naming change
- get_jsonrpc_api() fix with abort_on_error=False
- bug fix with URL fetching, abort_on_error setting
- Fix for ambivalent variable name
- fix division per zero
Full list of changes are at: http://goo.gl/BTFmi6
1.0.0
- MAJOR: Added plugin (modular) functionality. counterblockd can now be easily extended to support custom functionality
- Increased JSON API request timeout to 120 seconds
- Implemented support for new order_match id format
- Implemented always trying/retrying for RPC calls
- Removed Callback and RPS
- Modularized Counterblockd functionality & plugin interface for third-party modules
- Optimized blockfeeds.py
- Fixed the difference of one satoshi between BTC balances returned by counterpartyd and counterblockd
- Implemented an alternative for counterpartyd api get_asset_info() method to speed up the login in counterwallet for wallet with a lot of assets
- Updated versions of deps (fixes issue with fetching SSL urls)
- Fixed the issue with passing JSON data in POST requests
- Added rollback command line argument and RollbackProcessor