mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Large cluster optimizations. (#348)
* Added sync log to streamer. * Fixed ledger closing attempt while syncing. * Added diagnostic contract. * Reset to stage 0 on unreliable votes. * Reduced peer msg age threshold. * Added health tracking. * Weakly-connected detection improvement. * Increased version 0.5.1. * Improved client lib server version check. * Added health logging support to text client. * Added weakly connected status in status response. * Increased max peers limits when serializing. * Local docker cluster manual ip. * Updated vultr script vm region order. * Sync status reporting improvement. * Added milliseconds to logging.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "../util/merkle_hash_tree.hpp"
|
||||
#include "../ledger/ledger_query.hpp"
|
||||
#include "../usr/user_common.hpp"
|
||||
#include "../status.hpp"
|
||||
|
||||
namespace msg::usrmsg
|
||||
{
|
||||
@@ -37,6 +38,8 @@ namespace msg::usrmsg
|
||||
|
||||
void create_sync_status_notification(std::vector<uint8_t> &msg, const bool in_sync) const;
|
||||
|
||||
void create_health_notification(std::vector<uint8_t> &msg, const status::health_event &ev) const;
|
||||
|
||||
void create_ledger_query_response(std::vector<uint8_t> &msg, std::string_view reply_for,
|
||||
const ledger::query::query_result &result) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user