Mark two FIXMEs in code that handles fees wrongly. Work on doing fees correctly.

This commit is contained in:
JoelKatz
2012-12-17 18:09:47 -08:00
parent 2997bde362
commit 038adf2a34
8 changed files with 56 additions and 13 deletions

View File

@@ -130,6 +130,12 @@ void Config::setup(const std::string& strConf, bool bQuiet)
// std::cerr << "CONFIG DIR: " << CONFIG_DIR << std::endl;
// std::cerr << "DATA DIR: " << DATA_DIR << std::endl;
// Update default values
load();
}
Config::Config()
{
//
// Defaults
//
@@ -159,7 +165,7 @@ void Config::setup(const std::string& strConf, bool bQuiet)
PEER_PRIVATE = false;
TRANSACTION_FEE_BASE = 1000;
TRANSACTION_FEE_BASE = DEFAULT_FEE_DEFAULT;
NETWORK_QUORUM = 0; // Don't need to see other nodes
VALIDATION_QUORUM = 1; // Only need one node to vouch
@@ -179,8 +185,6 @@ void Config::setup(const std::string& strConf, bool bQuiet)
RUN_STANDALONE = false;
START_UP = NORMAL;
load();
}
void Config::load()