Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 490 Lines • ▼ Show 20 Lines | CInputCoin(const CWalletTx *walletTx, unsigned int i) { | ||||
} | } | ||||
outpoint = COutPoint(walletTx->GetId(), i); | outpoint = COutPoint(walletTx->GetId(), i); | ||||
txout = walletTx->tx->vout[i]; | txout = walletTx->tx->vout[i]; | ||||
} | } | ||||
COutPoint outpoint; | COutPoint outpoint; | ||||
CTxOut txout; | CTxOut txout; | ||||
Amount effective_value; | |||||
Amount fee = Amount::zero(); | |||||
Amount long_term_fee = Amount::zero(); | |||||
bool operator<(const CInputCoin &rhs) const { | bool operator<(const CInputCoin &rhs) const { | ||||
return outpoint < rhs.outpoint; | return outpoint < rhs.outpoint; | ||||
} | } | ||||
bool operator!=(const CInputCoin &rhs) const { | bool operator!=(const CInputCoin &rhs) const { | ||||
return outpoint != rhs.outpoint; | return outpoint != rhs.outpoint; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 886 Lines • Show Last 20 Lines |