mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Reduce mintxfee to 0.1 sat/vbyte and fallback fee to 2 sat/vb
This commit is contained in:
parent
bef78a0447
commit
bfb77ad44d
2 changed files with 4 additions and 4 deletions
|
|
@ -74,11 +74,11 @@ static const unsigned int DEFAULT_KEYPOOL_SIZE = 1000;
|
||||||
//! -paytxfee default
|
//! -paytxfee default
|
||||||
constexpr CAmount DEFAULT_PAY_TX_FEE = 0;
|
constexpr CAmount DEFAULT_PAY_TX_FEE = 0;
|
||||||
//! -fallbackfee default
|
//! -fallbackfee default
|
||||||
static const CAmount DEFAULT_FALLBACK_FEE = 20000;
|
static const CAmount DEFAULT_FALLBACK_FEE = 2000;
|
||||||
//! -discardfee default
|
//! -discardfee default
|
||||||
static const CAmount DEFAULT_DISCARD_FEE = 10000;
|
static const CAmount DEFAULT_DISCARD_FEE = 10000;
|
||||||
//! -mintxfee default
|
//! -mintxfee default
|
||||||
static const CAmount DEFAULT_TRANSACTION_MINFEE = 1000;
|
static const CAmount DEFAULT_TRANSACTION_MINFEE = 100;
|
||||||
//! minimum recommended increment for BIP 125 replacement txs
|
//! minimum recommended increment for BIP 125 replacement txs
|
||||||
static const CAmount WALLET_INCREMENTAL_RELAY_FEE = 5000;
|
static const CAmount WALLET_INCREMENTAL_RELAY_FEE = 5000;
|
||||||
//! Default for -spendzeroconfchange
|
//! Default for -spendzeroconfchange
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ def process_raw_issuance(node, issuance_list):
|
||||||
raise Exception('Issuance list too long')
|
raise Exception('Issuance list too long')
|
||||||
# Make enough outputs for any subsequent spend
|
# Make enough outputs for any subsequent spend
|
||||||
next_destinations = {}
|
next_destinations = {}
|
||||||
output_values = (node.getbalance()['bitcoin']-1)/5
|
output_values = Decimal('%.8f' % ((node.getbalance()['bitcoin']-1)/5))
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
next_destinations[node.getnewaddress()] = output_values
|
next_destinations[node.getnewaddress()] = output_values
|
||||||
|
|
||||||
|
|
@ -382,7 +382,7 @@ class IssuanceTest(BitcoinTestFramework):
|
||||||
assert_equal(blinded_multisig, self.nodes[0].getaddressinfo(utxo_info["address"])["confidential"])
|
assert_equal(blinded_multisig, self.nodes[0].getaddressinfo(utxo_info["address"])["confidential"])
|
||||||
break
|
break
|
||||||
assert(utxo_info is not None)
|
assert(utxo_info is not None)
|
||||||
assert(utxo_info["amountblinder"] is not "0000000000000000000000000000000000000000000000000000000000000000")
|
assert(utxo_info["amountblinder"] != "0000000000000000000000000000000000000000000000000000000000000000")
|
||||||
|
|
||||||
# Now make transaction spending that input
|
# Now make transaction spending that input
|
||||||
raw_tx = self.nodes[0].createrawtransaction([], {issued_address:1}, 0, False, {issued_address:issued_asset["token"]})
|
raw_tx = self.nodes[0].createrawtransaction([], {issued_address:1}, 0, False, {issued_address:issued_asset["token"]})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue