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

Method ToString

src/internal/bitcoin_script.cpp:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 }
269
270 std::string CScriptWitness::ToString() const
271 {
272 std::string ret = "CScriptWitness(";
273 for (unsigned int i = 0; i < stack.size(); i++) {
274 if (i) {
275 ret += ", ";
276 }
277 ret += blocksci::HexStr(stack[i]);
278 }
279 return ret + ")";
280 }
281
282 bool CScript::HasValidOps() const
283 {

Callers 1

equalMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected