Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: iammagicmike on March 13, 2013, 05:33:16 PM



Title: [HELP] New to namecoin and I can not send my coins to another address
Post by: iammagicmike on March 13, 2013, 05:33:16 PM
Windows 7 x64 - namecoind.exe

I setup a wallet on my PC when I bought my first namecoins a few weeks ago on btc-e and I sent them to this wallet on my PC.  I'll happily admit that I'm 100% newbie to using the command line for wallets (I've used it for other programs, I just don't use cmd that often).

Last week my system crashed and I recovered the wallet.dat file and copied it into the directory after I reinstalled a fresh copy Win7 x64.  The coins are recognized in namecoind wallet (see image below) but it imported them as a different address.

When I try to send the coins I receive an error: {"code":-4, "message":"Insufficient funds"}

I've tried sending the full amount of 498.99 NMC, I've tried sending 497 NMC, and I've tried sending 1 NMC and all attempts have the same result. 

I assume that the my wallet is trying to send from the top address (see pic), which is empty.  I would appreciate any help I can get.

-M


https://i.imgur.com/K6pWKnm.png


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: Sunny King on March 13, 2013, 05:57:56 PM
listreceivedbyaddress does not indicate how much money you have in the wallet.

use getbalance and listtransactions to investigate the issue.


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: iammagicmike on March 19, 2013, 07:41:16 PM
thank you, I'll give that a shot when I get home. 



Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: simonk83 on April 02, 2013, 11:40:06 AM
Right, I'm actually having this same problem :)

Getbalance shows I have 17.56 (not much I know but whatever, I want rid of them), but I get exactly the same error as the guy above.


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: pat1900 on April 02, 2013, 03:38:55 PM
Did you allow namecoind to synchronize properly? This can take several hours after installing/reinstalling the client.
Wait until the "blocks" field of namecoind getinfo gives you the same block height as http://explorer.dot-bit.org/


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: FuzzyBear on April 02, 2013, 06:04:21 PM
the 0 confirmations is an indicator that probably the balance has not cleared in the wallet but use the command
Code:
namecoind getinfo
like the others have said to see what ur other information says .. also
Code:
namecoind help
lists all the commands


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: simonk83 on April 02, 2013, 07:56:56 PM
In my case, yes it's fully synced and the 17.56 nmc has around 80000 confirmations :)

Code:
C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind getin
fo
{
    "version" : 35000,
    "balance" : 0.00000000,
    "blocks" : 103402,
    "connections" : 6,
    "proxy" : "",
    "generate" : false,
    "genproclimit" : -1,
    "difficulty" : 1122924.67388052,
    "hashespersec" : 0,
    "testnet" : false,
    "keypoololdest" : 1310876431,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00010000,
    "errors" : ""
}

C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind getba
lance simon
17.56000000

C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind sendf
rom simon NJc6Vc5x3MVcTWMXUWt85jYtMCtBb54DXg 17.56
error: {"code":-4,"message":"Insufficient funds"}

C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind getba
lance simon
17.56000000

C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind sendf
rom simon NJc6Vc5x3MVcTWMXUWt85jYtMCtBb54DXg 17.56
error: {"code":-4,"message":"Insufficient funds"}


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: FuzzyBear on April 02, 2013, 11:19:56 PM
ahh ok i not tried the sendfrom comand.. i use the
Code:
sendtoaddress N7q9zg9h4Scfx6R25RTL8LdGxCBQbgq8wz   10

for example simonk83


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: simonk83 on April 02, 2013, 11:32:15 PM
ahh ok i not tried the sendfrom comand.. i use the
Code:
sendtoaddress N7q9zg9h4Scfx6R25RTL8LdGxCBQbgq8wz   10

for example simonk83

Yep, tried that first, same error :)  I just tried sendfrom in a vain attempt to get it to work ;)


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: pat1900 on April 03, 2013, 12:31:27 AM
Code:
C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind getinfo
{
    "version" : 35000,
    "balance" : 0.00000000,

Well, it clearly shows your balance is 0.00000000, you really need to have a close look at the output of namecoind listtransactions.

Try http://explorer.dot-bit.org/a/N8YguzbgFo4TW85nZjrx9gG3nvVcSKaxNX
and click at the latest transaction of 28/March/2013 23:00:37 (the one with 20a3e5a143...)
You obviously performed a successful send transaction. Those two receiving addresses could be two of your own addresses, though. Maybe you sent 0.99 NMC to some address, and namecoind automatically sends the remaining amount of 498 NMC back to its own wallet (just guessing. I'm not an expert on the bitcoind part of namecoind). But to me it looks as if you had two wallet.dat files active at the same time and then got confused and messed things up.


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: simonk83 on April 03, 2013, 12:50:34 AM
Code:
C:\Users\Simon\Desktop\namecoind_v350_win32\namecoind_v350_win32>namecoind getinfo
{
    "version" : 35000,
    "balance" : 0.00000000,

Well, it clearly shows your balance is 0.00000000, you really need to have a close look at the output of namecoind listtransactions.

Try http://explorer.dot-bit.org/a/N8YguzbgFo4TW85nZjrx9gG3nvVcSKaxNX
and click at the latest transaction of 28/March/2013 23:00:37 (the one with 20a3e5a143...)
You obviously performed a successful send transaction. Those two receiving addresses could be two of your own addresses, though. Maybe you sent 0.99 NMC to some address, and namecoind automatically sends the remaining amount of 498 NMC back to its own wallet (just guessing. I'm not an expert on the bitcoind part of namecoind). But to me it looks as if you had two wallet.dat files active at the same time and then got confused and messed things up.


That's not my transaction, you might be getting mixed up with iammagicmike's post at the top.   I'll have a play with listtransactions when I get home though and post the results.

I know it says the balance is zero also, but then getbalance clearly shows 17.56 in an address, hence my confusion.


Title: Re: [HELP] New to namecoin and I can not send my coins to another address
Post by: virtualmaster on April 03, 2013, 06:35:49 AM
With the NamecoinGUI it is working. But you have to synchronize the chain before.