From 387d4378a18588b0a7648938d67e8497b622a490 Mon Sep 17 00:00:00 2001 From: wakgill <76528604+wakgill@users.noreply.github.com> Date: Sat, 9 Jan 2021 12:24:08 -0600 Subject: [PATCH] Create 215.md --- docs/forum/bitcoin-forum/215.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/forum/bitcoin-forum/215.md diff --git a/docs/forum/bitcoin-forum/215.md b/docs/forum/bitcoin-forum/215.md new file mode 100644 index 0000000..cbd852b --- /dev/null +++ b/docs/forum/bitcoin-forum/215.md @@ -0,0 +1,26 @@ +--- +layout: forum +title: 'Re: Source code documentation' +grand_parent: Forum Posts +parent: Bitcoin Forum +nav_order: 215 +date: 2010-07-16 17:15:47 UTC +original: https://bitcointalk.org/index.php?topic=393.msg3534#msg3534 +--- + +# Re: Source code documentation + +--- + +``` +Re: Source code documentation +July 16, 2010, 05:15:47 PM + +It's in init.cpp. + +It's a wxWidgets app, so it doesn't have a main() function. It may in a little while, since I'm pretty close to making bitcoind build w/o wxBase. (it'll be in init.cpp) + +Sorry about my choice of the filename "main.cpp", another possible name would have been "core.cpp". It's much too late to change. I still prefer main.cpp. + +We're still in great need of sample code showing the recommended way to use the JSON-RPC functions, like for a basic account system on a typical storefront website. Using getreceivedbylabel using the username as the label, changing to a new bitcoin address once the stored one for that account gets used. I posted a sample code fragment on the forum somewhere. (search on getreceivedbylabel or getnewaddress) The sample code could be a plain vanilla bank site where you can deposit and send payments. +```