Title: pre segwit source code Post by: bartekjagoda on August 13, 2019, 09:56:11 AM 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 Title: Re: pre segwit source code Post by: Rath_ on August 13, 2019, 10:10:12 AM 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 (https://github.com/bitcoin/bitcoin/releases/tag/v0.12.1).
Title: Re: pre segwit source code Post by: bartekjagoda on August 13, 2019, 02:10:01 PM 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 (https://github.com/bitcoin/bitcoin/releases/tag/v0.12.1). 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 Title: Re: pre segwit source code Post by: Heisenberg_Hunter on August 14, 2019, 06:13:43 AM 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. Title: Re: pre segwit source code Post by: bartekjagoda on August 14, 2019, 06:09:27 PM 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! |