CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::observers | |
Functions | |
catapult::observers::DEFINE_OBSERVER (TotalTransactions, model::BlockNotification, [](const auto ¬ification, const ObserverContext &context) { if(NotifyMode::Commit==context.Mode) context.State.NumTotalTransactions+=notification.NumTransactions;else context.State.NumTotalTransactions -=notification.NumTransactions;}) | |