jamesob / jamesob/tinychain

get_merkle_root fails when at any level of the tree, except the deepest one, an odd number occurs

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
123
PR merge metrics
No merged PRs in 30d

Description

i.e. it fails on 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17 etc. number of transactions

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the get_merkle_root entry point and reproduce the failure with transaction counts such as 5, 6, 7, and 9. Trace how each tree level handles an odd number of transactions; done means those counts and the other listed cases produce a valid Merkle root without failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.