Support "standalone" mode (-a or --standalone) in which we do not connect

to the network and do not close ledgers. This mode makes it much easier to
test transactions as they are only applied once to the open ledger.
This commit is contained in:
JoelKatz
2012-08-14 15:35:30 -07:00
parent 4b2ae556bd
commit e473ce8424
8 changed files with 39 additions and 6 deletions

View File

@@ -40,6 +40,11 @@
Config theConfig;
void Config::init()
{
RUN_STANDALONE = false;
}
void Config::setup(const std::string& strConf)
{
boost::system::error_code ec;