Stuctures for feature enabling.

This commit is contained in:
JoelKatz
2012-12-02 15:23:17 -08:00
parent 1ed90b5bb5
commit 7708968cff
7 changed files with 23 additions and 0 deletions

View File

@@ -918,6 +918,13 @@ uint256 Ledger::getAccountRootIndex(const uint160& uAccountID)
return s.getSHA512Half();
}
uint256 Ledger::getLedgerFeatureIndex()
{ // get the index of the node that holds the last 256 ledgers
Serializer s(2);
s.add16(spaceFeature);
return s.getSHA512Half();
}
uint256 Ledger::getLedgerHashIndex()
{ // get the index of the node that holds the last 256 ledgers
Serializer s(2);