CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::validators | |
Functions | |
catapult::validators::DEFINE_STATEFUL_VALIDATOR (RemoteSender, [](const auto ¬ification, const auto &context) { const auto &cache=context.Cache.template sub< cache::AccountStateCache >();auto accountStateIter=cache.find(notification.Signer);return accountStateIter.tryGet() &&state::IsRemote(accountStateIter.get().AccountType) ? Failure_AccountLink_Remote_Account_Signer_Not_Allowed :ValidationResult::Success;}) | |