File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2261,6 +2261,7 @@ static RPCHelpMan getblockstats()
2261
2261
if (out.nValue .IsExplicit () && out.nAsset .IsExplicit () && out.nAsset .GetAsset () == asset) {
2262
2262
tx_total_out += out.nValue .GetAmount ();
2263
2263
}
2264
+ utxo_size_inc += GetSerializeSize (out, PROTOCOL_VERSION) + PER_UTXO_OVERHEAD;
2264
2265
}
2265
2266
}
2266
2267
} else {
Original file line number Diff line number Diff line change 142
142
"totalfee" : 0 ,
143
143
"txs" : 1 ,
144
144
"utxo_increase" : 2 ,
145
- "utxo_size_inc" : 0
145
+ "utxo_size_inc" : 233
146
146
},
147
147
{
148
148
"avgfee" : 6720 ,
179
179
"totalfee" : 6720 ,
180
180
"txs" : 2 ,
181
181
"utxo_increase" : 4 ,
182
- "utxo_size_inc" : -110
182
+ "utxo_size_inc" : 424
183
183
},
184
184
{
185
185
"avgfee" : 32320 ,
216
216
"totalfee" : 96960 ,
217
217
"txs" : 4 ,
218
218
"utxo_increase" : 8 ,
219
- "utxo_size_inc" : -326
219
+ "utxo_size_inc" : 810
220
220
}
221
221
]
222
222
}
You can’t perform that action at this time.
0 commit comments