Old thread:
http://bitcointalk.org/index.php?topic=5938.0So it was decided to split the pull request into several smaller ones. Here's the new one:
https://github.com/bitcoin/bitcoin/pull/169The full implementation works like:
genjix@foo.org will do a lookup on
http://foo.org/getaddress/?nickname=genjixThat will return either a JSON containing error/errcode (which will throw) or a json containing the address.
For setting the address you sign it using an RSA keypair + timestamp (if the timestamp is too old then the server should reject the request). The updating the name will return a JSON containing status or either error/errcode.
To add the public key for your RSA keypair or add new nicknames you login using your OpenID on the site. As an example:
http://109.75.176.109bitcoind publickey
will show your public key.
To see the full implementation see my branch on github:
https://github.com/genjix/bitcoin/tree/bitnomThe relevant files are access.h resolv.h rpc.cpp (rpc_send, updatename, publickey).
The PHP example implementation for the server is in contrib/ns/