mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove undocumented experimental options from RPC sign (RIPD-1653):
The `x_assume_tx` and `x_queue_okay` experimental options were associated with the transaction queue that were not officially supported.
This commit is contained in:
committed by
Nik Bougalis
parent
c587012e5c
commit
a96cb8fc1c
@@ -164,10 +164,10 @@ TxQ::FeeMetrics::update(Application& app,
|
||||
|
||||
std::uint64_t
|
||||
TxQ::FeeMetrics::scaleFeeLevel(Snapshot const& snapshot,
|
||||
OpenView const& view, std::uint32_t txCountPadding)
|
||||
OpenView const& view)
|
||||
{
|
||||
// Transactions in the open ledger so far
|
||||
auto const current = view.txCount() + txCountPadding;
|
||||
auto const current = view.txCount();
|
||||
|
||||
auto const target = snapshot.txnsExpected;
|
||||
auto const multiplier = snapshot.escalationMultiplier;
|
||||
@@ -1375,7 +1375,7 @@ TxQ::accept(Application& app,
|
||||
}
|
||||
|
||||
auto
|
||||
TxQ::getMetrics(OpenView const& view, std::uint32_t txCountPadding) const
|
||||
TxQ::getMetrics(OpenView const& view) const
|
||||
-> boost::optional<Metrics>
|
||||
{
|
||||
auto const allowEscalation =
|
||||
@@ -1397,8 +1397,7 @@ TxQ::getMetrics(OpenView const& view, std::uint32_t txCountPadding) const
|
||||
result.minProcessingFeeLevel = isFull() ? byFee_.rbegin()->feeLevel + 1 :
|
||||
baseLevel;
|
||||
result.medFeeLevel = snapshot.escalationMultiplier;
|
||||
result.openLedgerFeeLevel = FeeMetrics::scaleFeeLevel(snapshot, view,
|
||||
txCountPadding);
|
||||
result.openLedgerFeeLevel = FeeMetrics::scaleFeeLevel(snapshot, view);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user