X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Faddrman.h;h=aa42025c07fc2055d6ce88dcda654d2823a1f1dc;hp=160f8f8ff31b86b4e64c056d8f032900ec19b30c;hb=e10622d1297e638109bbf58c35ad008f7acbae7c;hpb=ed6d0b5f852dc5f1c9407abecb5a9c6a7e42b4b2 diff --git a/src/addrman.h b/src/addrman.h index 160f8f8..aa42025 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -1,11 +1,12 @@ // Copyright (c) 2012 Pieter Wuille // Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef _BITCOIN_ADDRMAN #define _BITCOIN_ADDRMAN 1 #include "netbase.h" #include "protocol.h" +#include "util.h" #include @@ -61,7 +62,7 @@ public: nRandomPos = -1; } - CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn) + CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn), source(addrSource) { Init(); }