Files
bitcoin/src
Sebastian Falbesoner 0dbcd4c148 net: prevent sending messages in NetEventsInterface::InitializeNode
Now that the queueing of the VERSION messages has been moved out of
`InitializeNode`, there is no need to pass a mutable `CNode` reference any
more. With a const reference, trying to send messages in this method would
lead to a compile-time error, e.g.:

----------------------------------------------------------------------------------------------------------------------------------
...
net_processing.cpp: In member function ‘virtual void {anonymous}::PeerManagerImpl::InitializeNode(const CNode&, ServiceFlags)’:
net_processing.cpp:1683:21: error: binding reference of type ‘CNode&’ to ‘const CNode’ discards qualifiers
 1683 |     PushNodeVersion(node, *peer);
...
----------------------------------------------------------------------------------------------------------------------------------
2024-07-09 21:36:35 +02:00
..
2024-06-13 11:20:49 +01:00
2024-06-18 18:47:51 +02:00
2024-07-06 13:00:53 -04:00
2024-05-20 16:48:19 +00:00
2023-10-12 11:27:19 +02:00
2024-04-10 17:01:27 +02:00
2022-12-24 23:49:50 +00:00
2024-06-13 11:20:49 +01:00
2024-03-04 19:53:30 -05:00
2023-12-11 18:22:13 +01:00
2024-03-26 16:51:46 +00:00
2023-11-16 11:36:22 +10:00
2023-09-13 11:37:45 +01:00
2024-05-20 16:48:19 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2024-05-14 10:24:31 +02:00
2024-05-14 10:24:31 +02:00
2024-06-21 09:42:32 +01:00
2023-01-12 13:42:44 +00:00
2024-04-01 14:37:24 -04:00
2024-04-01 14:37:24 -04:00
2023-11-16 11:36:22 +10:00