上QQ阅读APP看书,第一时间看更新
Conventions Used
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The orderer belongs to its own organization called TradeOrdererOrg."
A block of code is set as follows:
- &ExporterOrg
Name: ExporterOrgMSP
ID: ExporterOrgMSP
MSPDir: crypto-config/peerOrganizations/exporterorg.trade.com/msp
AnchorPeers:
- Host: peer0.exporterorg.trade.com
Port: 7051
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
pragma solidity ^0.4.15;
import 'zeppelin/contracts/math/SafeMath.sol';
….
contract ExampleCoin is ERC20 {
//SafeMath symbol is from imported file SafeMath.sol'
using SafeMath for uint256;
…
}
Any command-line input or output is written as follows:
mkdir ~/insurance-claim && cd ~/insurance-claim
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "When the preceding request is validated by mining nodes, the HelloWorld smart contract is invoked."
Warnings or important notes appear like this.
Tips and tricks appear like this.