|
@@ -379,7 +379,7 @@ class CmdTestMain(CmdTestBase, CmdTestShared):
|
|
|
if trunner is None or self.coin not in self.networks:
|
|
if trunner is None or self.coin not in self.networks:
|
|
|
return
|
|
return
|
|
|
if self.coin in ('btc', 'bch', 'ltc'):
|
|
if self.coin in ('btc', 'bch', 'ltc'):
|
|
|
- self.tx_fee = {'btc':'0.0001', 'bch':'0.001', 'ltc':'0.01'}[self.coin]
|
|
|
|
|
|
|
+ self.tx_fee = {'btc':'90s', 'bch':'0.001', 'ltc':'0.01'}[self.coin]
|
|
|
self.txbump_fee = {'btc':'123s', 'bch':'567s', 'ltc':'12345s'}[self.coin]
|
|
self.txbump_fee = {'btc':'123s', 'bch':'567s', 'ltc':'12345s'}[self.coin]
|
|
|
|
|
|
|
|
self.unspent_data_file = joinpath('test', 'trash', 'unspent.json')
|
|
self.unspent_data_file = joinpath('test', 'trash', 'unspent.json')
|
|
@@ -417,6 +417,7 @@ class CmdTestMain(CmdTestBase, CmdTestShared):
|
|
|
def txcreate_dfl_wallet(self, addrfile):
|
|
def txcreate_dfl_wallet(self, addrfile):
|
|
|
return self.txcreate_common(
|
|
return self.txcreate_common(
|
|
|
sources = ['15'],
|
|
sources = ['15'],
|
|
|
|
|
+ add_opts = ['--btc-max-tx-fee=0.005'],
|
|
|
add_output_args = ['data:' + 'z' * self.proto.max_op_return_data_len])
|
|
add_output_args = ['data:' + 'z' * self.proto.max_op_return_data_len])
|
|
|
|
|
|
|
|
def txsign_dfl_wallet(self, txfile, pf='', save=True, has_label=False):
|
|
def txsign_dfl_wallet(self, txfile, pf='', save=True, has_label=False):
|
|
@@ -771,7 +772,7 @@ class CmdTestMain(CmdTestBase, CmdTestShared):
|
|
|
def txcreate(self, addrfile):
|
|
def txcreate(self, addrfile):
|
|
|
return self.txcreate_common(
|
|
return self.txcreate_common(
|
|
|
sources = ['1'],
|
|
sources = ['1'],
|
|
|
- add_opts = ['--vsize-adj=1.01'],
|
|
|
|
|
|
|
+ add_opts = ['--vsize-adj=1.01', '--btc-max-tx-fee=0.005'],
|
|
|
add_output_args = ['hexdata:' + 'ee' * self.proto.max_op_return_data_len])
|
|
add_output_args = ['hexdata:' + 'ee' * self.proto.max_op_return_data_len])
|
|
|
|
|
|
|
|
def txbump(self, txfile, prepend_args=[], seed_args=[]):
|
|
def txbump(self, txfile, prepend_args=[], seed_args=[]):
|
|
@@ -780,6 +781,7 @@ class CmdTestMain(CmdTestBase, CmdTestShared):
|
|
|
return 'skip'
|
|
return 'skip'
|
|
|
args = prepend_args + [
|
|
args = prepend_args + [
|
|
|
'--quiet',
|
|
'--quiet',
|
|
|
|
|
+ '--btc-max-tx-fee=0.006',
|
|
|
'--outdir='+self.tmpdir,
|
|
'--outdir='+self.tmpdir,
|
|
|
txfile
|
|
txfile
|
|
|
] + seed_args
|
|
] + seed_args
|