Don't use getAccountState as a quick way to check if an account

exists in a ledger. It's much heavier than needed.
This commit is contained in:
JoelKatz
2013-05-30 11:48:13 -07:00
parent 468588e3a0
commit aef0a84e07
3 changed files with 8 additions and 6 deletions

View File

@@ -183,6 +183,7 @@ public:
TransactionMetaSet::pointer& txMeta);
// high-level functions
bool hasAccount(const RippleAddress& acctID);
AccountState::pointer getAccountState(const RippleAddress& acctID);
LedgerStateParms writeBack(LedgerStateParms parms, SLE::ref);
SLE::pointer getAccountRoot(const uint160& accountID);