mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge #9244: Trivial refactor: Remove extern keyword from function declarations
446a8f9 Trivial refactor: Remove extern keyword from function declarations, as they are extern by default. (Karl-Johan Alm)
This commit is contained in:
commit
72ae6f8cf0
@ -15,18 +15,18 @@ class uint256;
|
|||||||
class UniValue;
|
class UniValue;
|
||||||
|
|
||||||
// core_read.cpp
|
// core_read.cpp
|
||||||
extern CScript ParseScript(const std::string& s);
|
CScript ParseScript(const std::string& s);
|
||||||
extern std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false);
|
std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false);
|
||||||
extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false);
|
bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false);
|
||||||
extern bool DecodeHexBlk(CBlock&, const std::string& strHexBlk);
|
bool DecodeHexBlk(CBlock&, const std::string& strHexBlk);
|
||||||
extern uint256 ParseHashUV(const UniValue& v, const std::string& strName);
|
uint256 ParseHashUV(const UniValue& v, const std::string& strName);
|
||||||
extern uint256 ParseHashStr(const std::string&, const std::string& strName);
|
uint256 ParseHashStr(const std::string&, const std::string& strName);
|
||||||
extern std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);
|
std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);
|
||||||
|
|
||||||
// core_write.cpp
|
// core_write.cpp
|
||||||
extern std::string FormatScript(const CScript& script);
|
std::string FormatScript(const CScript& script);
|
||||||
extern std::string EncodeHexTx(const CTransaction& tx);
|
std::string EncodeHexTx(const CTransaction& tx);
|
||||||
extern void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex);
|
void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex);
|
||||||
extern void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry);
|
void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry);
|
||||||
|
|
||||||
#endif // BITCOIN_CORE_IO_H
|
#endif // BITCOIN_CORE_IO_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user