zebra
zebra copied to clipboard
Stop panicking when attempting to run multiple Zebra instances
Motivation
When a user attempts to run multiple simultaneous instances of Zebra without specifying a different database path for each, all instances except the first one panic because they try to use the same database.
These panics might be alarming to some users.
There are, in fact, five different kinds of such conflicts:
- disk state
- Zcash listener port
- metrics port
- tracing filter port
- rpc port
An error-level log message and graceful shutdown might be better for these conflicts.
Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn