update coin daemon support (BTC, LTC, BCH, Geth)

- Bitcoin Core       v31.0.0
- Litecoin Core      v0.21.5.4
- Bitcoin Cash Node  v29.0.0
- Go-Ethereum        v1.17.2
This commit is contained in:
The MMGen Project 2026-04-27 13:52:10 +00:00
commit c406336ca4
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 10 additions and 5 deletions

View file

@ -19,7 +19,7 @@ from ...util import list_gen
from ...daemon import CoinDaemon, _nw, _dd
class bitcoin_core_daemon(CoinDaemon):
daemon_data = _dd('Bitcoin Core', 300200, '30.2.0')
daemon_data = _dd('Bitcoin Core', 310000, '31.0.0')
exec_fn = 'bitcoind'
cli_fn = 'bitcoin-cli'
testnet_dir = 'testnet3'
@ -123,7 +123,7 @@ class bitcoin_core_daemon(CoinDaemon):
return e.args[0]
class bitcoin_cash_node_daemon(bitcoin_core_daemon):
daemon_data = _dd('Bitcoin Cash Node', 28000100, '28.0.1')
daemon_data = _dd('Bitcoin Cash Node', 29000000, '29.0.0')
exec_fn = 'bitcoind-bchn'
cli_fn = 'bitcoin-cli-bchn'
rpc_ports = _nw(8432, 18432, 18543) # use non-standard ports (core+100)
@ -151,7 +151,7 @@ class bitcoin_cash_node_daemon(bitcoin_core_daemon):
class litecoin_core_daemon(bitcoin_core_daemon):
# v0.21.2rc5 crashes when mining more than 431 blocks in regtest mode:
# CreateNewBlock: TestBlockValidity failed: bad-txns-vin-empty, Transaction check failed
daemon_data = _dd('Litecoin Core', 210400, '0.21.4')
daemon_data = _dd('Litecoin Core', 210504, '0.21.5.4')
exec_fn = 'litecoind'
cli_fn = 'litecoin-cli'
testnet_dir = 'testnet4'

View file

@ -96,7 +96,7 @@ class geth_daemon(ethereum_daemon):
# mempool deadlock in dev mode: "transaction indexing is in progress"
# https://github.com/ethereum/go-ethereum/issues/29475
# offending commit (via git bisect): 0a2f33946b95989e8ce36e72a88138adceab6a23
daemon_data = _dd('Geth', 1016007, '1.16.7')
daemon_data = _dd('Geth', 1017002, '1.17.2')
version_pat = r'Geth/v(\d+)\.(\d+)\.(\d+)'
exec_fn = 'geth'
use_pidfile = False

View file

@ -18,7 +18,7 @@ from ..include.common import cfg, vmsg, check_solc_ver
class unit_tests:
altcoin_deps = ('solc', 'keccak', 'pysocks', 'semantic_version')
altcoin_deps = ('solc', 'keccak', 'pysocks', 'semantic_version', 'pure_protobuf')
win_skip = ('led', 'semantic_version')
def secp256k1(self, name, ut):
@ -157,3 +157,8 @@ class unit_tests:
msg(cp.stderr)
return False
return True
def pure_protobuf(self, name, ut):
from pure_protobuf.annotations import Field
from pure_protobuf.message import BaseMessage
return True