diff options
| author | Pieter Wuille <[email protected]> | 2016-08-04 02:49:16 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-12-04 23:47:12 -0800 |
| commit | f6fb7acda4aefd01b8ef6cd77063bfc0c4f4ab36 (patch) | |
| tree | 311a5d4ee2b12057eb6cab17a0226f17cdc53eef /src/script/script.h | |
| parent | Merge #9014: Fix block-connection performance regression (diff) | |
| download | discoin-f6fb7acda4aefd01b8ef6cd77063bfc0c4f4ab36.tar.xz discoin-f6fb7acda4aefd01b8ef6cd77063bfc0c4f4ab36.zip | |
Move CTxInWitness inside CTxIn
Diffstat (limited to 'src/script/script.h')
| -rw-r--r-- | src/script/script.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/script.h b/src/script/script.h index 278774d32..76419c149 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -656,6 +656,8 @@ struct CScriptWitness bool IsNull() const { return stack.empty(); } + void SetNull() { stack.clear(); stack.shrink_to_fit(); } + std::string ToString() const; }; |