76 auto const sleCheck = view().peek(keylet::check(ctx_.tx[sfCheckID]));
80 JLOG(j_.
warn()) <<
"Check does not exist.";
84 AccountID const srcId{sleCheck->getAccountID(sfAccount)};
85 AccountID const dstId{sleCheck->getAccountID(sfDestination)};
86 auto viewJ = ctx_.app.journal(
"View");
93 if (!view().dirRemove(
94 keylet::ownerDir(dstId), page, sleCheck->
key(),
true))
96 JLOG(j_.
fatal()) <<
"Unable to delete check from destination.";
102 if (!view().dirRemove(
103 keylet::ownerDir(srcId), page, sleCheck->
key(),
true))
105 JLOG(j_.
fatal()) <<
"Unable to delete check from owner.";
111 auto const sleSrc = view().peek(keylet::account(srcId));
115 view().erase(sleCheck);
void adjustOwnerCount(ApplyView &view, std::shared_ptr< SLE > const &sle, std::int32_t amount, beast::Journal j)
Adjust the owner count up or down.
State information when determining if a tx is likely to claim a fee.
State information when preflighting a tx.