Commit f7144b2
committed
Merge bitcoin/bitcoin#31279: policy: ephemeral dust followups
466e4df assert_mempool_contents: assert not duplicates expected (Greg Sanders)
ea5db2f functional: only generate required blocks for test (Greg Sanders)
d033acb fuzz: package_eval: let fuzzer run out input in main tx creation loop (Greg Sanders)
ba35a57 CheckEphemeralSpends: return boolean, and set child state and txid outparams (Greg Sanders)
cf0cee1 func: add note about lack of 1P1C propagation in tree submitpackage (Greg Sanders)
8424290 unit test: ephemeral_tests is using a dust relay rate, not minrelay (Greg Sanders)
d9cfa5f CheckEphemeralSpends: no need to iterate inputs if no parent dust (Greg Sanders)
87b26e3 func: rename test_free_relay to test_no_minrelay_fee (Greg Sanders)
e5709a4 func: slight elaboration on submitpackage restriction (Greg Sanders)
08e969b RPC: only enforce dust rules on priority when standardness active (Greg Sanders)
ca050d1 unit test: adapt to changing MAX_DUST_OUTPUTS_PER_TX (Greg Sanders)
7c34901 fuzz: package_eval: move last_tx inside txn ctor (Greg Sanders)
445eaed fuzz: use optional status instead of should_rbf_eph_spend (Greg Sanders)
4dfdf61 fuzz: remove unused TransactionsDelta validation interface (Greg Sanders)
09ce926 func: cleanup reorg test comment (Greg Sanders)
768a0c1 func: cleanup test_dustrelay comments (Greg Sanders)
bedca1c fuzz: Directly place transactions in vector (Greg Sanders)
c041ad6 fuzz: explain package eval coin tracking better (Greg Sanders)
bc0d98e fuzz: remove dangling reference to GetEntry (Greg Sanders)
15b6cbf unit test: make dust index less magical (Greg Sanders)
5fbcfd1 unit test: assert txid returned on CheckEphemeralSpends failures (Greg Sanders)
ef94d84 bench: remove unnecessary CMTxn constructors (Greg Sanders)
c5c10fd ephemeral policy doxygen cleanup (Greg Sanders)
dd9044b ephemeral policy: IWYU (Greg Sanders)
c6859ce Move+rename GetDustIndexes -> GetDust (Greg Sanders)
62016b3 Use std::ranges for ephemeral policy checks (Greg Sanders)
3ed930a Have HasDust and PreCheckValidEphemeralTx take CTransaction (Greg Sanders)
04a614b Rename CheckValidEphemeralTx to PreCheckEphemeralTx (Greg Sanders)
cbf1a47 CheckEphemeralSpends: only compute txid of tx when needed (Greg Sanders)
Pull request description:
Follow-up to bitcoin/bitcoin#30239
Here are the parent PR's comments that should be addressed by this PR:
https://github.com/bitcoin/bitcoin/pull/30239/files#r1834529646
https://github.com/bitcoin/bitcoin/pull/30239/files#r1831247308
https://github.com/bitcoin/bitcoin/pull/30239/files#r1832622481
https://github.com/bitcoin/bitcoin/pull/30239/files#r1831195216
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
bitcoin/bitcoin#30239 (comment)
ACKs for top commit:
naumenkogs:
ACK 466e4df
hodlinator:
ACK 466e4df
theStack:
lgtm ACK 466e4df
glozow:
utACK 466e4df
Tree-SHA512: 89106f695755c238b84e0996b89446c0733e10a94c867f656d516d26697d2efe38dfc332188b8589a0a26a3d2bd2c88c6ab70c108e187ce5bfcb91bbf3fb0391File tree
15 files changed
+210
-146
lines changed- src
- bench
- policy
- rpc
- test
- fuzz
- util
- test/functional
- test_framework
15 files changed
+210
-146
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | | - | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
12 | 22 | | |
13 | | - | |
| 23 | + | |
14 | 24 | | |
15 | 25 | | |
16 | | - | |
| 26 | + | |
17 | 27 | | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | | - | |
| 33 | + | |
24 | 34 | | |
25 | | - | |
| 35 | + | |
26 | 36 | | |
27 | | - | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
36 | | - | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
66 | 79 | | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
70 | 83 | | |
71 | 84 | | |
72 | 85 | | |
73 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
77 | | - | |
| 93 | + | |
78 | 94 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
18 | | - | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| |||
129 | 138 | | |
130 | 139 | | |
131 | 140 | | |
132 | | - | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
145 | | - | |
146 | | - | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
151 | | - | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
0 commit comments