Changeset View
Changeset View
Standalone View
Standalone View
src/primitives/transaction.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core 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 <primitives/transaction.h> | #include <primitives/transaction.h> | ||||
#include <consensus/amount.h> | |||||
#include <hash.h> | #include <hash.h> | ||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <cassert> | #include <cassert> | ||||
std::string COutPoint::ToString() const { | std::string COutPoint::ToString() const { | ||||
return strprintf("COutPoint(%s, %u)", txid.ToString().substr(0, 10), n); | return strprintf("COutPoint(%s, %u)", txid.ToString().substr(0, 10), n); | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |