From 863ee7b4fa8acf0d3bf53bb4c44cd4287bf8860c Mon Sep 17 00:00:00 2001 From: Adam Krellenstein Date: Tue, 9 Apr 2024 23:03:14 -0400 Subject: [PATCH 1/3] HOTFIX IndexError --- .../counterpartylib/lib/address.py | 4 +++ release-notes/release-notes-v10.0.1.md | 28 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 release-notes/release-notes-v10.0.1.md diff --git a/counterparty-lib/counterpartylib/lib/address.py b/counterparty-lib/counterpartylib/lib/address.py index 0f18f95134..0e10bad379 100644 --- a/counterparty-lib/counterpartylib/lib/address.py +++ b/counterparty-lib/counterpartylib/lib/address.py @@ -5,6 +5,7 @@ from counterpartylib.lib import config from counterpartylib.lib import script from counterpartylib.lib import ledger +from counterpartylib.lib import exceptions logger = logging.getLogger(config.LOGGER_NAME) @@ -53,6 +54,9 @@ def unpack(short_address_bytes): """ from .ledger import enabled # Here to account for test mock changes + if short_address_bytes == b'': + raise exceptions.UnpackError + if enabled('segwit_support') and short_address_bytes[0] >= 0x80 and short_address_bytes[0] <= 0x8F: # we have a segwit address here witver = short_address_bytes[0] - 0x80 diff --git a/release-notes/release-notes-v10.0.1.md b/release-notes/release-notes-v10.0.1.md new file mode 100644 index 0000000000..47f4175548 --- /dev/null +++ b/release-notes/release-notes-v10.0.1.md @@ -0,0 +1,28 @@ +# Release Notes - Counterparty Core v10.0.1 (2024-04-??) + +# ChangeLog + +## Codebase +* Split out `counterparty-cli` package into `counterparty-core` and `counterparty-wallet` packages + +## Documentation and Testing + + +## Stability and Correctness + + +## Deployment + + +## Command-Line Interface +* Rename `counterpary-client` to `counterparty-wallet` + + +## Refactoring and Performance Optimizations + + +# Credits +* Ouziel Slama +* Adam Krellenstein +* Warren Puffett +* Matt Marcello From 2c96fb331c90f5ab4028cdba129a781cb179057d Mon Sep 17 00:00:00 2001 From: Adam Krellenstein Date: Tue, 9 Apr 2024 23:06:25 -0400 Subject: [PATCH 2/3] Release Notes --- release-notes/release-notes-v10.0.1.md | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/release-notes/release-notes-v10.0.1.md b/release-notes/release-notes-v10.0.1.md index 47f4175548..f40f36390f 100644 --- a/release-notes/release-notes-v10.0.1.md +++ b/release-notes/release-notes-v10.0.1.md @@ -1,28 +1,9 @@ -# Release Notes - Counterparty Core v10.0.1 (2024-04-??) +# Release Notes - Counterparty Core v10.0.1 (2024-04-09) # ChangeLog -## Codebase -* Split out `counterparty-cli` package into `counterparty-core` and `counterparty-wallet` packages - -## Documentation and Testing - - ## Stability and Correctness - - -## Deployment - - -## Command-Line Interface -* Rename `counterpary-client` to `counterparty-wallet` - - -## Refactoring and Performance Optimizations - +* Add missing sanity check in address unpacking for dispenser that causes a complete network crash # Credits -* Ouziel Slama * Adam Krellenstein -* Warren Puffett -* Matt Marcello From c297e919c640655eb70273d225e35a3c3ac87b15 Mon Sep 17 00:00:00 2001 From: Adam Krellenstein Date: Tue, 9 Apr 2024 23:23:40 -0400 Subject: [PATCH 3/3] v9.61.3 Release Notes --- release-notes/release-notes-v9.61.3.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 release-notes/release-notes-v9.61.3.md diff --git a/release-notes/release-notes-v9.61.3.md b/release-notes/release-notes-v9.61.3.md new file mode 100644 index 0000000000..118dbe056f --- /dev/null +++ b/release-notes/release-notes-v9.61.3.md @@ -0,0 +1,9 @@ +# Release Notes - Counterparty Core v9.61.3 (2024-04-09) + +# ChangeLog + +## Stability and Correctness +* Add missing sanity check in address unpacking for dispensers that causes a complete network crash + +# Credits +* Adam Krellenstein