Change consolidation fee to be the default instead of zero and require zinput arity to be inside [3,8]
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
// Copyright (c) 2020 The Hush developers
|
||||
// TODO: Forge should add his preferred copyright line here
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include "amount.h"
|
||||
#include "asyncrpcoperation.h"
|
||||
#include "univalue.h"
|
||||
#include "zcash/Address.hpp"
|
||||
#include "zcash/zip32.h"
|
||||
|
||||
//Default fee used for consolidation transactions
|
||||
static const CAmount DEFAULT_CONSOLIDATION_FEE = 0;
|
||||
//Default fee used for consolidation transactions, in puposhis
|
||||
static const CAmount DEFAULT_CONSOLIDATION_FEE = 10000;
|
||||
extern CAmount fConsolidationTxFee;
|
||||
extern bool fConsolidationMapUsed;
|
||||
|
||||
@@ -34,4 +39,4 @@ private:
|
||||
|
||||
void setConsolidationResult(int numTxCreated, const CAmount& amountConsolidated, const std::vector<std::string>& consolidationTxIds);
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user