博客的内容可通过以下命令在客户端中进行查看:
geth --help
也可以访问github上的wiki文档查看,地址为:
(https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options%20wiki)
具体内容
NAME:
geth - go-ethereum命令行接口
USAGE:
geth [options] command [command options] [arguments...]
VERSION:
1.4.11-stable
COMMANDS:
import 引入一个区块链文件
export 导出区块链到文件
upgradedb 更新区块链数据库
removedb 移除区块链和正式数据库
dump dump a specific block from storage
monitor Geth Monitor: node metrics monitoring and visualization
account 管理账户
wallet ethereum presale wallet
console Geth控制台: JavaScript交互环境
attach Geth控制台: JavaScript交互环境(连接node)
js 在Geth JavaScript VM执行JavaScript文件
makedag generate ethash dag (for testing)
gpuinfo gpuinfo
gpubench benchmark GPU
version 打印ethereum版本号
init 引导初始化一个创世块(JSON)
help, h 显示命令列表或一个命令的帮助
ETHEREUM OPTIONS:
--datadir "/home/karalabe/.ethereum" 数据库和keystore的文件目录
--keystore keystore的文件目录 (default = inside the datadir)
--networkid value Network identifier (integer, 0=Olympic, 1=Frontier, 2=Morden) (default: 1)
--olympic Olympic network: pre-configured pre-release test network
--testnet Morden network: pre-configured test network with modified starting nonces (replay protection)
--dev Developer mode: pre-configured private network with several debugging flags
--identity value Custom node name
--fast Enable fast syncing through state downloads
--lightkdf Reduce key-derivation RAM & CPU usage at some expense of KDF strength
--cache value Megabytes of memory allocated to internal caching (min 16MB / database forced) (default: 128)
--blockchainversion