quantadex / distributed_quanta_bridge

The distributed version of the quanta bridge
1 stars 0 forks source link

Dynamic Fees #55

Open quocble opened 5 years ago

quocble commented 5 years ago

Bitcoin tx are stuck due to low fees. We need a better estimator.

Use this to get fees per byte in satoshi (8 decimal) https://bitcoincore.org/en/doc/0.16.0/rpc/util/estimatesmartfee/

Then multiply this formula

totalBytes = 350 + (180 x input ) + (34 x output ) + 10

Example tx: https://www.blockchain.com/btc/tx/a896ec7446be0618a50bc5940e0ee44cdae15bead7dc995709950b81a211a85b