Coins are lost! Help, please [solved]

Post Reply
Magister
Posts: 10
Joined: Mon Jun 20, 2011 3:05 pm

Coins are lost! Help, please [solved]

Post by Magister »

I have somehow lost my coins!
How it happened:
  • 1) Had generated two blocks (I'm running a pool)
  • 2) Saw that transactions as immature
  • 3) I sent 40 NMC from one my wallet (not one generated) to anonther (this one) (tx afb7259275189c529f22a194519803cdf0ba88569238deb08b9a421adf897a4b)
  • 4) Sent some NMC to another people with sendmany RPC command, leftover is 22.76654827 NMC - tx shown at http://explorer.dot-bit.org/tx/37347
  • 5) Restarted namecoind
  • 6) Saw that transaction in my wallet, BUT generate transactions somehow dissappeared!
  • 7) Stopped namecoind, then started it again with -rescan param
  • 8) Now that 'generate' transactions appeared, but not receive and send! More, getbalance shows 0NMC, while should show 22.76654827 and address NEorCCZR6pXVfahAA2TXqux1Fq62JU5LA5 does not show as mine!
Please, help me!
Join to coins pool: http://magister.homelinux.org

doublec
Posts: 149
Joined: Mon May 23, 2011 12:47 am
os: linux
Location: Auckland, New Zealand
Contact:

Re: Coins are lost! Help, please

Post by doublec »

What OS are you using? You should really paste the exact sequence of commands you used (from Linux you can run 'history' to get it). Have you done anything with the wallet.dat file manually?

Magister
Posts: 10
Joined: Mon Jun 20, 2011 3:05 pm

Re: Coins are lost! Help, please

Post by Magister »

doublec wrote:What OS are you using? You should really paste the exact sequence of commands you used (from Linux you can run 'history' to get it). Have you done anything with the wallet.dat file manually?
I'm using linux, and didn't touched wallet.dat
Exact sequence? Will try to get it now... that's hard, as I used two terminals and runned mc, which overwrited some of history.
0) Saw block generated, and send 40 NMC from anothet PC to this wallet:
namecoind sendtoaddress N2W9rH61sVWHBWKHkQd7Qqdvy1n6W1sxSJ 40
Now from PC where tx is lost:
1) namecoind sendmany - that was issued throught RPC from python, so cannot get exact command. But transaction is correct, as I see.
2) not sure, but maybe I stopped namecoind here with namecoind stop (or maybe not)
3) namecoind listtransactions - returned only tx, issued with sendmany, not generate!
4) namecoind validateaddress MxhKX9f7duRjQhTJPNaiLjDEfpCSVZKmfj
that showed that address is not mine!
5) namecoind stop
6) I'm pretty sure I run namecoind -rescan, which showed generate transaction, and that address MxhKX9f7duRjQhTJPNaiLjDEfpCSVZKmfj is really mine
7) but at this point listtransactions shows only generate transactions, not sendmany!
8) namecoind stop, then backed up ~/.namecoin directory, and deleted all files except wallet.dat from there
9) namecoind -server -rescan, waited until i downloaded all blocks
10) namecoind listtransactions:
[
{
"account" : "",
"category" : "immature",
"amount" : 50.01000000,
"confirmations" : 23,
"txid" : "811777ba9dc16cbd907a7edc58a3361a183b3dbb677d998d69ec6749b10df91c",
"time" : 1309557452
},
{
"account" : "",
"category" : "immature",
"amount" : 50.04733381,
"confirmations" : 11,
"txid" : "802f65c9e5e5a6099095c1e10206b7b1949c61a92f7760402b70e7e0a4b4fbc7",
"time" : 1309590263
}
]
So transasction is lost...

But namecoind listtransactions from another PC (and another wallet) shows:
{
"account" : "",
"address" : "N2W9rH61sVWHBWKHkQd7Qqdvy1n6W1sxSJ",
"category" : "send",
"amount" : -40.00000000,
"fee" : 0.00000000,
"confirmations" : 5,
"txid" : "afb7259275189c529f22a194519803cdf0ba88569238deb08b9a421adf897a4b",
"time" : 1309597703
}

And namecoind validateaddress N2W9rH61sVWHBWKHkQd7Qqdvy1n6W1sxSJ shows now:
{
"isvalid" : true,
"address" : "N2W9rH61sVWHBWKHkQd7Qqdvy1n6W1sxSJ",
"ismine" : false
}
But I successfully sent money from this address with sendmany some time ago!
Join to coins pool: http://magister.homelinux.org

doublec
Posts: 149
Joined: Mon May 23, 2011 12:47 am
os: linux
Location: Auckland, New Zealand
Contact:

Re: Coins are lost! Help, please

Post by doublec »

I have no idea how it would lose that address, sorry. I've not seen anything like it that didn't involve overwriting wallet.dat or something like that. Hopefully someone else can shed some light on the problem. You could try sending a trusted person your wallet.dat and they could investigate.

Magister
Posts: 10
Joined: Mon Jun 20, 2011 3:05 pm

Re: Coins are lost! Help, please

Post by Magister »

Thanks for help, problem solved.
Somehow I got another wallet.dat created on namecoind restart, and that 'dissapeared' transactions were there.
Now everything is ok.
Join to coins pool: http://magister.homelinux.org

Post Reply