update for MMGen v13.3.dev20
This commit is contained in:
parent
c53e7cc65f
commit
affa891041
4 changed files with 7 additions and 7 deletions
|
|
@ -1 +1 @@
|
|||
3.1.dev13
|
||||
3.1.dev14
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ def do_output(proto,addr_data,blk_hdrs):
|
|||
make_timestr( blk_hdrs[u['height']]['time'] ),
|
||||
CoinTxID(u['txid']).hl(),
|
||||
red(str(u['vout']).rjust(4)),
|
||||
proto.coin_amt(u['amount']).fmt(color=True,fs='6.8')
|
||||
proto.coin_amt(u['amount']).fmt(color=True,iwidth=6,prec=8)
|
||||
))
|
||||
else:
|
||||
Msg(f'{indent}No balance')
|
||||
|
|
@ -94,7 +94,7 @@ def do_output_tabular(proto,addr_data,blk_hdrs):
|
|||
t = make_timestr( blk_hdrs[unspents[0]['height']]['time'] ),
|
||||
B = unspents[-1]['height'],
|
||||
T = make_timestr( blk_hdrs[unspents[-1]['height']]['time'] ),
|
||||
A = proto.coin_amt(sum(u['amount'] for u in unspents)).fmt(color=True,fs='7.8')
|
||||
A = proto.coin_amt(sum(u['amount'] for u in unspents)).fmt(color=True,iwidth=7,prec=8)
|
||||
))
|
||||
else:
|
||||
Msg(fs.format(
|
||||
|
|
|
|||
|
|
@ -168,9 +168,9 @@ async def main():
|
|||
c = date(t),
|
||||
d = ' P' if n > nhist else '' if n < nhist else ' E',
|
||||
e = f'{bdr:8.5f}',
|
||||
f = proto.coin_amt(sub,from_unit='satoshi').fmt(fs='2.8'),
|
||||
g = proto.coin_amt(mined,from_unit='satoshi').fmt(fs='8.8'),
|
||||
h = proto.coin_amt(total_mined,from_unit='satoshi').fmt(fs='8.8')
|
||||
f = proto.coin_amt(sub,from_unit='satoshi').fmt(iwidth=2,prec=8),
|
||||
g = proto.coin_amt(mined,from_unit='satoshi').fmt(iwidth=8,prec=8),
|
||||
h = proto.coin_amt(total_mined,from_unit='satoshi').fmt(iwidth=8,prec=8)
|
||||
) for n,sub,blk,mined,total_mined,bdr,t in gen_data())
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ python_requires = >=3.7
|
|||
include_package_data = True
|
||||
|
||||
install_requires =
|
||||
mmgen>=13.3.dev14
|
||||
mmgen>=13.3.dev20
|
||||
|
||||
packages =
|
||||
mmgen_node_tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue