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
commit 3eef33d8b3
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -54,8 +54,6 @@ namespace nodetool
s << std::hex << peer_id;
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)
{