CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::validators | |
Functions | |
catapult::validators::DEFINE_STATEFUL_VALIDATOR (UniqueTransactionHash, [](const auto ¬ification, const ValidatorContext &context) { const auto &hashCache=context.Cache.sub< cache::HashCache >();return hashCache.contains(state::TimestampedHash(notification.Deadline, notification.TransactionHash)) ? Failure_Hash_Exists :ValidationResult::Success;}) | |