fuzz: [refactor] Extract ALL_CONNECTION_TYPES constant

This commit is contained in:
MarcoFalke
2020-12-28 21:31:33 +01:00
parent fa42da2d54
commit faaef9434c
2 changed files with 11 additions and 1 deletions

View File

@@ -30,4 +30,13 @@ struct ConnmanTestMsg : public CConnman {
bool ReceiveMsgFrom(CNode& node, CSerializedNetMsg& ser_msg) const;
};
constexpr ConnectionType ALL_CONNECTION_TYPES[]{
ConnectionType::INBOUND,
ConnectionType::OUTBOUND_FULL_RELAY,
ConnectionType::MANUAL,
ConnectionType::FEELER,
ConnectionType::BLOCK_RELAY,
ConnectionType::ADDR_FETCH,
};
#endif // BITCOIN_TEST_UTIL_NET_H