Commit Graph

6912 Commits

Author SHA1 Message Date
Luke Dashjr
1764e95f94 Merge 30886 via rpc_descrprocesspsbt_prevtxs-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
7a279182b1 Merge 30860 via bashcomp_bcli_generate-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
ad863b5a7b Merge 30793 via rpc_getorphantxs-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
9165f95006 Merge 30708 via rpc_getdescriptoractivity-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
a31727f845 Merge 27770 via rpc_getblockfileinfo-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
99edcfd993 Merge 27600 via p2p_forceinbound-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
64f3666c9e Merge 27351 via codex32-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
707ebbb678 Merge 27216 via rpc_getaddressinfo_isactive 2025-03-05 03:27:08 +00:00
Luke Dashjr
3422369f44 Merge 27034 via rpc_importaddr_for_descwallet-27+k 2025-03-05 03:27:08 +00:00
Luke Dashjr
73a8f2cce9 Merge 26990 via cli_mw_errormsgs_pr26990-24 2025-03-05 03:27:08 +00:00
Luke Dashjr
dfea58ac00 Merge 26576 via rpc_disconnectnode_subnet 2025-03-05 03:27:08 +00:00
Luke Dashjr
ec174daacb Merge whitelist_outgoing_auto 2025-03-05 03:27:08 +00:00
Luke Dashjr
938e4a0ff0 Merge 25183 via rpc_fundraw_segwitonly 2025-03-05 03:27:08 +00:00
Luke Dashjr
c7dd00c6de Merge 24058 via bip322-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
07d4bdba10 Merge verifymsg_bip137_and_electrum 2025-03-05 03:27:08 +00:00
Luke Dashjr
f20be3bb5b Merge 23387 via rpc_savefeeestimates 2025-03-05 03:27:08 +00:00
Luke Dashjr
3537e02c19 Merge rpc_descriptorprocesspsbt_opts 2025-03-05 03:27:08 +00:00
Luke Dashjr
7c2fb8de20 Merge 24963 via rpc_walletprocesspsbt_options-26 2025-03-05 03:27:08 +00:00
Luke Dashjr
3be97e6ce1 Merge 21260 via rpcwallet_tx_in_mempool-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
d6140f3cc8 Merge 21928 via rpc_hww_toggle-25 2025-03-05 03:27:08 +00:00
Luke Dashjr
34b69da316 Merge 20702 via rpc_getblocklocations 2025-03-05 03:27:08 +00:00
Luke Dashjr
59ccec7495 Merge 20407 via rpcauthfile-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
a22e586743 Merge 20391 via rpc_setfeerate-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
d8114ff110 Merge 19463 via prune_locks 2025-03-05 03:27:08 +00:00
Luke Dashjr
4d64e9e4a9 Merge 19242 via uaappend 2025-03-05 03:27:08 +00:00
Luke Dashjr
3f3877f474 Merge 24202 via rpc_dumptxoutset_hr 2025-03-05 03:27:08 +00:00
Luke Dashjr
a5e45fc1e0 Merge 18972 via neutrino_whitelist-mini 2025-03-05 03:27:08 +00:00
Luke Dashjr
1bd683de23 Merge 22693 via getaddressinfo_txids 2025-03-05 03:27:08 +00:00
Luke Dashjr
b891a04599 Merge 15836 via fee_histogram+pr15836_api 2025-03-05 03:27:08 +00:00
Luke Dashjr
0a4470afd8 Merge 18479 via rpc_sign_show_fees 2025-03-05 03:27:08 +00:00
Luke Dashjr
ff1b8720f3 Merge 31674 via lock_blocksdir-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
0fc02402ef Merge 31671 via fix_leveldb_ptrarith_pr31671-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
f187eddc34 Merge 31451 via fix_wallet_migrate_wo_bdb-27 2025-03-05 03:27:08 +00:00
Luke Dashjr
7fbcebdee4 Merge 31391 via custom_iso8601datetime-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
751244b972 Merge 31383 via qafix_ibd_stalling_pr31383-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
8b315fea6e Merge 31374 via fix_wallet_migrate_pr31374-27 2025-03-05 03:27:08 +00:00
Luke Dashjr
bb9302e344 Merge 31646 via qafix_inet_access_pr31646-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
0247e6fe0b Merge 31343 via qa_dummy_proxy-21 2025-03-05 03:27:08 +00:00
Luke Dashjr
771789a300 Merge 31212 via improve_args_pr31212-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
ef80edf7c0 Merge 31097 via scripterr_prefer_consensus-28 2025-03-05 03:27:08 +00:00
Luke Dashjr
5f08e7fee5 Merge 29175 via origin-pull/29175/head 2025-03-05 03:27:08 +00:00
Luke Dashjr
3ad996f41b Merge 29141 via fix_rpcauth_blank 2025-03-05 03:27:08 +00:00
Luke Dashjr
2511736937 Merge 28944 via ishaanam/sendall_anti_fee_sniping 2025-03-05 03:27:08 +00:00
Luke Dashjr
52de30f484 Merge 28055 via fix_getblockfrompeer_rereq_err 2025-03-05 03:27:08 +00:00
Luke Dashjr
04db65df5e Merge acceptstalefeeestimates_mainnet_opt 2025-03-05 03:27:08 +00:00
Luke Dashjr
8d840e7947 Merge qafix_assert_debug_log_create 2025-03-05 03:27:08 +00:00
Luke Dashjr
159d9c36b0 Merge 23027 via bugfix_util_test_config 2025-03-05 03:27:08 +00:00
Luke Dashjr
ccf3424296 Merge bugfix_rpc_getbalance_hacky 2025-03-05 03:27:08 +00:00
Luke Dashjr
def0d7f8f8 Merge 14968 via http_bind_error 2025-03-05 03:27:08 +00:00
Luke Dashjr
8d7611a7ec Merge 31408 via qafix_framework_pr31408-27 2025-03-05 03:27:08 +00:00
Luke Dashjr
efeece9f03 Merge lint_relaxer-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
7d6366b565 Merge 15155 via test_external_bcli 2025-03-05 03:27:08 +00:00
Luke Dashjr
fca574bb38 QA: verifymessage tests from Sparrow 2025-03-01 16:26:01 +00:00
Luke Dashjr
2b5b9fbb04 Merge branch 'rpc_sign_show_fees' into bip322-28+knots 2025-03-01 16:25:51 +00:00
Luke Dashjr
e5282b269c verifymessage: Allow legacy signed messages to validate for Segwit (Electrum compatibility) 2025-03-01 16:25:05 +00:00
Luke Dashjr
9e84f672b1 verifymessage: Implement BIP 137 for Segwit support 2025-03-01 16:25:05 +00:00
Luke Dashjr
2bad89f8c0 QA: p2p_opportunistic_1p1c: Adapt disconnection test for relaxed behaviour 2025-03-01 15:49:38 +00:00
Luke Dashjr
6a179c5e14 Revert "QA/Mininode: Support node-to-test connections"
This reverts commit 69d89174144d306ee6bc58b9a71737ce7e4df9f4.
2025-03-01 15:49:38 +00:00
Luke Dashjr
48d4a47feb QA/p2p_mutated_blocks: Adapt disconnection test for relaxed behaviour 2025-03-01 15:49:38 +00:00
Luke Dashjr
7137ef57b5 QA: Use addconnection rather than addnode onetry 2025-03-01 15:49:38 +00:00
Luke Dashjr
7ab4fecd0f QA: p2p_dos_header_tree: Use node-to-test / outgoing connection to check disconnect due to checkpoint violation
Also disable minimumchainwork test to avoid being disconnected for that

