Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/uritests.cpp
// Copyright (c) 2009-2014 The Bitcoin Core developers | // Copyright (c) 2009-2014 The Bitcoin Core developers | ||||
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "uritests.h" | #include <qt/test/uritests.h> | ||||
#include "chainparams.h" | #include <chainparams.h> | ||||
#include "config.h" | #include <config.h> | ||||
#include "guiutil.h" | #include <qt/guiutil.h> | ||||
#include "walletmodel.h" | #include <qt/walletmodel.h> | ||||
#include <QUrl> | #include <QUrl> | ||||
void URITests::uriTestsBase58() { | void URITests::uriTestsBase58() { | ||||
const auto params = CreateChainParams(CBaseChainParams::MAIN); | const auto params = CreateChainParams(CBaseChainParams::MAIN); | ||||
SendCoinsRecipient rv; | SendCoinsRecipient rv; | ||||
QString scheme = QString::fromStdString(params->CashAddrPrefix()); | QString scheme = QString::fromStdString(params->CashAddrPrefix()); | ||||
▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines |