aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-05-19 17:48:36 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-05-20 08:27:07 -0400
commitfa8bbb1368be0f3fd9cc4446aead3f4c2188a4ab (patch)
tree20ad6c47295b11373a2b927577eb2512477d2bc7 /src/protocol.cpp
parent448bdff26307981b7e32ba5610dad6674c1fe46d (diff)
net: Use C++11 member initialization in protocol
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 25851e786c..e929cff110 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -147,24 +147,6 @@ void SetServiceFlagsIBDCache(bool state) {
g_initial_block_download_completed = state;
}
-
-CAddress::CAddress() : CService()
-{
- Init();
-}
-
-CAddress::CAddress(CService ipIn, ServiceFlags nServicesIn) : CService(ipIn)
-{
- Init();
- nServices = nServicesIn;
-}
-
-void CAddress::Init()
-{
- nServices = NODE_NONE;
- nTime = 100000000;
-}
-
CInv::CInv()
{
type = 0;