kaspanet / rusty-kaspa

Kaspa full-node reference implementation and related libraries in the Rust programming language
ISC License
442 stars 144 forks source link

Build pruning proof -- Bug fix #324

Closed michaelsutton closed 10 months ago

michaelsutton commented 10 months ago

The following line of logic in kaspad-go was missing from rust impl. This means that we were searching for common ancestor when not needed hence loosing contiguous topology guarantees known from proof validation or from ongoing relation maintenance. This in turn lead to not including block_at_depth_2m in the proof in some cases, thus deleting it prematurely