Closed 0xB10C closed 1 year ago
@nymkappa let me know if that's what you had in mind!
I would avoid using 0 as ID but aside this I'm good with it.
That's how I hardcoded it for my dev purpose as you can see here https://github.com/nymkappa/known-mining-pools/blob/2022-12-generate-mempool-space-data/generated/pool-list.json
Starting pool id's at 1 instead of 0. Thanks!
See https://github.com/0xB10C/known-mining-pools/pull/75#issuecomment-1363169075. This also adds a basic check to the CI that there are no duplicate IDs and that the data has the expected format.
I used this script to change the IDs to integers: