Changeset View
Changeset View
Standalone View
Standalone View
src/net.cpp
Show First 20 Lines • Show All 547 Lines • ▼ Show 20 Lines | if (m_tx_relay != nullptr) { | ||||
LOCK(m_tx_relay->cs_filter); | LOCK(m_tx_relay->cs_filter); | ||||
stats.fRelayTxes = m_tx_relay->fRelayTxes; | stats.fRelayTxes = m_tx_relay->fRelayTxes; | ||||
} else { | } else { | ||||
stats.fRelayTxes = false; | stats.fRelayTxes = false; | ||||
} | } | ||||
stats.nLastSend = nLastSend; | stats.nLastSend = nLastSend; | ||||
stats.nLastRecv = nLastRecv; | stats.nLastRecv = nLastRecv; | ||||
stats.nLastTXTime = nLastTXTime; | stats.nLastTXTime = nLastTXTime; | ||||
stats.nLastProofTime = nLastProofTime; | |||||
stats.nLastBlockTime = nLastBlockTime; | stats.nLastBlockTime = nLastBlockTime; | ||||
stats.nTimeConnected = nTimeConnected; | stats.nTimeConnected = nTimeConnected; | ||||
stats.nTimeOffset = nTimeOffset; | stats.nTimeOffset = nTimeOffset; | ||||
stats.addrName = GetAddrName(); | stats.addrName = GetAddrName(); | ||||
stats.nVersion = nVersion; | stats.nVersion = nVersion; | ||||
{ | { | ||||
LOCK(cs_SubVer); | LOCK(cs_SubVer); | ||||
stats.cleanSubVer = cleanSubVer; | stats.cleanSubVer = cleanSubVer; | ||||
▲ Show 20 Lines • Show All 2,648 Lines • Show Last 20 Lines |