Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v10.9.0-rc.1 #2921

Merged
merged 229 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
00a2fa3
Introduce composer.py
Ouziel Sep 27, 2024
b4f2300
Add unit tests
Ouziel Sep 30, 2024
c6e0438
Merge branch 'develop' into composer
Ouziel Oct 3, 2024
106405c
fix test
Ouziel Oct 3, 2024
32a168d
tweaks
Ouziel Oct 3, 2024
5a8ea0a
Migrate to 'bitcoinutils' which supports taproot addresses
Ouziel Oct 3, 2024
45fa9fc
migrate get vsize
Ouziel Oct 3, 2024
d3a9a70
Merge branch 'develop' into composer
Ouziel Oct 3, 2024
59ab8ab
more unit tests
Ouziel Oct 3, 2024
6e16160
Refactor raw mempool parsing
Ouziel Dec 16, 2024
9abaef4
Add release notes
Ouziel Dec 16, 2024
256096a
clean debug
Ouziel Dec 16, 2024
c0d64fc
pass timestamps
Ouziel Dec 16, 2024
80ef2b1
Fix endpoint to get info from raw transaction when block index is not…
Ouziel Dec 16, 2024
b008cbd
Catch errors correctly when composing MPMA send
Ouziel Dec 16, 2024
d0f7470
Throw Error if BTC Quantity in Dispense isn't enough to Trigger Dispe…
Ouziel Dec 16, 2024
74c83de
Add a timeout to parse mempool transaction from ZMQ
Ouziel Dec 16, 2024
341b2f0
fix pytest
Ouziel Dec 16, 2024
fc9edba
Merge pull request #2854 from CounterpartyXCP/rawmempool
ouziel-slama Dec 16, 2024
bd4530b
Add cache for unsupported transactions when parsing raw mempool
Ouziel Dec 16, 2024
92adf9c
one file by network
Ouziel Dec 16, 2024
642a6d4
tweaks
Ouziel Dec 16, 2024
d60943d
Add --cache-dir flag
Ouziel Dec 16, 2024
00348e0
Merge pull request #2855 from CounterpartyXCP/rawmempool
ouziel-slama Dec 16, 2024
132876f
Add give_asset and get_asset parameters for get orders by asset endpoint
Ouziel Dec 17, 2024
956643b
Add forward_asset and backward_asset parameters for get order matches…
Ouziel Dec 17, 2024
d7486b6
Add forward_price and backward_price in order matches results
Ouziel Dec 17, 2024
72498c5
fix typo; fix tests; upgrade blueprint
Ouziel Dec 17, 2024
c83a532
Fix typo
Ouziel Dec 17, 2024
4f6b5b1
Merge pull request #2859 from CounterpartyXCP/apitweaks
ouziel-slama Dec 17, 2024
64c5848
publish image on every push
Ouziel Dec 17, 2024
0180b29
Merge pull request #2860 from CounterpartyXCP/dockerimage
adamkrellenstein Dec 17, 2024
56cc3ac
Rename JSON Log Field to `severity`
adamkrellenstein Dec 17, 2024
d4d4a52
Build Docker Image with Branch Name
adamkrellenstein Dec 17, 2024
0504220
Typo!
adamkrellenstein Dec 17, 2024
8ad2418
refactor bootstrap
Ouziel Dec 17, 2024
472a0ee
Release Notes for Severity
adamkrellenstein Dec 17, 2024
54fabf7
verify and decompress
Ouziel Dec 17, 2024
1311b31
cleaning
Ouziel Dec 18, 2024
74a2c82
fixes
Ouziel Dec 18, 2024
7063624
Update release notes
Ouziel Dec 18, 2024
1c8edcb
Mock get_oldest_tx()
Ouziel Dec 18, 2024
bd32bb5
Tweak Logging
adamkrellenstein Dec 18, 2024
57f3d16
clean Addrindexrs progress
Ouziel Dec 18, 2024
f310c3d
Merge pull request #2862 from CounterpartyXCP/bootstrap
ouziel-slama Dec 18, 2024
2cf19a7
no more Addrindexrs
Ouziel Dec 18, 2024
46f04ad
Add function to search pubkey from inputs_set
Ouziel Dec 18, 2024
c22ad8d
Fix regtest scenarios: always provide inputs_set and pubkey; tweaks
Ouziel Dec 18, 2024
db0fcb4
Merge branch 'develop' into killaddrindexrs2
Ouziel Dec 18, 2024
4956dbf
push sha
adamkrellenstein Dec 18, 2024
108757c
typo
adamkrellenstein Dec 18, 2024
dd53457
Merge branch 'develop' into severity
adamkrellenstein Dec 18, 2024
4993d66
Fix --catch-up=bootstrap-always
Ouziel Dec 18, 2024
0aa0fa0
Merge pull request #2867 from CounterpartyXCP/fixes
adamkrellenstein Dec 18, 2024
894d078
Merge pull request #2861 from CounterpartyXCP/severity
adamkrellenstein Dec 18, 2024
54e1048
Merge branch 'develop' into killaddrindexrs2
adamkrellenstein Dec 18, 2024
081b06b
Fix previous_block on reorg
Ouziel Dec 19, 2024
8f7be7b
Fix regtest: systematically provide inputs_set and pubkeys
Ouziel Dec 19, 2024
921fa1e
Fix previous_block on reorg
Ouziel Dec 19, 2024
0323239
fix typo
Ouziel Dec 19, 2024
330d645
Electrs not Electr
Ouziel Dec 19, 2024
e9371f0
update requirements.txt
Ouziel Dec 19, 2024
fe23106
fix property tests
Ouziel Dec 19, 2024
9aa3c28
Merge pull request #2864 from CounterpartyXCP/killaddrindexrs2
ouziel-slama Dec 19, 2024
19f3ba6
Merge branch 'develop' into fixreorg
Ouziel Dec 19, 2024
fe9b6de
update release notes
Ouziel Dec 19, 2024
ff96d23
Fix composition with Electrs; Fix pubkey_from_tx()
Ouziel Dec 19, 2024
29b5ece
tweak doc for inputs_set parameter
Ouziel Dec 19, 2024
6990fda
Merge pull request #2872 from CounterpartyXCP/electrs
ouziel-slama Dec 19, 2024
0289a65
Merge branch 'develop' into composer
Ouziel Dec 19, 2024
d577e98
fix pytest
Ouziel Dec 19, 2024
88b0084
Fix asset_events field
Ouziel Dec 20, 2024
eb65f8d
Add exclude_with_oracle parameter
Ouziel Dec 20, 2024
f3838f5
Fix tests; update blueprint
Ouziel Dec 20, 2024
865e06b
Fix supply field
Ouziel Dec 20, 2024
e5fe5eb
fix migration
Ouziel Dec 20, 2024
1a776ed
optimize
Ouziel Dec 20, 2024
d2bd26e
Merge pull request #2875 from CounterpartyXCP/fixes
ouziel-slama Dec 20, 2024
dd513df
Add send_type field in sends table
Ouziel Dec 22, 2024
4b6f09c
clean debug
Ouziel Dec 22, 2024
18a8709
Merge pull request #2880 from CounterpartyXCP/fixes
ouziel-slama Dec 22, 2024
b9ec24e
Composer v2 progress
Ouziel Dec 23, 2024
4945f2e
Fix dispensers price_normalized
Ouziel Dec 23, 2024
9c1b06d
composer v2 progress
Ouziel Dec 23, 2024
3d7e570
Merge pull request #2883 from CounterpartyXCP/fixes
adamkrellenstein Dec 23, 2024
3e0d203
Add utxo locks
Ouziel Dec 24, 2024
641bc8a
Add more_outputs params
Ouziel Dec 24, 2024
920a193
Tweaks
Ouziel Dec 24, 2024
9f55b5f
ensure unspent_list is complete
Ouziel Dec 24, 2024
ff04ff7
tweaks
Ouziel Dec 24, 2024
88a6953
Correctly set has_segwit parameter
Ouziel Dec 24, 2024
511e84b
backward compatibilities
Ouziel Dec 24, 2024
a67d401
Fix verbose=true with asset_longname
Ouziel Dec 25, 2024
faa590a
tweak
Ouziel Dec 25, 2024
c14dd45
tweaks
Ouziel Dec 25, 2024
0be5cd9
Merge pull request #2886 from CounterpartyXCP/fixes
ouziel-slama Dec 25, 2024
081081b
Merge branch 'develop' into fixreorg
Ouziel Dec 25, 2024
f7691ae
Merge pull request #2869 from CounterpartyXCP/fixreorg
ouziel-slama Dec 25, 2024
5ab194a
Merge branch 'develop' into composer
Ouziel Dec 25, 2024
466b77f
fixes
Ouziel Dec 25, 2024
3d3326a
More fixes; Regtest OK
Ouziel Dec 26, 2024
c10b8c3
Add flags to rebuild or refresh State DB
Ouziel Dec 26, 2024
41d2e44
Trigger refresh state db on version update
Ouziel Dec 26, 2024
9f54d0b
Bump version
Ouziel Dec 26, 2024
c74f83e
Merge branch 'develop' into composer
Ouziel Dec 26, 2024
23dfc8d
More fixes; property tests OK
Ouziel Dec 26, 2024
53f9500
Cleaning; no need to pass inputs_set and keys
Ouziel Dec 26, 2024
91cd78c
Merge pull request #2890 from CounterpartyXCP/rebuildstatedb
ouziel-slama Dec 27, 2024
65cb56e
Delete old code; progress in fixing tests
Ouziel Dec 27, 2024
1a1e8dd
Merge branch 'develop' into composer
Ouziel Dec 27, 2024
beded2a
More tests for detach
Ouziel Dec 27, 2024
14bb44e
Merge pull request #2892 from CounterpartyXCP/detach
ouziel-slama Dec 27, 2024
327f762
Merge branch 'develop' into composer
Ouziel Dec 28, 2024
b654b2c
pytest fixing progress
Ouziel Dec 28, 2024
feda13e
fix typo; pytest fixing progress
Ouziel Dec 28, 2024
b8a0676
progress
Ouziel Dec 28, 2024
1fc79e6
pytest fixing progress
Ouziel Dec 29, 2024
15a44f6
fix existing pytest
Ouziel Dec 29, 2024
64f25d8
Add function to check transaction sanity
Ouziel Dec 29, 2024
15d2cd6
cleaning
Ouziel Dec 29, 2024
c4a120a
More fixes, more tweaks
Ouziel Dec 30, 2024
95cf95e
fixes; Clean construct_params; add warnings
Ouziel Dec 30, 2024
7e07197
restore pubkeys parameters
Ouziel Dec 30, 2024
4d8c3cf
restore and fix test with p2sh source
Ouziel Dec 30, 2024
5c014e7
clean debug
Ouziel Dec 30, 2024
5c84f45
fix get pubkeys
Ouziel Dec 30, 2024
3f7a66e
tweak error messges for invalid utxos
Ouziel Dec 30, 2024
58bb8da
fix typo
Ouziel Dec 31, 2024
e29e925
Don't put in cache null result
Ouziel Dec 31, 2024
52682c3
update release notes
Ouziel Dec 31, 2024
586b87a
tweak with balance checking
Ouziel Dec 31, 2024
e2b3745
re-enable and fix COMPOSER_VECTOR; fix regtest; fixes and tweaks
Ouziel Dec 31, 2024
419fe65
tweaks
Ouziel Dec 31, 2024
16d874b
exclude silently utxo with balances when inputs_set is not provided; …
Ouziel Dec 31, 2024
05caf3e
fix missing params and name in compose result
Ouziel Dec 31, 2024
2abe695
Don't retry RPC calls on API requests
Ouziel Dec 31, 2024
44a6c2b
fix pytest
Ouziel Dec 31, 2024
3598fff
Merge pull request #2897 from CounterpartyXCP/fixes
adamkrellenstein Dec 31, 2024
15ff5ac
Merge branch 'develop' into composer
Ouziel Dec 31, 2024
405a506
more tests; more fixes
Ouziel Dec 31, 2024
0d30d8f
More tests
Ouziel Jan 1, 2025
92409e7
more tests
Ouziel Jan 1, 2025
574cb0c
last unit tests for composer.py
Ouziel Jan 2, 2025
2d527ae
update release notes
Ouziel Jan 2, 2025
b3aa413
fix pytest
Ouziel Jan 2, 2025
3f56246
Insert dummy signatures before needed fee calculation
Ouziel Jan 2, 2025
9c3fc90
Calculate fees with adjusted vsize
Ouziel Jan 3, 2025
59348a8
fix tests
Ouziel Jan 3, 2025
d1ed85d
Add utxo_value parameter for attach and move
Ouziel Jan 3, 2025
5854ac3
Tweak docs; more tests; fix regtest
Ouziel Jan 3, 2025
acfbf06
more sigops tests
Ouziel Jan 3, 2025
aa4fca3
fix typo
Ouziel Jan 3, 2025
35d1a46
fix typo
Ouziel Jan 3, 2025
7d48ba5
Merge pull request #2873 from CounterpartyXCP/composer2
ouziel-slama Jan 3, 2025
b9cde34
Search also by destination in get sends by addresse
Ouziel Jan 4, 2025
b61b717
Add source_address and destination_address fields in sends table
Ouziel Jan 4, 2025
4e2027a
update tests and blueprint
Ouziel Jan 4, 2025
3812b37
Fix transaction_type field
Ouziel Jan 4, 2025
81393fb
update release notes
Ouziel Jan 4, 2025
371e885
clean debug
Ouziel Jan 4, 2025
9b596ca
Revert "Fix transaction_type field"
Ouziel Jan 4, 2025
39315ef
Merge pull request #2899 from CounterpartyXCP/fixes
ouziel-slama Jan 4, 2025
8e61090
Fix transaction_type field
Ouziel Jan 4, 2025
ec1fddf
fix and add tests
Ouziel Jan 4, 2025
6fb7efb
Use Blockstream by default; check --electrs-url validity
Ouziel Jan 5, 2025
0d25367
tweak --electrs-url help message
Ouziel Jan 5, 2025
bdd5f71
Merge pull request #2901 from CounterpartyXCP/fixes
ouziel-slama Jan 5, 2025
4de98f8
tweaks
Ouziel Jan 5, 2025
de3b3e7
Merge pull request #2902 from CounterpartyXCP/fixes2
ouziel-slama Jan 5, 2025
eade3f9
Clean transaction not in the mempool
Ouziel Jan 5, 2025
21ad64a
Merge pull request #2904 from CounterpartyXCP/fixes
ouziel-slama Jan 5, 2025
6668c5e
Catch OverflowError on API calls
ouziel-slama Jan 5, 2025
e1f7443
update release notes
Ouziel Jan 6, 2025
1dfbb7e
introduce Rust Deserializer
Ouziel Jan 6, 2025
7475dbe
Update tests; add use_txid param
Ouziel Jan 6, 2025
9f13146
Parse also blocks with Rust
Ouziel Jan 6, 2025
4aab7af
delete python deserializer
Ouziel Jan 6, 2025
80ebe14
Merge pull request #2905 from CounterpartyXCP/fixes
ouziel-slama Jan 6, 2025
76940ba
more cleaning
Ouziel Jan 6, 2025
baf8311
Fix dispensers table in State DB
Ouziel Jan 6, 2025
a7aec02
inverse key txid
Ouziel Jan 6, 2025
47c0208
print debug
Ouziel Jan 6, 2025
27ecfd2
Merge pull request #2907 from CounterpartyXCP/fixes
ouziel-slama Jan 6, 2025
827a55b
clean gettxinfo
Ouziel Jan 6, 2025
779453f
fix regtest; test block deserialization
Ouziel Jan 7, 2025
85e39ba
fix to_json; update blueprint
Ouziel Jan 7, 2025
1f316e6
fix pytest!
Ouziel Jan 7, 2025
29657af
cleaning
Ouziel Jan 7, 2025
bfa11ef
more cleaning
Ouziel Jan 7, 2025
5bb17e5
more tests
Ouziel Jan 7, 2025
fac3536
more cleaning
Ouziel Jan 7, 2025
ee63d4f
update release notes
Ouziel Jan 7, 2025
b7c9c49
remove useless parameter
Ouziel Jan 7, 2025
f744da8
rustfmt, clean debug
Ouziel Jan 7, 2025
1cc589d
update time version
Ouziel Jan 7, 2025
e4cdd4e
tweaks
Ouziel Jan 7, 2025
ec9ccf2
clean useless comments
Ouziel Jan 7, 2025
92a0548
refresh blueprint
Ouziel Jan 7, 2025
1915fc2
last tweak
Ouziel Jan 7, 2025
25759fb
Merge pull request #2906 from CounterpartyXCP/deserialize
ouziel-slama Jan 7, 2025
4102c09
Introduce testnet4
Ouziel Oct 13, 2024
a2d75f6
fix tests
Ouziel Oct 13, 2024
5300d29
DRY
Ouziel Oct 13, 2024
243e1dd
update and clean protocol_changes.json
Ouziel Oct 13, 2024
65a8490
ruff
Ouziel Jan 8, 2025
aa8e315
rsfetcher testnet4 support; fixes
Ouziel Jan 8, 2025
877804d
update first block and release notes
Ouziel Jan 8, 2025
a52bf53
update release notes
Ouziel Jan 8, 2025
52638a9
Merge pull request #2911 from CounterpartyXCP/testnet4bis
ouziel-slama Jan 8, 2025
90e8664
New routes
Ouziel Jan 8, 2025
9e51dd3
fix pytest
Ouziel Jan 8, 2025
97c474d
Merge pull request #2913 from CounterpartyXCP/newroutes
ouziel-slama Jan 8, 2025
cad357a
Fix Regtest tests with Bitcoin 28
Ouziel Jan 8, 2025
aaaa8ab
tweak documentation
Ouziel Jan 8, 2025
bdcb264
fix reorg test with bitcoin 28
Ouziel Jan 8, 2025
502bdbc
fix fixtures
Ouziel Jan 8, 2025
45cc725
Merge pull request #2914 from CounterpartyXCP/fixes
ouziel-slama Jan 8, 2025
b598556
electrs regtest
Ouziel Jan 9, 2025
797a3d2
Property tests for fairminters
Ouziel Jan 9, 2025
76f1eab
Merge pull request #2915 from CounterpartyXCP/electrs
ouziel-slama Jan 9, 2025
b10625f
Bump version
Ouziel Jan 9, 2025
fd648fc
Tweak Release Notes for v10.9.0
adamkrellenstein Jan 9, 2025
b9a69dd
Tweak Release Notes for v10.9.0
adamkrellenstein Jan 9, 2025
b7d266b
Merge pull request #2917 from CounterpartyXCP/bump
ouziel-slama Jan 9, 2025
301c37a
Fix bootstrap with custom url
Ouziel Jan 9, 2025
3e567d6
Merge pull request #2920 from CounterpartyXCP/fixes
ouziel-slama Jan 9, 2025
3afde36
Merge pull request #2922 from CounterpartyXCP/master
ouziel-slama Jan 9, 2025
8f14358
Fix bootstrap testnet
Ouziel Jan 9, 2025
7bcf502
Merge pull request #2923 from CounterpartyXCP/fixes
ouziel-slama Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/propertytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,11 @@ jobs:
cd counterparty-rs && pip install -e . && cd ..
cd counterparty-core && pip install -e . && cd ..
pip install evdev
git clone https://github.com/CounterpartyXCP/addrindexrs.git
cd addrindexrs
cargo install --path=.
wget https://bitcoincore.org/bin/bitcoin-core-27.1/bitcoin-27.1-x86_64-linux-gnu.tar.gz
tar -xvf bitcoin-27.1-x86_64-linux-gnu.tar.gz
sudo cp bitcoin-27.1/bin/bitcoin-cli /usr/local/bin/bitcoin-cli
sudo cp bitcoin-27.1/bin/bitcoind /usr/local/bin/bitcoind
sudo cp bitcoin-27.1/bin/bitcoin-wallet /usr/local/bin/bitcoin-wallet
wget https://bitcoincore.org/bin/bitcoin-core-28.0/bitcoin-28.0-x86_64-linux-gnu.tar.gz
tar -xvf bitcoin-28.0-x86_64-linux-gnu.tar.gz
sudo cp bitcoin-28.0/bin/bitcoin-cli /usr/local/bin/bitcoin-cli
sudo cp bitcoin-28.0/bin/bitcoind /usr/local/bin/bitcoind
sudo cp bitcoin-28.0/bin/bitcoin-wallet /usr/local/bin/bitcoin-wallet
npm install dredd --global
- name: Run regtest tests
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
release:
types: [published]
push:
branches:
- develop
branches: "**"

