Skip to content

Fix: Update dnsseeds for mainnet / testnet#34

Merged
gto90 merged 2 commits intoDigiByte-Core:developfrom
ChillingSilence:fix/dnsseed
Apr 20, 2021
Merged

Fix: Update dnsseeds for mainnet / testnet#34
gto90 merged 2 commits intoDigiByte-Core:developfrom
ChillingSilence:fix/dnsseed

Conversation

@ChillingSilence
Copy link
Copy Markdown

Update dnsseeds for mainnet / testnet

Due to all the DNS changes over the last 24 months, many of these are stale (Servers offline / domains expired etc) and need updating.

The servers for this will be running:
https://github.com/DigiByte-Core/digibyte-seeder

Will need a confirmation of NS records etc from those managing the DigiByte.org domain etc prior to commit approval, working with them now to ensure they've setup the DNS side correctly.

Copy link
Copy Markdown
Member

@gto90 gto90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link
Copy Markdown

@SmartArray SmartArray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's awesome that we have those comments, in case something is wrong with one of those seeders.

ACK

vSeeds.emplace_back("seed.digibyte.io"); // JaredTate
vSeeds.emplace_back("seed.digibyteblockchain.com"); // JS555
vSeeds.emplace_back("dnsseed.esotericizm.site"); // DigiContributor
vSeeds.emplace_back("seed.digibytefoundation.org"); // DigiByteFoundation
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be offline

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, need to help them get the servers up this week

vSeeds.emplace_back("seed.digibyte.org"); // Website collective
vSeeds.emplace_back("seed.digibyteservers.io"); // ChillingSilence
vSeeds.emplace_back("seed.digibyte.io"); // JaredTate
vSeeds.emplace_back("seed.digibyteblockchain.com"); // JS555
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be offline

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seed.digibyte.io, seed.digiexplorer.info & seed.digibytefoundation.org should be left in. We can get peer seeder nodes on all those domains. Not sure who runs digibyteblockchain.com. Is not me.

@gto90 gto90 merged commit 9acd362 into DigiByte-Core:develop Apr 20, 2021
Comment on lines +414 to +415
vSeeds.emplace_back("seed.testnet-1.us.digibyteservers.io");
vSeeds.emplace_back("seed.testnetexplorer.digibyteservers.io");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two do not resolve. Can testnet seeds be brought up?

JohnnyLawDGB added a commit to JohnnyLawDGB/digibyte that referenced this pull request Apr 6, 2026
…igiByte-Core#34)

estimatecollateral read system health from a static cache
(GetSystemMetrics) that is only populated when ScanUTXOSet() runs
inside getdigidollarstats or getprotectionstatus. If estimatecollateral
ran first, the cache had totalDDSupply=0, causing the health check to
hardcode systemHealth=0 (emergency) and apply a 2x DCA multiplier.
This doubled the reported collateral requirement even when the system
was healthy at 475-528%.

The mint transaction builder uses the same path, so valid mints were
rejected with "Insufficient funds for collateral and fees."

Fix: read totalCollateral and totalDDSupply from the digidollar stats
index (fast, already synced) or fall back to ScanUTXOSet(), matching
the pattern getdigidollarstats and getprotectionstatus already use.
Also change the totalDD==0 case from health=0 to health=30000 (max)
since an empty system has nothing at risk.

Tested on testnet21: estimatecollateral now returns health=510 / DCA=1x
matching getdigidollarstats and getprotectionstatus. Tier-4 mint that
previously required 134K DGB now correctly requires 67K and succeeds.
Confirmed still present in RC29 (RH-36a fixed a different cache race).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants