Skip to content

Commit 39bba04

Browse files
authored
Merging v0.9.0 changes from dev to `master
2 parents 2f0af0b + 593ea88 commit 39bba04

11 files changed

+1117
-1487
lines changed

install-guide.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ git clone https://github.com/decentralized-identity/ion
131131

132132
Update the configuration for the Sidetree Bitcoin microservice under `json/testnet-bitcoin-config.json`:
133133

134-
- Ensure `bitcoinPeerUri` points to the http location of the Bitcoin Core client you setup earlier in this guide (e.g. `http://localhost:18332`).
134+
- Ensure `bitcoinPeerUri` points to the http location of the Bitcoin Core client you setup earlier in this guide (e.g. `http://localhost:18332` for testnet and `http://localhost:8332` for mainnet with default Bitcoin Core configuration).
135+
- `bitcoinDataDirectory` needs to point to the block files folder:
136+
- mainnet: exactly the same as the `datadir` value configured for Bitcoin Core.
137+
- testnet: `<datadir>/testnet3`.
135138
- Ensure `bitcoinWalletImportString` is populated with your private key.
136139
- Official Bitcoin Core client PRC API requires authentication, so make sure the `bitcoinRpcUsername` & `bitcoinPrcPassword` are populated accordingly.
137140
- Ensure `mongoDbConnectionString` is pointing to your MongoDB (e.g. `mongodb://localhost:27017/`).

json/mainnet-bitcoin-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"bitcoinDataDirectory": "[FILL THIS IN!]",
23
"bitcoinFeeSpendingCutoffPeriodInBlocks": 1,
34
"bitcoinFeeSpendingCutoff": 0.001,
45
"bitcoinPeerUri": "http://localhost:8332",

json/mainnet-bitcoin-versioning.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"startingBlockchainTime": 633700,
4+
"version": "0.10.0"
5+
}
6+
]

json/testnet-bitcoin-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"bitcoinDataDirectory": "[FILL THIS IN!]",
23
"bitcoinFeeSpendingCutoffPeriodInBlocks": 1,
34
"bitcoinFeeSpendingCutoff": 0.001,
45
"bitcoinPeerUri": "http://localhost:18332",

json/testnet-bitcoin-versioning.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"startingBlockchainTime": 1764000,
4+
"version": "0.10.0"
5+
}
6+
]

0 commit comments

Comments
 (0)