forked from AkioNak/elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate config files from assets tutorial
... and some minor additions
- Loading branch information
Showing
4 changed files
with
84 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
rpcuser=user3 | ||
rpcpassword=password3 | ||
rpcport=18888 | ||
port=18889 | ||
|
||
regtest=1 | ||
testnet=0 | ||
daemon=1 | ||
txindex=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Standard bitcoind stuff | ||
rpcuser=user1 | ||
rpcpassword=password1 | ||
rpcport=18884 | ||
port=18886 | ||
|
||
# Over p2p we will only connect to local other elementsd | ||
connect=localhost:18887 | ||
|
||
regtest=1 | ||
daemon=1 | ||
# Make sure you set listen after -connect, otherwise neither | ||
# will accept incoming connections! | ||
listen=1 | ||
# Just for looking at random txs | ||
txindex=1 | ||
|
||
# This is the script that controls pegged in funds in Bitcoin network | ||
# Users will be pegging into a P2SH of this, and the "watchmen" | ||
# can then recover these funds and send them to users who desire to peg out. | ||
# This template is 1-of-1 checkmultisig | ||
#fedpegscript=5121<pubkey>51ae | ||
|
||
# This is the script that controls how blocks are made | ||
# We have to supply a signature that satisfies this to create | ||
# a valid block. | ||
#signblockscript=5121<pubkey2>51ae | ||
|
||
# We want to validate pegins by checking with bitcoind if header exists | ||
# in best known chain, and how deep. We combine this with pegin | ||
# proof included in the pegin to get full security. | ||
validatepegin=1 | ||
|
||
# If in the same datadir and using standard ports, these are unneeded | ||
# thanks to cookie auth. If not, like in our situation, elementsd needs | ||
# more info to connect to bitcoind: | ||
mainchainrpcport=18888 | ||
mainchainrpcuser=user3 | ||
mainchainrpcpassword=password3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rpcuser=user2 | ||
rpcpassword=password2 | ||
rpcport=18885 | ||
port=18887 | ||
connect=localhost:18886 | ||
|
||
regtest=1 | ||
daemon=1 | ||
listen=1 | ||
txindex=1 | ||
|
||
#fedpegscript=51<pubkey>51ae | ||
#signblockscript=51<pubkey2>51ae | ||
|
||
mainchainrpcport=18888 | ||
mainchainrpcuser=user3 | ||
mainchainrpcpassword=password3 | ||
validatepegin=1 |