You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// there is some fudging in these numbers related to the actual virtual transaction size calculation that will keep this estimate from being exact.
548
+
// usually, the result will be an overestimate within a couple of satoshis so that the confirmation dialog ends up displaying a slightly smaller fee.
549
+
// also, the witness stack size value value is a variable sized integer. usually, the number of stack items will be well under the single byte var int limit.
550
+
nBytes += 2; // account for the serialized marker and flag bytes
551
+
nBytes += nQuantity; // account for the witness byte that holds the number of stack items for each input.
0 commit comments