Bitcoin Forum
November 22, 2017, 08:45:25 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Manualy Editing Transactions  (Read 1347 times)
Walking Glitch
Sr. Member
****
Offline Offline

Activity: 252

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.
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- gmaxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511383525
Hero Member
*
Offline Offline

Posts: 1511383525

View Profile Personal Message (Offline)

Ignore
1511383525
Reply with quote  #2

1511383525
Report to moderator
GoldenWings91
Full Member
***
Offline Offline

Activity: 141


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
Sr. Member
****
Offline Offline

Activity: 252

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


Professional Ameteur


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

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

Activity: 252

Amateur Professional


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

Bump.
Quiksilver
Newbie
*
Offline Offline

Activity: 16


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

One small step to BTC's demise.
Bump for interest.

Born at the top and building stairs since day one!
mrbubl3s
Sr. Member
****
Offline Offline

Activity: 293


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


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
Sr. Member
****
Offline Offline

Activity: 252

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
Jr. Member
*
Offline Offline

Activity: 48



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.


"The difference: libertarians will tolerate the existence of a socialist community, but socialists can't tolerate a libertarian community."
tips: 1KKMQ3wPa9Hn9LApNefPm9TUrRtkwApEoc
Walking Glitch
Sr. Member
****
Offline Offline

Activity: 252

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:  

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!