CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::validators | |
Functions | |
catapult::validators::DEFINE_STATEFUL_VALIDATOR (ProperMosaic, [](const auto ¬ification, const ValidatorContext &context) { auto view=ActiveMosaicView(context.Cache);auto mosaicId=notification.MosaicId;if(Notification::MosaicType::Unresolved==notification.ProvidedMosaicType) mosaicId=context.Resolvers.resolve(notification.UnresolvedMosaicId);ActiveMosaicView::FindIterator mosaicIter;return view.tryGet(mosaicId, context.Height, notification.Signer, mosaicIter);}) | |