|
@ -668,6 +668,8 @@ bytes Host::saveNetwork() const |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!!m_nodeTable) |
|
|
|
|
|
{ |
|
|
auto state = m_nodeTable->snapshot(); |
|
|
auto state = m_nodeTable->snapshot(); |
|
|
state.sort(); |
|
|
state.sort(); |
|
|
for (auto const& s: state) |
|
|
for (auto const& s: state) |
|
@ -680,6 +682,7 @@ bytes Host::saveNetwork() const |
|
|
network << s.endpoint.tcp.port() << s.id; |
|
|
network << s.endpoint.tcp.port() << s.id; |
|
|
count++; |
|
|
count++; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
RLPStream ret(3); |
|
|
RLPStream ret(3); |
|
|
ret << 1 << m_alias.secret(); |
|
|
ret << 1 << m_alias.secret(); |
|
|