Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemoryError when read block >= blk00976.dat #17

Open
vincenzopalazzo opened this issue Apr 20, 2019 · 0 comments
Open

MemoryError when read block >= blk00976.dat #17

vincenzopalazzo opened this issue Apr 20, 2019 · 0 comments

Comments

@vincenzopalazzo
Copy link

Hi,

I have a this problem when reading a file >= 976,
I think this problem is for type varInt because the method implemented in the parser is for CCompoctSize and not for CVarInt

Traceback (most recent call last):
  File "/home/vincenzo/Github/blocktools/sight.py", line 85, in <module>
    main()
  File "/home/vincenzo/Github/blocktools/sight.py", line 81, in main
    parse(blockchain, blkNo)
  File "/home/vincenzo/Github/blocktools/sight.py", line 27, in parse
    block = Block(blockchain)
  File "/home/vincenzo/Github/blocktools/block.py", line 71, in __init__
    tx = Tx(blockchain)
  File "/home/vincenzo/Github/blocktools/block.py", line 134, in __init__
    input = txInput(blockchain)
  File "/home/vincenzo/Github/blocktools/block.py", line 175, in __init__
    self.scriptSig = blockchain.read(self.scriptLen)  # Blockchain is the input file.
MemoryError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant