mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-01 01:10:30 +02:00
[net processing] Move IgnoresIncomingTxs to PeerManagerInfo
This commit is contained in:
@@ -679,7 +679,7 @@ static RPCHelpMan getnetworkinfo()
|
||||
}
|
||||
if (node.peerman) {
|
||||
auto peerman_info{node.peerman->GetInfo()};
|
||||
obj.pushKV("localrelay", !node.peerman->IgnoresIncomingTxs());
|
||||
obj.pushKV("localrelay", !peerman_info.ignores_incoming_txs);
|
||||
obj.pushKV("timeoffset", Ticks<std::chrono::seconds>(peerman_info.median_outbound_time_offset));
|
||||
}
|
||||
if (node.connman) {
|
||||
|
||||
Reference in New Issue
Block a user