Pages:
Author

Topic: [REVIEW] Name lookup branch (bitcoind send [email protected] 99999) - page 2. (Read 7448 times)

legendary
Activity: 1232
Merit: 1076
to run the server you need LAMP

Is PostgreSQL acceptable?

Try it. Should work I think.

Could you turn on SSL as well for me to test?

BTW GET is enabled for accessing people's addresses, like:

http://fishysnax.com/getaddress/?nickname=genjix

(but not for anything else).
hero member
Activity: 574
Merit: 513
to run the server you need LAMP

Is PostgreSQL acceptable?
legendary
Activity: 1232
Merit: 1076
to run the server you need LAMP

cp bitcoin/contrib/ns/* /var/www/

in mysql:
CREATE DATABASE bitnom;
CREATE TABLE lookup(nickname VARCHAR(100) NOT NULL, PRIMARY KEY(nickname), passhash VARCHAR(128) NOT NULL, address VARCHAR(44) NOT NULL);
(as specified by DATABASE file)

create a file in /var/db.bitnom.inc with these contents:
   mysql_connect('localhost', 'your_login', 'your_pass') or die(mysql_error());
   mysql_select_db('bitnom') or die(mysql_error());
?>
(as specified by db.php)

It should work now.
legendary
Activity: 1232
Merit: 1076
- I plan to put in account locking after several wrong attempts (lock 30 mins after 5 wrong attempts).
- Password recovery is handled by the server admin- their own policies.
- I originally thought to update periodically with the name server but if you're generating a ton of keys then your wallet will get big very quickly... maybe it could update with the server everytime you generate a new key.

This was on the development roadmap, https://bitcointalksearch.org/topic/m.60385
"design/implement a secure DNS-like "map string to bitcoin address" system  (so I can send bitcoins to "[email protected]")"

https://github.com/genjix/bitcoin/tree/bitnom
(install libcurl-dev)

I've setup a test server at fishysnax.com

If you want to make an account then run:
bitcoind updatens [email protected] yourpassword

That creates a new account if it doesn't yet exist. It also updates the stored address too everytime you run that.

You can change your password with:

bitcoind setnspassword [email protected] yourpassword newpassword

And you can send me a tip with either:

bitcoind send [email protected] 10
bitcoind send 1GPBcN1wKSZ1L3FAQ1hpz9GGr1sPeAZgg8 10

(Spent all my BTC on new laptop after it broke... Still owe him 50 BTC Wink
Pages:
Jump to: