Comments (4)
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.
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.
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.
sure, let me see what I can come up with.
from ion.
Related Issues (20)
- Stop shutting down on intermittent issues HOT 3
- Include `requestTimeoutInMilliseconds` and `requestMaxRetries` in bitcoin service md
- Retrieve a DID object using the DID URI and make an update operation HOT 4
- Documentation, Use Cases & Code examples
- What is mean by permissionless? HOT 2
- can we use this in production?
- docker-compose fix
- Security Vulnerabilities HOT 2
- Batch GET api
- Faster version with taproot lightning integration ? HOT 1
- How to confirm the local testnet installtion sucessfully and local explorer HOT 1
- Dead link to Sidetree repo in install-guide
- Recommended MongoDB version
- My question HOT 2
- features clarification
- Get challenge service not available HOT 14
- Question: What is the scalability, reliability, availability & cost like? HOT 3
- Ja
- arbitrum-docs/tx-lifecycle.mdx
- Only legacy wallets are supported by this command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion.