BIP155 (addrv2)
Tor v3 + i2p
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "test/test_bitcoin.h"
|
||||
#include "uint256.h"
|
||||
#include "util.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "key_io.h"
|
||||
#include "uint256.h"
|
||||
#include "util.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "streams.h"
|
||||
#include "uint256.h"
|
||||
#include "util.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "random.h"
|
||||
#include "script/standard.h"
|
||||
#include "uint256.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
#include "consensus/validation.h"
|
||||
#include "main.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#include <utilstrencodings.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <test/test_bitcoin.h>
|
||||
#include <zcash/NoteEncryption.hpp>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "crypto/hmac_sha256.h"
|
||||
#include "crypto/hmac_sha512.h"
|
||||
#include "random.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#include "hash.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "script/script.h"
|
||||
#include "uint256.h"
|
||||
#include "util.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
#include "zcash/Address.hpp"
|
||||
#include <string>
|
||||
|
||||
@@ -121,17 +121,6 @@ BOOST_AUTO_TEST_CASE(netbase_lookupnumeric)
|
||||
BOOST_CHECK(TestParse(":::", ""));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(onioncat_test)
|
||||
{
|
||||
// values from https://web.archive.org/web/20121122003543/http://www.cypherpunk.at/onioncat/wiki/OnionCat
|
||||
CNetAddr addr1("5wyqrzbvrdsumnok.onion");
|
||||
CNetAddr addr2("FD87:D87E:EB43:edb1:8e4:3588:e546:35ca");
|
||||
BOOST_CHECK(addr1 == addr2);
|
||||
BOOST_CHECK(addr1.IsTor());
|
||||
BOOST_CHECK(addr1.ToStringIP() == "5wyqrzbvrdsumnok.onion");
|
||||
BOOST_CHECK(addr1.IsRoutable());
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(subnet_test)
|
||||
{
|
||||
BOOST_CHECK(CSubNet("1.2.3.0/24") == CSubNet("1.2.3.0/255.255.255.0"));
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "rpc/client.h"
|
||||
#include "key_io.h"
|
||||
#include "netbase.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "streams.h"
|
||||
#include "hash.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
|
||||
#include <array>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "primitives/transaction.h"
|
||||
#include "random.h"
|
||||
#include "sync.h"
|
||||
#include "utilstrencodings.h"
|
||||
#include "util/strencodings.h"
|
||||
#include "utilmoneystr.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user