stellar / go

Stellar's public monorepo of go code
https://stellar.org/developers
Apache License 2.0
1.29k stars 502 forks source link

services/horizon/cmd: spike, options on how to obtain archive server list #5142

Open sreuland opened 9 months ago

sreuland commented 9 months ago

What problem does your feature solve?

NETWORK=testnet|pubnet usage will trigger default hardcoded archive url configuration on HISTORY_ARCHIVE_URLS to public stellar archive hosts, which doesn't promote decentralization in practice. HISTORY_ARCHIVE_URLS can still be set by users to override, but is not required.

What would you like to see?

when using NETWORK parameter, the configuration of servers for HISTORY_ARCHIVE_URLS should promote decentralization, how to accomplish this needs to be explored.

Research the options to obtain a decentralized list of archive server hosts and provide a write-up on a separate doc or here on ticket. Include a summarized table which compares/contrasts top 2 or 3 options.

for starters, a few options:

What alternatives are there?

sreuland commented 9 months ago

discussion on #4949 is the source context, it explains the need for focus on decentralized approach the archive server urls.

sreuland commented 9 months ago

consider deriving archive urls from captive core config quorum set for tier 1 validators.