Bitcoin Forum
December 04, 2024, 03:11:57 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Manualy Editing Transactions  (Read 1487 times)
Walking Glitch (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Amateur Professional


View Profile
February 04, 2014, 12:49:11 AM
 #1

Before I start, this is not on the bitcoin mainnet.

Using a modified client, I sent a tx that will never confirm (under any circumstances), however, the wallet is convinced that I no longer own those coins. How do I go about editing that transaction out of the wallet.dat? I've been searching for hours to no avail. The closest thing I came to were some Oracle db utilities, but all I could find was the documentation, no download of any sort in sight.

This is rather important. I'll pay whoever is able to provide me with a solution 1 LTC or equivalent BTC value.
GoldenWings91
Full Member
***
Offline Offline

Activity: 141
Merit: 100


View Profile
February 04, 2014, 01:03:29 AM
 #2

If the transactions was never confirmed than the money never moved. To make the money show up in your wallet just restart your client with the -rescan option.

Support The Bitcoin Network By Running A Full Node
Node Stats     GPG Key-ID: 0x445DF2D8     Monetary Freedom Is A Basic Human Right
Walking Glitch (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Amateur Professional


View Profile
February 04, 2014, 01:07:16 AM
 #3

If the transactions was never confirmed than the money never moved. To make the money show up in your wallet just restart your client with the -rescan option.

I've tried this and --reindex, and neither worked.
mrbubl3s
Sr. Member
****
Offline Offline

Activity: 293
Merit: 261


Professional Ameteur


View Profile
February 04, 2014, 01:24:16 AM
 #4

Bump. This is relevant to my interests.
Walking Glitch (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Amateur Professional


View Profile
February 04, 2014, 06:08:48 PM
 #5

Bump.
Quiksilver
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
February 04, 2014, 07:02:18 PM
 #6

One small step to BTC's demise.
Bump for interest.
mrbubl3s
Sr. Member
****
Offline Offline

Activity: 293
Merit: 261


Professional Ameteur


View Profile
February 04, 2014, 10:11:32 PM
 #7

+ .5ltc to a solution that works..
Automatic
Full Member
***
Offline Offline

Activity: 238
Merit: 109


View Profile
February 04, 2014, 10:31:43 PM
 #8

is this on the testnet? Or a private net?

I can possibly think of a way if it's the testnet (or mainnet, never tested, just a theory), but if it's private not a clue.

My idea is just to go to a site like blockexplorer, grab the raw transaction, edit it, resign it, rebroadcast it.

Please ask for a signed message from my on-site Bitcoin address (Check my profile) before doing any offsite trades with me.
Walking Glitch (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Amateur Professional


View Profile
February 05, 2014, 01:33:38 AM
 #9

is this on the testnet? Or a private net?

I can possibly think of a way if it's the testnet (or mainnet, never tested, just a theory), but if it's private not a clue.

My idea is just to go to a site like blockexplorer, grab the raw transaction, edit it, resign it, rebroadcast it.

It is a private-ish (I have the majority of the hashpower on it actually.) net, but the coin is a fork of BTC. I can set up a block explorer. This seems like it should work actually. I won't be able to do it tonight, but tomorrow I can probably set up the block explorer and try this. Thanks. If it works, I will pm you for a BTC/LTC address.
rtt
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
February 05, 2014, 02:06:55 AM
 #10

You would use pywallet, see here to delete a specific tx:
https://bitcointalk.org/index.php?topic=34028.msg2239679#msg2239679

pywallet.py --multidelete file.txt [--wallet wallet.dat] [--datadir /bitcoin/directory]

Your file.txt would contain the tx's, one per line or you could do:
tx
all

as contents of your file.

Walking Glitch (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Amateur Professional


View Profile
February 05, 2014, 02:39:00 AM
 #11

You would use pywallet, see here to delete a specific tx:
https://bitcointalk.org/index.php?topic=34028.msg2239679#msg2239679

pywallet.py --multidelete file.txt [--wallet wallet.dat] [--datadir /bitcoin/directory]

Your file.txt would contain the tx's, one per line or you could do:
tx
all

as contents of your file.



pywallet keeps complaining about me missing the twisted library even though I have verified that I have it installed properly.
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!