Skip to content

Commit 1945eda

Browse files
[BIP78] Recommended fee rate estimation for P2TR
Non-Witness: Outpoint size = 32+4 Sequence size = 4 ScriptSig VarInt Size= 1 Witness: WitScript VarInt Size= 1 Then script itself: 65 signature size + 1 byte of push opcode `(32 + 4 + 4 + 1) + (65+1+1)/4=57.75`, rounded up `58`. We assume 65 of signature size rather than 64, since we can't assume the sighash to be `Default`.
1 parent ed35a41 commit 1945eda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bip-0078.mediawiki

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ Our recommendation for <code>maxadditionalfeecontribution=</code> is <code>origi
229229
|-
230230
|P2SH-P2WPKH
231231
|91
232+
|-
233+
|P2TR
234+
|58
232235
|}
233236

234237

0 commit comments

Comments
 (0)