http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/ea1e8d1228db50c9776998ff50d270af52b35540/mmgen/cfgfile.py
r}, line {lineno}' ) return gen_lines() @classmethod def get_cls_by_id(cls,id_str): d = { 'usr': CfgFileUsr, 'sys': CfgFileSampleSys, 'sample': CfgFileSampleUsr, } return d[id_str] class cfg_file_sample(cfg_file): @classmethod def cls_make_metadata(cls,data): return [f'# Version {cls.cur_ver} {cls.compute_chksum(data)}'] @staticmethod def compute_chksum(data): import hashlib return hashlib.new('ripemd160','\n'.join(data).encode()).hexdigest() @property def computed_chksum(self): return...