env:
DOCKER_REPO: counterparty/counterparty
Expand All @@ -27,6 +26,8 @@ jobs:
export VERSION=v$(cat counterparty-core/counterpartycore/lib/config.py | grep '__version__ =' | awk -F '"' '{print $2}')
elif [[ ${{ github.event_name }} == 'push' && ${{ github.ref }} == 'refs/heads/develop' ]]; then
export VERSION=develop
else
export VERSION=${{ github.sha }}
fi
docker build -t $DOCKER_REPO:$VERSION .
docker tag $DOCKER_REPO:$VERSION $DOCKER_REPO:latest
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/regtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ jobs:
cd counterparty-rs && pip install -e . && cd ..
cd counterparty-core && pip install -e . && cd ..
pip install evdev
git clone https://github.com/CounterpartyXCP/addrindexrs.git
cd addrindexrs
cargo install --path=.
wget https://bitcoincore.org/bin/bitcoin-core-27.1/bitcoin-27.1-x86_64-linux-gnu.tar.gz
tar -xvf bitcoin-27.1-x86_64-linux-gnu.tar.gz
sudo cp bitcoin-27.1/bin/bitcoin-cli /usr/local/bin/bitcoin-cli
sudo cp bitcoin-27.1/bin/bitcoind /usr/local/bin/bitcoind
sudo cp bitcoin-27.1/bin/bitcoin-wallet /usr/local/bin/bitcoin-wallet
wget https://bitcoincore.org/bin/bitcoin-core-28.0/bitcoin-28.0-x86_64-linux-gnu.tar.gz
tar -xvf bitcoin-28.0-x86_64-linux-gnu.tar.gz
sudo cp bitcoin-28.0/bin/bitcoin-cli /usr/local/bin/bitcoin-cli
sudo cp bitcoin-28.0/bin/bitcoind /usr/local/bin/bitcoind
sudo cp bitcoin-28.0/bin/bitcoin-wallet /usr/local/bin/bitcoin-wallet
npm install dredd --global
git clone https://github.com/mempool/electrs && cd electrs
cargo install --path=.
- name: Run regtest tests
run: |
cd counterparty-core
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test_compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ sudo touch $LOG_PATH
docker compose --profile mainnet stop counterparty-core
docker compose --profile mainnet run counterparty-core reparse $REPARSE_FROM \
--backend-connect=bitcoind \
--indexd-connect=addrindexrs \
--rpc-host=0.0.0.0 \
--api-host=0.0.0.0

Expand Down
Loading
Loading