ledger-core
|
#include <BitcoinLikeScript.hpp>
Public Member Functions | |
virtual std::shared_ptr< BitcoinLikeScriptChunk > | head ()=0 |
virtual std::string | toString ()=0 |
Static Public Member Functions | |
static std::shared_ptr< BitcoinLikeScript > | parse (const std::vector< uint8_t > &data) |
A general purpose script.
|
pure virtual |
Get the head of the script. Scripts are organized by chunks, so you get an iterator-like interface.
Implemented in ledger::core::BitcoinLikeScriptApi.
|
static |
Parse data into a script.
|
pure virtual |
Turn the script into a string representation.
Implemented in ledger::core::BitcoinLikeScriptApi.