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 "hash.h" | #include <hash.h> | ||||
#include "tinyformat.h" | #include <tinyformat.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
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); | ||||
} | } | ||||
std::string CTxIn::ToString() const { | std::string CTxIn::ToString() const { | ||||
std::string str; | std::string str; | ||||
str += "CTxIn("; | str += "CTxIn("; | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |