Currently we are using p2p.livenet.ripple.com to retrieve amendments enablement via ledger + 1 for mainnet. However, its connection is very inconsistent, led to missing information.
We should backtrack every 30 minutes using clio for mainnet to retrieve this information in case the connections get lost. We would also backtrack major networks like testnet and devnet to ensure we have adequate data for these networks.
Type of Change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
High Level Overview of Change
Currently we are using
p2p.livenet.ripple.com
to retrieve amendments enablement via ledger + 1 for mainnet. However, its connection is very inconsistent, led to missing information.We should backtrack every 30 minutes using clio for mainnet to retrieve this information in case the connections get lost. We would also backtrack major networks like testnet and devnet to ensure we have adequate data for these networks.
Type of Change
Test Plan
Ran without breaking on staging