Unable to register .bit domain

https://bit.namecoin.org/
virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Unable to register .bit domain

Post by virus_net » Tue Aug 22, 2017 2:07 pm

Hi all.

Newbe in namecoin world. Now I am doing open DNS server to resolve .bit domains.
For tests I try to register own .bit domain but it don`t work for me and I can`t find any info what to do next... I will be very grateful if someone can help with any advice.

I had read the guide posted here: https://wiki.namecoin.org/index.php?tit ... it_Domains
name_show command showed that name, I want to register, is free. So I fill in balance with coins and do:

Code: Select all

namecoind name_new d/myNameHere
It was 21.08.2017 at 11:19:08 (MSK) and, as guid said, the output was with <rand> and <longhex> and balance descreased.
As I understand longhex is the txid. Blocks at that time was 357022.
Then:
You still need to wait 12 blocks before you can proceed.
I wait whan this number of blocks passed and I use name_firstupdate command. The output was txid e215605c8e9101f5d2b39153de03ed4ac19ba5e953d8858ea94546dba12802c1 and no error messages. Balance descreased again.
I wait till 15:00 but domain was still not registered. Today already one day passed but name still not registered and I try to figure out what happening.

gettransaction shows that confirmations still 0 about both name_new and name_firstupdate transactions. In output of name_pending I see my transaction with name_firstupdate.
What to do next ? No answer ? Ok -> use google :) So, I read topics "namecoin name pending site:forum.namecoin.org" but I can`t find answers on my questions.
Today I try 2 things:
- deletetransaction for name_firstupdate and restart namecoind with -rescan
- register (name_new) another free domain name but the same thing happend. I did it at 10:07 and now is 17:00 and gettransaction still shows zero confirmations:

Code: Select all

{
    "amount" : -0.01000000,
    "fee" : -0.00500000,
    "confirmations" : 0,
    "txid" : "2e295761f7fefb3f73dddf4af625d33a1613fbe0fbc403dda92f041ccd804a0f",
    "time" : 1503385646,
    "details" : [
        {
            "account" : "",
            "address" : "name_new: b61c9ef4e586a0eaf7647846003ef2b3aab2cfc8",
            "category" : "send",
            "amount" : -0.01000000,
            "fee" : -0.00500000
        }
    ]
}
I have very many questions about this and zero answers. I will not post all questions, so ypu not be tired. The main questions, for now, for me are:
  • what i did wrong ?
    why confirmations is still zero ?
    what to do with this next ?
Can anyone help ?

Thanks.
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

cassini
Posts: 333
Joined: Sun May 26, 2013 6:36 pm

Re: Unable to register .bit domain

Post by cassini » Tue Aug 22, 2017 2:22 pm

virus_net wrote:"fee" : -0.00500000,
This shows you are using an outdated software version (Namecoin-Qt?). The Namecoin network and the mining pools refuse most of the transactions created by old software clients, therefore you get "0 confirmations" on some or all of your transactions forever.
Can you upgrade to Namecoin Core? (see section "Namecoin Core Client with Qt Name Tab" at https://namecoin.org/download/ )

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Unable to register .bit domain

Post by virus_net » Tue Aug 22, 2017 2:49 pm

Thanks for the reply.

After my post I have idea about version but don`t check it yet. So doing this.
I installed namecoin via freebsd port (after portsnap ofcourse). I use:

Code: Select all

Name           : namecoin
Version        : 0.3.80_9,1
Installed on   : Sun Aug  6 10:16:53 2017 MSK
Origin         : net-p2p/namecoin
Architecture   : FreeBSD:10:amd64
Prefix         : /usr/local
Categories     : dns net-p2p
Licenses       : MIT
Maintainer     : milios@ccsys.com
WWW            : http://namecoin.info/
Comment        : Decentralized, open DNS and general purpose key/value store
I see that version in ports is updated. Now in ports avail this version: namecoin-namecoin-nc0.3.80_GH0.
So now questions are:
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

biolizard89
Posts: 1977
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Unable to register .bit domain

Post by biolizard89 » Tue Aug 22, 2017 3:03 pm

virus_net wrote:Thanks for the reply.

