Skip to content

Commit fadb5a5

Browse files
committed
Fix links in chapter 16
1 parent ae2f32a commit fadb5a5

3 files changed

+5
-5
lines changed

16_1_Accessing_Bitcoind_with_C.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ bitcoinrpc_global_cleanup();
147147

148148
### Test the Test Code
149149

150-
Test code can be found at [15_1_testbitcoin.c in the src directory](src/15_1_testbitcoin.c). Download it to your testnet machine, then insert the correct RPC password (and change the RPC user if you didn't create your server with StandUp).
150+
Test code can be found at [16_1_testbitcoin.c in the src directory](src/16_1_testbitcoin.c). Download it to your testnet machine, then insert the correct RPC password (and change the RPC user if you didn't create your server with StandUp).
151151

152152
You can compile and run this as follows:
153153
```
@@ -213,7 +213,7 @@ printf("Block Count: %d\n",blocks);
213213
214214
### Test the Info Code
215215

216-
Retrieve the test code from [the src directory](src/15_1_getmininginfo.c).
216+
Retrieve the test code from [the src directory](src/16_1_getmininginfo.c).
217217
```
218218
$ cc getmininginfo.c -lbitcoinrpc -ljansson -o getmininginfo
219219
$ ./getmininginfo

16_2_Programming_Bitcoind_with_C.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> :information_source: **NOTE:** This section has been recently added to the course and is an early draft that may still be awaiting review. Caveat reader.
44
5-
[§15.1](15_1_Accessing_Bitcoind_with_C.md) laid out the methodology for creating C programs using RPC and JSON libraries. We're now going to show the potential of those C libraries by laying out a simplistic, first cut of an actual Bitcoin program.
5+
[§16.1](16_1_Accessing_Bitcoind_with_C.md) laid out the methodology for creating C programs using RPC and JSON libraries. We're now going to show the potential of those C libraries by laying out a simplistic, first cut of an actual Bitcoin program.
66

77
## Plan for Your Code
88

@@ -324,7 +324,7 @@ The entire code, with a _little_ more error-checking appears in the Appendix.
324324

325325
## Test Your Code
326326

327-
The complete code can be found in the [src directory](src/15_2_sendtoaddress.c).
327+
The complete code can be found in the [src directory](src/16_2_sendtoaddress.c).
328328

329329
Compile this as usual:
330330
```

16_3_Receiving_Bitcoind_Notifications_with_C.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Of course when you're done, you should clean up:
121121

122122
### Test the Notification Code
123123

124-
The source code is in the [src directory](src/15_3_chainlistener.c) as usual. You should compile it:
124+
The source code is in the [src directory](src/16_3_chainlistener.c) as usual. You should compile it:
125125
```
126126
$ cc -o chainlistener chainlistener.c -I/usr/local/include -L/usr/local/lib -lzmq -lczmq
127127
```

0 commit comments

Comments
 (0)