Blockchain Enthusiast (qq:53016353)
The goal of this developer's Guide is to provide you with enough information when you develop a digital currency peripheral application. In order to better use this guide, you need to install the latest Bitcoin kernel client, you can download the source code in GitHub or the pre-compiled version of the official website. Once the installation is complete, you will have the following three executables: Bitcoind, BITCOIN-QT, Andbitcoin-cli. If you start without parameters, all programs will be connected to the digital currency Master network (mainnet) by default. To create a transaction on the network, you will pay for the digital currency. The smallest unit of the digital currency is "Cong (satoshis)", 0.00000001 BTC = 1 satoshis.
However, in order to develop, using the digital currency to test the network more secure and inexpensive networks (testnet), the digital currency in the test network has no real-world value. The test network relaxes some of the limitations, such as the detection of standard transactions, which can test some of the functions that are forbidden in the main network.
If you want to use test network testnet, you need to add a parameter-testnet or add testnet=1 to your bitcoin.conf file when you start. At Piotr Piasecki ' s testnet faucet, you can get some free test digital currency. The test network is a free public resource for Community personnel, so please do not misuse it.
You can use regression test mode further to speed up your development by creating a local test network on your computer. Regression test mode allows you to quickly create blocks with RPC commands, get a test digital currency, and instantly generate trades on block chain.
BITCOIN-QT provides a complete Bitcoin peer and wallet front end. In the Help menu, you can find a terminal that knocks the RPC command
Bitcoind is a more useful program: it provides a full peer (node) you can use the RPCs command and communicate it to the official port by default 8332 (test network default port 18332).
BITCOIN-CLI allows you to send RPC commands to Bitcoind via the command line. As an example, BITCOIN-CLI help
These three programs will read the parameter settings from the bitcoin.conf in the bitcoin program directory:
windows:%appdata%\bitcoin\
OSX: $HOME/library/application support/bitcoin/
Questions about digital currency development are best sent to digital currency forums and IRC channels. For errors and suggestions on bitcoin.org documentation, submit it as a proposal or send it to the Bitcoin-documentation mailing list.
In the following guide, some strings are abbreviated as "[...]", indicating that the additional data is deleted, and the line ending with "\" indicates the following. If you move your mouse to a paragraph, the text with the link will turn blue. If you move to a text that has links, an introduction appears on the ToolTip.