![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
CScript | ParseScript (const std::string &s) |
std::string | ScriptToAsmStr (const CScript &script, const bool fAttemptSighashDecode=false) |
bool | DecodeHexTx (CTransaction &tx, const std::string &strHexTx) |
bool | DecodeHexBlk (CBlock &, const std::string &strHexBlk) |
uint256 | ParseHashUV (const UniValue &v, const std::string &strName) |
uint256 | ParseHashStr (const std::string &, const std::string &strName) |
std::vector< unsigned char > | ParseHexUV (const UniValue &v, const std::string &strName) |
std::string | FormatScript (const CScript &script) |
std::string | EncodeHexTx (const CTransaction &tx) |
void | ScriptPubKeyToUniv (const CScript &scriptPubKey, UniValue &out, bool fIncludeHex) |
void | TxToUniv (const CTransaction &tx, const uint256 &hashBlock, UniValue &entry) |
bool DecodeHexBlk | ( | CBlock & | , |
const std::string & | strHexBlk | ||
) |
Definition at line 110 of file core_read.cpp.
Referenced by getblocktemplate(), and submitblock().
bool DecodeHexTx | ( | CTransaction & | tx, |
const std::string & | strHexTx | ||
) |
Definition at line 93 of file core_read.cpp.
Referenced by CommandLineRawTx(), decoderawtransaction(), fundrawtransaction(), and sendrawtransaction().
std::string EncodeHexTx | ( | const CTransaction & | tx | ) |
Definition at line 119 of file core_write.cpp.
Referenced by createrawtransaction(), fundrawtransaction(), getblocktemplate(), getrawtransaction(), gettransaction(), TransactionTablePriv::getTxHex(), OutputTxHex(), signrawtransaction(), and TxToUniv().
std::string FormatScript | ( | const CScript & | script | ) |
Definition at line 23 of file core_write.cpp.
uint256 ParseHashStr | ( | const std::string & | , |
const std::string & | strName | ||
) |
Definition at line 135 of file core_read.cpp.
Referenced by ParseHashUV(), and prioritisetransaction().
Referenced by MutateTxSign(), and ParseHashUO().
std::vector<unsigned char> ParseHexUV | ( | const UniValue & | v, |
const std::string & | strName | ||
) |
Referenced by MutateTxSign(), and ParseHexUO().
CScript ParseScript | ( | const std::string & | s | ) |
Definition at line 25 of file core_read.cpp.
Referenced by MutateTxAddOutScript().
Definition at line 126 of file core_write.cpp.
Referenced by TxToUniv().
std::string ScriptToAsmStr | ( | const CScript & | script, |
const bool | fAttemptSighashDecode | ||
) |
Create the assembly string representation of a CScript object.
[in] | script | CScript object to convert into the asm string representation. |
[in] | fAttemptSighashDecode | Whether to attempt to decode sighash types on data within the script that matches the format of a signature. Only pass true for scripts you believe could contain signatures. For example, pass false, or omit the this argument (defaults to false), for scriptPubKeys. |
Definition at line 75 of file core_write.cpp.
Referenced by CPrivateSendServer::AddScriptSig(), CMasternodePaymentVote::CheckSignature(), CGovernanceObject::IsCollateralValid(), CPrivateSendServer::IsInputScriptSigValid(), MutateTxSign(), CPrivateSendServer::ProcessMessage(), ScriptPubKeyToJSON(), ScriptPubKeyToUniv(), CMasternodePaymentVote::Sign(), CPrivateSendClient::SignFinalTransaction(), signrawtransaction(), CMasternodePaymentVote::ToString(), TxToJSON(), and TxToUniv().
void TxToUniv | ( | const CTransaction & | tx, |
const uint256 & | hashBlock, | ||
UniValue & | entry | ||
) |
Definition at line 151 of file core_write.cpp.
Referenced by OutputTxJSON().