mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Make it clear which functions that are intended to be translation unit local
Do not share functions that are meant to be translation unit local with other translation units. Use internal linkage for those consistently.
This commit is contained in:
@@ -88,7 +88,7 @@ CScript ParseScript(const std::string& s)
|
||||
}
|
||||
|
||||
// Check that all of the input and output scripts of a transaction contains valid opcodes
|
||||
bool CheckTxScriptsSanity(const CMutableTransaction& tx)
|
||||
static bool CheckTxScriptsSanity(const CMutableTransaction& tx)
|
||||
{
|
||||
// Check input scripts for non-coinbase txs
|
||||
if (!CTransaction(tx).IsCoinBase()) {
|
||||
|
||||
Reference in New Issue
Block a user