Inject Config:

* Use dependency injections instead
* Remove deprecated fee interfaces
This commit is contained in:
Nik Bougalis
2015-09-18 12:15:12 -07:00
committed by Vinnie Falco
parent c7b3153958
commit fa796a2eb5
57 changed files with 541 additions and 688 deletions

View File

@@ -36,7 +36,7 @@ class SkipList_test : public beast::unit_test::suite
std::vector<std::shared_ptr<Ledger>> history;
{
jtx::Env env(*this);
Config const config;
Config config;
auto prev =
std::make_shared<Ledger>(create_genesis, config, env.app().family());
history.push_back(prev);

View File

@@ -148,7 +148,7 @@ class View_test
{
using namespace jtx;
Env env(*this);
Config const config;
Config config;
std::shared_ptr<Ledger const> const genesis =
std::make_shared<Ledger>(
create_genesis, config, env.app().family());
@@ -412,7 +412,7 @@ class View_test
{
using namespace jtx;
Env env(*this);
Config const config;
Config config;
std::shared_ptr<Ledger const> const genesis =
std::make_shared<Ledger> (
create_genesis, config, env.app().family());
@@ -532,7 +532,7 @@ class View_test
// erase the item, apply.
{
Env env(*this);
Config const config;
Config config;
std::shared_ptr<Ledger const> const genesis =
std::make_shared<Ledger>(
create_genesis, config, env.app().family());