Bitcoin Forum
December 04, 2016, 08:21:01 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help! Can I change the account for a specific tx?  (Read 667 times)
CIYAM
Legendary
*
Offline Offline

Activity: 1820


Ian Knowles - CIYAM Lead Developer


View Profile WWW
April 30, 2012, 05:17:55 AM
 #1

I used the "sendfrom" expecting it (incorrectly now I know) to use the BTC from the receive address I had previously issued a "setaccount" for (instead it picked some other address not visible in the GUI).

What I am now wanting to do is to stop "listtransactions" from showing that particular "send" as belonging to that account (well more basically what I am wanting is for "getbalance" to match the balance that I see in blockchain.info/blockexplorer.com for the address I did the "setaccount" on in the first place).

So is there anyway to change the account for a specific tx?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
1480882861
Hero Member
*
Offline Offline

Posts: 1480882861

View Profile Personal Message (Offline)

Ignore
1480882861
Reply with quote  #2

1480882861
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480882861
Hero Member
*
Offline Offline

Posts: 1480882861

View Profile Personal Message (Offline)

Ignore
1480882861
Reply with quote  #2

1480882861
Report to moderator
1480882861
Hero Member
*
Offline Offline

Posts: 1480882861

View Profile Personal Message (Offline)

Ignore
1480882861
Reply with quote  #2

1480882861
Report to moderator
CIYAM
Legendary
*
Offline Offline

Activity: 1820


Ian Knowles - CIYAM Lead Developer


View Profile WWW
May 02, 2012, 01:10:03 AM
 #2

So is there anyway to change the account for a specific tx?

Am guessing by the lack of response there is no direct way. Sad

So is the only option to export every receive address, create a new wallet and import them back in (something that will take a long time as I understand it will do a rescan on each key import) Huh

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
May 02, 2012, 06:05:10 AM
 #3

So is the only option to export every receive address, create a new wallet and import them back in (something that will take a long time as I understand it will do a rescan on each key import) Huh
I imported a massive amount (~100K) of addresses that way.

To import them fast I did the following :
  • Removed blockchain files
  • Launched the client with  -maxconnections=0
  • Made sure it wasn't connecting to anyone so the block count remains zero
  • Imported all the addresses almost instantly since there was nothing to rescan
  • Relaunched the client and let it download the whole chain so it would scan everything properly

Instead of re-downloading the chain you can probably simply restore the blockchain files and force a rescan after all the addresses have been imported.

Don't forget to issue a transaction that transfers the complete balance to the new wallet, otherwise you wont have all the balances that are stored on change addresses.

CIYAM
Legendary
*
Offline Offline

Activity: 1820


Ian Knowles - CIYAM Lead Developer


View Profile WWW
May 02, 2012, 07:29:58 AM
 #4

To import them fast I did the following :
...

Thanks for the tips!

I was hoping there would be an easier way but guess I'll at least by skipping the rescans for each address it shouldn't take me too long to sort it out.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
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!