new classes: KeyGenerator,AddrGenerator,PrivKey; read-only attrs rewrite
- OO rewrite of key/addr generation interface (KeyGenerator,AddrGenerator) - New data objects: PrivKey,PubKey,WifKey - rewrite of read-only attr implementation for addr/tx/tw list entries (MMGenImmutableAttr,MMGenListItemAttr descriptors) - txsign: build key list of addrlist objects rather than addr,key tuples
This commit is contained in:
parent
004536af63
commit
52fdf29b67
21 changed files with 431 additions and 391 deletions
|
|
@ -1,14 +1,18 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import sys,os
|
||||
repo_root = os.path.split(os.path.abspath(os.path.dirname(sys.argv[0])))[0]
|
||||
sys.path = [repo_root] + sys.path
|
||||
|
||||
from mmgen.common import *
|
||||
|
||||
opts_data = {
|
||||
opts_data = lambda: {
|
||||
'desc': 'Compute checksum for a MMGen data file',
|
||||
'usage':'[opts] infile',
|
||||
'options': """
|
||||
-h, --help Print this help message.
|
||||
-i, --include-first-line Include the first line of the file (you probably don't want this)
|
||||
""".strip()
|
||||
"""
|
||||
}
|
||||
|
||||
cmd_args = opts.init(opts_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue