zoukankan      html  css  js  c++  java
  • 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)
    }
    

      

  • 相关阅读:
    [ZOJ 3622] Magic Number
    SGU 134.Centroid(图心)
    SGU 223.Little Kings
    C++ IO 详细用法
    POJ2632 Crashing Robots 解题报告
    POJ1068 Parencodings 解题报告
    POJ3295 Tautology 解题报告
    POJ2586 Y2K Accounting Bug 解题报告
    POJ1328 Radar Installation 解题报告
    POJ3728 The merchant解题报告
  • 原文地址:https://www.cnblogs.com/ahuo/p/8430353.html
Copyright © 2011-2022 走看看