Author

Topic: Can listtransactions show sendmany txns? (Read 659 times)

member
Activity: 81
Merit: 1002
It was only the wind.
April 06, 2014, 03:43:33 AM
#3
I would love an option that un-hides change txs.
newbie
Activity: 37
Merit: 0
April 05, 2014, 06:00:26 AM
#2
Because the transaction was to addresses within my own wallet, bitcoind did not show them under listtransactions because it classified all of them as change transactions.

The specific code for this is in CWalletTx::GetAmounts in wallet.cpp, inside the for loop it calls pwallet->IsChange(txout). GetAmounts is called from ListTransactions in rpcwallet.cpp (just in case this info is helpful for anyone).
newbie
Activity: 37
Merit: 0
April 03, 2014, 06:28:49 PM
#1
I'm using a very recent bitcoind build from the git repo (fecda6853d9bbc3b6df13e48cb0283e7c8ab7d52 from Apr 3). I sent a sendmany transaction, from addresses that are in my wallet to other already-used (change addresses) in the same wallet. When I run listtransactions with no parameters, the transaction does not appear at all. (I have not sent or received any other transactions since sending this one).

I'm assuming that listtransactions should show all transactions, to myself or not, as well as sendmany or other less-common transactions. I can view my txid on blockchain.info, and gettransaction indeed shows details. There are >100 confirms.

Is this a bug in recent commits in the git repo, or does listtransactions not show sendmany transactions? I can provide the txid if it helps.

Thanks!
Jump to: