Skip to content

Commit

Permalink
add testnet support
Browse files Browse the repository at this point in the history
  • Loading branch information
Retropex committed Aug 27, 2024
1 parent 4e6af47 commit 00a3f17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/compat/bitcoin.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,8 @@ acceptnonstddatacarrier=1
}}
{{#IF !blkconstr.acceptnonstddatacarrier
acceptnonstddatacarrier=0
}}

{{#IF advanced.testnet
testnet=1
}}
6 changes: 6 additions & 0 deletions scripts/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,12 @@ export const getConfig: T.ExpectedExports.getConfig = async (effects) => {
},
},
},
testnet: {
type: "boolean",
name: "Testnet (EXPERIMENTAL)",
description: "Use testnet instead of mainnet",
default: false,
},
},
},
})(effects);
Expand Down

0 comments on commit 00a3f17

Please sign in to comment.