Tweak command handling
Modularize, add help and exit commands. Fix shutdown_tcp() and p2pool to make sure servers exit immediately when terminating.
This commit is contained in:
@@ -41,6 +41,7 @@ public:
|
||||
int run();
|
||||
|
||||
bool stopped() const { return m_stopped; }
|
||||
void stop();
|
||||
|
||||
const Params& params() const { return *m_params; }
|
||||
BlockTemplate& block_template() { return *m_blockTemplate; }
|
||||
|
||||
Reference in New Issue
Block a user