Giter Site home page Giter Site logo

Comments (5)

joeuhren avatar joeuhren commented on August 14, 2024

This is the first time I've heard of this problem. Are you getting any particular error msgs in the server console or in the console tab of the browser? I spun up a new environment that emulates your ubuntu, node and mongo versions and it works 100% with my coin.

I tried to do a quick test with rock'n'rain coin from https://github.com/RockNRain/RNRC/releases but I cannot find a proper wallet binary that I can just unzip and run, and I don't feel like spending hours building from source. If you are able to sync even 1 block though and see block and transaction data on other pages such as the movement page then the coin likely isn't the problem.

I cannot think of what setting could break the site like that but I suppose it's possible something got messed up in the config. You could try backing up your settings.json file and restoring a fresh copy from the settings.json.template and only changing the database and wallet setup at the top of the config to see if using the default settings works any better.

It's hard to say what could be wrong without more information. Please respond with any error msgs you see, screenshots, or anything else you feel that may help pinpoint the problem. If possible, try a couple different browsers from different computers to ensure there isn't something to your local computer that is interfering.

from eiquidus.

grigzy28 avatar grigzy28 commented on August 14, 2024

This is interesting. I took the template and just changed the top 3 things, the explorerdb username/password, the coin rpc info and the coin name. It did work and read the stored blocks information. Not sure what I could've done to the settings, just turned off stuff that isn't applicable to POS coins. Just changing little by little now and it's still working. So far everything is working and it's laid out the way I want it. I'm attaching the old settings file minus the username/passwords. Maybe you can see something that I just don't. :) Only major difference I think is that I left the network difficulty chart enabled this time.

settings.txt

from eiquidus.

joeuhren avatar joeuhren commented on August 14, 2024

Thanks for sharing your settings file, I spotted the problem right away because of that. The problem was the quotes in the coin > name setting which was breaking some javascript functions because they weren't handling the quotes properly. What's interesting to me is how you were able to get it working if you still had quotes in the coin name. My guess is that you didn't include them the second time around otherwise your current install must still not be working very well.

I've posted a fix that will allow you to use quotes in the coin > name and/or symbol now: 7f6c585

Assuming you haven't made any custom changes to the explorer source code, you can merge the new updates with the cmd npm run update-explorer

Keep in mind the coin > name setting is used as a key value for pretty much all data in the database, so if you change that value after syncing, you will effectively lose your data and need to sync again.

I'll keep this issue open for a few days just in case you still notice problems after updating the code, but I think the latest commit should fix and prevent it from happening for you or anyone else from now on.

from eiquidus.

grigzy28 avatar grigzy28 commented on August 14, 2024

You're right. The second time, I didn't expand the name and just put RNRC and RNRC as both the coin name/symbols. I will update and test with the new code.

from eiquidus.

grigzy28 avatar grigzy28 commented on August 14, 2024

Sorry was away at a funeral. I am closing this as it all appears to be working correctly now.

from eiquidus.

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.