Changeset View
Changeset View
Standalone View
Standalone View
src/address.cpp
- This file was added.
// Copyright (c) 2018 The Bitcoin developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
#include "address.h" | |||||
CAddress::CAddress() : CService() { | |||||
Init(); | |||||
} | |||||
CAddress::CAddress(CService ipIn, ServiceFlags nServicesIn) : CService(ipIn) { | |||||
Init(); | |||||
nServices = nServicesIn; | |||||
} | |||||
void CAddress::Init() { | |||||
nServices = NODE_NONE; | |||||
nTime = 100000000; | |||||
} |