Return true if so far all input was valid. */
| 367 | |
| 368 | /** Return true if so far all input was valid. */ |
| 369 | bool IsValid() const { return m_valid; } |
| 370 | /** Return whether there were either no leaves, or the leaves form a Huffman tree. */ |
| 371 | bool IsComplete() const { return m_valid && (m_branch.size() == 0 || (m_branch.size() == 1 && m_branch[0].has_value())); } |
| 372 | /** Compute scriptPubKey (after Finalize()). */ |
no outgoing calls