aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-05-30 10:23:21 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-21 06:40:33 -0400
commitfa95a694c492b267e4038674fd3f338dd215ab48 (patch)
tree5e4e4dbb1c6cdbb9760a6b2816cb4398a7532241 /src/script/standard.h
parentfa58469c770d8c935a86462634e4e8cd806aa6e3 (diff)
doc: Update outdated txnouttype documentation
Also, remove scope of txnouttype in fuzz tests temporarily. The next commit will add scopes to all txnouttype.
Diffstat (limited to 'src/script/standard.h')
-rw-r--r--src/script/standard.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/script/standard.h b/src/script/standard.h
index 4baed6da6e..1dbae9d568 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -116,8 +116,7 @@ extern unsigned nMaxDatacarrierBytes;
*/
static const unsigned int MANDATORY_SCRIPT_VERIFY_FLAGS = SCRIPT_VERIFY_P2SH;
-enum txnouttype
-{
+enum txnouttype {
TX_NONSTANDARD,
// 'standard' transaction types:
TX_PUBKEY,
@@ -212,7 +211,7 @@ typedef boost::variant<CNoDestination, PKHash, ScriptHash, WitnessV0ScriptHash,
/** Check whether a CTxDestination is a CNoDestination. */
bool IsValidDestination(const CTxDestination& dest);
-/** Get the name of a txnouttype as a C string, or nullptr if unknown. */
+/** Get the name of a txnouttype as a string */
std::string GetTxnOutputType(txnouttype t);
/**