Bitcoin-Wildlife-Sanctuary / bitcoin-circle-stark

Building blocks of a Circle STARK verifier in Bitcoin script
https://docs.btcwild.life
MIT License
112 stars 23 forks source link

Refactor the channel and add the global hinter #31

Closed weikengchen closed 3 months ago

weikengchen commented 3 months ago

This PR finishes the refactoring the channel and start assembling a verifier that generates the hint as well as a data structure for hints.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 38.70968% with 38 lines in your changes are missing coverage. Please review.

Files Coverage Δ
src/fri/bitcoin_script.rs 100.00% <ø> (ø)
src/oods/bitcoin_script.rs 100.00% <ø> (ø)
src/oods/mod.rs 100.00% <100.00%> (ø)
src/channel/bitcoin_script.rs 42.42% <26.31%> (-52.32%) :arrow_down:
src/channel/mod.rs 44.18% <42.85%> (-36.77%) :arrow_down:

... and 2 files with indirect coverage changes

weikengchen commented 3 months ago

(omg the coverage went down a lot after the refactoring)