File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,6 @@ int main(int argc, char* argv[])
94
94
SL (nodetool::anchor_peerlist_entry);
95
95
SL (nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>>);
96
96
SL (nodetool::p2p_connection_context_t <cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::connection_context>);
97
- SL (nodetool::network_address_old);
98
- SL (nodetool::peerlist_entry_base<nodetool::network_address_old>);
99
97
100
98
SL (nodetool::network_config);
101
99
SL (nodetool::basic_node_data);
Original file line number Diff line number Diff line change @@ -57,17 +57,6 @@ namespace nodetool
57
57
58
58
#pragma pack (push, 1)
59
59
60
- struct network_address_old
61
- {
62
- uint32_t ip;
63
- uint32_t port;
64
-
65
- BEGIN_KV_SERIALIZE_MAP ()
66
- KV_SERIALIZE (ip)
67
- KV_SERIALIZE (port)
68
- END_KV_SERIALIZE_MAP ()
69
- };
70
-
71
60
template <typename AddressType>
72
61
struct peerlist_entry_base
73
62
{
@@ -119,27 +108,6 @@ namespace nodetool
119
108
};
120
109
typedef anchor_peerlist_entry_base<epee::net_utils::network_address> anchor_peerlist_entry;
121
110
122
- template <typename AddressType>
123
- struct connection_entry_base
124
- {
125
- AddressType adr;
126
- peerid_type id;
127
- bool is_income;
128
-
129
- BEGIN_KV_SERIALIZE_MAP ()
130
- KV_SERIALIZE (adr)
131
- KV_SERIALIZE (id)
132
- KV_SERIALIZE (is_income)
133
- END_KV_SERIALIZE_MAP ()
134
-
135
- BEGIN_SERIALIZE ()
136
- FIELD (adr)
137
- FIELD (id)
138
- FIELD (is_income)
139
- END_SERIALIZE ()
140
- };
141
- typedef connection_entry_base<epee::net_utils::network_address> connection_entry;
142
-
143
111
#pragma pack(pop)
144
112
145
113
inline
You can’t perform that action at this time.
0 commit comments