File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -528,11 +528,6 @@ class CNode
528
528
*/
529
529
Network ConnectedThroughNetwork () const ;
530
530
531
- protected:
532
- mapMsgCmdSize mapSendBytesPerMsgCmd GUARDED_BY (cs_vSend);
533
- mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY (cs_vRecv);
534
-
535
- public:
536
531
// We selected peer as (compact blocks) high-bandwidth peer (BIP152)
537
532
std::atomic<bool > m_bip152_highbandwidth_to{false };
538
533
// Peer selected us as (compact blocks) high-bandwidth peer (BIP152)
@@ -605,8 +600,6 @@ class CNode
605
600
CNode (const CNode&) = delete ;
606
601
CNode& operator =(const CNode&) = delete ;
607
602
608
- public:
609
-
610
603
NodeId GetId () const {
611
604
return id;
612
605
}
@@ -657,8 +650,6 @@ class CNode
657
650
nRefCount--;
658
651
}
659
652
660
-
661
-
662
653
void AddAddressKnown (const CAddress& _addr)
663
654
{
664
655
assert (m_addr_known);
@@ -690,7 +681,6 @@ class CNode
690
681
}
691
682
}
692
683
693
-
694
684
void AddKnownTx (const uint256& hash)
695
685
{
696
686
if (m_tx_relay != nullptr ) {
@@ -760,6 +750,9 @@ class CNode
760
750
761
751
// ! Whether this peer is an inbound onion, e.g. connected via our Tor onion service.
762
752
const bool m_inbound_onion{false };
753
+
754
+ mapMsgCmdSize mapSendBytesPerMsgCmd GUARDED_BY (cs_vSend);
755
+ mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY (cs_vRecv);
763
756
};
764
757
765
758
/* *
You can’t perform that action at this time.
0 commit comments