Great, that's good news! I think we can just copy Core's behaviour here.
The 0.01 BTC thing is probably some remains from the "free transaction"
rule. You basically didn't have to pay a fee if none of your outputs was
too dusty. The rule doesn't exist any more in Core.
On 03/17/2017 10:39 PM,
I mean Transaction.REFERENCE_DEFAULT_MIN_TX_FEE (currently set to 5000
satoshis/kb)
On Fri, Mar 17, 2017 at 6:38 PM, Oscar Guindzberg
wrote:
> I am rewriting Wallet.calculateFee().
>
> I am copying bitcoin-core implementation so we can have "recipient pay
> fees"
I am rewriting Wallet.calculateFee().
I am copying bitcoin-core implementation so we can have "recipient pay
fees" feature and other fixes.
This is the code I am copying from
https://github.com/bitcoin/bitcoin/blob/9c7b7cf0bb579714b35f7c88db20a407dfc716bd/src/wallet/wallet.cpp#L2302-L2629
One