Closed Sjors closed 2 years ago
Thanks, I haven't checked this closely, but I think this should work.
There might be a more elegant way to fix this, but this works. I haven't had this problem with c-lightning, electrs and nbexplorer, so their implementation might provide some hints.
I've opened #50 to track this. In my setup, I'm using a fixed user/pass combination and thus haven't noticed this problem. Thanks for reporting.
This prevents "ThreadRPCServer incorrect password attempt from 127.0.0.1:..." errors.
I'm using cookie based authentication, and the cookie changes every time bitcoind is restarted.
There might be a more elegant way to fix this, but this works. I haven't had this problem with c-lightning, electrs and nbexplorer, so their implementation might provide some hints.