CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::validators | |
Functions | |
catapult::validators::DEFINE_STATEFUL_VALIDATOR (MultisigPermittedOperation, [](const auto ¬ification, const ValidatorContext &context) { const auto &multisigCache=context.Cache.sub< cache::MultisigCache >();if(!multisigCache.contains(notification.Signer)) return ValidationResult::Success;auto multisigIter=multisigCache.find(notification.Signer);return multisigIter.get().cosignatories().empty() ? ValidationResult::Success :Failure_Multisig_Operation_Not_Permitted_By_Account;}) | |