Add hash to ViewInfo

This commit is contained in:
Vinnie Falco
2015-06-30 12:46:59 -07:00
parent bf775036bc
commit ab20ca95aa
4 changed files with 12 additions and 9 deletions

View File

@@ -73,6 +73,9 @@ MetaView::MetaView (open_ledger_t,
info_.seq = parent.info().seq + 1;
info_.parentCloseTime =
parent.info().closeTime;
// Give clients a unique but
// meaningless hash for open ledgers.
info_.hash = parent.info().hash + uint256(1);
}
MetaView::MetaView (BasicView const& base,