Skip to content

[WARN ] Side chain depth too large module=miner #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlanJHancock opened this issue Dec 14, 2024 · 8 comments
Open

[WARN ] Side chain depth too large module=miner #19

AlanJHancock opened this issue Dec 14, 2024 · 8 comments

Comments

@AlanJHancock
Copy link

AlanJHancock commented Dec 14, 2024

log-node.txt
The miner is stuck continuously outputting the message:
[WARN ] Side chain depth too large module=miner

Tried script to restart with cleanup
./restartWithCleanup.sh
Also ran:
docker run blockdagnetwork/bdag:latest ./bdag --cleanup
I am not able to get the miner to run normally, what will fix it?
I have another node that seems to be working normally.

@zrusznak
Copy link

I am having the same issue and seems like there is no body has a solution..
For 24 hours the same log and suddenly it changed over to miner downloading blocks.
This log is almost the same for the past 24 hours
So 2 days and miner is not doing anything
Anyone has any solution?

@AlanJHancock
Copy link
Author

I believe what is happening is that the techs at BlockDAG are monitoring the Testnet blockchain and then picking up the errors and correcting them with specific programs written for the job. If the problem happens over a weekend, it takes longer for the correction to be made to all the affected blocks. Also, they may be updating the code that created the error in the first place which may be down to synchronisation issues etc. Because the Docker file is pulled each time the node is started the updated code will be automatically used by the node upon restart. I have experienced the problem several times now and in one case reconfigured the node from scratch but that may not have been needed, after all, this is a Testnet blockchain.

@zrusznak
Copy link

zrusznak commented Jan 24, 2025 via email

@AlanJHancock
Copy link
Author

You must of course stop the node the node first before restarting with:
docker stop blockdag-testnet-network ( I put this line into stop-node.sh )
If the above was not done or failed then it is possible to invoke another instance of the Docker node image.
Below is the restart.sh actions that show that each Docker instance is started with a fresh sha256 key the old instance being deleted.
restart.sh actions which calls node.sh that pulls the latest bdag image:

  • pk_addr=Tk6uWKRd35mvjEqTCN9xA9wemH7FM3teBVv8atw7nAAhhff.....
  • export MINNING_ADDRESS=Tk6uWKRd35mvjEqTCN9xA9wemH7FM3teBVv8atw7nAAhhff...
  • MINNING_ADDRESS=Tk6uWKRd35mvjEqTCN9xA9wemH7FM3teBVv8atw7nAAhhff...
  • docker-compose down
    Removing blockdag-testnet-network ... done
    Removing network linux_default
  • docker rmi -f blockdagnetwork/bdag
    Untagged: blockdagnetwork/bdag:latest
    Untagged: blockdagnetwork/bdag@sha256:22f97aef4e6206fa386eb89f64a8e2ca863b14e141186293b3c876bbd5b15839
    Deleted: sha256:2cba94ed21792d694af7735bbaad6ba256e5061d708d4a5fd2782e551b84c844
  • bash node.sh Tk6uWKRd35mvjEqTCN9xA9wemH7FM3teBVv8atw7nAAhhff...
    [+] Running 4/4
    ✔ bdag Pulled 1.8s
    ✔ 43c4264eed91 Already exists 0.0s
    ✔ 37dffb0e9d60 Already exists 0.0s
    ✔ e7f765945136 Already exists 0.0s
    [+] Running 2/2
    ✔ Network linux_default Created 0.3s
    ✔ Container blockdag-testnet-network Started 1.6s

The Network created as linux_default is required for Docker to run the container its ports etc are set in Docker config file:
docker-compose.yml

@zrusznak
Copy link

zrusznak commented Jan 24, 2025 via email

@zrusznak
Copy link

zrusznak commented Jan 24, 2025 via email

@AlliTobba
Copy link

@AlanJHancock did you notice that the UTXO died in mid February :-)
https://bdagscan.com/?chain=UTXO
Select PAST 90 DAYS

But I am looking forward to the updated node release next week.

@AlanJHancock
Copy link
Author

I attended the AMA yesterday, and the CEO mentioned UTXO briefly. I think he said they were going to remove it, which actually makes good sense, and go to an Account-Based Model. It looks like they already made that change in February, and they will be putting the new Explorer into action on the new Testnet, which will remove any UTXO data display.

UTXO (Unspent Transaction Output) model isn't required for all blockchains; some use an account-based model instead, like Ethereum.

UTXO Model:
In UTXO-based blockchains (like Bitcoin), transactions are tracked by referencing specific unspent outputs from previous transactions.
Account-Based Model:
Account-based blockchains (like Ethereum) track balances by maintaining an account for each user, similar to a traditional bank account.

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

No branches or pull requests

3 participants