Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
Show First 20 Lines • Show All 5,136 Lines • ▼ Show 20 Lines | |||||
CKeyPool::CKeyPool(const CPubKey &vchPubKeyIn, bool internalIn) { | CKeyPool::CKeyPool(const CPubKey &vchPubKeyIn, bool internalIn) { | ||||
nTime = GetTime(); | nTime = GetTime(); | ||||
vchPubKey = vchPubKeyIn; | vchPubKey = vchPubKeyIn; | ||||
fInternal = internalIn; | fInternal = internalIn; | ||||
m_pre_split = false; | m_pre_split = false; | ||||
} | } | ||||
CWalletKey::CWalletKey(int64_t nExpires) { | |||||
nTimeCreated = (nExpires ? GetTime() : 0); | |||||
nTimeExpires = nExpires; | |||||
} | |||||
void CMerkleTx::SetMerkleBranch(const BlockHash &block_hash, int posInBlock) { | void CMerkleTx::SetMerkleBranch(const BlockHash &block_hash, int posInBlock) { | ||||
// Update the tx's hashBlock | // Update the tx's hashBlock | ||||
hashBlock = block_hash; | hashBlock = block_hash; | ||||
// Set the position of the transaction in the block. | // Set the position of the transaction in the block. | ||||
nIndex = posInBlock; | nIndex = posInBlock; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 299 Lines • Show Last 20 Lines |