Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: khal on May 26, 2012, 08:29:34 PM



Title: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 26, 2012, 08:29:34 PM
A new version of namecoin is available ! :)

Project : http://dot-bit.org/
Files : http://dot-bit.org/files/

Improved performances :

* New index for names, created at first startup
* Faster name_scan (3x)
* Faster name_list (11x !)

New rpc commands :

* sendtoname : sendtoname <namecoinname> <amount> [comment] [comment-to]
- allow you to send namecoin to last owner of a name

* name_show : name_show <name>
- show only one name (same as name_scan "xx" 1) or nothing of name is not found

* name_filter : name_filter [regexp] [maxage=36000] [from=0] [nb=0] [stat]
- filter names with regular expressions, height of a name (to get only names from last X blocks), to count names, etc
Examples :
* list all unexpired names
namecoind name_filter

* list all names in the d/ namespace
namecoind name_filter "^d/" 0

* list names modified last 150 blocks
namecoind name_filter "^d/" 150

* count names modified last 150 blocks
namecoind name_filter "^d/" 150 0 0 stat

* list 20 names from number 100
namecoind name_filter "" 0 100 20

Other

* name_scan now only returns the minimum of data (8MB instead of 16MB)
* if index of names (nameindexfull.dat) is deleted, it'll be recreated at startup.
* default rpc port updated to not conflict with bitcoin
* config file renamed to namecoin.conf (it's never too late...). Still works with original name. Same for pid file.


Some really useful changes !
NamecoinToBind (https://github.com/khalahan/NamecoinToBind) will be updated soon to benefit from this.

Check it out !  :P


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: bulanula on May 26, 2012, 08:33:47 PM
Is this supposed to be in alt coin ?  ::)


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 26, 2012, 08:47:26 PM
Hum, possible (i've an old habit to post here :p). Could someone move it if it fits better in Alt coin ?

Did you test namecoin ? :p


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: rjk on May 26, 2012, 10:11:28 PM
Wow, I thought it was mostly dead. Glad to see Namecoin still being worked on.
Are there any plans to make the jump to the 0.6.x bitcoin sources?

EDIT: Also, what about Windows support for this newest version?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 27, 2012, 12:17:22 AM
No, namecoin is not dead. There is still a lot of work done, on a lot of external tools (proxies, bridges, dns servers, etc) needed for all this to work. And it's not finished :). So, that's why there was no new namecoin releases (most of work done on other things). But, using it day to day was a bit frustrating, so, i've written some code to reduce my frustration :p

You can currently browse .bit easily, with Foxyproxy for example : http://dot-bit.org/How_To_Configure_Foxyproxy. But, you must trust my server, so, that's not perfect for everybody.
Our next step is to provide an easy tool to do the same on your computer (like the namecoin bundle (http://dot-bit.org/forum/viewtopic.php?f=9&t=349)).


Rebasing namecoin on bitcoin 0.6.x will be done by vinced if nobody else is volunteer. But, vince is almost disappeared... so any help is welcome.

For the windows build, i've contacted twobits, who built the previous versions. If some body else want to provide binaries for windows and mac, they are welcome too.

For sure, we don't have as much developers as bitcoin :p


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on May 27, 2012, 06:58:50 AM
Hello khal, I wonder if you could give us your opinion on point number five below:

Crashing bugs, any bug that might result in loss of bitcoins, and security fixes are always highest priority, but here are the big things I think are very high priority that, as far as I know, nobody is working on.  I think they all need to be done before we can say we have a "Bitcoin 1.0" :

  • finish download-only-blockheaders client mode
  • password-protect the wallet private keys (mitigate the steal wallet.dat problem: see https://gist.github.com/803170 )
  • import a backed-up wallet
  • figure out how to do click-to-pay
  • design/implement a secure DNS-like "map string to bitcoin address" system  (so I can send bitcoins to "gavin@acm.org")
  • export+encrypt part of your balance (for long-term storage; I still waffle on whether we want to encourage that right now)


Stumbled upon Gavin's post from over a year ago and wondered about the status of these points.  It looks like the pace of development is slow, but not being a programmer, I feel all I can do to help is tell businesses and friends about bitcoin, play bitcoin poker, order the magazine, and bomb hundreds of coins at SatoshiDice.

It seems that here is an opportunity for namecoin to make itself useful for bitcoin and gain wider adoption. What do you think?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 27, 2012, 01:14:45 PM
It seems that here is an opportunity for namecoin to make itself useful for bitcoin and gain wider adoption. What do you think?

The alias feature is mentioned in the BIP 0015 (https://en.bitcoin.it/wiki/BIP_0015) and has been discussed on the bitcoin development mailing list.
I think Namecoin is the perfect solution for aliases because it relies on no external server (no dns server, no forced external service, etc), benefits from the blockchain advantages and would be very easy to add into bitcoin.

PS : BIP 0015 page is locked, so it's not possible so add Namecoin to the list.

But here is the the summary :
https://en.bitcoin.it/wiki/Talk:BIP_0015#Namecoin_aliases

And the Alias specification for Namecoin :
http://dot-bit.org/Namespace:Aliases


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on May 27, 2012, 04:20:31 PM
I think Namecoin is the perfect solution for aliases because it relies on no external server (no dns server, no forced external service, etc), benefits from the blockchain advantages and would be very easy to add into bitcoin.

If it were to be added to Bitcoin then it would have to go through the BIP process which doesn't seem easy to me, but I understand that you meant it would be easy from a programming standpoint. I think it would be much easier to implement it first in Namecoin as a proof of concept. Can you do this?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 27, 2012, 07:29:17 PM
I think Namecoin is the perfect solution for aliases because it relies on no external server (no dns server, no forced external service, etc), benefits from the blockchain advantages and would be very easy to add into bitcoin.

If it were to be added to Bitcoin then it would have to go through the BIP process which doesn't seem easy to me, but I understand that you meant it would be easy from a programming standpoint. I think it would be much easier to implement it first in Namecoin as a proof of concept. Can you do this?
There is a similar feature in this release of namecoin : sendtoname.
You can send namecoins to a name owner. It first gets the address associated with a name and then send coins to this address.

But, adding name_getjson function would be a more complete proof of concept indeed.

For example, you could have this alias registered :
Quote
$ namecoind name_show a/khal
{
    "email"    : "khal@dot-bit.org",
    "bitcoin"  : "1J3EKMfboca3SESWGrQKESsG1MA9yK6vN4",
    "namecoin" :
    {
      "Donation address": "N2pGWAh65TWpWmEFrFssRQkQubbczJSKi9",
      "Generic address" : "N2pGWAh65TWpWmEFrFssRQkQubbczJSKi9"
    }
    "gpg"      :
    {
        "fpr"  : "0123456789abcde0123456789abcde0123456789",
        "uri"  : ["http://domainA/user.key", "http://domainB/user.key"],
    }
}

And bitcoin would query it like that :
Quote
$ namecoind name_getjson khal bitcoin
{
    "bitcoin"  : "1J3EKMfboca3SESWGrQKESsG1MA9yK6vN4"
}
and namecoin :
Quote
$ namecoind name_getjson khal namecoin
{
    "namecoin" :
    {
      "donation": "N2pGWAh65TWpWmEFrFssRQkQubbczJSKi9",
      "default" : ["N2pGWAh65TWpWmEFrFssRQkQubbczJSKi9", "N2pGWAh65TWpWmEFrFssRQkQubbczJSKi9"],
    }
}
The namecoin client can propose to select "khal donation" or "khal default". If default is selected, one is chosen randomly.

The current draft for bitcoin/namecoin aliases (https://dot-bit.org/Namespace:Aliases) says it can return several labels and several addresses. I don't know if this is really useful or not.

What do you think ?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: marcus_of_augustus on May 28, 2012, 06:57:56 AM
watching


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Garr255 on May 28, 2012, 07:56:29 AM
Great!


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: MaxSan on May 28, 2012, 09:19:39 AM
Long live namecoin ! Will instal later when home.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on May 28, 2012, 11:39:26 AM
What do you think ?

I've thought about it for a little while and here are my high-level suggestions (I'm not a programmer and my understanding of Namecoin is limited):

* Only allow e-mail addresses to be registered as aliases and verify that the person who registers it has access to it. This can be automated like most mailing lists do. It is necessary to provide this basic level of security to prevent Bulanula from associating his wallet address with gavin@acm.org, for example.

* Make it independent of any coin (except Namecoin, obviously). Leave it up to the user to decide which coins to use and provide a secure data structure that any coin (existing or yet to be invented) can query to associate an e-mail address with a wallet address. While this feature isn't implemented by other coins it should still be possible to query Namecoin manually to list all the addresses for gavin@acm.org so that the right one can be copied and pasted into the client.

* Allow the aliases to be modified quickly in case somebody loses his wallet or changes his e-mail address. Also make sure that people get notified early on when it is necessary to renew their alias to keep it in the blockchain.

Is this possible?



Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 28, 2012, 02:04:16 PM
* Only allow e-mail addresses to be registered as aliases and verify that the person who registers it has access to it. This can be automated like most mailing lists do. It is necessary to provide this basic level of security to prevent Bulanula from associating his wallet address with gavin@acm.org, for example.
If you want a feature to add existing email addresses and to ckeck if someone really owns it, you insert control and you want someone else to control a registered alias. This is not possible in namecoin because there is no central control (and it must be like that for security reasons !).
What you can do is :
- adding alias with .bit domains, for example : khal@dot-bit.bit or khal@tor.bit
- adding alias with a namecoin mark : khal25@namecoin, manu44@namecoin, khal25@alia
- adding alias without domains : khal25, manu44

* Make it independent of any coin (except Namecoin, obviously). Leave it up to the user to decide which coins to use and provide a secure data structure that any coin (existing or yet to be invented) can query to associate an e-mail address with a wallet address. While this feature isn't implemented by other coins it should still be possible to query Namecoin manually to list all the addresses for gavin@acm.org so that the right one can be copied and pasted into the client.
This is the case. One registration allows you to associate any kind of data (bitcoin address, namecoin, msn/jabber/xmpp email, nickname, gpg key, website, etc) with a unique "word". See it as an identity manager.

* Allow the aliases to be modified quickly in case somebody loses his wallet or changes his e-mail address. Also make sure that people get notified early on when it is necessary to renew their alias to keep it in the blockchain.
Namecoin works like bitcoin. If you loose your wallet, you loose your keys, you loose you alias (but you have the time to give another one to people you know before it expires. Somebody can still query you and send you bitcoin for example).
What you can do is send the private key/wallet somewhere : on you mail address for example :p

Is this possible?
Not the way you imagine it, but yes, it is possible :p

I know it would be convenient to use existing emails addresses but it is only possible if 1 person control the system. Are you sure you really want 1 person controlling 10'000 bitcoin addresses ?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on May 28, 2012, 05:10:40 PM
If you want a feature to add existing email addresses and to ckeck if someone really owns it, you insert control and you want someone else to control a registered alias. This is not possible in namecoin because there is no central control (and it must be like that for security reasons !).

I see. No problem, it simply means that we have to make sure that we use the correct alias, just like we do with phone numbers and e-mail addresses.

What you can do is :
- adding alias with .bit domains, for example : khal@dot-bit.bit or khal@tor.bit
- adding alias with a namecoin mark : khal25@namecoin, manu44@namecoin, khal25@alia
- adding alias without domains : khal25, manu44

How about #Khal#, #Gavin.Andresen#, or #Bitinvestor# as pattern for the aliases? It would be easily recognized as a payment address and it can't be confused with an e-mail address.

* Make it independent of any coin (except Namecoin, obviously). Leave it up to the user to decide which coins to use and provide a secure data structure that any coin (existing or yet to be invented) can query to associate an e-mail address with a wallet address. While this feature isn't implemented by other coins it should still be possible to query Namecoin manually to list all the addresses for gavin@acm.org so that the right one can be copied and pasted into the client.
This is the case.

Excellent! So what else do we need to make this work?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on May 29, 2012, 09:54:48 AM
How about #Khal#, #Gavin.Andresen#, or #Bitinvestor# as pattern for the aliases? It would be easily recognized as a payment address and it can't be confused with an e-mail address.
This looks like a bit like hash tags. So, why not @Khal ?
Anyway, bitcoin can use the syntax it wants, namecoin will store data in it's own format (example: alias/Khal instead of #Khal)

* Make it independent of any coin (except Namecoin, obviously). Leave it up to the user to decide which coins to use and provide a secure data structure that any coin (existing or yet to be invented) can query to associate an e-mail address with a wallet address. While this feature isn't implemented by other coins it should still be possible to query Namecoin manually to list all the addresses for gavin@acm.org so that the right one can be copied and pasted into the client.
This is the case.

Excellent! So what else do we need to make this work?

1. Add the Namecoin proposal to the existing BIP 15
2. Choose Namecoin as the solution among others
3. Finalize and validate the Alias specification (https://dot-bit.org/Namespace:Aliases)
4. Explain how to create an alias


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on May 29, 2012, 12:57:26 PM
How about #Khal#, #Gavin.Andresen#, or #Bitinvestor# as pattern for the aliases? It would be easily recognized as a payment address and it can't be confused with an e-mail address.
This looks like a bit like hash tags. So, why not @Khal ?

Because it looks a bit like an e-mail address. I didn't know about hash tags (http://hashtags.org/). How about $Khal$, or $Khal? I hope all keyboards around the world have a $ symbol.

Excellent! So what else do we need to make this work?

1. Add the Namecoin proposal to the existing BIP 15
2. Choose Namecoin as the solution among others
3. Finalize and validate the Alias specification (https://dot-bit.org/Namespace:Aliases)
4. Explain how to create an alias

No, no, that comes later. I mean what needs to be done to get it working in Namecoin, now? There is nothing stopping us from starting to use it now. It should be much easier to get one or more of the other altcoins to adopt it (if it works).Then the Bitcoin developers can test it and if they like it they can add it to Bitcoin. I don't want to wait a few years until somebody manages to take it through the BIP process.

1. Decide which pattern to use for the alias
2. Write a sendtoalias() function
3. Create an alias
4. Test it
5. If it works, tell others how to use it
6. If it doesn't work, make it work




Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 04, 2012, 02:42:57 PM
1. Decide which pattern to use for the alias
2. Write a sendtoalias() function
3. Create an alias
4. Test it
5. If it works, tell others how to use it
6. If it doesn't work, make it work

1. No special pattern used in namecoin itself, use the alias directly

2. Code is available here (new rpc command sendtoalias) :
https://github.com/khalahan/namecoin

3. The existing alias is "khal" (stored in namecoin as "id/khal") and contains that data :
Quote
{
 "email" : "khal@dot-bit.org",
 "bitcoin" : "1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T",
 "namecoin" : "N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9"
}

4. Use the command below to send me 2NMC :
Code:
namecoind sendtoalias khal 2
The coins will be sent to my namecoin address N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9.

5. Copy/paste the sendtoalias function in other softwares and add a part to do a name_show query to namecoin (namecoin has a direct database access so it doesn't need it).

6. Beta phase is here to tell us :)
Things may change a bit if needed, so consider this a beta phase.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 04, 2012, 07:06:55 PM
This is fantastic news! I'm busy today but I will try it out tomorrow. Thanks!


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 05, 2012, 09:38:20 AM
Here is a binary for linux 64 bits if people want to test quickly :
http://dot-bit.org/files/temp/namecoind-sendtoalias


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: luv2drnkbr on June 05, 2012, 12:22:56 PM
Can somebody make a namecoind windows binary??


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: datafish on June 05, 2012, 03:13:47 PM
Whatever happened to that dude who came along with an alternative distributed DNS scheme, the guy who posted a link to his white paper in the forum here.  Did he merge efforts with yours or strike out alone?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: rjk on June 05, 2012, 03:17:46 PM
Whatever happened to that dude who came along with an alternative distributed DNS scheme, the guy who posted a link to his white paper in the forum here.  Did he merge efforts with yours or strike out alone?
That would be forum username "pent", but he seems to have been caught up in a stupid ponzi scheme, and I for that reason am not taking him seriously anymore.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 05, 2012, 03:45:46 PM
Can somebody make a namecoind windows binary??

Nope, according to https://github.com/khalahan/namecoin building is only supported on Linux for now.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 05, 2012, 03:49:27 PM
4. Use the command below to send me 2NMC :
Code:
namecoind sendtoalias khal 2
The coins will be sent to my namecoin address N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9.

I did that and here's what I get:
Quote
error: {"code":-1,"message":"value is type str, expected real"}

My bad, it works! How can I create an alias?



Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 05, 2012, 06:14:55 PM
My bad, it works! How can I create an alias?
Thanks for the donation of 1NMC :D. Hope to send them back soon :p

You must register an alias prefixed with "id/" in namecoin.

Here is mine to give you an idea :
Code:
namecoind name_show id/khal
{
    "name" : "id/khal",
    "value" : "{ \"email\" : \"khal@dot-bit.org\", \"bitcoin\" : \"1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T\", \"namecoin\" : \"N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9\" }"
}

Fake example of registration :
Code:
namecoind name_new id/bitinvestor
[
    "045637420d7820779426b3a9da847253070e9b51ffc6dc8bfd46fd7cf9bdf529",
    "94086936402036f000"
]

namecoind name_firstupdate id/bitinvestor 94086936402036f000 045637420d7820779426b3a9da847253070e9b51ffc6dc8bfd46fd7cf9bdf529 "{ \"email\" : \"khal@dot-bit.org\", \"bitcoin\" : \"1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T\", \"namecoin\" : \"N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9\" }"

To be sure you put a valid json "value", copy/paste the value here :
http://dot-bit.org/tools/domainCheck.php

ps : don't use more than 520 characters to avoid a bug that will be solved soon.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 05, 2012, 06:18:31 PM
Can somebody make a namecoind windows binary??

Nope, according to https://github.com/khalahan/namecoin building is only supported on Linux for now.

Nop, building on mac and windows is possible (I should correct this old README...).
We just need someone able to do it on latest release :) (you can still use latest available version for windows on http://dot-bit.org, but the new commands won't be available)


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: MysteryMiner on June 05, 2012, 07:02:03 PM
Namecoin does not hide server location, Tor .onion service does.

Namecoin does not hide visitor location, Tor does.

Namecoin needs separate DNS configuration, Tor .onion addresses works ouf-of-box, at least for Tor bundle.

Namecoin needs constant mining, Tor does not need.

Namecoin is secure from takeover, Tor .onion addresses also are secure.

Namecoin is interesting experiment and proof-of-concept, but there are better solutions. .onion FTW!


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 05, 2012, 08:21:17 PM
Namecoin does not hide server location, Tor .onion service does.

Namecoin does not hide visitor location, Tor does.
Do you know bitcoin and namecoin can go through tor : https://en.bitcoin.it/wiki/Tor#bitcoind ? I'm sure you knew it.

Namecoin needs separate DNS configuration, Tor .onion addresses works ouf-of-box, at least for Tor bundle.
So, are people forced to use unreadable and unmemorable addresses because it works out of the box ? Should they stay like that forever ? Namecoin couldn't be integrated in tor bundle if they want that ? People can't install namecoin if they want ?
I don't understand the problem with giving more possibilities.

Namecoin needs constant mining, Tor does not need.

Namecoin is secure from takeover, Tor .onion addresses also are secure.

Namecoin is interesting experiment and proof-of-concept, but there are better solutions. .onion FTW!
Namecoin is THE solution, really. All other solutions are really shit ! If Tor people didn't add namecoin into tor they are stupid. Do i need to put a smiley ?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: ThiagoCMC on June 05, 2012, 08:29:39 PM
Namecoin does not hide server location, Tor .onion service does.

Namecoin does not hide visitor location, Tor does.
Do you know bitcoin and namecoin can go through tor : https://en.bitcoin.it/wiki/Tor#bitcoind ? I'm sure you knew it.

Namecoin needs separate DNS configuration, Tor .onion addresses works ouf-of-box, at least for Tor bundle.
So, are people forced to use unreadable and unmemorable addresses because it works out of the box ? Should they stay like that forever ? Namecoin couldn't be integrated in tor bundle if they want that ? People can't install namecoin if they want ?
I don't understand the problem with giving more possibilities.

Namecoin needs constant mining, Tor does not need.

Namecoin is secure from takeover, Tor .onion addresses also are secure.

Namecoin is interesting experiment and proof-of-concept, but there are better solutions. .onion FTW!
Namecoin is THE solution, really. All other solutions are really shit ! If Tor people didn't add namecoin into tor they are stupid. Do i need to put a smiley ?

+10

Namecoin can make Tor URLs more "human-like"... They complement each other...


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: phelix on June 06, 2012, 07:04:58 AM
Wow, I thought it was mostly dead. Glad to see Namecoin still being worked on.
[...]
actually a lot has been going on lately...
sub


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 06, 2012, 07:48:23 AM
My bad, it works! How can I create an alias?
Thanks for the donation of 1NMC :D. Hope to send them back soon :p
Sent :
Code:
namecoind sendtoalias bitinvestor 1

You should have received the coins at the registered address :)


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 06, 2012, 01:36:52 PM
You should have received the coins at the registered address :)

I have received the coins, thanks! Registering an alias is more complicated and error-prone than it needs to be. There should be a createalias() function that asks a few questions and then performs the necessary steps. What happens behind the scenes when one calls name_firstupdate? It took a while for name_show to actually show the alias.

If Tor people didn't add namecoin into tor they are stupid. Do i need to put a smiley ?

No need for a smiley but why don't you add Tor into Namecoin? Governments and big companies like Google and Facebook love to spy on us in order to control us and to sell our data to advertisers. Any alternative to the mainstream Internet should be encrypted by default and this includes Namecoin.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Cryptoman on June 07, 2012, 02:27:37 AM
Namecoin does not hide server location, Tor .onion service does.

Namecoin does not hide visitor location, Tor does.

Namecoin needs separate DNS configuration, Tor .onion addresses works ouf-of-box, at least for Tor bundle.

Namecoin needs constant mining, Tor does not need.

Namecoin is secure from takeover, Tor .onion addresses also are secure.

Namecoin is interesting experiment and proof-of-concept, but there are better solutions. .onion FTW!

Have you ever tried to access or implement a high-bandwidth site as a Tor hidden service?  Many times a site will be legal and free from interference in most of the world, but you need something like Namecoin to make it universally accessible. 


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: marcus_of_augustus on June 07, 2012, 06:42:30 AM
Quote
.... but why don't you add Tor into Namecoin?

eh?, what does this even mean?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 07, 2012, 07:05:56 AM
Quote
.... but why don't you add Tor into Namecoin?

eh?, what does this even mean?

Sorry if it doesn't make any sense, I'm still learning about Namecoin and I've never used Tor. As I understand it, when you browse .bit sites you can still be tracked and everything is unencrypted, just like on the ordinary Internet, correct?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Deafboy on June 07, 2012, 07:22:43 AM
Quote
when you browse .bit sites you can still be tracked and everything is unencrypted
Correct.

namecoin is just another DNS system. Advantages of .bit are: domain cannot be stolen by government agency, they are cheaper than ussual domain names.
However, .bit domains can be also used to browse websites on darknet like tor. So instead of writing <long string of random letters>.onion, you just type hidden-website.bit

There is possibility tu run namecoin itself via tor, but it is not needed.
When it comes to mining, since invention of merged mining, most hashing power comes from bitcoin miners anyway... so there is no need to mine for ordinary users.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on June 07, 2012, 10:30:03 AM
You should have received the coins at the registered address :)

I have received the coins, thanks! Registering an alias is more complicated and error-prone than it needs to be. There should be a createalias() function that asks a few questions and then performs the necessary steps. What happens behind the scenes when one calls name_firstupdate? It took a while for name_show to actually show the alias.
A GUI would be interesting, indeed, to allow easy registration of domains, alias, etc.

A name_firstupdate reveals the name you are registering, a name_new doesn't.
So, normal process is name_new, wait 12 blocks (the network will wait before accepting a name_firstupdate), the name_firstupdate is accepted.

If you launch the name_firstupdate just after the name_new (0 confirmation), someone could see the name you want to register and do the same (name_new + name_firstupdate.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: marcus_of_augustus on June 07, 2012, 10:38:30 AM
Quote
namecoin is just another DNS system.

This is a common misconception also it seems, and wrong in several ways.

By running a local Namecoin process you hold a complete database of .bit sites locally (as in right there on your hard-drive) so never have to send DNS traffic out over the internet (where it can be easily monitored by ISP, etc) to look-up the IP addresses of the sites you need/want to get to.

In this way XXXX.onion addresses that have ".bit" look-up locally can be found without having to tell the whole world you are browsing to XXX.onion.

It is a true decentralised DNS that allows for fully-autonomous domain name look-up, if you set it up right .... and therefore, absolutely not "just another DNS system."  No other DNS system comes close to this amount of privacy (for the user) feature.



Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 07, 2012, 11:54:47 AM
Excellent, thanks for your explanations Deafboy and marcus_of_augustus. I'm going to install Tor and try this for myself.

A GUI would be interesting, indeed, to allow easy registration of domains, alias, etc.

A GUI would be nice, but I was thinking of a simple function that would work something like this:

Please enter the name of the alias: bitinvestor
Do you want to add a Bitcoin address (y/n): y
Please enter the address: 12GDjkEWCK7DY6316igF9omUQPtxQ5jd5V
Do you want to add a Namecoin address (y/n): y
Please enter the address: NDqxkdTDCJtGE2WZg2HBcpMU7XPDWt4LXQ
Do you want to add an e-mail address (y/n): n
Do you want to add a phone number (y/n): n
The cost will be 0.1 NMC. Do you want to create the alias (y/n): y
The alias has been created and can be accessed in 12 blocks.

This would be sufficient for most people and if somebody needs to put something else in there then he can do it manually.



Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: phelix on June 07, 2012, 08:45:57 PM
Quote
when you browse .bit sites you can still be tracked and everything is unencrypted
Correct.

namecoin is just another DNS system.
[...]
you could hardly be more wrong. namecoin is a coin accounting and generic key/data storage system.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Deafboy on June 08, 2012, 02:45:42 PM
Sorry, I thought we were speaking just about browsing regular websites through the .bit domains. In this point of view it is just another dns.  And your connection to http server is as vulnerable to middle man as always. I know that lot of other data can be also stored in blockchain.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: marcus_of_augustus on June 08, 2012, 08:25:38 PM
Sorry, I thought we were speaking just about browsing regular websites through the .bit domains. In this point of view it is just another dns.  And your connection to http server is as vulnerable to middle man as always. I know that lot of other data can be also stored in blockchain.

No sorry, you are still wrong because it can provide for fully-autonomous (i.e. local look-up of regular .bit domains) also. You are correct that data can be stored in the namecoin blockchain, unlike bitcoin. :)

It is not in any way shape or form, "just another DNS" ... but yes it can do regular DNS as one small part of its total functionality. How about that?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: rjk on June 08, 2012, 08:58:41 PM
My favorite use-case that I hope can be widely implemented is that of storing a public key fingerprint in the Namecoin system. This is how you can kill off the CA system and still be secure.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: Bitinvestor on June 09, 2012, 07:03:49 AM
My favorite use-case that I hope can be widely implemented is that of storing a public key fingerprint in the Namecoin system. This is how you can kill off the CA system and still be secure.

What needs to be done to make this happen? I'm not familiar with how the CA system works in detail, but I do know that the cost of it can be a real burden for smaller websites.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: rjk on June 09, 2012, 06:03:48 PM
My favorite use-case that I hope can be widely implemented is that of storing a public key fingerprint in the Namecoin system. This is how you can kill off the CA system and still be secure.

What needs to be done to make this happen? I'm not familiar with how the CA system works in detail, but I do know that the cost of it can be a real burden for smaller websites.

The main thing is a way to validate it on the client side. The storage of the fingerprint in the Namecoin system already works.


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: K1773R on November 28, 2012, 10:42:08 AM
donwloaded the 3.5 to a fresh VM, namecoind gets stuck at 10500 blocks, there is no output nothing.
Code:
{
    "version" : 35000,
    "balance" : 0.00000000,
    "blocks" : 10500,
    "connections" : 10,
    "proxy" : "",
    "generate" : false,
    "genproclimit" : -1,
    "difficulty" : 3767.78158122,
    "hashespersec" : 0,
    "testnet" : false,
    "keypoololdest" : 1354097808,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00010000,
    "errors" : ""
}

EDIT: nvm, the one sending me the chain got stuck, after restarting namecoind it works now :)


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: phelix on February 03, 2013, 04:49:41 PM
[...]
3. The existing alias is "khal" (stored in namecoin as "id/khal") and contains that data :
Quote
{
 "email" : "khal@dot-bit.org",
 "bitcoin" : "1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T",
 "namecoin" : "N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9"
}

4. Use the command below to send me 2NMC :
Code:
namecoind sendtoalias khal 2
The coins will be sent to my namecoin address N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9.
[...]
completely missed the sendtoalias command.

would be interesting to also add a sendbtctoalias command that would open a bitcoin uri: bitcoin:1bitcoinaddress


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: khal on February 04, 2013, 01:37:20 PM
completely missed the sendtoalias command.
Yes, it's working (it as a beta version, may still change, so it is only present in my github tree : https://github.com/khalahan/namecoin)

would be interesting to also add a sendbtctoalias command that would open a bitcoin uri: bitcoin:1bitcoinaddress
Indeed, it could be a simple way to start managing bitcoin aliases.
Does the main client bitcoin client support uri schemes ?


Title: Re: [ANN] Namecoin v3.50 : faster & better
Post by: phelix on February 04, 2013, 07:37:36 PM
completely missed the sendtoalias command.
Yes, it's working (it as a beta version, may still change, so it is only present in my github tree : https://github.com/khalahan/namecoin)

would be interesting to also add a sendbtctoalias command that would open a bitcoin uri: bitcoin:1bitcoinaddress
Indeed, it could be a simple way to start managing bitcoin aliases.
Does the main client bitcoin client support uri schemes ?

good to see you alive. I thought you had been kidnapped by the cia. :)

I don't usually use bitcoin-qt any more but I think it has. Just noticed URI support does not work any more on my own machine with latest electrum and multibit 0.5.7 installed so this is a problem.

Also looking into shared namecoin/bitcoin private keys. I was not aware it is possible to calculate the corresponding namecoin address from a bitcoin address and vice versa.