For relax_invblk_punishment
2025-03-01 15:49:38 +00:00
Luke Dashjr
f0c9500818 QA: p2p_invalid_tx: Use node-to-test / outgoing connection to check invalid transaction disconnection
For relax_invblk_punishment
2025-03-01 15:49:38 +00:00
Luke Dashjr
7efd1d29a6 QA/feature_block: Adapt disconnection tests for relaxed behaviour 2025-03-01 15:49:38 +00:00
Vasil Dimov
13e161aa1a rpc: add cpu_load to getpeerinfo
Add a new field `cpu_load` to the output of `getpeerinfo` RPC.

It represents the CPU time spent by the message handling thread for the
given peer, weighted for the duration of the connection. That is, for
example, if two peers are equally demanding and one is connected longer
than the other, then they will have the same `cpu_load` number.

Github-Pull: #31672
Rebased-From: 0f68c47e931de05200adeae639bcee50ea3c171d
2025-02-28 04:34:41 +00:00
Luke Dashjr
a2225405a5 net: Remove forcedinbound limit antifeature 2025-02-28 04:24:55 +00:00
Matthew Zipkin
b0d90d2885 net: add forced_inbound to getpeerinfo
Github-Pull: #27600
Rebased-From: 8c2026848da910fdebff0a9f73e29f1f6ae81e43
2025-02-28 04:24:27 +00:00
Matthew Zipkin
2b3e19e9e8 net: only allow 8 simultaneous forced inbound connections
Github-Pull: #27600
Rebased-From: 75868022a904c1f77871abf962bf9b88a9c5faf6
2025-02-28 04:24:26 +00:00
Luke Dashjr
90676086b1 fixup! test: cover ForceInbound permission success even when connections are full 2025-02-28 04:23:10 +00:00
Luke Dashjr
5faa5027fa QA: Allow test_runner to pass without full RPC coverage 2025-02-25 19:38:14 +00:00
Luke Dashjr
b24c622edf lint: Allow including bitcoin-config.h without IWYU pragma 2025-02-25 19:38:14 +00:00
Luke Dashjr
eed7bb6496 lint-python: Allow for some style differences 2025-02-25 19:38:14 +00:00
Luke Dashjr
3315b13ab4 dustdynamic: Support specifying a multiplier (default to 3)
Historically, dustrelayfee was based on 3x the cost to spend an output, so use that for the default multiplier
2025-02-24 21:21:31 +00:00
Luke Dashjr
50bf1c18df QA: feature_fee_estimation: Add tests for dustrelayfeedynamic 2025-02-24 21:20:32 +00:00
Luke Dashjr
2fe5723811 RPC/Mining: getblocktemplate: Support overriding blockreserved{sigops,size,weight} per request 2025-02-24 21:12:50 +00:00
Luke Dashjr
cb63e415c1 QA: mining_basic: Test GBT extensions to specify blockmax{size,weight} and maxfeerate 2025-02-24 21:12:50 +00:00
furszy
f56b53cc49 test: add coverage for migrating standalone imported keys
Github-Pull: #31374
Rebased-From: cdd207c0e4
2025-02-24 20:00:08 +00:00
furszy
02e5d9485c test: add coverage for migrating watch-only script
Github-Pull: #31374
Rebased-From: 297a876c98
2025-02-24 20:00:06 +00:00
furszy
3eead328db wallet: migration, avoid loading wallet after failure when it wasn't loaded before
During migration failure, only load wallet back into memory when the
wallet was loaded prior to migration. This fixes the case where BDB
is not supported, which implies that no legacy wallet can be loaded
into memory due to the lack of db writing functionality.

