Browse Source

update coin daemon support for ETH, BCH

- Geth              v1.13.12
- Bitcoin Cash Node v27.0.0
The MMGen Project 1 year ago
parent
commit
389bd0b68b
4 changed files with 4 additions and 4 deletions
  1. 1 1
      mmgen/data/version
  2. 1 1
      mmgen/proto/btc/daemon.py
  3. 1 1
      mmgen/proto/eth/daemon.py
  4. 1 1
      test/cmdtest_py_d/ct_ethdev.py

+ 1 - 1
mmgen/data/version

@@ -1 +1 @@
-14.1.dev10
+14.1.dev11

+ 1 - 1
mmgen/proto/btc/daemon.py

@@ -123,7 +123,7 @@ class bitcoin_core_daemon(CoinDaemon):
 		return e.args[0]
 		return e.args[0]
 
 
 class bitcoin_cash_node_daemon(bitcoin_core_daemon):
 class bitcoin_cash_node_daemon(bitcoin_core_daemon):
-	daemon_data = _dd('Bitcoin Cash Node', 26010000, '26.1.0')
+	daemon_data = _dd('Bitcoin Cash Node', 27000000, '27.0.0')
 	exec_fn = 'bitcoind-bchn'
 	exec_fn = 'bitcoind-bchn'
 	cli_fn = 'bitcoin-cli-bchn'
 	cli_fn = 'bitcoin-cli-bchn'
 	rpc_ports = _nw(8432, 18432, 18543) # use non-standard ports (core+100)
 	rpc_ports = _nw(8432, 18432, 18543) # use non-standard ports (core+100)

+ 1 - 1
mmgen/proto/eth/daemon.py

@@ -91,7 +91,7 @@ class parity_daemon(openethereum_daemon):
 	exec_fn = 'parity'
 	exec_fn = 'parity'
 
 
 class geth_daemon(ethereum_daemon):
 class geth_daemon(ethereum_daemon):
-	daemon_data = _dd('Geth', 1013004, '1.13.4')
+	daemon_data = _dd('Geth', 1013012, '1.13.12')
 	version_pat = r'Geth/v(\d+)\.(\d+)\.(\d+)'
 	version_pat = r'Geth/v(\d+)\.(\d+)\.(\d+)'
 	exec_fn = 'geth'
 	exec_fn = 'geth'
 	use_pidfile = False
 	use_pidfile = False

+ 1 - 1
test/cmdtest_py_d/ct_ethdev.py

@@ -533,7 +533,7 @@ class CmdTestEthdev(CmdTestBase,CmdTestShared):
 				'timestamp': '0x0',
 				'timestamp': '0x0',
 				'extraData': '0x',
 				'extraData': '0x',
 				'gasLimit': '0xaf79e0',
 				'gasLimit': '0xaf79e0',
-				'difficulty': '0x0',
+				'difficulty': '0x1',
 				'mixHash': '0x0000000000000000000000000000000000000000000000000000000000000000',
 				'mixHash': '0x0000000000000000000000000000000000000000000000000000000000000000',
 				'coinbase': '0x0000000000000000000000000000000000000000',
 				'coinbase': '0x0000000000000000000000000000000000000000',
 				'number': '0x0',
 				'number': '0x0',