MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / ishex

Function ishex

bitcoin/tests/test_scripteval.py:24–25  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

22
23def parse_script(s):
24 def ishex(s):
25 return set(s).issubset(set('0123456789abcdefABCDEF'))
26
27 r = []
28

Callers 1

parse_scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected