Closed pdp2121 closed 11 months ago
We also need an overall voting information and to know which amendments are enabled.
Additionally a look up for information on amendments might be very nice. Right now the explorer has weird logic where it parses the documentation site and a rippled cpp file.
Here is where that happens. https://github.com/ripple/explorer/blob/staging/src/containers/shared/amendmentUtils.ts#L32-L49 and https://github.com/ripple/explorer/blob/staging/src/containers/shared/amendmentUtils.ts#L72-L90
Thanks Caleb, I was also thinking about parsing the doc site for amendment info, but not sure about rippled file. Will examine these codes
High Level Overview of Change
Add voting data to validators related endpoints.
Type of Change
Ready to review when #101 merged.