mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 06:41:41 +01:00
Use a Map to speed up 'PaymentMethod.getPaymentMethod', called from 'isValid', instead of scanning the payment method list every invocation. Make the list immutable to ensure the map never goes stale, which is OK since no code modified it outside PaymentMethod's static initialisation. Also speed up the global accessor 'TradeLimits.getMaxTradeLimit', by caching the DAO param value in a volatile field, cleared upon each new block arrival. Furthermore, speed up 'TradeLimits.getFirstMonthRiskBasedTradeLimit' by simplifying the rounding logic to avoid a pass through the (rather slow) BigDecimal type. |
||
---|---|---|
.. | ||
.tx | ||
src | ||
build.gradle | ||
update_translations.sh |