MCPcopy Create free account
hub / github.com/citp/BlockSci / AnyScriptOutput

Class AnyScriptOutput

tools/parser/script_output.hpp:205–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203using ScriptOutputType = blocksci::to_variadic_t<blocksci::to_address_tuple_t<ScriptOutput>, mpark::variant>;
204
205class AnyScriptOutput {
206public:
207 ScriptOutputType wrapped;
208 blocksci::RawAddress address() const;
209 bool isNew() const;
210 blocksci::AddressType::Enum type() const;
211
212 AnyScriptOutput() = default;
213 AnyScriptOutput(const blocksci::CScriptView &scriptPubKey, bool p2shActivated, bool witnessActivated);
214
215 uint32_t resolve(AddressState &state);
216 bool isValid() const;
217};
218
219#endif /* script_output_hpp */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected