I've changed the nameindex.dat structure to allow faster name_list (11 times) and name_scan (3 times)
Warning : nameindex.dat structure change between the master branch and this one. I advise you to work on a full blockchain copy too to avoid skipping some names.
I currently use this branch on my big wallet, so i would say it is stable enough for long term use, but do as you want :p (and report if it works or not :p)
To test it on your current repo :
Code: Select all
git remote add khalahan git://github.com/khalahan/namecoin.git
git checkout -b fastindex
git pull khalahan fastindex
Code: Select all
git clone git://github.com/khalahan/namecoin.git
git checkout fastindex
- compile (make -f makefile.unix for example)
- delete nameindex.dat
- start namecoin
- reconstruct nameindex.dat with : namecoind rescanfornames
- test a : namecoind name_scan "" 1000000