57 auto const sleCheck = view().peek(keylet::check(ctx_.tx[sfCheckID]));
61 JLOG(j_.
warn()) <<
"Check does not exist.";
65 AccountID const srcId{sleCheck->getAccountID(sfAccount)};
66 AccountID const dstId{sleCheck->getAccountID(sfDestination)};
67 auto viewJ = ctx_.app.journal(
"View");
74 if (!view().dirRemove(
75 keylet::ownerDir(dstId), page, sleCheck->
key(),
true))
78 JLOG(j_.
fatal()) <<
"Unable to delete check from destination.";
85 if (!view().dirRemove(
86 keylet::ownerDir(srcId), page, sleCheck->
key(),
true))
89 JLOG(j_.
fatal()) <<
"Unable to delete check from owner.";
96 auto const sleSrc = view().peek(keylet::account(srcId));
100 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.