Byron Hambly
dcb3a05a44
lint: exclude src/secp256k1 from lint-python-utf8-encoding.sh
...
It doesn't make sense to use this upstream linter for secp256k1-zkp.
Currently this only affects musig2-vectors.py.
2023-07-28 11:59:15 +02:00
Pablo Greco
6802564be5
Merge pull request #1246 from delta1/issue-1245
...
fix: getnewaddress - don't blind bech32 addresses
2023-07-19 12:18:30 -03:00
Byron Hambly
49c3ea309e
fix: getnewaddress - don't blind bech32 addresses
...
fixes #1245
2023-07-19 12:40:22 +02:00
Pablo Greco
cfc10a5dd6
Merge pull request #1232 from delta1/script-assets-test
...
test: re-enable and fix script assets test
2023-06-05 14:14:27 -03:00
Byron Hambly
5cbd44f1c8
test: re-enable and fix script assets test
...
Re-enables and fixes the script_assets_test by changing feature_taproot.py to include the genesis block hash when dumping the json tests.
Requires the json file from https://github.com/ElementsProject/qa-assets/pull/1
Co-authored-by: Andrew Poelstra <apoelstra@wpsoftware.net>
2023-06-05 16:43:06 +02:00
James Dorfman
de942511a6
Merge pull request #1239 from apoelstra/2023-05--fix-testmempoolaccept
...
testmempoolaccept: feed genesis hash into sighash computation
2023-05-05 03:02:40 -04:00
Andrew Poelstra
ccffeba3b2
testmempoolaccept: feed genesis hash into sighash computation
2023-05-04 20:30:06 +00:00
Pablo Greco
ad12d31e29
Merge pull request #1228 from philippem/add-confidential-transactions-doc
...
Add document on confidential transactions
2023-05-02 15:09:54 -03:00
Phil McLean
48f20014bf
Add document on confidential transactions
2023-05-02 11:06:11 -07:00
James Dorfman
ee18b6b038
Merge pull request #1236 from andreabonel/elementsqt_fix_respect_defaultpeggedassetname_param
...
Elements-qt: Show correct default asset name
2023-04-26 23:19:44 -04:00
Andrea Bonel
f104e4bcf8
Elements-qt: Show correct default asset name
2023-04-19 15:32:48 -03:00
James Dorfman
1443d302ae
Merge pull request #1231 from andreabonel/fix_dynamic_parameters_root_in_getblockheader
...
Fix dynamic parameters root in getblockheader
2023-04-04 14:49:39 -04:00
Andrea Bonel
d856ef2e6c
Add test for dynafed cpe root
2023-04-03 18:03:59 -03:00
Andrea Bonel
8d844c79e3
Fix dynamic_parameters root in getblockheader rpc
2023-04-03 18:02:24 -03:00
Byron Hambly
6b826d5004
Merge pull request #1225 from psgreco/master-fix-assert-trim-rpc
...
RPC: Avoid assert by keeping a flag to identify trimmed dynafed blocks
2023-03-17 16:09:39 +02:00
Byron Hambly
8c9268c4bf
Merge pull request #1223 from andreabonel/qt_use_available_balance_from_the_currently_selected_asset
...
Elements-qt: Use available balance from the currently selected asset
2023-03-17 16:05:39 +02:00
Andrea Bonel
7a98c29c6e
Elements-qt: Use available balance from the currently selected asset
2023-03-17 13:44:56 +02:00
Byron Hambly
63d79dda82
Merge pull request #1222 from andreabonel/qt_avoid_mixing_assets_when_using_all_the_available
...
Elements-qt: Avoid mixing assets when using all the available balance
2023-03-17 13:41:54 +02:00
Pablo Greco
8f16e00ee2
Avoid reloading the block before calling blockheaderToJSON, the loaded block is incomplete and makes it crash
2023-03-16 09:21:50 -03:00
Pablo Greco
3c8d3a2a7d
RPC: Avoid assert by keeping a flag to identify trimmed dynafed blocks
2023-03-16 09:21:49 -03:00
Andrea Bonel
cfb7565520
Elements-qt: Avoid mixing assets when using all the available balance
2023-03-15 09:37:55 -03:00
Andrew Poelstra
8fda434131
update qa-assets tests to point to Elements qa-assets repo
2023-03-06 19:46:16 +00:00
Byron Hambly
b4ba5c770c
Merge pull request #1216 from jhfrontz/correct_testproposedblock_help
...
Correct testproposedblock help
2023-03-05 18:39:23 +02:00
Jeff Frontz
1b0424530a
Remove erroneous PAK-checking info from testproposedblock help
2023-03-05 09:05:38 -03:00
James Dorfman
8a179079e0
Merge pull request #1214 from psgreco/master-fix-linter
...
Fix linter (trailing whitespace)
2023-02-24 11:12:11 -05:00
Pablo Greco
a5976a6364
Fix linter (trailing whitespace)
2023-02-24 09:53:40 -03:00
James Dorfman
9e627b6ea4
Merge pull request #1212 from psgreco/master-trim-underflow
...
Fix underflow when blocks are ahead of headers
2023-02-21 13:31:13 -05:00
Pablo Greco
e7fea1d50b
Fix underflow when blocks are ahead of headers
2023-02-21 06:22:25 -03:00
Glenn Willen
718ac5bd6b
Merge pull request #1118 from gwillen/feature-merge-workflow
...
Improvements to pr review script
2023-02-14 10:47:22 -08:00
James Dorfman
a47f465847
Merge pull request #1209 from psgreco/master-wsh-dynafed
...
Allow deploying regtest networks with p2wsh peg-ins
2023-02-13 09:46:42 -05:00
Pablo Greco
4cbe3d4322
Allow starting regtest networks with p2wsh peg-in addresses
2023-02-07 18:16:43 -03:00
Pablo Greco
07a45ba058
Avoid regenerating the full parameters when dynafed is always active
2023-02-07 18:16:43 -03:00
Byron Hambly
2f7bf3e1f1
Merge pull request #1206 from psgreco/master-hide-rpcpasswords
...
Obscure mainchain rpc fields in the logs, just like the local ones
2023-02-01 18:02:26 +02:00
Pablo Greco
ae4a990985
Obscure mainchain rpc fields in the logs, just like the local ones
2023-01-30 16:49:14 -03:00
Pablo Greco
0a20d6e327
Merge pull request #1203 from philippem/fix-getsidechaininfo-rpc-help
...
Correct help for getsidechaininfo RPC
2023-01-30 15:12:22 -03:00
Philippe McLean
0936031b9a
Correct help for getsidechaininfo RPC
...
- described order of current_fedpegscripts array was incorrect
2023-01-26 17:54:48 -08:00
Pablo Greco
ffeeddef54
Merge pull request #1190 from gwillen/fix-elements-memory-usage
...
Improve elements memory usage
2023-01-26 10:01:25 -03:00
Glenn Willen
15dbe64100
Remove stray comment
2023-01-25 09:31:03 -08:00
Glenn Willen
e62215628c
Update documentation
2023-01-24 22:34:37 -08:00
Glenn Willen
e8475e7edd
Fix stuck IBD when discarding unwanted headers from peers.
...
When receiving unwanted headers from a peer, first check whether we have
recent "best known block" state for that peer. If not, accept one batch
of headers to refresh it. Otherwise, we can become stuck in a state where
we need blocks, but we don't know which peers have those blocks available.
This especially happens during startup, when we don't have this information
for any peers until we start processing header messages.
2023-01-24 22:05:36 -08:00
Glenn Willen
8cad8cda44
Further fixes from code review
2023-01-04 16:33:35 -08:00
Glenn Willen
b9b7f6543a
Apply suggestions from code review
...
Co-authored-by: Byron Hambly <byron@hambly.dev>
2023-01-04 15:32:04 -08:00
Glenn Willen
29345e9e12
pgreco's startup crash fix
2022-12-12 09:53:44 -08:00
Glenn Willen
fba37b74b4
Move enough-headers check up, rejecting excess headers when received.
2022-12-12 09:53:44 -08:00
Glenn Willen
394e59d38d
Politely and safely refuse getheaders requests for headers we have trimmed.
2022-12-12 09:53:44 -08:00
Glenn Willen
763d29895f
Fix deserialization issues in certain functional tests
2022-12-12 09:53:44 -08:00
Glenn Willen
a2db974044
Fix false-positive lint
2022-12-12 09:53:44 -08:00
Glenn Willen
7e6fe4a5ba
Don't let header syncing get too far ahead of block syncing
2022-12-12 09:53:44 -08:00
Glenn Willen
f5c79950a1
When people ask us for headers we do not have (over REST or RPC), do something reasonable.
2022-12-12 09:53:42 -08:00
Glenn Willen
4f0da3ce3d
Trim headers when flushing to disk, and reduce flush interval from 1h to 5min.
2022-12-12 09:46:07 -08:00