Post
Topic
Board Bitcoin Technical Support
Re: Abandoning a transaction now making a double spend
by
evan79
on 04/01/2018, 10:11:53 UTC
No problem, thanks for helping me, can you confirm the formula on how are you getting to 64 satoshi/byte based on 0.001 fee and bytes been 1558?

Code:
1.0 BTC        = 100000000 satoshi
0.1 BTC        =  10000000 satoshi
0.01 BTC       =   1000000 satoshi
0.001 BTC      =    100000 satoshi
0.0001 BTC     =     10000 satoshi
0.00001 BTC    =      1000 satoshi
0.000001 BTC   =       100 satoshi
0.0000001 BTC  =        10 satoshi
0.00000001 BTC =         1 satoshi

So, since 0.001 BTC = 100000 satoshi and you paid a fee of 0.001 BTC for 1558 bytes...

100000 satoshi / 1558 bytes = 64.18 satoshi per byte

Can someone confirm fee calculation is correct for the below?
BTC = 0.03
Bytes = 818
Inputs = 5
Fee = 0.0025
Satoshi/byte = 305.6234 (250 000 satoshi / 818)