Author

Topic: pre segwit source code (Read 227 times)

jr. member
Activity: 87
Merit: 5
August 14, 2019, 02:09:27 PM
#5

Open Bitcoin Core GUI application. Then go to Settings -> Options -> Open Configuration File. Type regtest=1, save it and reopen the core application. In the console type

Code:
generate 101

to generate 101 blocks and receive the 50 BTC which can be used for local testing purposes.

thank you!
legendary
Activity: 1583
Merit: 1276
Heisenberg Design Services
August 14, 2019, 02:13:43 AM
#4
What do I need to do to start a genesis block and start to mine locally from lets say block 10,000 to setup a local bitcoin "fork"
For that, you need to run the bitcoind or bitcoin core with the regtest mode. A regtest mode is completely different from a testnet mode. With regtest, you can create your own blocks whenever you need and you will be having a very less difficulty as how satoshi mined the initial blocks. Note that a regtest application is no way related to testnet which is very much similar to the mainnet application.

Do the following to enter regtest mode :

Open Bitcoin Core GUI application. Then go to Settings -> Options -> Open Configuration File. Type regtest=1, save it and reopen the core application. In the console type

Code:
generate 101

to generate 101 blocks and receive the 50 BTC which can be used for local testing purposes.
jr. member
Activity: 87
Merit: 5
August 13, 2019, 10:10:01 AM
#3
In Bitcoin Core v0.13.1 SegWit softfork activation parameters were introduced and v0.13.0 included some preparations, so you should be fine with the v0.12.1. You can download the source code directly from the official GitHub page.

Thank you.

What do I need to do to start a genesis block and start to mine locally from lets say block 10,000 to setup a local bitcoin "fork"

thanks in advance
legendary
Activity: 1876
Merit: 3131
August 13, 2019, 06:10:12 AM
#2
In Bitcoin Core v0.13.1 SegWit softfork activation parameters were introduced and v0.13.0 included some preparations, so you should be fine with the v0.12.1. You can download the source code directly from the official GitHub page.
jr. member
Activity: 87
Merit: 5
August 13, 2019, 05:56:11 AM
#1
Is there a page where I can download pre-segwit source code of bitcoin core to setup a local test network?

thank you in advance
Jump to: