Giter Club home page Giter Club logo

Comments (4)

csuwildcat avatar csuwildcat commented on September 15, 2024 1

I think this is helpful, because if many people overlook this or don't fully understand the behavior that will occur when this value is omitted, they will face the same situation. I would love to have a note in the Guide about this - would you like to take a swing at a PR that adds this informational text?

from ion.

k9ert avatar k9ert commented on September 15, 2024

Is that this one?
Environment variable ION_BITCOIN_CONFIG_FILE_PATH undefined, using default path ../json/testnet-bitcoin-config.json instead.

The default is confusing because it's not clear from which subdirectory that path is relative to. Usually it's the project's root but that doesn't seem to be the case here.
And it doesn't seem to be necessary to change the default?!

from ion.

mburns avatar mburns commented on September 15, 2024

I believe I was bitten by this.

When I configured the json/mainnet-*-*.json files per the Install Guide, rebuilt, then run the ion-bitcoin service, since ION_BITCOIN_CONFIG_FILE_PATH is unset it ignores my edited mainnet configs and instead uses the (default, invalid) testnet configs.

This results in a 'non-base58' failure because of this value being incorrectly used: https://github.com/decentralized-identity/ion/blob/master/json/testnet-bitcoin-config.json#L8

My "solution" was to edit the testnet-*-*.json config files to match mainnet values, which works, but has some easy to overlook footguns. Connected to #147 & #149

from ion.

mburns avatar mburns commented on September 15, 2024

sure, let me see what I can come up with.

from ion.

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.