Browse Source

Minor changes

MMGen 6 years ago
parent
commit
d1e2bbb2e0
4 changed files with 7 additions and 3 deletions
  1. 1 1
      mmgen/altcoins/eth/obj.py
  2. 2 1
      mmgen/altcoins/eth/tw.py
  3. 1 1
      mmgen/altcoins/eth/tx.py
  4. 3 0
      mmgen/rpc.py

+ 1 - 1
mmgen/altcoins/eth/obj.py

@@ -18,7 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-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

+ 2 - 1
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 <mmgen@tuta.io>
@@ -17,7 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-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

+ 1 - 1
mmgen/altcoins/eth/tx.py

@@ -18,7 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-altcoins.eth.tx: Ethereum transaction routines for the MMGen suite
+altcoins.eth.tx: Ethereum transaction classes for the MMGen suite
 """
 
 import json

+ 3 - 0
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',