Closed yangby-cryptape closed 5 months ago
Yep! If expect storage to generate a headers proof for on-chain headers, then storage has to contain more headers than on-chain. It's a terrible function name. That's why you were confused. I guess when I wrote this function, I think about the best SPV client should be included in storage, so I just wrote such a terrible name. A best name should be find_best_spv_client_under_height.
Yep!
If expect storage to generate a headers proof for on-chain headers, then storage has to contain more headers than on-chain.
It's a terrible function name. That's why you were confused.
I guess when I wrote this function, I think about the best SPV client should be included in storage, so I just wrote such a terrible name.
A best name should be find_best_spv_client_under_height.
find_best_spv_client_under_height
Original post by comment in PR-25
Description
Original post by comment in PR-25