This commit also improves migration backup related comments to better
document the current workflow.

Co-authored-by: Ava Chow <github@achow101.com>

Github-Pull: #31451
Rebased-From: 589ed1a8ea
2025-02-24 19:57:55 +00:00
Luke Dashjr
8596fff6ac Bugfix: QA: When testing setfeerate, check approximate fee range with a span able to tolerate normal signature length variation 2025-02-24 19:57:15 +00:00
Jon Atack
7da90bbfc5 test: add more functional tests for setfeerate
Was: test: update functional tests from settxfee to setfeerate

Github-Pull: #20391
Rebased-From: d87f0f3a923dca2ce8d99aa700b0beda8e42d3ec (partial)
2025-02-24 19:57:15 +00:00
Jon Atack
f3bd5963ac test: add setfeerate functional coverage in wallet_bumpfee.py
Github-Pull: #20391
Rebased-From: c907f158a6bf3cad782d4441e02abcbda210265b
2025-02-24 19:57:15 +00:00
Jon Atack
85397fae76 test: add setfeerate functional coverage in wallet_create_tx.py
Github-Pull: #20391
Rebased-From: 529bfc16ffb35c5356e27f61d59395fae6707bcd
2025-02-24 19:57:15 +00:00
Luke Dashjr
67c63ffbc8 wallettool: Warn about dump commands not fully dumping/restoring BDB wallets
Fails to dump/restore wallet ID
2025-02-24 19:56:40 +00:00
Luke Dashjr
8f9e2365e6 wallettool: Print warnings to stderr instead of stdout 2025-02-24 19:56:40 +00:00
Luke Dashjr
98e92c52af QA: feature_fee_estimation: Verify REST API in check_fee_estimates_btw_modes 2025-02-24 19:54:04 +00:00
Luke Dashjr
28b74e1549 QA: Exercise REST interface in feature_fee_estimation 2025-02-24 19:54:04 +00:00
Luke Dashjr
bada19a8e8 rest: add endpoint for estimatesmartfee
* write REST interface for getting estimated fee
* update docs about REST interface for fee estimation
* add test
2025-02-24 19:53:44 +00:00
Luke Dashjr
3abda6a001 Bugfix: QA: test_node: Ensure debug.log exists at start of assert_debug_log 2025-02-24 19:48:11 +00:00
Luke Dashjr
b651607a0c Revert "Disable bloom filtering by default."
This reverts commit 5efcb77283.
2025-02-21 23:52:07 +00:00
Luke Dashjr
d4a481925b util/system: Add GetFixedPointArg helper 2025-02-21 23:48:26 +00:00
Luke Dashjr
b27d9871c3 Merge branch 'mining_priority' into datacarriercost-28+knots 2025-02-21 23:48:20 +00:00
Luke Dashjr
7cbe5cde36 Add -datacarrierfullcount option to control applying -datacarriersize to all datacarrying 2025-02-21 23:47:45 +00:00
Luke Dashjr
343513a79d Apply -datacarriersize to all datacarrying
Github-Pull: #28408
Rebased-From: ea1c41b514a5c5fb5e29e5a805933043b7538332
2025-02-21 23:47:45 +00:00
Luke Dashjr
0b272c39d8 QA: feature_rbf: Check opt-in RBF with TRUC signal 2025-02-21 23:44:25 +00:00
Luke Dashjr
67a21df6f6 QA: feature_rbf: Test full-RBF service bit 2025-02-21 23:43:47 +00:00
Luke Dashjr
e5ea05e214 RPC/Mempool: Add "rbf_policy" to getmempoolinfo result 2025-02-21 23:43:46 +00:00
Luke Dashjr
9029cbbeca Advertise temporary REPLACE_BY_FEE service bit (when appropriate) 2025-02-21 23:43:46 +00:00
Luke Dashjr
181ab17747 Recognise temporary REPLACE_BY_FEE service bit 2025-02-21 23:43:46 +00:00
Luke Dashjr
20d5f9b1eb QA: feature_rbf: Test full RBF mode 2025-02-21 23:43:46 +00:00
Luke Dashjr
8247f0741d Restore -mempoolreplacement option to allow disabling opt-in RBF
This partially reverts commit 8053e5cdad.
2025-02-21 23:43:46 +00:00