python-bitcoin-blockchain-parser icon indicating copy to clipboard operation
python-bitcoin-blockchain-parser copied to clipboard

testnet

Open huangxingge opened this issue 6 years ago • 2 comments

it dose not support testnet And witness_v0_keyhash ,witness_v0_scripthash?

huangxingge avatar Aug 24 '19 08:08 huangxingge

def is_p2wpkh(self):
    return self.script.script[0] == 0 and self.script.script[1] == 20

def is_p2wsh(self):
    return self.script.script[0] == 0 and self.script.script[1] == 32

it could be ok

huangxingge avatar Aug 24 '19 15:08 huangxingge

The most recent version (0.1.5) of the library now supports SegWit

alecalve avatar Oct 13 '20 13:10 alecalve