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