Hm, there's something I don't understand. I set txfee to BTC 0.01, then sent jgarzik BTC 0.99, thinking that this would add up to BTC 1.00. However:
$ btc getinfo | grep txfee
"paytxfee" : 0.01000000,
$ btc sendtoaddress 17NdbrSGoUotzeGCcMMCqnFkEvLymoou9j 0.99 "settxfee patch" jgarzik
2a59d5910721dd5729d19737f300bf9b953fc55d32e6cd16dabb8bd5885280be
$ btc gettransaction 2a59d5910721dd5729d19737f300bf9b953fc55d32e6cd16dabb8bd5885280be
{
"amount" : -0.99000000,
"fee" : -0.02000000,
"confirmations" : 0,
"txid" : "2a59d5910721dd5729d19737f300bf9b953fc55d32e6cd16dabb8bd5885280be",
"time" : 1299789332,
"comment" : "settxfee patch",
"to" : "jgarzik",
"details" : [
{
"account" : "",
"address" : "17NdbrSGoUotzeGCcMMCqnFkEvLymoou9j",
"category" : "send",
"amount" : -0.99000000,
"fee" : -0.02000000
}
]
}
$
How come the fee ended up being BTC 0.02 instead of 0.01?
Cheers,