mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 18:37:36 +00:00 
			
		
		
		
	Update 15_2_Programming_Bitcoind_with_C.md
This commit is contained in:
		
							parent
							
								
									9b0886c34d
								
							
						
					
					
						commit
						8de7475d37
					
				| @ -64,7 +64,7 @@ float tx_total = tx_amount + tx_fee; | |||||||
| 
 | 
 | ||||||
| ### X. Prepare Your RPC  | ### X. Prepare Your RPC  | ||||||
| 
 | 
 | ||||||
| Obviously, you're going to need to get all of your variables ready again, as discussed in [§12.2: Accessing Bitcoind with C](15_1_Accessing_Bitcoind_with_C.md). You also need to initialize your library, connect your RPC client, and prepare your response object: | Obviously, you're going to need to get all of your variables ready again, as discussed in [§15.1: Accessing Bitcoind with C](15_1_Accessing_Bitcoind_with_C.md). You also need to initialize your library, connect your RPC client, and prepare your response object: | ||||||
| ``` | ``` | ||||||
| bitcoinrpc_global_init(); | bitcoinrpc_global_init(); | ||||||
| rpc_client = bitcoinrpc_cl_init_params ("bitcoinrpc", "73bd45ba60ab8f9ff9846b6404769487", "127.0.0.1", 18332); | rpc_client = bitcoinrpc_cl_init_params ("bitcoinrpc", "73bd45ba60ab8f9ff9846b6404769487", "127.0.0.1", 18332); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user