From d1e2bbb2e06a9942214095d8be901239f7a477ab Mon Sep 17 00:00:00 2001 From: MMGen Date: Fri, 8 Jun 2018 10:12:14 +0000 Subject: [PATCH] Minor changes --- mmgen/altcoins/eth/obj.py | 2 +- mmgen/altcoins/eth/tw.py | 3 ++- mmgen/altcoins/eth/tx.py | 2 +- mmgen/rpc.py | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mmgen/altcoins/eth/obj.py b/mmgen/altcoins/eth/obj.py index 8a27ca11..ce8c5fa2 100755 --- a/mmgen/altcoins/eth/obj.py +++ b/mmgen/altcoins/eth/obj.py @@ -18,7 +18,7 @@ # along with this program. If not, see . """ -obj.py: MMGen native classes for Ethereum +altcoins.eth.obj: Ethereum data type classes for the MMGen suite """ # Kwei (babbage) 3, Mwei (lovelace) 6, Gwei (shannon) 9, µETH (szabo) 12, mETH (finney) 15, ETH 18 diff --git a/mmgen/altcoins/eth/tw.py b/mmgen/altcoins/eth/tw.py index 5f4b6e09..a999db3c 100755 --- a/mmgen/altcoins/eth/tw.py +++ b/mmgen/altcoins/eth/tw.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: UTF-8 -*- # # mmgen = Multi-Mode GENerator, command-line Bitcoin cold storage solution # Copyright (C)2013-2018 The MMGen Project @@ -17,7 +18,7 @@ # along with this program. If not, see . """ -altcoins.eth.tw: ETH tracking wallet functions and methods for the MMGen suite +altcoins.eth.tw: Ethereum tracking wallet and related classes for the MMGen suite """ import json diff --git a/mmgen/altcoins/eth/tx.py b/mmgen/altcoins/eth/tx.py index 20525559..11ca2745 100755 --- a/mmgen/altcoins/eth/tx.py +++ b/mmgen/altcoins/eth/tx.py @@ -18,7 +18,7 @@ # along with this program. If not, see . """ -altcoins.eth.tx: Ethereum transaction routines for the MMGen suite +altcoins.eth.tx: Ethereum transaction classes for the MMGen suite """ import json diff --git a/mmgen/rpc.py b/mmgen/rpc.py index d2267022..9165d85b 100755 --- a/mmgen/rpc.py +++ b/mmgen/rpc.py @@ -211,11 +211,14 @@ class EthereumRPCConnection(CoinDaemonRPCConnection): rpcmethods = ( 'eth_accounts', 'eth_blockNumber', + 'eth_call', 'eth_gasPrice', 'eth_getBalance', 'eth_getBlockByHash', 'eth_getBlockByNumber', + 'eth_getCode', 'eth_getTransactionByHash', + 'eth_getTransactionReceipt', 'eth_protocolVersion', 'eth_sendRawTransaction', 'eth_signTransaction',