Electric-Coin-Company / zcash-swift-wallet-sdk

iOS light client Framework proof-of-concept
MIT License
37 stars 33 forks source link

Ability to provide custom checkpoints on Testing environments #1330

Open pacu opened 5 months ago

pacu commented 5 months ago

Is your feature request related to a problem? Please describe.

I'd like to be able to define a source of checkpoints that is used in testing environments and that don't need to be bundled anywhere in the SDK. For example, currently checkpoint 663150 is bundled in the SDK because otherwise the darkside tests wouldn't had been able to work.

If developers could actually provide a different source of checkpoints they could avoid this altogether and even test other scenarios like an adversary lightwalletd providing wrong checkpoints.

additional context

related to #1314 and necessary for going towards #1233