Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

Are "move" operations logged somewhere in the wallet or somewhere else?

If so, can the "move history" be retrieved, and how?

edit: apparently the command listtransactions lists some move operations, but not all, and I have no clue if there is some criteria, or it is simply bugged.

share|improve this question
    
Do you have any idea how to make a move operation that doesn't get logged such that listtransactions doesn't list it? I've been unable to. –  Chris Moore Feb 18 '13 at 8:16
    
@ChrisMoore now that I know that it is really supposed to be logged, I'll investigate, thanks ;) –  Lohoris Feb 18 '13 at 11:10
    
Found out the problem was I didn't know listtransactions defaulted to showing only 10, I assumed the default was "all". –  Lohoris Feb 21 '13 at 19:05
add comment

3 Answers

up vote 1 down vote accepted
+100

Yes, all move operations add an accounting entry to the wallet. If listtransactions doesn't show the move, this is most likely to be a problem with listtransactions.

share|improve this answer
add comment

Accounts are local to the wallet, and contain addresses. So moving an address from one account to another need not involve any transactions, but moving an amount of coin that does not correspond to an address would presumably involve a transaction moving some coins from an address that is in the from account to an address that is in the to account.

share|improve this answer
    
But this does not answer the question. I know how accounts work and how the move operation work, and I'd need to know if these operations are logged locally or not. –  Lohoris Feb 17 '13 at 15:48
add comment

So you are basically asking whether the debug.log file mentions (records) move operations in general regardless of whether they involve transactions?

If so you can probably answer better than I by searching your debug.log file, as I have never actually done any move operations so would not expect to find any mentioned in my debug.log

The debug.log would be where I would look them up if they are being logged though.

I don't see any obvious logging calls in the movecmd routine the RPC call calls, which is in rpcwallet.cpp so it doesn't look as if it does make a log entry.

However it does make a debit entry call and a credit entry call to the wallet, so the wallet should know about the move unless for soem weird reason it is deliberately forgetting about moves that do not cause actual transactions. These entries include the comment you put in the RPC call so it does not seem right to forget them since having the user put in a comment and not remembering their comment seems kind of pointless.

It would take more digging to check if maybe its something like "if there is no comment nor any actual transaction forget about it" but if so maybe always including a comment might help make sure a record is kept.

I guess only someone intimate with that part of the code knows the full nitty gritty details of how it decides what to remember. Maybe only the GUI actually gives you access to these accounting records.

Your term "logged" maybe threw me off course as it looks like maybe it is recorded in the accounting system in the wallet but not "logged" in the actual debug.log file.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.