CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::validators | |
Functions | |
catapult::validators::DEFINE_STATEFUL_VALIDATOR (NemesisSink, [](const auto ¬ification, const auto &context) { auto isBlockHeightOne=context.Height==Height(1);auto isNemesisPublicKey=notification.Signer==context.Network.PublicKey;return isBlockHeightOne||!isNemesisPublicKey ? ValidationResult::Success :Failure_Core_Nemesis_Account_Signed_After_Nemesis_Block;}) | |