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命令用法阅 ...
随机推荐
- nginx支持ssl双向认证配置
nginx支持ssl双向认证配置 listen 443; server_name test.com; ssl on; ssl_certificate server.crt; //server端公钥 s ...
- Linux磁盘空间扩容(LVM)
Linux磁盘空间扩容(lvm) 随着系统的运行时间增长,业务数据的增长,原有磁盘的空间会存在空间不足情况,导致系统不能正常运行,或者系统管理员磁盘没有完全划完,根据使用者的需求自行划分.那么怎么才能 ...
- Serilog 记录日志
Serilog 记录日志 Serilog是.net里面非常不错的记录日志的库,另外一个我认为比较好的Log库是NLog. 在我个人的asp.net web api 2 基础框架(Github地址)里, ...
- CSS------如何让ul中的li分为两列甚至多列
转载: http://blog.sina.com.cn/s/blog_7f13f92a0100rkfg.html 只需要复制ul和li中的style样式即可 如果需要自定义多少列,只需要修改li中的w ...
- 如何对手机使用adb
因为要配合前端做测试,所以我需要在本机中安装adb驱动,以便可以连接手机进行各种操作. 好吧...装adb驱动这块当时我没有把流程给做记录...郁闷,下次再安装的时候再谷歌吧. 使用的简单脚本就是 有 ...
- Java动态代理机制研读
java动态加载类(反射机制) /*MyClass.java*/ public class MyClass { public int id; public String name; public in ...
- 006.FTP用户访问控制配置
一 FTP控制文件 1.1 文件说明 /etc/vsftpd/ftpusers:黑名单,优先级高 #通常不修改此文件 /etc/vsftpd/user_list:黑名单,优先级相对低 注意:Linux ...
- linux学习笔记-13.进程控制
1.查看用户最近登录情况 lastlastlog 2.查看硬盘使用情况 df 3.查看文件大小 du 4.查看内存使用情况 free 5.查看文件系统 /proc 6.查看日志 ls /var/log ...
- Vue.js组件遇到的那些坑
对于绝大多数开发人员来讲,组件是使用Vue.js不能逃避的话题,当然实际开发也会有很多需要注意的地方,一下均为实际操作中遇到的坑,接下来逐一为大家分享: 1.定义并注册组件必须要在声明Vue实例之前, ...
- 两种思想实现基于jquery的延时导航菜单,可做延时触发器!
1. 函数式 html如下: <div class="box"> <ul class="clear-fix"> <li class ...