IPv6, headless client, and more
Hello, I heard about this project around freenode, and I really like the idea.
I am wondering if there is a chance you could develop a fully headless version, but with controlling options? Maybe something similar to ncurses work, like rtorrent? So we can make and share bitcoins on headless computers, while still having the ease and control of te GUI interface?
Another suggestion that would be nice would be an update module, if you are running an old version (don’t know if there is already, didn’t look around much).
Boot strapping to a different type of medium, as well as IRC, would be an improvement as well. Maybe something similar to Bittorrent trackers? Some ISPs block IRC, and some people dislike the thought of IRC.
Lastly, IPv6 support would be pretty awesome, if possible. Then people would worry less about the IRC bootstrapping, I’d think.
I am also running bitcond 1.3 (RC?) that satoshi just posted. How do I use it though? There aren’t many docs on using bitcoind… it just said “starting bitcoin server”, and my IP appears in the #bitcoin room on irc.lfnet.org. How would I figure out my bitcoin address, how many coins I have, send to other people, etc?
I am no C programmer, so I would not be able to implant any of these suggestions, but I would hope that it could be possible
Thanks in advance!
Ah, nice, thanks for that.
When I run, Is it normal for it to give nothing, or what?
getinfo gives me
When I run, Quote./bitcoind getaddressesbylabel "" [ ] Is it normal for it to give nothing, or what?
Hmm, yeah, it’s probably normal; I THOUGHT the default address was given an empty label; I’m wrong, they’re given the label “Your Address”. So: Code:./bitcoind getaddressesbylabel “Your Address” should work.
Or just generate a new address, either with or without a label:
./bitcoind getnewaddress Welcome, Harry.
I hadn’t thought about starting out using bitcoind without using bitcoin first. I guess for now, this thread serves as the tutorial.
The focus for bitcoind so far has been more on backend support for websites. There’s demand for things that would be nice for adminning headless generators like listgenerated. For the moment, you can grep the debug.log file for “generated” and “hashmeter” for some feedback. Generated blocks take about 24 hours before they’re credited to your balance.
Or you could use my “completely unsupported, don’t blame anyone if it doesn’t work” patch to rpc.cpp that adds listgenerated as a method. Pass it false (./bitcoind listgenerated false) to get only the unmatured coins. No argument or true gives a list of all coins. The interface is going to change, since a list of strings isn’t really the way RPC is supposed to work!
Of course, for that, you need to build from the SVN.
The latest version of the patch can always be found at http://www.alloscomp.com/bitcoin.
A usefull command if you like to watch your wallet evolve in real time is the command “watch” :
$ watch bitcoind getinfo