Bitcoin Forum

Bitcoin => Wallet software => Topic started by: BBHex on July 15, 2016, 01:31:57 AM



Title: Mobile wallet
Post by: BBHex on July 15, 2016, 01:31:57 AM
what is the best mobile wallet where i can set the exact fees that i want to pay for my transaction? i know Mycelium but i don't have option to set the transaction fee manually and exactly as how much i want to pay. any suggestions?


Title: Re: Mobile wallet
Post by: HCP on July 16, 2016, 12:30:05 AM
Mycelium is open source... so you might be able to edit the source code and add a "custom fee" option and recompile... if you have the knowledge or know someone who does and that you trust to be modifying the source code of your wallet. ;)

I've had a quick browse through, and their fee calculation seems to be done by estimating the fee based on the likely number of blocks you'll need to wait until it gets confirmed ie. LowPrio = 20 blocks, Economic = 10 blocks, Normal = 3 blocks, Priority = 1 block.

How this gets converted into an actual bitcoin amount I'm not 100% sure of at the moment... some magic involving their API I think (my java skills are a bit rusty)... whereby the size of your transaction is calculated and current "market" fee Per Kb is used or something...

However, theoretically, you could probably just add a text box or slider or whatever into the UI to set the value you want, and then just modify all the calls to createUnsignedTransaction() (https://github.com/mycelium-com/wallet/search?utf8=%E2%9C%93&q=createUnsignedTransaction) and pass in whatever value for the Miner Fee that you liked...


Theoretically...  ;D