Bitcoin Forum
September 27, 2018, 10:05:11 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Can listtransactions show sendmany txns?  (Read 557 times)
pizzaman1337
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
April 03, 2014, 11: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!
1538085911
Hero Member
*
Offline Offline

Posts: 1538085911

View Profile Personal Message (Offline)

Ignore
1538085911
Reply with quote  #2

1538085911
Report to moderator
1538085911
Hero Member
*
Offline Offline

Posts: 1538085911

View Profile Personal Message (Offline)

Ignore
1538085911
Reply with quote  #2

1538085911
Report to moderator
1538085911
Hero Member
*
Offline Offline

Posts: 1538085911

View Profile Personal Message (Offline)

Ignore
1538085911
Reply with quote  #2

1538085911
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538085911
Hero Member
*
Offline Offline

Posts: 1538085911

View Profile Personal Message (Offline)

Ignore
1538085911
Reply with quote  #2

1538085911
Report to moderator
1538085911
Hero Member
*
Offline Offline

Posts: 1538085911

View Profile Personal Message (Offline)

Ignore
1538085911
Reply with quote  #2

1538085911
Report to moderator
1538085911
Hero Member
*
Offline Offline

Posts: 1538085911

View Profile Personal Message (Offline)

Ignore
1538085911
Reply with quote  #2

1538085911
Report to moderator
pizzaman1337
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
April 05, 2014, 11: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).
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
April 06, 2014, 08:43:33 AM
 #3

I would love an option that un-hides change txs.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!