Trust-Machines / BNS-V2

MIT License
10 stars 3 forks source link

Discussion - Atlas and GAIA for BNS v2 #33

Open bilalanees98 opened 4 months ago

bilalanees98 commented 4 months ago

Opening up this ticket just so we can have a discussion around it. Its entirely possible that there are no changes that will be required in atlas or gaia for the upgrade, but thats what we have to figure out.

Atlas network: runs on the stacks node and is responsible for tracking/storing/replicating attachment data. GAIA: currently unsure how GAIA comes into play for BNS names

Some initial questions:

  1. Zonefile hashes are stored on the BNS contract in a map. Will migrating those ensure zone-file attachments are available for BNS v2?
  2. What is GAIA's role in BNS, what information does it store?
  3. Stacks API has a separate table for zone files that it uses exclusively for the BNS apis. Are those zone files a separate entry or are those synced with stacks-nodes? How does Stacks API populate its own entries?

PS. This is just to get the conversation started, I'll keep on adding more information as I find it.

Known issues:

bilalanees98 commented 4 months ago

Zonefile hashes are stored on the BNS contract in a map. Will migrating those ensure zone-file attachments are available for BNS v2?

bilalanees98 commented 4 months ago

What is GAIA's role in BNS, what information does it store?

jcnelson commented 1 month ago

By default they are set to track .bns events here

  • This will have to be updated, nodes will have to track the new bns contract

Can you open an issue on the Stacks blockchain repo so this gets done prior to BNSv2 going live? Presumably, this would be part of the Nakamoto release.

Apparently, there does not seem to be any other link between BNS and gaia. With BNS v2 its unlikely that any change will be required as long as zone files are maintained.

Gaia is defunct, I'm afraid. The Atlas system, however, still enjoys first-class support, especially in the service of .btc.us domains.

friedger commented 1 month ago

The Atlas system, however, still enjoys first-class support

Good to know. Looking forward to support for https://github.com/stacks-network/stacks-core/issues/3270