sipa / bitcoin-stats

bitcoin.sipa.be scripts
59 stars 22 forks source link

uri.secret #3

Closed xieta closed 6 years ago

xieta commented 7 years ago

Hi Sipa,

Thanks for all of your work. What are the contents of uri.secret supposed to be and how must it be formatted? Also, is the 7777 port declaration in blockmonitor.pl and keepdump.pl simply the RPC port of the coin daemon?

I am attempting to use your code and am looking forward to the first run, but am facing a "Failed to fetch data. Retry in 30 seconds", perpetually.

-Xi

xieta commented 6 years ago

Turns out the uri.secret file should contain a http://username:password@host:port/ value where username == rpcuser, password == rpcpassword, host is the bitcoind instance and port == rpcport.