0xB10C / miningpool-observer

Transparency for Mining Pool Transaction Selection
https://miningpool.observer
MIT License
55 stars 13 forks source link

systemd: restart when bitcoind restarts #48

Closed Sjors closed 2 years ago

Sjors commented 2 years ago

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.

0xB10C commented 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.