mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-01 06:52:35 +02:00
Merge pull request #2169 from Diapolo/small_main_h_cleanup
small main.h cleanup (no code changes)
This commit is contained in:
commit
e0c8fbac35
@ -548,13 +548,11 @@ public:
|
|||||||
/** Check for standard transaction types
|
/** Check for standard transaction types
|
||||||
@param[in] mapInputs Map of previous transactions that have outputs we're spending
|
@param[in] mapInputs Map of previous transactions that have outputs we're spending
|
||||||
@return True if all inputs (scriptSigs) use only standard transaction forms
|
@return True if all inputs (scriptSigs) use only standard transaction forms
|
||||||
@see CTransaction::FetchInputs
|
|
||||||
*/
|
*/
|
||||||
bool AreInputsStandard(CCoinsViewCache& mapInputs) const;
|
bool AreInputsStandard(CCoinsViewCache& mapInputs) const;
|
||||||
|
|
||||||
/** Count ECDSA signature operations the old-fashioned (pre-0.6) way
|
/** Count ECDSA signature operations the old-fashioned (pre-0.6) way
|
||||||
@return number of sigops this transaction's outputs will produce when spent
|
@return number of sigops this transaction's outputs will produce when spent
|
||||||
@see CTransaction::FetchInputs
|
|
||||||
*/
|
*/
|
||||||
unsigned int GetLegacySigOpCount() const;
|
unsigned int GetLegacySigOpCount() const;
|
||||||
|
|
||||||
@ -562,7 +560,6 @@ public:
|
|||||||
|
|
||||||
@param[in] mapInputs Map of previous transactions that have outputs we're spending
|
@param[in] mapInputs Map of previous transactions that have outputs we're spending
|
||||||
@return maximum number of sigops required to validate this transaction's inputs
|
@return maximum number of sigops required to validate this transaction's inputs
|
||||||
@see CTransaction::FetchInputs
|
|
||||||
*/
|
*/
|
||||||
unsigned int GetP2SHSigOpCount(CCoinsViewCache& mapInputs) const;
|
unsigned int GetP2SHSigOpCount(CCoinsViewCache& mapInputs) const;
|
||||||
|
|
||||||
@ -587,7 +584,6 @@ public:
|
|||||||
|
|
||||||
@param[in] mapInputs Map of previous transactions that have outputs we're spending
|
@param[in] mapInputs Map of previous transactions that have outputs we're spending
|
||||||
@return Sum of value of all inputs (scriptSigs)
|
@return Sum of value of all inputs (scriptSigs)
|
||||||
@see CTransaction::FetchInputs
|
|
||||||
*/
|
*/
|
||||||
int64 GetValueIn(CCoinsViewCache& mapInputs) const;
|
int64 GetValueIn(CCoinsViewCache& mapInputs) const;
|
||||||
|
|
||||||
@ -818,7 +814,6 @@ public:
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** pruned version of CTransaction: only retains metadata and unspent transaction outputs
|
/** pruned version of CTransaction: only retains metadata and unspent transaction outputs
|
||||||
@ -1279,7 +1274,6 @@ public:
|
|||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool WriteToDisk(CDiskBlockPos &pos)
|
bool WriteToDisk(CDiskBlockPos &pos)
|
||||||
{
|
{
|
||||||
// Open history file to append
|
// Open history file to append
|
||||||
|
Loading…
Reference in New Issue
Block a user