mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 10:27:29 +00:00 
			
		
		
		
	Update 15_2_Programming_Bitcoind_with_C.md
This commit is contained in:
		
							parent
							
								
									603863da54
								
							
						
					
					
						commit
						ed53bf1ac0
					
				| @ -157,6 +157,7 @@ if (!tx_id) { | |||||||
| 
 | 
 | ||||||
| Repeat the standard RPC-lookup methodology to get a new address using get new address method. | Repeat the standard RPC-lookup methodology to get a new address using get new address method. | ||||||
| ``` | ``` | ||||||
|  |     rpc_method = bitcoinrpc_method_init(BITCOINRPC_METHOD_GETNEWADDRESS); | ||||||
|     lu_response = bitcoinrpc_resp_get (btcresponse); |     lu_response = bitcoinrpc_resp_get (btcresponse); | ||||||
|     lu_result = json_object_get(lu_response,"result"); |     lu_result = json_object_get(lu_response,"result"); | ||||||
|     char *address = strdup(json_string_value(lu_result)); |     char *address = strdup(json_string_value(lu_result)); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user