Skip to content

Commit

Permalink
Fix starting number of XNS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahbritto committed Jun 2, 2012
1 parent affe444 commit f0e3383
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.cpp
Expand Up @@ -111,7 +111,7 @@ void Application::run()
std::cerr << "Root master seed: " << rootSeedMaster.humanFamilySeed() << std::endl;
std::cerr << "Root account: " << rootAddress.humanAccountID() << std::endl;

Ledger::pointer firstLedger = boost::make_shared<Ledger>(rootAddress, 100000000);
Ledger::pointer firstLedger = boost::make_shared<Ledger>(rootAddress, SYSTEM_CURRENCY_START);
assert(!!firstLedger->getAccountState(rootAddress));
firstLedger->updateHash();
firstLedger->setClosed();
Expand Down
5 changes: 5 additions & 0 deletions src/Config.h
Expand Up @@ -11,6 +11,11 @@
#define SYSTEM_CURRENCY_CODE "XNS"
#define SYSTEM_CURRENCY_PRECISION 6

#define SYSTEM_CURRENCY_GIFT 1000ull
#define SYSTEM_CURRENCY_USERS 100000000ull
#define SYSTEM_CURRENCY_PARTS 1000000ull
#define SYSTEM_CURRENCY_START (SYSTEM_CURRENCY_GIFT*SYSTEM_CURRENCY_USERS*SYSTEM_CURRENCY_PARTS)

#define VALIDATORS_FILE_NAME "validators.txt"
const int SYSTEM_PEER_PORT = 6561;

Expand Down

0 comments on commit f0e3383

Please sign in to comment.