From f874506b357421eab455e84640fd1683e9e9d330 Mon Sep 17 00:00:00 2001 From: Brett Boston Date: Fri, 12 Jun 2026 14:25:08 -0700 Subject: [PATCH] Add HAVE_TX_SET stellar-core overlay message Adds a new message type to allow stellar-core nodes to communicate that they possess a given transaction set --- Stellar-overlay.x | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Stellar-overlay.x b/Stellar-overlay.x index 1eda1fc..bfd32d2 100644 --- a/Stellar-overlay.x +++ b/Stellar-overlay.x @@ -124,7 +124,9 @@ enum MessageType TIME_SLICED_SURVEY_REQUEST = 21, TIME_SLICED_SURVEY_RESPONSE = 22, TIME_SLICED_SURVEY_START_COLLECTING = 23, - TIME_SLICED_SURVEY_STOP_COLLECTING = 24 + TIME_SLICED_SURVEY_STOP_COLLECTING = 24, + + HAVE_TX_SET = 25 }; struct DontHave @@ -292,6 +294,11 @@ struct FloodDemand TxDemandVector txHashes; }; +struct HaveTxSet +{ + Hash txSetHash; +}; + union StellarMessage switch (MessageType type) { case ERROR_MSG: @@ -347,6 +354,8 @@ case FLOOD_ADVERT: FloodAdvert floodAdvert; case FLOOD_DEMAND: FloodDemand floodDemand; +case HAVE_TX_SET: + HaveTxSet haveTxSet; }; union AuthenticatedMessage switch (uint32 v)