I'm confused. I have been using bitcoind-0.9.4 from command line on my headless home server (gentoo linux), using wallet.dat generated back in 2011 when I first got into bitcoin.
Now I have been tasked to install bitcoind on another gentoo server, for my employer. As it is a new install, I decided to go with version 0.10. I emerged bitcoind and bitcoin-cli. The bitcoind is running and rpc passwords are all set up. But when I try to get new address, I get this error:
sphinx ~ # bitcoin-cli getnewaddress
error: {"code":-32601,"message":"Method not found (disabled)"}
Then I noticed that there is no wallet.dat file either in bitcoind directory (/var/lib/bitcoin/.bitcoin) nor in my home (/root/.bitcoin). I tried to google on how to create wallet.dat in 0.10, but none of the results were of any help. I read the bitcoin 0.10 changelog, but none of the changes suggest that the wallet support is removed.
The wallet support is enabled where it should be:
sphinx ~ # equery uses bitcoind
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-p2p/bitcoind-0.10.0-r1:
U I
- - bitcoin_policy_cpfp : Child-Pays-For-Parent policy: If you mine, you will give consideration to child transaction fees to pay for their parents
- - bitcoin_policy_dcmp : Data Carrier Multi-Push policy: Your node will assist transactions with multiple pushes in their data carrier (if any)
- - bitcoin_policy_rbf : Replace By Fee policy: Your node will preferentially mine and relay transactions paying the highest fee, regardless of
receive order
- - bitcoin_policy_spamfilter : Enhanced spam filter policy: Notorious spammers will not be assisted by your node
- - examples : Install examples, usually source code
- - ljr : Enable Luke Dashjr's patches
- - logrotate : Use app-admin/logrotate for rotating logs
- - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in
make.conf/package.use anymore
- - upnp : Enable Universal Plug and Play
+ + wallet : Enable wallet support
- - xt : Enable Mike Hearn's Bitcoin XT patches
- - zeromq : Report blocks and transactions via zeromq
sphinx ~ # equery uses bitcoin-cli
!!! No USE flags found for net-p2p/bitcoin-cli-0.10.0-r1
What am I missing here?