v10.7.2
Release Notes - Counterparty Core v10.7.2 (2024-11-24)
This is a minor release with a large number of bugfixes and quality-of-life improvements.
Upgrading
This upgrade is not a protocol change and does not require an automatic reparse.
ChangeLog
Protocol Changes
Bugfixes
- Fix CORS headers for
OPTIONS
requests - Fix rounding error on normalized quantity
- Use
null
instead of''
forasset_longname
andasset_parent
fields - Correctly catch
ValueError
in unpack endpoint - Correctly catch
InvalidBase58Error
in compose endpoints - Correctly catch
BitcoindRPCError
in get transaction info endpoint - Fix typo in dispenser error messages (
has
->have
) - Fix get balances endpoint when using
sort=asset
- Catch all errors when using unpack endpoint with invalid data
- Restart RSFetcher when it returns
None
- Clean up blocks without ledger hash before starting catch-up
- Don't inject details before publishing events with ZMQ
- Populate
address_events
also with UTXO events (attach, detach and move) - Fix
compose_movetoutxo
documentation - Fix error message when trying to compose a dispense with the dispenser address as the source
Codebase
API
- Add
sort
parameter for the get holders endpoint (sortable fields:quantity
,holding_type
, andstatus
) - Exclude blocks that are not finished being parsed
- Optimize events counts endpoints with
events_count
table - Add route
/v2/utxos/withbalances
to check if utxos have balances - Add
type
parameter for get balances endpoints (all
,utxo
oraddress
)
CLI
- Support the
SENTRY_SAMPLE_RATE
environment variable to set the Sentry sample rate - Show help if no actions are provided
- Fix and rename
--check-asset-conservation
flag to--skip-asset-conservation-check
Credits
- droplister
- Ouziel Slama
- Adam Krellenstein