Open unsystemizer opened 8 years ago
Took another look at this:
I guess we should decide whether we want to do nothing, go back to build-on-demand in run.py, or do something else (e.g. include the script in run.py or link it from our repo)..
Cookie-based auth is interesting.
Thoughts?
Related Bitcoin Core commit: https://github.com/bitcoin/bitcoin/commit/f04f4fd2eed581a5e287d14036d790cf2badcbe6
0.13.2 addrindex contains the script - https://github.com/btcdrak/bitcoin/tree/addrindex-0.13/share/rpcuser
I tried this using the bundled rpcuser.py script and counterparty-client/-server didn't have any issues with this approach.
$ python2 rpcuser.py rpc
String to be appended to bitcoin.conf:
rpcauth=rpc:525d39cda3c923ddedee82a532b044fe$dedc672ee7b098654c3f332b2562d982577715169c7523596880e7da8a3a7b52
Your password:
HhVjSAf-RIv_3ATBU6xlhYUU1iCSYJXJ57ZCmiNYPOI=
Spotted in Bitcoin Core 0.12.1 log: