Merge pull request #10188

acda1d4 p2p: unpack memory layout of peerlist entries (jeffro256)
This commit is contained in:
tobtoht
2025-11-26 18:21:57 +00:00

View File

@@ -55,8 +55,6 @@ namespace nodetool
return epee::string_tools::pad_string(s.str(), 16, '0', true);
}
#pragma pack (push, 1)
template<typename AddressType>
struct peerlist_entry_base
{
@@ -108,8 +106,6 @@ namespace nodetool
};
typedef anchor_peerlist_entry_base<epee::net_utils::network_address> anchor_peerlist_entry;
#pragma pack(pop)
inline
std::string print_peerlist_to_string(const std::vector<peerlist_entry>& pl)
{