Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
const uint256 CMerkleTx::ABANDON_HASH(uint256S( | const uint256 CMerkleTx::ABANDON_HASH(uint256S( | ||||
"0000000000000000000000000000000000000000000000000000000000000001")); | "0000000000000000000000000000000000000000000000000000000000000001")); | ||||
/** @defgroup mapWallet | /** @defgroup mapWallet | ||||
* | * | ||||
* @{ | * @{ | ||||
*/ | */ | ||||
struct CompareValueOnly { | |||||
bool operator()(const CInputCoin &t1, const CInputCoin &t2) const { | |||||
return t1.txout.nValue < t2.txout.nValue; | |||||
} | |||||
}; | |||||
std::string COutput::ToString() const { | std::string COutput::ToString() const { | ||||
return strprintf("COutput(%s, %d, %d) [%s]", tx->GetId().ToString(), i, | return strprintf("COutput(%s, %d, %d) [%s]", tx->GetId().ToString(), i, | ||||
nDepth, FormatMoney(tx->tx->vout[i].nValue)); | nDepth, FormatMoney(tx->tx->vout[i].nValue)); | ||||
} | } | ||||
class CAffectedKeysVisitor : public boost::static_visitor<void> { | class CAffectedKeysVisitor : public boost::static_visitor<void> { | ||||
private: | private: | ||||
const CKeyStore &keystore; | const CKeyStore &keystore; | ||||
▲ Show 20 Lines • Show All 4,417 Lines • Show Last 20 Lines |