Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Stellar-overlay.x
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -292,6 +294,11 @@ struct FloodDemand
TxDemandVector txHashes;
};

struct HaveTxSet
{
Hash txSetHash;
};

union StellarMessage switch (MessageType type)
{
case ERROR_MSG:
Expand Down Expand Up @@ -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)
Expand Down
Loading