Bitcoin Forum
May 06, 2024, 04:53:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help! Can I change the account for a specific tx?  (Read 902 times)
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
April 30, 2012, 05:17:55 AM
Last edit: May 01, 2012, 01:31:54 AM by CIYAM Pty. Ltd.
 #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
1714971212
Hero Member
*
Offline Offline

Posts: 1714971212

View Profile Personal Message (Offline)

Ignore
1714971212
Reply with quote  #2

1714971212
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714971212
Hero Member
*
Offline Offline

Posts: 1714971212

View Profile Personal Message (Offline)

Ignore
1714971212
Reply with quote  #2

1714971212
Report to moderator
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


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: 1372
Merit: 1007


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 (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!