danielmcclure / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 1 forks source link

Zero fee despite feePerKb != 0 #579

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On bitcoinj 0.12, I've completed a transaction on mainnet using

sendRequest.feePerKb = Coin.valueOf(1000);
sendRequest.ensureMinRequiredFee = false;

and (I think)

sendRequest.emptyWallet = true;

It came up with a fee of 0. I think it's wrong, I had expected 0.01 mBTC (the 
tx is smaller than 1 kB).

See attached log.

Original issue reported on code.google.com by andreas....@gmail.com on 8 Oct 2014 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
this:
https://github.com/bitcoinj/bitcoinj/blob/cd25e673f1fd7c0e7652a49ed4d2a33081b7d7
39/core/src/main/java/org/bitcoinj/core/Wallet.java#L3515
is probably not correct

Original comment by da.b...@gmail.com on 11 Nov 2014 at 3:56