mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
chain=elementsregtest
|
|
|
|
# Standard bitcoind stuff
|
|
rpcuser=user1
|
|
rpcpassword=password1
|
|
elementsregtest.rpcport=18884
|
|
elementsregtest.port=18886
|
|
|
|
rpcport=18884
|
|
# Over p2p we will only connect to local other elementsd
|
|
elementsregtest.connect=localhost:18887
|
|
|
|
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
|
|
|
|
# Free money to make testing easier
|
|
initialfreecoins=2100000000000000
|