|
| | CScript ()=default |
| template<std::input_iterator InputIterator> |
| | CScript (InputIterator first, InputIterator last) |
| | SERIALIZE_METHODS (CScript, obj) |
| | CScript (int64_t b) |
| | CScript (opcodetype b) |
| | CScript (const CScriptNum &b) |
| | CScript (const std::vector< unsigned char > &b)=delete |
| CScript & | operator<< (const CScript &b)=delete |
| | Delete non-existent operator to defend against future introduction.
|
| CScript & | operator<< (int64_t b) LIFETIMEBOUND |
| CScript & | operator<< (opcodetype opcode) LIFETIMEBOUND |
| CScript & | operator<< (const CScriptNum &b) LIFETIMEBOUND |
| CScript & | operator<< (std::span< const std::byte > b) LIFETIMEBOUND |
| CScript & | operator<< (std::span< const value_type > b) LIFETIMEBOUND |
| bool | GetOp (const_iterator &pc, opcodetype &opcodeRet, std::vector< unsigned char > &vchRet) const |
| bool | GetOp (const_iterator &pc, opcodetype &opcodeRet) const |
| unsigned int | GetSigOpCount (bool fAccurate) const |
| | Pre-version-0.6, Bitcoin always counted CHECKMULTISIGs as 20 sigops.
|
| unsigned int | GetSigOpCount (const CScript &scriptSig) const |
| | Accurately count sigOps, including sigOps in pay-to-script-hash transactions:
|
| bool | IsPayToAnchor () const |
| bool | IsPayToScriptHash () const |
| bool | IsPayToWitnessScriptHash () const |
| bool | IsWitnessProgram (int &version, std::vector< unsigned char > &program) const |
| bool | IsPayToTaproot () const |
| bool | IsPushOnly (const_iterator pc) const |
| | Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus-critical).
|
| bool | IsPushOnly () const |
| bool | HasValidOps () const |
| | Check if the script contains valid OP_CODES.
|
| bool | IsUnspendable () const |
| | Returns whether the script is guaranteed to fail at execution, regardless of the initial stack.
|
| void | clear () |
| void | assign (size_type n, const uint8_t &val) |
| void | assign (InputIterator first, InputIterator last) |
| | prevector ()=default |
| | prevector (size_type n) |
| | prevector (size_type n, const uint8_t &val) |
| | prevector (InputIterator first, InputIterator last) |
| | prevector (const prevector< N, uint8_t, uint32_t, int32_t > &other) |
| | prevector (prevector< N, uint8_t, uint32_t, int32_t > &&other) noexcept |
| prevector & | operator= (const prevector< N, uint8_t, uint32_t, int32_t > &other) |
| prevector & | operator= (prevector< N, uint8_t, uint32_t, int32_t > &&other) noexcept |
| size_type | size () const |
| bool | empty () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| size_t | capacity () const |
| uint8_t & | operator[] (size_type pos) |
| const uint8_t & | operator[] (size_type pos) const |
| void | resize (size_type new_size) |
| void | reserve (size_type new_capacity) |
| void | shrink_to_fit () |
| void | clear () |
| iterator | insert (iterator pos, const uint8_t &value) |
| void | insert (iterator pos, size_type count, const uint8_t &value) |
| void | insert (iterator pos, InputIterator first, InputIterator last) |
| void | resize_uninitialized (size_type new_size) |
| iterator | erase (iterator pos) |
| iterator | erase (iterator first, iterator last) |
| void | emplace_back (Args &&... args) |
| void | push_back (const uint8_t &value) |
| void | pop_back () |
| uint8_t & | front () |
| const uint8_t & | front () const |
| uint8_t & | back () |
| const uint8_t & | back () const |
| void | swap (prevector< N, uint8_t, uint32_t, int32_t > &other) noexcept |
| | ~prevector () |
| bool | operator== (const prevector< N, uint8_t, uint32_t, int32_t > &other) const |
| bool | operator< (const prevector< N, uint8_t, uint32_t, int32_t > &other) const |
| size_t | allocated_memory () const |
| value_type * | data () |
| const value_type * | data () const |
Serialized script, used inside transaction inputs and outputs.
Definition at line 404 of file script.h.