libbitcoin / libbitcoin-network

Bitcoin P2P Network Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create console input class.

evoskuil opened this issue · comments

Add dynamic configuration using std:cin (start with close and log verbosity cycle).
Has threadpool, is a loop over cin (line = std::getline(std::cin) or std::cin >> ch).
Start, stop (restartable), configured events (key words and/or key strokes).
Upon registered event fires notification with event type (stop is well known type).
Handlers are invoked on a strand of the input class threadpool.

Complete in #325