Coder Social home page Coder Social logo

Comments (6)

saltedlolly avatar saltedlolly commented on August 10, 2024 2

I am pretty sure this is the same bug we have been experiencing when running 7.17.3 when starting up testnet. It is so slow that you cannot run DigiByte Core Testnet on a Pi 4 as the syncing never catches up with the present. Starting up 7.17.3 testnet can take 15 hours or more on my old Windows laptop. It currently makes running a testnet node a pain in the ass. Evidently the problem still exists in 8.22 RC2.

This was discussed at length a few months back. @chappjc has previously shared all the details in Gitter. He also made a PR with a possible fix: #102

The problem only happens in testnet. Mainnet is not affected. v8 should definitely not be released until this is fixed.

from digibyte.

JohnnyLawDGB avatar JohnnyLawDGB commented on August 10, 2024 1

Same experience here. I'm passed the 24 hour mark on the "Loading Block Index." "It's not a problem on mainnet, because there are blocks for each algo in mainnet. In testnet we don't have certain algos, so DigiByte-Core intensely tries to find one of these specific algo blocks. Which uses a lot of computational resources if done a few million times." I believe it is unique to DGB because of multi-algo, and the sheer number of blocks involved.

from digibyte.

saltedlolly avatar saltedlolly commented on August 10, 2024 1

This is outside my knowledge of how multialgo works, but I wonder if this could be solved by finding people to mine on testnet using the algos for which no blocks have been discovered yet. This would mean that for each algo there are then at least a few blocks that exist. I wonder if that would help?

from digibyte.

saltedlolly avatar saltedlolly commented on August 10, 2024 1

@chappjc If you have been mining on testnet, and have a surplus of DGBT coins, it might be helpful for the community to send them to Renzo's Testnet Faucet: https://digifaucet.org/testnet

With a larger supply he can increase the payout per transaction. This will make it easy for anyone who needs DGBT to get some without having to mine on testnet themselves.

from digibyte.

chappjc avatar chappjc commented on August 10, 2024

@saltedlolly That's right to the heart of the issue. I have actually had a process doing just that since April, alternating 3 of the algorithms that the built-in CPU miner can do efficiently (skein, sha256d, qubit). Note how the version alternates as you go through blocks: https://testnetexplorer.digibyteservers.io/block/2322092

However, even if it was doing all the algos, including scrypt and odo, it wouldn't change the fact that there are years of consecutive blocks that block index loading (and initial block import) has to deal with.

from digibyte.

saltedlolly avatar saltedlolly commented on August 10, 2024

With #142 merged the headers sync is much improved.

I have also encountered this issue of digibyte-cli freezing (it can freeze and take a long time before it returns a response - often several minutes).

Can anything be done?

from digibyte.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.