mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
@@ -186,4 +186,20 @@ SubscriptionManager::pubTransaction(data::TransactionAndMetadata const& txMeta,
|
||||
transactionFeed_.pub(txMeta, lgrInfo, backend_);
|
||||
}
|
||||
|
||||
boost::json::object
|
||||
SubscriptionManager::report() const
|
||||
{
|
||||
return {
|
||||
{"ledger", ledgerFeed_.count()},
|
||||
{"transactions", transactionFeed_.transactionSubCount()},
|
||||
{"transactions_proposed", proposedTransactionFeed_.transactionSubcount()},
|
||||
{"manifests", manifestFeed_.count()},
|
||||
{"validations", validationsFeed_.count()},
|
||||
{"account", transactionFeed_.accountSubCount()},
|
||||
{"accounts_proposed", proposedTransactionFeed_.accountSubCount()},
|
||||
{"books", transactionFeed_.bookSubCount()},
|
||||
{"book_changes", bookChangesFeed_.count()},
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace feed
|
||||
|
||||
Reference in New Issue
Block a user