mmgen-autosign: encrypt signing wallet with session key on removable device

This commit is contained in:
philemon 2017-10-29 15:06:16 +03:00
commit 8fb3efd99c
Signed by untrusted user who does not match committer: mmgen
GPG key ID: 62DBE9E5212F05BE
12 changed files with 512 additions and 402 deletions

View file

@ -112,9 +112,13 @@ tests = OrderedDict([
({'idx_list':AddrIdxList('1-5')},[1,2,3,4,5])
)}),
('BTCAmt', {
'bad': ('-3.2','0.123456789',123L,'123L',22000000,20999999.12345678),
'bad': ('-3.2','0.123456789',123L,'123L','22000000',20999999.12345678),
'good': (('20999999.12345678',Decimal('20999999.12345678')),)
}),
('LTCAmt', {
'bad': ('-3.2','0.123456789',123L,'123L','88000000',80999999.12345678),
'good': (('80999999.12345678',Decimal('80999999.12345678')),)
}),
('CoinAddr', {
'bad': (1,'x','я'),
'good': {