mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 5241b8bdff into merged_master (Bitcoin PR bitcoin/bitcoin#27368)
This commit is contained in:
commit
d45c7cba9b
1 changed files with 0 additions and 3 deletions
|
|
@ -2443,8 +2443,6 @@ arith_uint256 PeerManagerImpl::GetAntiDoSWorkThreshold()
|
|||
void PeerManagerImpl::HandleFewUnconnectingHeaders(CNode& pfrom, Peer& peer,
|
||||
const std::vector<CBlockHeader>& headers)
|
||||
{
|
||||
const CNetMsgMaker msgMaker(pfrom.GetCommonVersion());
|
||||
|
||||
LOCK(cs_main);
|
||||
CNodeState *nodestate = State(pfrom.GetId());
|
||||
|
||||
|
|
@ -5004,7 +5002,6 @@ void PeerManagerImpl::ConsiderEviction(CNode& pto, Peer& peer, std::chrono::seco
|
|||
AssertLockHeld(cs_main);
|
||||
|
||||
CNodeState &state = *State(pto.GetId());
|
||||
const CNetMsgMaker msgMaker(pto.GetCommonVersion());
|
||||
|
||||
if (!state.m_chain_sync.m_protect && pto.IsOutboundOrBlockRelayConn() && state.fSyncStarted) {
|
||||
// This is an outbound peer subject to disconnection if they don't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue