geth 命令
{
admin: {
datadir: "/home/.ethereum/.ethereum",
nodeInfo: {
enode: "enode://a974839acc148a0a6383606578af12ce0b1f50cadb741047ab88f02f9fcdc2e752070c48557e941251b6ab1f4ff76ae53fa9ad5b1013ec7a83c7ef10bed0e8e9@0.0.0.0:30303",
id: "a974839acc148a0a6383606578af12ce0b1f50cadb741047ab88f02f9fcdc2e752070c48557e941251b6ab1f4ff76ae53fa9ad5b1013ec7a83c7ef10bed0e8e9",
ip: "0.0.0.0",
listenAddr: "[::]:30303",
name: "Geth/v1.7.3-stable-4bb3c89d/linux-amd64/go1.9",
ports: {
discovery: 30303,
listener: 30303
},
protocols: {
eth: {...}
}
},
peers: [{
caps: [...],
id: "017805ce10cc936c8c3d0d6651232a20de3e9a58d96e7df61770fbd09b2862633626ca41cd2fa30767209dfef16c5da88f5cf7e274c1248c256fa6cef5e1818b",
name: "Parity/v1.8.7-stable-e322fd8-20180124/x86_64-linux-gnu/rustc1.23.0",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "02754e0f874df51b4e65cc69c9291ede872d049e97d1f29870592563185f18e542f2ec0bf04127f3ad653f750e8c46ec6726f9f434fde23248356824acbf4ee3",
name: "Parity/v1.7.12-unstable-f96d152548-20180109/x86_64-linux-gnu/rustc1.22.1",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "0ed8a3a4636f5fc0244caea9480755fb119843b3887b600ee1eb126a34b4d30e2a3af1c7ce533d9d9b77edf9227e0c3a2372bfedce4f7677265f488377f1d1a6",
name: "Parity/v1.8.7-stable-e3d32a4-20180123/x86_64-linux-gnu/rustc1.23.0",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "27ea0123d7ee77e2cc6874a3504086aa237cf48c9e73bbfc255b89c843a9623bb41ed6e8f9ffdaf4157787cd95bf62facf98ff83e2900ff54f5ee9b0baf6af08",
name: "Parity/v1.8.6-beta-2d051e4-20180109/x86_64-linux-gnu/rustc1.22.1",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "30fe06df6d28c15f2695faaea7b00173368c2594bac7d6e6bc92113dc5c7b09b1e681fa258d06d5e5a609e2f6246b44cf81ae35008a55e67f4c60e3518f1dff7",
name: "Geth/v1.7.3-stable-4bb3c89d/linux-amd64/go1.9",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "3616e2d0bcacf32f3153630b9fb9e93945846f915975acf7cb9de46ac8d06f52b2a3195a2e7f50c118d3e58a7b032dde18fd4a133628ee5ab5f71a787f18afcc",
name: "Parity/v1.8.9-unstable-1952d05-20180201/x86_64-linux-gnu/rustc1.20.0",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "5a62f19d35c0da8b576c9414568c728d4744e6e9d436c0f9db27456400011414f515871f13a6b8e0468534b5116cfe765d7630f680f1707a38467940a9f62511",
name: "Parity/v1.8.5-beta-54bae9a-20171228/x86_64-linux-gnu/rustc1.22.1",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "68a3256df4824ffadf9df6f9f29f9a6d30ae9fece72c36780b17e87efd031480417310dedb863dda4ef56044e7cad3cb28123693de5eac391c50e517e3a5abef",
name: "Parity/v1.7.8-stable-d5fcf3b-20171025/x86_64-linux-gnu/rustc1.21.0",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "8f8a4e341a255f196ea28221334dfa393295ade258dd4c66f2b94c0fe8413bb0cdccd26068ae66a23dfae6a786fd8a9d8b06458ed2b4368d889d9ffcf4d59c72",
name: "Parity/v1.8.9-unstable-1952d05-20180201/x86_64-linux-gnu/rustc1.20.0",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "a83a6307ff2fffc44195968dbd5ae841d6a6a5bba0843bcea57e4c0792ea25f4cbf002a85bb69d230cc1e892f5e8397ceb43c3bf464ff2dc3a05aeb0c6ea4265",
name: "Parity/v1.8.3-beta-b49c44a-20171114/x86_64-linux-gnu/rustc1.21.0",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "b69513ba8f6cd3abb4875a2bd4ff9c76502d1284c1c4c56560cfa6ffbdb344d295839ef6c0a0c8b10446b8e40bfc4c64eafde6f53b9589a75515b44ae3e44885",
name: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "b8a993cd6a33eda09a5c250dfae3beab41e382bcdf6a6eba19ddcab3a5afb47166892ecb8e4f1c544aeaaaddc03bfdf70ae7dc96bf56597d1d2a9145964003ed",
name: "Geth/v1.7.3-stable-4bb3c89d/linux-amd64/go1.9.2",
network: {...},
protocols: {...}
}, {
caps: [...],
id: "bea196f31c31c69fa1abc2525f56e7bee5af8d113060b4ae7bdd4a0214f9a0891025f109b318b8a8cd5b42a0453bc7e8ea00764cb768f1377444519c9dafa24c",
name: "Geth/v1.7.2-stable-1db4ecdc/linux-amd64/go1.9",
network: {...},
protocols: {...}
}],
addPeer: function(),
exportChain: function(),
getDatadir: function(callback),
getNodeInfo: function(callback),
getPeers: function(callback),
importChain: function(),
removePeer: function(),
sleep: function github.com/ethereum/go-ethereum/console.(*bridge).Sleep-fm(),
sleepBlocks: function github.com/ethereum/go-ethereum/console.(*bridge).SleepBlocks-fm(),
startRPC: function(),
startWS: function(),
stopRPC: function(),
stopWS: function()
},
bzz: {
hive: undefined,
info: undefined,
blockNetworkRead: function(),
download: function(),
get: function(),
getHive: function(callback),
getInfo: function(callback),
modify: function(),
put: function(),
retrieve: function(),
store: function(),
swapEnabled: function(),
syncEnabled: function(),
upload: function()
},
currentProvider: {
newAccount: function(),
openWallet: function(),
send: function github.com/ethereum/go-ethereum/console.(*bridge).Send-fm(),
sendAsync: function github.com/ethereum/go-ethereum/console.(*bridge).Send-fm(),
sign: function(),
unlockAccount: function()
},
db: {
getHex: function(),
getString: function(),
putHex: function(),
putString: function()
},
debug: {
backtraceAt: function(),
blockProfile: function(),
chaindbCompact: function(),
chaindbProperty: function(),
cpuProfile: function(),
dumpBlock: function(),
freeOSMemory: function(),
gcStats: function(),
getBadBlocks: function(),
getBlockRlp: function(),
getModifiedAccountsByHash: function(),
getModifiedAccountsByNumber: function(),
goTrace: function(),
memStats: function(),
metrics: function(),
preimage: function(),
printBlock: function(),
seedHash: function(),
setBlockProfileRate: function(),
setGCPercent: function(),
setHead: function(),
stacks: function(),
startCPUProfile: function(),
startGoTrace: function(),
stopCPUProfile: function(),
stopGoTrace: function(),
storageRangeAt: function(),
traceBlock: function(),
traceBlockByHash: function(),
traceBlockByNumber: function(),
traceBlockFromFile: function(),
traceTransaction: function(),
verbosity: function(),
vmodule: function(),
writeBlockProfile: function(),
writeMemProfile: function()
},
eth: {
accounts: ["0xd9a0cb397a06ab5d226de3220e28537e461fcd70"],
blockNumber: 5047590,
coinbase: "0xd9a0cb397a06ab5d226de3220e28537e461fcd70",
compile: {
lll: function(),
serpent: function(),
solidity: function()
},
defaultAccount: undefined,
defaultBlock: "latest",
gasPrice: 25000000000,
hashrate: 33487457,
mining: true,
pendingTransactions: [],
protocolVersion: "0x3f",
syncing: {
currentBlock: 5047590,
highestBlock: 5050289,
knownStates: 0,
pulledStates: 0,
startingBlock: 5045304
},
call: function(),
contract: function(abi),
estimateGas: function(),
filter: function(options, callback, filterCreationErrorCallback),
getAccounts: function(callback),
getBalance: function(),
getBlock: function(),
getBlockNumber: function(callback),
getBlockTransactionCount: function(),
getBlockUncleCount: function(),
getCode: function(),
getCoinbase: function(callback),
getCompilers: function(),
getGasPrice: function(callback),
getHashrate: function(callback),
getMining: function(callback),
getPendingTransactions: function(callback),
getProtocolVersion: function(callback),
getRawTransaction: function(),
getRawTransactionFromBlock: function(),
getStorageAt: function(),
getSyncing: function(callback),
getTransaction: function(),
getTransactionCount: function(),
getTransactionFromBlock: function(),
getTransactionReceipt: function(),
getUncle: function(),
getWork: function(),
iban: function(iban),
icapNamereg: function(),
isSyncing: function(callback),
namereg: function(),
resend: function(),
sendIBANTransaction: function(),
sendRawTransaction: function(),
sendTransaction: function(),
sign: function(),
signTransaction: function(),
submitTransaction: function(),
submitWork: function()
},
isIBAN: undefined,
miner: {
getHashrate: function(),
setEtherbase: function(),
setExtra: function(),
setGasPrice: function(),
start: function(),
stop: function()
},
net: {
listening: true,
peerCount: 13,
version: "1",
getListening: function(callback),
getPeerCount: function(callback),
getVersion: function(callback)
},
personal: {
listAccounts: ["0xd9a0cb397a06ab5d226de3220e28537e461fcd70"],
listWallets: [{
accounts: [...],
status: "Locked",
url: "keystore:///home/.ethereum/.ethereum/keystore/UTC--2018-02-06T03-00-07.812695100Z--d9a0cb397a06ab5d226de3220e28537e461fcd70"
}],
deriveAccount: function(),
ecRecover: function(),
getListAccounts: function(callback),
getListWallets: function(callback),
importRawKey: function(),
lockAccount: function(),
newAccount: function github.com/ethereum/go-ethereum/console.(*bridge).NewAccount-fm(),
openWallet: function github.com/ethereum/go-ethereum/console.(*bridge).OpenWallet-fm(),
sendTransaction: function(),
sign: function github.com/ethereum/go-ethereum/console.(*bridge).Sign-fm(),
unlockAccount: function github.com/ethereum/go-ethereum/console.(*bridge).UnlockAccount-fm()
},
providers: {
HttpProvider: function(host, timeout, user, password),
IpcProvider: function(path, net)
},
rpc: {
modules: {
admin: "1.0",
debug: "1.0",
eth: "1.0",
miner: "1.0",
net: "1.0",
personal: "1.0",
rpc: "1.0",
txpool: "1.0",
web3: "1.0"
},
getModules: function(callback)
},
settings: {
defaultAccount: undefined,
defaultBlock: "latest"
},
shh: {
addPrivateKey: function(),
addSymKey: function(),
deleteKeyPair: function(),
deleteSymKey: function(),
generateSymKeyFromPassword: function(),
getPrivateKey: function(),
getPublicKey: function(),
getSymKey: function(),
hasKeyPair: function(),
hasSymKey: function(),
info: function(),
markTrustedPeer: function(),
newKeyPair: function(),
newMessageFilter: function(options, callback, filterCreationErrorCallback),
newSymKey: function(),
post: function(),
setMaxMessageSize: function(),
setMinPoW: function(),
version: function()
},
txpool: {
content: {
pending: {},
queued: {}
},
inspect: {
pending: {},
queued: {}
},
status: {
pending: 0,
queued: 0
},
getContent: function(callback),
getInspect: function(callback),
getStatus: function(callback)
},
version: {
api: "0.20.1",
ethereum: "0x3f",
network: "1",
node: "Geth/v1.7.3-stable-4bb3c89d/linux-amd64/go1.9",
whisper: undefined,
getEthereum: function(callback),
getNetwork: function(callback),
getNode: function(callback),
getWhisper: function(callback)
},
BigNumber: function a(e,n),
createBatch: function(),
fromAscii: function(str),
fromDecimal: function(value),
fromICAP: function(icap),
fromUtf8: function(str),
fromWei: function(number, unit),
isAddress: function(address),
isChecksumAddress: function(address),
isConnected: function(),
padLeft: function(string, chars, sign),
padRight: function(string, chars, sign),
reset: function(keepIsSyncing),
setProvider: function(provider),
sha3: function(string, options),
toAscii: function(hex),
toBigNumber: function(number),
toChecksumAddress: function(address),
toDecimal: function(value),
toHex: function(val),
toUtf8: function(hex),
toWei: function(number, unit)
}
geth 命令的更多相关文章
- 以太坊客户端Geth命令用法-参数详解
Geth在以太坊智能合约开发中最常用的工具(必备开发工具),一个多用途的命令行工具. 熟悉Geth可以让我们有更好的效率,大家可收藏起来作为Geth命令用法手册. 本文主要是对geth help的翻译 ...
- 以太坊客户端Geth命令用法-参数详解【转载】
原文链接:http://www.cnblogs.com/tinyxiong/p/7918706.html Geth在以太坊智能合约开发中最常用的工具(必备开发工具),一个多用途的命令行工具.熟悉Get ...
- Geth命令用法-参数详解 and 以太坊源码文件目录
本文是对以太坊客户端geth命令的解析 命令用法 geth [选项] 命令 [命令选项] [参数-] 版本 1.7.3-stable 命令 account 管理账户 attach 启动交互式JavaS ...
- c#实战开发:以太坊Geth 命令发布智能合约 (五)
Token的合约代码我们参考Token-Factory的代码. 打开 https://remix.ethereum.org/#optimize=false&version=soljson-v ...
- 以太坊客户端Geth命令用法
命令用法 geth [选项] 命令 [命令选项] [参数…] 命令: account 管理账户attach 启动交互式JavaScript环境(连接到节点)bug 上报bug Issuesconsol ...
- 从头到尾使用Geth的说明-2-cli可用命令-有2个地方标红,之后查查源码后看看能不能解决
geth - the go-ethereum command line interface 以太坊命令行接口 格式: geth [options] command [command options] ...
- geth入门命令和miner.start返回null的问题
geth –datadir “./ethdev” –nodiscover console 2>>geth.log //geth 进入控制台 –datadir 指定链的目录 与公有链区分开 ...
- Geth控制台使用及Web3.js使用实战
在开发以太坊去中心化应用,免不了和以太坊进行交互,那就离不开Web3. Geth 控制台(REPL)实现了所有的web3 API及Admin API, 使用好 Geth 就是必修课.结合Geth命令用 ...
- Geth 控制台使用及 Web3.js 使用实战
在开发以太坊去中心化应用,免不了和以太坊进行交互,那就离不开Web3.Geth 控制台(REPL)实现了所有的web3 API及Admin API,使用好 Geth 就是必修课.结合Geth命令用法阅 ...
随机推荐
- .NetCore Linux环境下安装InfluxDB以及配置设置
Linux下安装 确定需要安装的版本,我的linux是干净的,所以我需要先安装wget yum -y install wget 下载安装 wget https://dl.influxdata.com/ ...
- python的mock功能,感觉入门了~~~
主要实现语法有patch, patch.object, Mock(). 下面的测试太赤裸裸了,只是为了熟悉语法. import unittest from unittest.mock import p ...
- MVC的博客
一个基于Asp.net MVC的博客类网站开源了! 背景说明: 大学时毕业设计作品,一直闲置在硬盘了,倒想着不如开源出来,也许会对一些人有帮助呢,而且个人觉得这个网站做得还是不错了,毕竟是花了不少 ...
- 002 jquery基本选择器
1.选择器 2.基本选择器 3.程序(包含以上五种基本选择器) <!DOCTYPE html> <html> <head> <meta charset=&qu ...
- 【BZOJ 1211】 1211: [HNOI2004]树的计数 (prufer序列、计数)
1211: [HNOI2004]树的计数 Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 2468 Solved: 868 Description 一 ...
- BZOJ.1901.Dynamic Rankings(树状数组套主席树(动态主席树))
题目链接 BZOJ 洛谷 区间第k小,我们可以想到主席树.然而这是静态的,怎么支持修改? 静态的主席树是利用前缀和+差分来求解的,那么对于每个位置上的每棵树看做一个点,拿树状数组更新. 还是树状数组的 ...
- zoj 3640 概率dp
题意:一只吸血鬼,有n条路给他走,每次他随机走一条路,每条路有个限制,如果当时这个吸血鬼的攻击力大于等于某个值,那么就会花费t天逃出去,否则,花费1天的时间,并且攻击力增加,问他逃出去的期望 用记忆化 ...
- Hystrix简单介绍
Netflix的Hystrix是一个帮助解决分布式系统交互超时处理和容错的类库,同样拥有保护系统的能力. 服务隔离 服务降级 1.服务隔离 在一个系统中,一个业务通常会依赖多个服务,且这若干个服务的调 ...
- spring boot学习总结(一)-- 基础入门 Hello,spring boot!
写在最前 SpringBoot是伴随着Spring4.0诞生的: 从字面理解,Boot是引导的意思,因此SpringBoot帮助开发者快速搭建Spring框架: SpringBoot帮助开发者快速启动 ...
- 1、QThreadPool线程池的使用,线程和Widget通过QMetaObject::invokeMethod交互。
自定义一个QThreadPool,N个线程QRunnable,线程和Widget通过QMetaObject::invokeMethod交互. QRunnable非继承自QObject,所以不可以用信号 ...