decred / dcrticketbuyer

An automated smart ticket purchaser.
0 stars 7 forks source link

fee per KB calculation wrong #58

Open raedah opened 8 years ago

raedah commented 8 years ago

The fee per KB amount is showing different amounts when comparing the output from dcrticketbuyer to what it says when you pull up the transaction on the https://mainnet.decred.org/ . As far as if it is dcrticketbuyer or the block explorer that should be fixed, from my calculations it looks like they are both off.

https://mainnet.decred.org/tx/5161b980936ee934f0fc0025395bb91fdcd9b5fd89b8a77cc375c51159e7a46c

FEE: 0.07500000 DCR , SIZE: 297 BYTES , FEE RATE:0.25252525 DCR PER KB

0.25252525 * (297/1024) = 0.07324218

or are we suppose to divide by 1000?

0.25252525 * (297/1000) = 0.07499999925

but that is just for insight. dcrticketbuyer is still over 1% off from that.