From d84af0f55ca7ebcb9170778bce041d63b53cd6e5 Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Wed, 5 Aug 2020 10:16:56 -1000 Subject: [PATCH] added warning about error code 5. --- 15_1_Accessing_Bitcoind_with_C.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/15_1_Accessing_Bitcoind_with_C.md b/15_1_Accessing_Bitcoind_with_C.md index 80e73d1..d39f35b 100644 --- a/15_1_Accessing_Bitcoind_with_C.md +++ b/15_1_Accessing_Bitcoind_with_C.md @@ -156,6 +156,8 @@ $ ./testbitcoin Successfully connected to server! ``` +> :warning: **WARNING:** If you forget to enter your RPC password in this or any other code samples that depend on RPC, you will receive a mysterious `ERROR CODE 5`. + ## Making an RPC Call In order to use an RPC method using `libbitcoinrpc`, you must initialize a variable of type `bitcoinrpc_method_t`. You do so with the appropriate value for the method you want to use, all of which are listed in the [bitcoinrpc Reference](https://github.com/gitmarek/libbitcoinrpc/blob/master/doc/reference.md).