Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wait for zebrad or zcashd to reach sapling activation height
This has been broken for a long time. If, when starting up, lightwalletd discovers that the backend node (zebrad or zcashd) has not yet synced to the Sapling activation height (419200 for mainnet, 280000 for testnet), it should wait until that happens, then sync along with the backend node. But instead, lightwalletd gets stuck indefinitely. The only way to escape the hang is to stop and restart lightwalletd. This commit fixes the problem; the block ingestor retries every 2 minutes (which was always the intention), rather than trying once and then giving up.
- Loading branch information