Skip to content

blockchain.get_ordered_blocks() does not iterate all blocks #109

Description

@ManuelSchneid3r

When I iterate the blockchain the loop over the blocks above finishes at block 478560/774513. I have no clue why

for block in blockchain.get_ordered_blocks(index=index, cache=cache_file):
    print("\rblk %d/%d" % (block.height, len(blockchain.blockIndexes)), end='')
print("\nBye")

ends with exit_success (0)

0 ms blk 478560/774513
Bye

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions