Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: payb.tc on March 14, 2012, 01:01:30 AM



Title: jsonrpc "move" history?
Post by: payb.tc on March 14, 2012, 01:01:30 AM
i'm wondering if the jsonrpc command 'move' leaves a history behind somewhere or if opposing moves cancel each other out.

eg. if i did this a million times:

move('alice','bob',25);
move('bob','alice',25);

would it cause bloat somewhere? or would each run through the loop cancel out the previous one?


Title: Re: jsonrpc "move" history?
Post by: theymos on March 14, 2012, 01:03:44 AM
It is recorded. You can see them in listtransactions.


Title: Re: jsonrpc "move" history?
Post by: payb.tc on March 14, 2012, 01:10:18 AM
It is recorded. You can see them in listtransactions.

oh thanks... i didn't think the move function had anything to do with transactions.



Title: Re: jsonrpc "move" history?
Post by: dunand on March 14, 2012, 03:14:59 AM
If I understand correctly. If I do
move('alice','bob',25);
move('bob','alice',25);
ten thousand times my wallet should grow because of all the transactions? Will I have to pay a higher transaction fee because of that?


Title: Re: jsonrpc "move" history?
Post by: theymos on March 14, 2012, 03:41:10 AM
Will I have to pay a higher transaction fee because of that?

No. The accounting entries created by move aren't real Bitcoin transactions.


Title: Re: jsonrpc "move" history?
Post by: payb.tc on March 14, 2012, 04:30:23 AM
Will I have to pay a higher transaction fee because of that?

No. The accounting entries created by move aren't real Bitcoin transactions.

which is what caused me to assume they weren't recorded as transactions at all, but rather some kind of adjustment that overwrote stuff.