5 #ifndef BITCOIN_CORE_IO_H
6 #define BITCOIN_CORE_IO_H
Serialized script, used inside transaction inputs and outputs.
The basic transaction that is broadcasted on the network and contained in blocks.
CScript ParseScript(const std::string &s)
std::string FormatScript(const CScript &script)
void ScriptPubKeyToUniv(const CScript &scriptPubKey, UniValue &out, bool fIncludeHex)
std::vector< unsigned char > ParseHexUV(const UniValue &v, const std::string &strName)
bool DecodeHexBlk(CBlock &, const std::string &strHexBlk)
std::string ScriptToAsmStr(const CScript &script, const bool fAttemptSighashDecode=false)
Create the assembly string representation of a CScript object.
std::string EncodeHexTx(const CTransaction &tx, const int serializeFlags=0)
bool DecodeHexTx(CMutableTransaction &tx, const std::string &strHexTx, bool fTryNoWitness=false)
uint256 ParseHashStr(const std::string &, const std::string &strName)
uint256 ParseHashUV(const UniValue &v, const std::string &strName)
void TxToUniv(const CTransaction &tx, const uint256 &hashBlock, UniValue &entry)
A mutable version of CTransaction.