mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 02:17:24 +00:00 
			
		
		
		
	Flag -regtest is needed when using the bitcoin-cli
This commit is contained in:
		
							parent
							
								
									0c27f80628
								
							
						
					
					
						commit
						1ef4324b58
					
				| @ -13,6 +13,6 @@ $ bitcoin-cli -regtest getbalance | ||||
| ``` | ||||
| 
 | ||||
| ## Testing the Regtest | ||||
| Now you should be able to use this balance for any type of interaction with the private Blockchain, such as sending Bitcoin transactions according to [Chapter 4]((04_0_Sending_Bitcoin_Transactions.md)) in this guide. | ||||
| Now you should be able to use this balance for any type of interaction with the private Blockchain, such as sending Bitcoin transactions according to [Chapter 4]((04_0_Sending_Bitcoin_Transactions.md)) in this guide. The only difference is that you need to use the flag `-regtest` when running the `bitcoin-cli` in order for the request to be sent to the Regtest Bitcoin daemon. | ||||
| 
 | ||||
| It is important to note that for your transactions to complete, you will have to generate/mine new blocks so that the transactions can be included into them. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user