mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 10:27:29 +00:00 
			
		
		
		
	Resetting the Regtest Blockchain
This commit is contained in:
		
							parent
							
								
									16761c7be7
								
							
						
					
					
						commit
						e10c8cabd5
					
				| @ -12,6 +12,11 @@ To start your Bitcoind (Bitcoin Daemon) in Regtest mode and create a private Blo | |||||||
| $ bitcoind -regtest -daemon | $ bitcoind -regtest -daemon | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | ## Resetting the Regtest Blockchain | ||||||
|  | 
 | ||||||
|  | Regtest wallets and block chain state (chainstate) are saved in the regtest subdirectory of the Bitcoin configuration directory.  | ||||||
|  | If you want to start a brand new Blockchain using the Regtest mode, all you have to do is delete the `regtest` folder and restart the Bitcoind. | ||||||
|  | 
 | ||||||
| ## What's Next? | ## What's Next? | ||||||
| 
 | 
 | ||||||
| After starting your bitcoind in the Regtest mode, you can now use Regtest-specific RPC commands to [generate/mine blocks in your private chain](15_3_Mining_with_Regtest.md). | After starting your bitcoind in the Regtest mode, you can now use Regtest-specific RPC commands to [generate/mine blocks in your private chain](15_3_Mining_with_Regtest.md). | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user