-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Labels
Milestone
Description
Hello,
I should preface by saying that I am unsure if this is a failure or not. What I can say, is that despite extensive BlockSci experience I have never encountered the issue before (nor since) this block height (which is itself deep into SegWit territory), and this makes me concerned.
If this behavior is as expected then please disregard this report. If so, then I will simply ignore this transaction output.
Reproduction Steps
import blocksci
chain = blocksci.Blockchain(CONF)
for out in chain.blocks[608548].outputs:
if out.address_type not in {blocksci.address_type.nulldata}:
for output_address in [out.address]:
try:
output_address.address_string
except AttributeError as e:
print(out.address_type)
print(out)
print(output_address)
print(e)Script output:
Pay to witness unknown
TxOut(spending_tx_index=0, address=WitnessUnknownScript(), value=5431)
WitnessUnknownScript()
'blocksci.WitnessUnknownAddress' object has no attribute 'address_string'System Information
Using AMI: no
BlockSci version: v0.6 / f074eea
Blockchain: Bitcoin
Parser: Disk
Total memory: 64 GB
Reactions are currently unavailable