After my post I have idea about version but don`t check it yet. So doing this.
I installed namecoin via freebsd port (after portsnap ofcourse). I use:

Code: Select all

Name           : namecoin
Version        : 0.3.80_9,1
Installed on   : Sun Aug  6 10:16:53 2017 MSK
Origin         : net-p2p/namecoin
Architecture   : FreeBSD:10:amd64
Prefix         : /usr/local
Categories     : dns net-p2p
Licenses       : MIT
Maintainer     : milios@ccsys.com
WWW            : http://namecoin.info/
Comment        : Decentralized, open DNS and general purpose key/value store
I see that version in ports is updated. Now in ports avail this version: namecoin-namecoin-nc0.3.80_GH0.
So now questions are:
Anything based on 0.3.80 is unlikely to work reliably on the current Namecoin network. Since we don't distribute FreeBSD binaries (because upstream Bitcoin Core doesn't either), building Namecoin Core from source is probably your only option. The nc0.13.99-name-tab-beta1 tag is what you want if you need a GUI for name management; if you're fine with using the command line (which it sounds like you are) then nc0.13.0rc1 is fine.

EDIT: And I guess someone should tell the FreeBSD folks to update their Namecoin packages....
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Unable to register .bit domain

Post by virus_net » Tue Aug 22, 2017 3:09 pm

I use CLI only.
Ok, I will try to build from source.
Thanks for help. I will write the result when be done.

And what you can say about second question ?
virus_net wrote:what to do with my transactions after update ? delete and repeat ? wait ? other ?
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Unable to register .bit domain

Post by virus_net » Tue Aug 22, 2017 3:51 pm

As expected it will be not so easy :)
And as expected and of course I got error on make:

Code: Select all

 CXX      compat/libbitcoin_util_a-glibc_sanity.o
 CXX      compat/libbitcoin_util_a-glibcxx_sanity.o
 CXX      compat/libbitcoin_util_a-strnlen.o
 CXX      libbitcoin_util_a-random.o
 CXX      rpc/libbitcoin_util_a-protocol.o
 CXX      support/libbitcoin_util_a-cleanse.o
 CXX      libbitcoin_util_a-sync.o
 CXX      libbitcoin_util_a-util.o
 CXX      libbitcoin_util_a-utilmoneystr.o
 CXX      libbitcoin_util_a-utilstrencodings.o
 CXX      libbitcoin_util_a-utiltime.o
 AR       libbitcoin_util.a
 CXX      wallet/libbitcoin_wallet_a-crypter.o
 CXX      wallet/libbitcoin_wallet_a-db.o
 CXX      wallet/libbitcoin_wallet_a-rpcdump.o
 CXX      wallet/libbitcoin_wallet_a-rpcnames.o
 CXX      wallet/libbitcoin_wallet_a-rpcwallet.o
 CXX      wallet/libbitcoin_wallet_a-wallet.o
wallet/wallet.cpp: In member function 'CPubKey CWallet::GenerateNewKey()':
wallet/wallet.cpp:127:49: error: 'to_string' is not a member of 'std'
            metadata.hdKeypath     = "m/0'/0'/"+std::to_string(hdChain.nExternalChainCounter)+"'";
                                                ^
wallet/wallet.cpp:127:49: note: suggested alternatives:
In file included from /usr/local/include/boost/exception_ptr.hpp:9:0,
                from /usr/local/include/boost/thread/exceptional_ptr.hpp:10,
                from /usr/local/include/boost/thread/future.hpp:25,
                from /usr/local/include/boost/thread.hpp:24,
                from wallet/wallet.cpp:33:
/usr/local/include/boost/exception/detail/exception_ptr.hpp:492:5: note:   'boost::to_string'
    to_string( exception_ptr const & p )
    ^
In file included from /usr/local/include/boost/exception/to_string_stub.hpp:15:0,
                from /usr/local/include/boost/exception/info.hpp:16,
                from /usr/local/include/boost/exception/detail/exception_ptr.hpp:20,
                from /usr/local/include/boost/exception_ptr.hpp:9,
                from /usr/local/include/boost/thread/exceptional_ptr.hpp:10,
                from /usr/local/include/boost/thread/future.hpp:25,
                from /usr/local/include/boost/thread.hpp:24,
                from wallet/wallet.cpp:33:
/usr/local/include/boost/exception/to_string.hpp:72:5: note:   'boost::to_string'
    to_string( std::pair<T,U> const & x )
    ^
gmake[2]: *** [Makefile:5848: wallet/libbitcoin_wallet_a-wallet.o] ïÛÉÂËÁ 1
gmake[2]: ×ÙÈÏÄ ÉÚ ËÁÔÁÌÏÇÁ <</namecoin-core-nc0.13.0rc1/src>>
gmake[1]: *** [Makefile:8562: all-recursive] ïÛÉÂËÁ 1
gmake[1]: ×ÙÈÏÄ ÉÚ ËÁÔÁÌÏÇÁ <</namecoin-core-nc0.13.0rc1/src>>
gmake: *** [Makefile:678: all-recursive] ïÛÉÂËÁ 1
Continue to dig. Russians do not give up :)
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

biolizard89
Posts: 1977
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Unable to register .bit domain

Post by biolizard89 » Tue Aug 22, 2017 5:08 pm

virus_net wrote:I use CLI only.
Ok, I will try to build from source.
Thanks for help. I will write the result when be done.

And what you can say about second question ?
virus_net wrote:what to do with my transactions after update ? delete and repeat ? wait ? other ?
Deleting the transaction (I think the command is "abandontransaction", not certain) and re-issuing it would probably make sense.
virus_net wrote:As expected it will be not so easy :)
And as expected and of course I got error on make:
Okay, so it looks like documentation for building on FreeBSD exists in the 0.14 branch but not the 0.13 branch. That suggests that it may not be expected to build properly with the 0.13 branch (on which nc0.13.0rc1 is based).

So, what I'd suggest is checking out the 0.14 branch, and then build according to these instructions: https://github.com/namecoin/namecoin-co ... on-freebsd . Let us know how it goes!
virus_net wrote:Continue to dig. Russians do not give up :)
(As an American, I should probably take the chance to apologize for the crazy stuff our Congress, and one of our 2016 Presidential candidates, have been doing regarding hostilities toward Russia -- I will be voting to kick the russophobes out of Congress in 2018. Best wishes to Russia from a sane American!)
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

virus_net
Posts: 82
Joined: Tue Aug 22, 2017 1:22 pm
os: bsd
Location: Moscow, Russia
Contact:

Re: Unable to register .bit domain

Post by virus_net » Wed Aug 23, 2017 5:05 am

Thanks for the advice. I will try some my ideas how to fix 0.13 branch and if they will not work then try with 0.14 branch.
Looking ahead: if it will not work on FreeBSD, so which OS Linux version you can suggest to use ?

P.S. Apologize accepted.
We (russians) know that many simple American people do not share an opinion of American politics. So, basically, we don`t care about what politics saying.
Only one fear: as if claims to world domination of American politics did not lead to the war. Let`s live in peace ! But mostly now it`s really funny to see what they are doing.
IT is outside politics as sport does :) We (IT people) are big big family.
Best wishes from Russia to a sane Americans and entire world. Good luck !
bitname.ru:
- whois service for .bit: whois.bitname.ru or whois.bitname.bit
- dns servers for .bit: dns1.bitname.ru dns2.bitname.ru or dns1.bitname.bit dns2.bitname.bit
- bit domains statistics
github

biolizard89
Posts: 1977
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Unable to register .bit domain

Post by biolizard89 » Wed Aug 23, 2017 3:07 pm

virus_net wrote:Looking ahead: if it will not work on FreeBSD, so which OS Linux version you can suggest to use ?
I would expect things to work on Debian Jessie or Debian Stretch, or a recent Fedora. (I've built Namecoin Core on Debian and Fedora in the past, and I don't recall any significant trouble.)
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

cassini
Posts: 333
Joined: Sun May 26, 2013 6:36 pm

Re: Unable to register .bit domain

Post by cassini » Wed Aug 23, 2017 11:50 pm

virus_net wrote:wallet/wallet.cpp:127:49: error: 'to_string' is not a member of 'std'
Just out of curiosity, could you try this little experiment:
insert the line

Code: Select all

#define _GLIBCXX_USE_C99 1
at the beginning of wallet/wallet.cpp
then build again.

biolizard89 wrote:Deleting the transaction (I think the command is "abandontransaction", not certain) and re-issuing it would probably make sense.
In Namecoin Core it is "abandontransaction". In older versions it is "deletetransaction".

Post Reply