Fire up the initial ledgers and attach them to the application.

This commit is contained in:
JoelKatz
2011-12-13 21:54:17 -08:00
parent 7f9f5c5462
commit 0b25b9641f
6 changed files with 24 additions and 5 deletions

View File

@@ -133,6 +133,11 @@ CKey::pointer DetKeySet::getPrivKey(uint32 n)
return ret;
}
uint160 DetKeySet::getAccountID(uint32 n)
{
return getPubKey(n)->GetAddress().GetHash160();
}
void DetKeySet::getPubKeys(uint32 first, uint32 count, std::list<CKey::pointer>& keys)
{
while(count-->0)