nervosnetwork / ckb-light-client

CKB light client reference implementation
MIT License
14 stars 16 forks source link

refactor: optimizing the proof size #40

Closed yangby-cryptape closed 2 years ago

yangby-cryptape commented 2 years ago

Use a dynamic delta instead of the previous fixed value (1/2)^10, to reduce the size of blocks at the delta region.

Ref: "Optimizing the Proof Size" paragraph in section 5.4 of FlyClient: Super-Light Clients for Cryptocurrencies.