Skip to content

Commit

Permalink
Trivial whitespace changes to Stellar-overlay.x to sync with curr (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon authored Oct 28, 2022
1 parent 161e2e5 commit 48d5e17
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Stellar-overlay.x
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ struct Hello
uint256 nonce;
};


// During the roll-out phrase, pull mode will be optional.
// Therefore, we need a way to communicate with other nodes
// that we want/don't want pull mode.
Expand Down Expand Up @@ -189,6 +190,12 @@ struct TopologyResponseBody
uint32 totalOutboundPeerCount;
};

union SurveyResponseBody switch (SurveyMessageCommandType type)
{
case SURVEY_TOPOLOGY:
TopologyResponseBody topologyResponseBody;
};

const TX_ADVERT_VECTOR_MAX_SIZE = 1000;
typedef Hash TxAdvertVector<TX_ADVERT_VECTOR_MAX_SIZE>;

Expand All @@ -205,12 +212,6 @@ struct FloodDemand
TxDemandVector txHashes;
};

union SurveyResponseBody switch (SurveyMessageCommandType type)
{
case SURVEY_TOPOLOGY:
TopologyResponseBody topologyResponseBody;
};

union StellarMessage switch (MessageType type)
{
case ERROR_MSG:
Expand Down Expand Up @@ -256,9 +257,9 @@ case SEND_MORE:

// Pull mode
case FLOOD_ADVERT:
FloodAdvert floodAdvert;
FloodAdvert floodAdvert;
case FLOOD_DEMAND:
FloodDemand floodDemand;
FloodDemand floodDemand;
};

union AuthenticatedMessage switch (uint32 v)
Expand Down

0 comments on commit 48d5e17

Please sign in to comment.