-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from KasarLabs/test/reveal
- Loading branch information
Showing
4 changed files
with
374 additions
and
150 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1,36 @@ | ||
# bitcoin_rs | ||
|
||
To launch a bitcoin daemon, run the following command: | ||
|
||
```shell | ||
bitcoind -conf=path_to/bitcoin.conf -fallbackfee=0.00001 | ||
``` | ||
|
||
Then mine some blocks (you need to have a bitcoin-cli wallet): | ||
|
||
```shell | ||
bitcoin-cli -regtest -generate 150 | ||
``` | ||
|
||
bitcoin.conf file: | ||
|
||
```shell | ||
## | ||
## bitcoin.conf configuration file. Lines beginning with # are comments. | ||
## | ||
daemon=1 | ||
regtest=1 | ||
|
||
listen=0 | ||
debug=1 | ||
printtoconsole=1 | ||
# JSON-RPC options (for controlling a running Bitcoin/bitcoind process) | ||
|
||
[regtest] | ||
rpcuser=rpcuser | ||
rpcpassword=rpcpass | ||
rpcport=8332 | ||
wallet=test | ||
# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands | ||
server=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
Oops, something went wrong.