Static feature support.

This commit is contained in:
JoelKatz
2013-05-29 11:54:20 -07:00
parent 606b2a2942
commit 76358edc31
3 changed files with 26 additions and 16 deletions

View File

@@ -429,6 +429,8 @@ void Application::startNewLedger()
{
Ledger::pointer firstLedger = boost::make_shared<Ledger>(rootAddress, SYSTEM_CURRENCY_START);
assert(!!firstLedger->getAccountState(rootAddress));
// WRITEME: Add any default features
// WRITEME: Set default fee/reserve
firstLedger->updateHash();
firstLedger->setClosed();
firstLedger->setAccepted();