python-bitcoin-blockchain-parser
python-bitcoin-blockchain-parser copied to clipboard
testnet
it dose not support testnet And witness_v0_keyhash ,witness_v0_scripthash?
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
The most recent version (0.1.5) of the library now supports SegWit