From 3b8f19c4ce4977020b69fbef4fcb3ea0b9990b92 Mon Sep 17 00:00:00 2001 From: napoly Date: Tue, 14 Mar 2023 20:28:47 +0100 Subject: [PATCH] Removing star and unused imports with checkstyle --- .github/workflows/codeql-analysis.yml | 6 +- .idea/codeStyles/Project.xml | 4 +- .idea/codeStyles/codeStyleConfig.xml | 2 +- .../main/java/haveno/apitest/ApiTestMain.java | 7 +- .../main/java/haveno/apitest/Scaffold.java | 23 +++--- .../main/java/haveno/apitest/SetupTask.java | 8 +- .../haveno/apitest/SmokeTestBashCommand.java | 4 +- .../haveno/apitest/SmokeTestBitcoind.java | 11 ++- .../haveno/apitest/config/ApiTestConfig.java | 13 +--- .../ApiTestRateMeterInterceptorConfig.java | 8 +- .../apitest/linux/AbstractLinuxProcess.java | 9 +-- .../haveno/apitest/linux/BashCommand.java | 8 +- .../java/haveno/apitest/linux/BitcoinCli.java | 4 +- .../haveno/apitest/linux/BitcoinDaemon.java | 7 +- .../haveno/apitest/linux/HavenoProcess.java | 13 ++-- .../haveno/apitest/linux/LinuxProcess.java | 1 - .../apitest/linux/SystemCommandExecutor.java | 5 +- .../apitest/linux/ThreadedStreamHandler.java | 4 +- .../test/java/haveno/apitest/ApiTestCase.java | 22 ++---- .../test/java/haveno/apitest/JUnitHelper.java | 1 - .../apitest/method/BitcoinCliHelper.java | 6 +- .../CallRateMeteringInterceptorTest.java | 2 - .../apitest/method/GetMethodHelpTest.java | 1 - .../haveno/apitest/method/GetVersionTest.java | 1 - .../haveno/apitest/method/MethodTest.java | 20 ++--- .../method/RegisterDisputeAgentsTest.java | 2 - .../method/offer/AbstractOfferTest.java | 13 ++-- .../apitest/method/offer/CancelOfferTest.java | 9 +-- .../offer/CreateOfferUsingFixedPriceTest.java | 4 +- ...CreateOfferUsingMarketPriceMarginTest.java | 10 +-- .../method/offer/CreateXMROffersTest.java | 6 +- .../method/offer/ValidateCreateOfferTest.java | 6 +- .../payment/AbstractPaymentAccountTest.java | 17 +++-- .../payment/CreatePaymentAccountTest.java | 49 +++++++++--- .../method/payment/GetPaymentMethodsTest.java | 13 ++-- .../method/trade/AbstractTradeTest.java | 19 +++-- .../method/trade/TakeBuyBTCOfferTest.java | 5 +- ...keBuyBTCOfferWithNationalBankAcctTest.java | 14 ++-- .../method/trade/TakeBuyXMROfferTest.java | 7 +- .../method/trade/TakeSellBTCOfferTest.java | 8 +- .../method/trade/TakeSellXMROfferTest.java | 7 +- .../apitest/method/wallet/BtcWalletTest.java | 5 +- .../method/wallet/WalletProtectionTest.java | 5 +- .../apitest/method/wallet/WalletTestUtil.java | 1 - .../LongRunningOfferDeactivationTest.java | 3 +- .../scenario/LongRunningTradesTest.java | 8 +- .../haveno/apitest/scenario/OfferTest.java | 1 - .../apitest/scenario/PaymentAccountTest.java | 8 +- .../apitest/scenario/ScriptedBotTest.java | 16 ++-- .../haveno/apitest/scenario/StartupTest.java | 18 ++--- .../haveno/apitest/scenario/TradeTest.java | 1 - .../haveno/apitest/scenario/WalletTest.java | 8 +- .../apitest/scenario/bot/AbstractBotTest.java | 8 +- .../java/haveno/apitest/scenario/bot/Bot.java | 3 +- .../apitest/scenario/bot/BotClient.java | 7 +- .../bot/BotPaymentAccountGenerator.java | 12 ++- .../apitest/scenario/bot/RandomOffer.java | 19 ++--- .../haveno/apitest/scenario/bot/RobotBob.java | 15 ++-- .../scenario/bot/protocol/BotProtocol.java | 20 +++-- .../bot/protocol/MakerBotProtocol.java | 8 +- .../bot/protocol/TakerBotProtocol.java | 8 +- .../bot/script/BashScriptGenerator.java | 13 ++-- .../bot/script/BotScriptGenerator.java | 8 +- .../scenario/bot/shutdown/ManualShutdown.java | 8 +- .../java/haveno/asset/CryptoNoteUtils.java | 4 +- .../java/haveno/asset/AbstractAssetTest.java | 4 - .../haveno/asset/coins/BitcoinCashTest.java | 1 - .../java/haveno/asset/coins/BitcoinTest.java | 1 - .../java/haveno/asset/coins/LitecoinTest.java | 1 - .../java/haveno/asset/coins/MoneroTest.java | 1 - build.gradle | 8 +- cli/src/main/java/haveno/cli/CliMain.java | 74 ++++++++++++++----- .../main/java/haveno/cli/CurrencyFormat.java | 4 +- cli/src/main/java/haveno/cli/GrpcClient.java | 12 ++- cli/src/main/java/haveno/cli/GrpcStubs.java | 1 - .../cli/opts/AbstractMethodOptionParser.java | 3 +- .../cli/opts/CreateOfferOptionParser.java | 9 ++- .../opts/GetAddressBalanceOptionParser.java | 4 +- .../opts/GetBTCMarketPriceOptionParser.java | 4 +- .../haveno/cli/opts/GetOfferOptionParser.java | 4 +- .../cli/opts/GetOffersOptionParser.java | 4 +- .../opts/GetPaymentAcctFormOptionParser.java | 4 +- .../haveno/cli/opts/GetTradeOptionParser.java | 4 +- .../cli/opts/GetTradesOptionParser.java | 3 +- .../cli/opts/GetTransactionOptionParser.java | 4 +- .../haveno/cli/opts/OfferIdOptionParser.java | 4 +- .../RegisterDisputeAgentOptionParser.java | 4 +- .../RemoveWalletPasswordOptionParser.java | 4 +- .../cli/opts/SetTxFeeRateOptionParser.java | 4 +- .../cli/opts/TakeOfferOptionParser.java | 5 +- .../cli/opts/UnlockWalletOptionParser.java | 4 +- .../cli/request/OffersServiceRequest.java | 4 +- .../PaymentAccountsServiceRequest.java | 4 +- .../cli/request/TradesServiceRequest.java | 3 +- .../cli/request/WalletsServiceRequest.java | 4 +- cli/src/main/java/haveno/cli/table/Table.java | 5 +- .../table/builder/AbstractTableBuilder.java | 3 +- .../builder/AbstractTradeListBuilder.java | 9 +-- .../builder/AddressBalanceTableBuilder.java | 3 +- .../table/builder/BtcBalanceTableBuilder.java | 13 ++-- .../builder/ClosedTradeTableBuilder.java | 5 +- .../builder/FailedTradeTableBuilder.java | 5 +- .../cli/table/builder/OfferTableBuilder.java | 17 ++++- .../table/builder/OpenTradeTableBuilder.java | 5 +- .../builder/PaymentAccountTableBuilder.java | 12 +-- .../cli/table/builder/TableBuilder.java | 4 +- .../builder/TradeDetailTableBuilder.java | 5 +- .../builder/TradeTableColumnSupplier.java | 44 ++++++++--- .../builder/TransactionTableBuilder.java | 13 +++- .../cli/table/column/AltcoinVolumeColumn.java | 5 +- .../cli/table/column/BooleanColumn.java | 4 +- .../haveno/cli/table/column/DoubleColumn.java | 4 +- .../haveno/cli/table/column/FiatColumn.java | 4 +- .../cli/table/column/IntegerColumn.java | 4 +- .../table/column/Iso8601DateTimeColumn.java | 1 - .../haveno/cli/table/column/LongColumn.java | 4 +- .../haveno/cli/table/column/StringColumn.java | 6 +- .../cli/table/column/ZippedStringColumns.java | 8 +- .../test/java/haveno/cli/AbstractCliTest.java | 11 +-- .../java/haveno/cli/CreateOfferSmokeTest.java | 2 - .../java/haveno/cli/GetOffersSmokeTest.java | 2 - .../java/haveno/cli/GetTradesSmokeTest.java | 6 +- .../haveno/cli/opts/OptionParsersTest.java | 18 +++-- .../cli/table/AddressCliOutputDiffTest.java | 3 +- .../table/GetBalanceCliOutputDiffTest.java | 4 +- .../cli/table/GetOffersCliOutputDiffTest.java | 6 +- .../cli/table/GetTradeCliOutputDiffTest.java | 9 +-- .../GetTransactionCliOutputDiffTest.java | 6 +- .../PaymentAccountsCliOutputDiffTest.java | 7 +- .../main/java/haveno/common/ClockWatcher.java | 5 +- .../java/haveno/common/FrameRateTimer.java | 7 +- .../main/java/haveno/common/MasterTimer.java | 6 +- .../main/java/haveno/common/UserThread.java | 15 ++-- .../java/haveno/common/app/AppModule.java | 1 + .../java/haveno/common/app/Capabilities.java | 5 +- .../src/main/java/haveno/common/app/Log.java | 3 +- .../main/java/haveno/common/app/Version.java | 4 +- .../common/config/BaseCurrencyNetwork.java | 3 +- .../common/config/CompositeOptionSet.java | 3 +- .../java/haveno/common/config/Config.java | 12 +-- .../common/config/ConfigFileEditor.java | 8 +- .../common/config/ConfigFileReader.java | 4 +- .../common/config/EnumValueConverter.java | 3 +- .../haveno/common/crypto/CryptoUtils.java | 5 +- .../java/haveno/common/crypto/Encryption.java | 16 ++-- .../main/java/haveno/common/crypto/Hash.java | 10 +-- .../java/haveno/common/crypto/KeyRing.java | 11 +-- .../java/haveno/common/crypto/KeyStorage.java | 27 +++---- .../java/haveno/common/crypto/PubKeyRing.java | 7 +- .../java/haveno/common/crypto/ScryptUtil.java | 4 +- .../haveno/common/crypto/SealedAndSigned.java | 4 +- .../main/java/haveno/common/crypto/Sig.java | 6 +- .../file/CorruptedStorageFileHandler.java | 5 +- .../java/haveno/common/file/FileUtil.java | 12 +-- .../haveno/common/file/JsonFileManager.java | 12 ++- .../persistence/PersistenceManager.java | 14 ++-- .../java/haveno/common/proto/ProtoUtil.java | 8 +- .../proto/network/NetworkProtoResolver.java | 1 + .../proto/persistable/NavigationPath.java | 4 +- .../proto/persistable/PersistableList.java | 4 +- .../java/haveno/common/setup/CommonSetup.java | 19 ++--- .../haveno/common/taskrunner/TaskRunner.java | 4 +- .../java/haveno/common/util/DesktopUtil.java | 6 +- .../common/util/ExtraDataMapValidator.java | 5 +- .../java/haveno/common/util/MathUtils.java | 6 +- .../haveno/common/util/PermutationUtil.java | 6 +- .../java/haveno/common/util/Profiler.java | 4 +- .../haveno/common/util/ReflectionUtils.java | 11 ++- .../java/haveno/common/util/RestartUtil.java | 12 ++- .../main/java/haveno/common/util/Tuple2.java | 1 - .../java/haveno/common/util/Utilities.java | 34 +++------ .../java/haveno/common/util/ZipUtils.java | 5 +- .../haveno/common/app/CapabilitiesTest.java | 7 +- .../java/haveno/common/app/VersionTest.java | 2 - .../common/config/ConfigFileEditorTests.java | 9 +-- .../common/config/ConfigFileOptionTests.java | 2 - .../common/config/ConfigFileReaderTests.java | 11 +-- .../haveno/common/config/ConfigTests.java | 24 +++--- .../haveno/common/util/MathUtilsTest.java | 2 - .../haveno/common/util/PermutationTest.java | 6 +- .../common/util/PreconditionsTests.java | 9 +-- .../haveno/common/util/UtilitiesTest.java | 2 - config/checkstyle.xml | 16 ++++ .../core/account/sign/SignedWitness.java | 6 +- .../account/sign/SignedWitnessService.java | 16 ++-- .../sign/SignedWitnessStorageService.java | 6 +- .../core/account/sign/SignedWitnessStore.java | 4 +- .../account/witness/AccountAgeWitness.java | 9 +-- .../witness/AccountAgeWitnessService.java | 20 ++--- .../AccountAgeWitnessStorageService.java | 5 +- .../witness/AccountAgeWitnessStore.java | 4 +- .../witness/AccountAgeWitnessUtils.java | 7 +- .../main/java/haveno/core/alert/Alert.java | 10 +-- .../java/haveno/core/alert/AlertManager.java | 21 ++---- .../alert/PrivateNotificationManager.java | 27 +++---- .../alert/PrivateNotificationMessage.java | 4 +- .../alert/PrivateNotificationPayload.java | 3 +- .../haveno/core/api/CoreAccountService.java | 15 ++-- .../main/java/haveno/core/api/CoreApi.java | 27 +++---- .../java/haveno/core/api/CoreContext.java | 6 +- .../core/api/CoreDisputeAgentsService.java | 3 +- .../haveno/core/api/CoreDisputesService.java | 8 +- .../java/haveno/core/api/CoreHelpService.java | 5 +- .../api/CoreMoneroConnectionsService.java | 19 ++--- .../core/api/CoreMoneroNodeService.java | 8 +- .../core/api/CoreNotificationService.java | 11 ++- .../haveno/core/api/CoreOffersService.java | 8 +- .../core/api/CorePaymentAccountsService.java | 6 +- .../haveno/core/api/CorePriceService.java | 13 ++-- .../haveno/core/api/CoreTradesService.java | 6 +- .../haveno/core/api/CoreWalletsService.java | 35 ++++----- .../haveno/core/api/model/ContractInfo.java | 4 +- .../core/api/model/MarketDepthInfo.java | 5 +- .../java/haveno/core/api/model/OfferInfo.java | 5 +- .../core/api/model/PaymentAccountForm.java | 29 ++++---- .../api/model/PaymentAccountFormField.java | 9 ++- .../java/haveno/core/api/model/TradeInfo.java | 3 +- .../haveno/core/api/model/XmrDestination.java | 3 +- .../core/api/model/XmrIncomingTransfer.java | 7 +- .../core/api/model/XmrOutgoingTransfer.java | 11 +-- .../java/haveno/core/api/model/XmrTx.java | 13 ++-- .../java/haveno/core/app/AppStartupState.java | 5 +- .../core/app/AvoidStandbyModeService.java | 24 +++--- .../java/haveno/core/app/ConsoleInput.java | 7 +- .../haveno/core/app/ConsoleInputReadTask.java | 8 +- .../main/java/haveno/core/app/CoreModule.java | 8 +- .../haveno/core/app/DomainInitialisation.java | 5 +- .../haveno/core/app/HavenoExecutable.java | 8 +- .../haveno/core/app/HavenoHeadlessApp.java | 4 +- .../core/app/HavenoHeadlessAppMain.java | 4 +- .../java/haveno/core/app/HavenoSetup.java | 59 +++++++-------- .../java/haveno/core/app/P2PNetworkSetup.java | 14 ++-- .../main/java/haveno/core/app/TorSetup.java | 19 ++--- .../java/haveno/core/app/WalletAppSetup.java | 25 +++---- .../java/haveno/core/app/misc/AppSetup.java | 4 +- .../haveno/core/app/misc/AppSetupWithP2P.java | 8 +- .../core/app/misc/AppSetupWithP2PAndDAO.java | 4 +- .../app/misc/ExecutableForAppWithP2p.java | 5 +- .../core/app/misc/ModuleForAppWithP2p.java | 9 ++- .../main/java/haveno/core/filter/Filter.java | 11 +-- .../haveno/core/filter/FilterManager.java | 27 +++---- .../java/haveno/core/locale/BankUtil.java | 5 +- .../java/haveno/core/locale/CountryUtil.java | 3 +- .../haveno/core/locale/CryptoCurrency.java | 1 - .../java/haveno/core/locale/CurrencyUtil.java | 4 +- .../java/haveno/core/locale/FiatCurrency.java | 7 +- .../haveno/core/locale/GlobalSettings.java | 3 +- .../java/haveno/core/locale/LanguageUtil.java | 4 +- .../src/main/java/haveno/core/locale/Res.java | 24 +++--- .../haveno/core/locale/TradeCurrency.java | 1 - .../java/haveno/core/monetary/Altcoin.java | 9 +-- .../core/monetary/AltcoinExchangeRate.java | 3 +- .../haveno/core/monetary/MonetaryWrapper.java | 1 - .../main/java/haveno/core/monetary/Price.java | 8 +- .../java/haveno/core/monetary/Volume.java | 4 +- .../core/network/CoreNetworkFilter.java | 5 +- .../inventory/GetInventoryRequestHandler.java | 16 ++-- .../inventory/GetInventoryRequestManager.java | 5 +- .../p2p/inventory/GetInventoryRequester.java | 4 +- .../messages/GetInventoryResponse.java | 6 +- .../model/DeviationByIntegerDiff.java | 4 +- .../inventory/model/DeviationOfHashes.java | 4 +- .../p2p/inventory/model/InventoryItem.java | 9 +-- .../p2p/inventory/model/RequestInfo.java | 7 +- .../p2p/seed/DefaultSeedNodeRepository.java | 6 +- .../core/notifications/MobileMessage.java | 4 +- .../MobileMessageEncryption.java | 10 +-- .../core/notifications/MobileModel.java | 9 +-- .../MobileNotificationService.java | 26 +++---- .../MobileNotificationValidator.java | 4 +- .../alerts/DisputeMsgEvents.java | 10 +-- .../alerts/MyOfferTakenEvents.java | 11 ++- .../notifications/alerts/TradeEvents.java | 8 +- .../alerts/market/MarketAlertFilter.java | 6 +- .../alerts/market/MarketAlerts.java | 5 +- .../alerts/price/PriceAlert.java | 3 +- .../haveno/core/offer/CreateOfferService.java | 6 +- .../main/java/haveno/core/offer/Offer.java | 14 ++-- .../haveno/core/offer/OfferBookService.java | 11 +-- .../haveno/core/offer/OfferFilterService.java | 9 +-- .../java/haveno/core/offer/OfferForJson.java | 8 +- .../java/haveno/core/offer/OfferPayload.java | 19 +++-- .../haveno/core/offer/OfferRestrictions.java | 1 + .../java/haveno/core/offer/OfferUtil.java | 15 ++-- .../java/haveno/core/offer/OpenOffer.java | 9 +-- .../haveno/core/offer/OpenOfferManager.java | 33 ++++----- .../java/haveno/core/offer/SignedOffer.java | 12 ++- .../haveno/core/offer/SignedOfferList.java | 4 +- .../core/offer/TriggerPriceService.java | 11 +-- .../availability/DisputeAgentSelection.java | 6 +- .../tasks/SendOfferAvailabilityRequest.java | 3 +- .../messages/OfferAvailabilityRequest.java | 5 +- .../messages/OfferAvailabilityResponse.java | 8 +- .../core/offer/messages/SignOfferRequest.java | 5 +- .../offer/placeoffer/PlaceOfferModel.java | 10 +-- .../placeoffer/tasks/CreateMakerFeeTx.java | 9 +-- .../tasks/MakerReserveOfferFunds.java | 8 +- .../tasks/MakerSendSignOfferRequest.java | 13 ++-- .../offer/placeoffer/tasks/ValidateOffer.java | 4 +- .../core/offer/takeoffer/TakeOfferModel.java | 19 ++--- .../core/payment/AchTransferAccount.java | 4 +- .../core/payment/AdvancedCashAccount.java | 5 +- .../haveno/core/payment/AliPayAccount.java | 4 +- .../core/payment/AmazonGiftCardAccount.java | 3 +- .../core/payment/AustraliaPayidAccount.java | 4 +- .../haveno/core/payment/BizumAccount.java | 4 +- .../haveno/core/payment/CapitualAccount.java | 5 +- .../haveno/core/payment/CashAppAccount.java | 4 +- .../core/payment/CashByMailAccount.java | 4 +- .../core/payment/CashDepositAccount.java | 3 +- .../haveno/core/payment/CelPayAccount.java | 5 +- .../haveno/core/payment/ChargeBackRisk.java | 1 + .../core/payment/ChaseQuickPayAccount.java | 4 +- .../core/payment/ClearXchangeAccount.java | 4 +- .../payment/CountryBasedPaymentAccount.java | 6 +- .../core/payment/CryptoCurrencyAccount.java | 6 +- .../payment/DomesticWireTransferAccount.java | 4 +- .../java/haveno/core/payment/F2FAccount.java | 4 +- .../core/payment/FasterPaymentsAccount.java | 4 +- .../haveno/core/payment/HalCashAccount.java | 4 +- .../haveno/core/payment/IfscBasedAccount.java | 4 +- .../java/haveno/core/payment/ImpsAccount.java | 4 +- .../payment/InstantCryptoCurrencyAccount.java | 6 +- .../core/payment/InteracETransferAccount.java | 5 +- .../haveno/core/payment/JapanBankAccount.java | 4 +- .../haveno/core/payment/JapanBankData.java | 3 +- .../haveno/core/payment/MoneseAccount.java | 4 +- .../haveno/core/payment/MoneyBeamAccount.java | 4 +- .../haveno/core/payment/MoneyGramAccount.java | 4 +- .../core/payment/NationalBankAccount.java | 4 +- .../haveno/core/payment/NequiAccount.java | 4 +- .../haveno/core/payment/OKPayAccount.java | 5 +- .../haveno/core/payment/PaxumAccount.java | 5 +- .../haveno/core/payment/PaymentAccount.java | 41 +++++----- .../core/payment/PaymentAccountList.java | 4 +- .../payment/PaymentAccountTypeAdapter.java | 20 ++--- .../core/payment/PaymentAccountUtil.java | 69 +++++++++++++++-- .../haveno/core/payment/PaymentAccounts.java | 9 +-- .../haveno/core/payment/PayseraAccount.java | 5 +- .../core/payment/PerfectMoneyAccount.java | 4 +- .../java/haveno/core/payment/PixAccount.java | 4 +- .../haveno/core/payment/PopmoneyAccount.java | 4 +- .../haveno/core/payment/PromptPayAccount.java | 4 +- .../core/payment/ReceiptPredicates.java | 4 +- .../haveno/core/payment/RevolutAccount.java | 3 +- .../haveno/core/payment/SameBankAccount.java | 4 +- .../haveno/core/payment/SatispayAccount.java | 4 +- .../java/haveno/core/payment/SepaAccount.java | 10 +-- .../core/payment/SepaInstantAccount.java | 6 +- .../core/payment/SpecificBanksAccount.java | 6 +- .../haveno/core/payment/StrikeAccount.java | 10 +-- .../haveno/core/payment/SwiftAccount.java | 17 ++--- .../haveno/core/payment/SwishAccount.java | 4 +- .../haveno/core/payment/TikkieAccount.java | 5 +- .../java/haveno/core/payment/TradeLimits.java | 8 +- .../core/payment/TransferwiseAccount.java | 5 +- .../core/payment/TransferwiseUsdAccount.java | 5 +- .../payment/USPostalMoneyOrderAccount.java | 4 +- .../haveno/core/payment/UpholdAccount.java | 5 +- .../haveno/core/payment/VenmoAccount.java | 4 +- .../haveno/core/payment/VerseAccount.java | 4 +- .../haveno/core/payment/WeChatPayAccount.java | 4 +- .../core/payment/WesternUnionAccount.java | 4 +- .../payload/AchTransferAccountPayload.java | 10 +-- .../payload/AdvancedCashAccountPayload.java | 9 +-- .../payment/payload/AliPayAccountPayload.java | 9 +-- .../payload/AmazonGiftCardAccountPayload.java | 9 +-- .../payment/payload/AssetAccountPayload.java | 7 +- .../payload/AustraliaPayidAccountPayload.java | 9 +-- .../payment/payload/BankAccountPayload.java | 9 +-- .../payment/payload/BizumAccountPayload.java | 12 +-- .../payload/CapitualAccountPayload.java | 9 +-- .../payload/CashAppAccountPayload.java | 9 +-- .../payload/CashByMailAccountPayload.java | 12 ++- .../payload/CashDepositAccountPayload.java | 11 ++- .../payment/payload/CelPayAccountPayload.java | 9 +-- .../payload/ChaseQuickPayAccountPayload.java | 9 +-- .../payload/ClearXchangeAccountPayload.java | 9 +-- .../CountryBasedPaymentAccountPayload.java | 11 ++- .../payload/CryptoCurrencyAccountPayload.java | 7 +- .../DomesticWireTransferAccountPayload.java | 11 ++- .../payment/payload/F2FAccountPayload.java | 11 ++- .../payload/FasterPaymentsAccountPayload.java | 14 ++-- .../payload/HalCashAccountPayload.java | 9 +-- .../payload/IfscBasedAccountPayload.java | 10 +-- .../payment/payload/ImpsAccountPayload.java | 12 +-- .../payload/InstantCryptoCurrencyPayload.java | 7 +- .../InteracETransferAccountPayload.java | 12 ++- .../payload/JapanBankAccountPayload.java | 9 +-- .../payment/payload/MoneseAccountPayload.java | 9 +-- .../payload/MoneyBeamAccountPayload.java | 9 +-- .../payload/MoneyGramAccountPayload.java | 9 +-- .../payload/NationalBankAccountPayload.java | 8 +- .../payment/payload/NeftAccountPayload.java | 12 +-- .../payment/payload/NequiAccountPayload.java | 13 ++-- .../payment/payload/OKPayAccountPayload.java | 9 +-- .../payment/payload/PaxumAccountPayload.java | 9 +-- .../payload/PaymentAccountPayload.java | 12 ++- .../core/payment/payload/PaymentMethod.java | 19 +++-- .../payload/PayseraAccountPayload.java | 9 +-- .../payment/payload/PaytmAccountPayload.java | 12 +-- .../payload/PerfectMoneyAccountPayload.java | 9 +-- .../payment/payload/PixAccountPayload.java | 12 +-- .../payload/PopmoneyAccountPayload.java | 9 +-- .../payload/PromptPayAccountPayload.java | 9 +-- .../payload/RevolutAccountPayload.java | 8 +- .../payment/payload/RtgsAccountPayload.java | 12 +-- .../payload/SameBankAccountPayload.java | 8 +- .../payload/SatispayAccountPayload.java | 13 ++-- .../payment/payload/SepaAccountPayload.java | 20 +++-- .../payload/SepaInstantAccountPayload.java | 18 ++--- .../payload/SpecificBanksAccountPayload.java | 11 ++- .../payment/payload/StrikeAccountPayload.java | 12 +-- .../payment/payload/SwiftAccountPayload.java | 9 +-- .../payment/payload/SwishAccountPayload.java | 9 +-- .../payment/payload/TikkieAccountPayload.java | 12 +-- .../payload/TransferwiseAccountPayload.java | 9 +-- .../TransferwiseUsdAccountPayload.java | 12 +-- .../USPostalMoneyOrderAccountPayload.java | 12 ++- .../payment/payload/UpholdAccountPayload.java | 10 +-- .../payment/payload/UpiAccountPayload.java | 12 +-- .../payment/payload/VenmoAccountPayload.java | 9 +-- .../payment/payload/VerseAccountPayload.java | 9 +-- .../payload/WeChatPayAccountPayload.java | 9 +-- .../payload/WesternUnionAccountPayload.java | 12 +-- .../validation/AdvancedCashValidator.java | 1 + .../validation/AltCoinAddressValidator.java | 4 +- .../AustraliaPayidAccountNameValidator.java | 1 + .../core/payment/validation/BICValidator.java | 1 + .../payment/validation/CapitualValidator.java | 1 + .../validation/FiatVolumeValidator.java | 1 + .../payment/validation/IBANValidator.java | 7 +- .../InteracETransferAnswerValidator.java | 1 + .../InteracETransferQuestionValidator.java | 1 + .../validation/InteracETransferValidator.java | 4 +- .../JapanBankAccountNameValidator.java | 1 + .../JapanBankBranchNameValidator.java | 1 + .../validation/PercentageNumberValidator.java | 3 +- .../validation/PhoneNumberValidator.java | 5 +- .../validation/SecurityDepositValidator.java | 1 + .../payment/validation/SepaIBANValidator.java | 1 + .../validation/TransferwiseValidator.java | 1 + .../core/payment/validation/XmrValidator.java | 7 +- .../presentation/BalancePresentation.java | 5 +- .../SupportTicketsPresentation.java | 4 +- .../core/presentation/TradePresentation.java | 5 +- .../haveno/core/proto/CoreProtoResolver.java | 4 +- .../java/haveno/core/proto/ProtoDevUtil.java | 1 - .../network/CoreNetworkProtoResolver.java | 5 +- .../CorePersistenceProtoResolver.java | 4 +- .../haveno/core/provider/FeeHttpClient.java | 5 +- .../core/provider/MempoolHttpClient.java | 7 +- .../haveno/core/provider/PriceHttpClient.java | 5 +- .../core/provider/ProvidersRepository.java | 10 +-- .../haveno/core/provider/fee/FeeProvider.java | 6 +- .../haveno/core/provider/fee/FeeRequest.java | 5 +- .../core/provider/mempool/MempoolRequest.java | 9 +-- .../core/provider/mempool/MempoolService.java | 22 +++--- .../core/provider/mempool/TxValidator.java | 7 +- .../core/provider/price/MarketPrice.java | 4 +- .../core/provider/price/PriceFeedService.java | 21 ++---- .../core/provider/price/PriceProvider.java | 5 +- .../core/provider/price/PriceRequest.java | 8 +- .../core/setup/CorePersistedDataHost.java | 4 +- .../haveno/core/support/SupportManager.java | 9 +-- .../haveno/core/support/SupportSession.java | 1 - .../haveno/core/support/dispute/Dispute.java | 17 ++--- .../core/support/dispute/DisputeList.java | 4 +- .../support/dispute/DisputeListService.java | 12 +-- .../core/support/dispute/DisputeManager.java | 46 ++++++------ .../core/support/dispute/DisputeResult.java | 8 +- .../core/support/dispute/DisputeSession.java | 2 - .../dispute/DisputeSummaryVerification.java | 4 +- .../support/dispute/DisputeValidation.java | 41 +++++----- .../support/dispute/agent/DisputeAgent.java | 10 +-- .../dispute/agent/DisputeAgentLookupMap.java | 3 +- .../dispute/agent/DisputeAgentManager.java | 15 ++-- .../dispute/agent/DisputeAgentService.java | 4 +- .../agent/MultipleHolderNameDetection.java | 5 +- .../arbitration/ArbitrationDisputeList.java | 6 +- .../ArbitrationDisputeListService.java | 1 + .../arbitration/ArbitrationManager.java | 50 ++++++------- .../arbitration/ArbitrationSession.java | 3 +- .../dispute/arbitration/TraderDataItem.java | 6 +- .../arbitration/arbitrator/Arbitrator.java | 9 +-- .../arbitrator/ArbitratorManager.java | 4 +- .../arbitrator/ArbitratorService.java | 2 +- .../mediation/MediationDisputeList.java | 6 +- .../MediationDisputeListService.java | 1 + .../dispute/mediation/MediationManager.java | 5 +- .../dispute/mediation/MediationSession.java | 3 +- .../dispute/mediation/mediator/Mediator.java | 9 +-- .../mediation/mediator/MediatorManager.java | 3 +- .../mediation/mediator/MediatorService.java | 5 +- .../messages/DisputeClosedMessage.java | 5 +- .../dispute/messages/DisputeMessage.java | 1 + .../messages/DisputeOpenedMessage.java | 3 +- .../dispute/refund/RefundDisputeList.java | 6 +- .../refund/RefundDisputeListService.java | 1 + .../support/dispute/refund/RefundManager.java | 3 +- .../support/dispute/refund/RefundSession.java | 3 +- .../refund/refundagent/RefundAgent.java | 9 +-- .../refundagent/RefundAgentManager.java | 5 +- .../refundagent/RefundAgentService.java | 2 +- .../core/support/messages/ChatMessage.java | 15 ++-- .../support/traderchat/TradeChatSession.java | 1 - .../support/traderchat/TraderChatManager.java | 8 +- .../haveno/core/trade/ArbitratorTrade.java | 6 +- .../haveno/core/trade/BuyerAsMakerTrade.java | 4 +- .../haveno/core/trade/BuyerAsTakerTrade.java | 5 +- .../java/haveno/core/trade/BuyerTrade.java | 3 +- .../core/trade/CleanupMailboxMessages.java | 7 +- .../trade/CleanupMailboxMessagesService.java | 8 +- .../core/trade/ClosedTradableFormatter.java | 32 ++++---- .../core/trade/ClosedTradableManager.java | 20 ++--- .../main/java/haveno/core/trade/Contract.java | 8 +- .../java/haveno/core/trade/HavenoUtils.java | 20 ++--- .../haveno/core/trade/SellerAsMakerTrade.java | 5 +- .../haveno/core/trade/SellerAsTakerTrade.java | 5 +- .../java/haveno/core/trade/SellerTrade.java | 3 +- .../java/haveno/core/trade/TradableList.java | 4 +- .../main/java/haveno/core/trade/Trade.java | 62 +++++++--------- .../core/trade/TradeDataValidation.java | 19 ++--- .../java/haveno/core/trade/TradeManager.java | 30 +++----- .../java/haveno/core/trade/TradeUtil.java | 11 +-- .../trade/failed/FailedTradesManager.java | 8 +- .../core/trade/messages/DepositRequest.java | 5 +- .../core/trade/messages/DepositResponse.java | 5 +- .../messages/DepositsConfirmedMessage.java | 5 +- .../trade/messages/InitMultisigRequest.java | 5 +- .../core/trade/messages/InitTradeRequest.java | 3 +- .../messages/PaymentReceivedMessage.java | 16 ++-- .../trade/messages/PaymentSentMessage.java | 3 +- .../trade/messages/SignContractRequest.java | 7 +- .../trade/messages/SignContractResponse.java | 5 +- .../trade/messages/TradeMailboxMessage.java | 4 +- .../trade/protocol/BuyerAsTakerProtocol.java | 3 +- .../core/trade/protocol/FluentProtocol.java | 12 ++- .../core/trade/protocol/ProcessModel.java | 19 ++--- .../protocol/ProcessModelServiceProvider.java | 4 +- .../haveno/core/trade/protocol/TradePeer.java | 13 ++-- .../core/trade/protocol/TradeProtocol.java | 18 ++--- .../ArbitratorProcessDepositRequest.java | 23 +++--- .../tasks/ArbitratorProcessReserveTx.java | 14 ++-- ...tratorSendInitTradeOrMultisigRequests.java | 11 +-- .../tasks/BuyerPreparePaymentSentMessage.java | 18 ++--- .../tasks/MakerSendInitTradeRequest.java | 4 +- .../tasks/MaybeSendSignContractRequest.java | 20 ++--- .../tasks/ProcessInitMultisigRequest.java | 9 +-- .../tasks/ProcessInitTradeRequest.java | 12 +-- .../tasks/ProcessPaymentReceivedMessage.java | 3 +- .../tasks/ProcessPaymentSentMessage.java | 4 +- .../tasks/ProcessSignContractRequest.java | 16 ++-- .../tasks/ProcessSignContractResponse.java | 5 +- .../ResendDisputeClosedMessageWithPayout.java | 8 +- .../SellerSendPaymentReceivedMessage.java | 13 ++-- .../tasks/TakerReserveTradeFunds.java | 6 +- ...TakerSendInitTradeRequestToArbitrator.java | 5 +- .../tasks/VerifyPeersAccountAgeWitness.java | 5 +- .../SendMediatedPayoutSignatureMessage.java | 4 +- .../trade/statistics/ReferralIdService.java | 6 +- .../trade/statistics/TradeStatistics3.java | 20 ++--- .../TradeStatistics3StorageService.java | 5 +- .../statistics/TradeStatistics3Store.java | 4 +- .../statistics/TradeStatisticsForJson.java | 3 +- .../statistics/TradeStatisticsManager.java | 15 ++-- .../trade/txproof/AssetTxProofRequest.java | 1 + .../txproof/AssetTxProofRequestsPerTrade.java | 1 + .../trade/txproof/xmr/XmrTxProofModel.java | 4 +- .../trade/txproof/xmr/XmrTxProofParser.java | 4 +- .../trade/txproof/xmr/XmrTxProofRequest.java | 17 ++--- .../xmr/XmrTxProofRequestsPerTrade.java | 6 +- .../trade/txproof/xmr/XmrTxProofService.java | 14 ++-- .../haveno/core/user/AutoConfirmSettings.java | 5 +- .../main/java/haveno/core/user/Cookie.java | 4 +- .../java/haveno/core/user/Preferences.java | 25 +++---- .../haveno/core/user/PreferencesPayload.java | 15 ++-- core/src/main/java/haveno/core/user/User.java | 16 ++-- .../java/haveno/core/user/UserPayload.java | 11 ++- .../haveno/core/util/FormattingUtils.java | 12 +-- .../java/haveno/core/util/InlierUtil.java | 3 +- .../java/haveno/core/util/ParsingUtils.java | 6 +- .../main/java/haveno/core/util/PriceUtil.java | 4 +- .../core/util/SimpleMarkdownParser.java | 6 +- .../main/java/haveno/core/util/Validator.java | 3 +- .../java/haveno/core/util/VolumeUtil.java | 10 +-- .../java/haveno/core/util/coin/CoinUtil.java | 9 +-- .../util/coin/ImmutableCoinFormatter.java | 8 +- .../core/util/validation/InputValidator.java | 2 +- .../util/validation/MonetaryValidator.java | 1 + .../util/validation/UrlInputValidator.java | 4 +- .../main/java/haveno/core/xmr/Balances.java | 15 ++-- .../java/haveno/core/xmr/MoneroModule.java | 2 +- .../haveno/core/xmr/MoneroNodeSettings.java | 4 +- .../xmr/exceptions/RejectedTxException.java | 3 +- .../TxBroadcastTimeoutException.java | 3 +- .../haveno/core/xmr/model/AddressEntry.java | 11 +-- .../core/xmr/model/AddressEntryList.java | 12 +-- .../xmr/model/EncryptedConnectionList.java | 17 +++-- .../core/xmr/model/InputsAndChangeOutput.java | 3 +- .../core/xmr/model/XmrAddressEntry.java | 6 +- .../core/xmr/model/XmrAddressEntryList.java | 8 +- .../core/xmr/nodes/BtcNetworkConfig.java | 10 +-- .../core/xmr/nodes/BtcNodeConverter.java | 15 ++-- .../java/haveno/core/xmr/nodes/BtcNodes.java | 16 ++-- .../core/xmr/nodes/BtcNodesRepository.java | 6 +- .../xmr/nodes/BtcNodesSetupPreferences.java | 6 +- .../core/xmr/nodes/LocalBitcoinNode.java | 13 ++-- .../core/xmr/nodes/ProxySocketFactory.java | 4 +- .../core/xmr/nodes/SeedPeersSocks5Dns.java | 14 ++-- .../core/xmr/setup/DownloadListener.java | 3 +- .../core/xmr/setup/HavenoKeyChainFactory.java | 3 +- .../setup/HavenoKeyChainGroupStructure.java | 3 +- .../xmr/setup/MoneroWalletRpcManager.java | 11 +-- .../haveno/core/xmr/setup/WalletConfig.java | 38 ++++------ .../haveno/core/xmr/setup/WalletsSetup.java | 54 ++++++-------- .../core/xmr/wallet/BtcCoinSelector.java | 6 +- .../core/xmr/wallet/BtcWalletService.java | 45 +++++------ .../xmr/wallet/HavenoDefaultCoinSelector.java | 9 +-- .../core/xmr/wallet/HavenoRiskAnalysis.java | 4 +- .../xmr/wallet/MoneroKeyImageListener.java | 6 +- .../core/xmr/wallet/MoneroKeyImagePoller.java | 52 ++++++------- .../core/xmr/wallet/NonBsqCoinSelector.java | 8 +- .../haveno/core/xmr/wallet/Restrictions.java | 4 +- .../core/xmr/wallet/TradeWalletService.java | 39 +++++----- .../haveno/core/xmr/wallet/TxBroadcaster.java | 15 ++-- .../haveno/core/xmr/wallet/WalletService.java | 63 +++++++--------- .../core/xmr/wallet/WalletsManager.java | 10 +-- .../core/xmr/wallet/XmrWalletService.java | 41 +++++----- .../http/MemPoolSpaceTxBroadcaster.java | 14 ++-- .../sign/SignedWitnessServiceTest.java | 27 +++---- .../core/account/sign/SignedWitnessTest.java | 10 +-- .../witness/AccountAgeWitnessServiceTest.java | 16 ++-- .../core/app/HavenoHelpFormatterTest.java | 14 ++-- .../arbitration/ArbitratorManagerTest.java | 4 +- .../core/arbitration/ArbitratorTest.java | 3 +- .../haveno/core/arbitration/MediatorTest.java | 6 +- .../core/arbitration/TraderDataItemTest.java | 19 +++-- .../haveno/core/crypto/EncryptionTest.java | 15 ++-- .../test/java/haveno/core/crypto/SigTest.java | 25 +++---- .../java/haveno/core/locale/BankUtilTest.java | 8 +- .../haveno/core/locale/CurrencyUtilTest.java | 11 +-- .../haveno/core/message/MarshallerTest.java | 7 +- .../java/haveno/core/monetary/PriceTest.java | 1 - .../seed/DefaultSeedNodeRepositoryTest.java | 1 - .../core/notifications/MobileModelTest.java | 11 +-- .../java/haveno/core/offer/OfferMaker.java | 3 - .../java/haveno/core/offer/OfferTest.java | 3 - .../core/offer/OpenOfferManagerTest.java | 18 ++--- .../availability/ArbitratorSelectionTest.java | 6 +- .../core/payment/PaymentAccountsTest.java | 15 ++-- .../core/payment/ReceiptPredicatesTest.java | 6 -- .../core/payment/ReceiptValidatorTest.java | 18 ++--- .../haveno/core/payment/TradeLimitsTest.java | 3 - .../AltCoinAddressValidatorTest.java | 3 +- .../provider/mempool/TxValidatorTest.java | 29 ++------ .../price/MarketPriceFeedServiceTest.java | 7 +- .../haveno/core/trade/TradableListTest.java | 8 +- .../txproof/xmr/XmrTxProofParserTest.java | 15 ++-- .../haveno/core/user/PreferencesTest.java | 7 +- .../core/user/UserPayloadModelVOTest.java | 5 +- .../haveno/core/util/FormattingUtilsTest.java | 12 +-- .../java/haveno/core/util/ProtoUtilTest.java | 2 - .../haveno/core/util/RegexValidatorTest.java | 15 ++-- .../haveno/core/util/coin/CoinUtilTest.java | 12 ++- .../core/xmr/nodes/BtcNetworkConfigTest.java | 10 +-- .../core/xmr/nodes/BtcNodeConverterTest.java | 8 +- .../xmr/nodes/BtcNodesRepositoryTest.java | 12 +-- .../nodes/BtcNodesSetupPreferencesTest.java | 11 +-- .../core/xmr/wallet/RestrictionsTest.java | 3 - .../haveno/daemon/app/HavenoDaemonMain.java | 5 +- .../daemon/grpc/GrpcAccountService.java | 47 ++++++------ .../daemon/grpc/GrpcDisputeAgentsService.java | 12 ++- .../daemon/grpc/GrpcDisputesService.java | 9 +-- .../daemon/grpc/GrpcErrorMessageHandler.java | 9 +-- .../daemon/grpc/GrpcExceptionHandler.java | 4 +- .../grpc/GrpcGetTradeStatisticsService.java | 10 +-- .../haveno/daemon/grpc/GrpcHelpService.java | 10 +-- .../grpc/GrpcMoneroConnectionsService.java | 30 +++++--- .../daemon/grpc/GrpcMoneroNodeService.java | 22 +++--- .../daemon/grpc/GrpcNotificationsService.java | 16 ++-- .../haveno/daemon/grpc/GrpcOffersService.java | 20 +++-- .../grpc/GrpcPaymentAccountsService.java | 33 +++++---- .../haveno/daemon/grpc/GrpcPriceService.java | 16 ++-- .../java/haveno/daemon/grpc/GrpcServer.java | 24 +++--- .../daemon/grpc/GrpcShutdownService.java | 7 +- .../haveno/daemon/grpc/GrpcTradesService.java | 28 ++++--- .../daemon/grpc/GrpcVersionService.java | 19 ++--- .../daemon/grpc/GrpcWalletsService.java | 53 ++++++------- .../CallRateMeteringInterceptor.java | 4 +- .../grpc/interceptor/GrpcCallRateMeter.java | 5 +- .../GrpcServiceRateMeteringConfig.java | 13 +--- .../interceptor/PasswordAuthInterceptor.java | 3 +- .../GrpcServiceRateMeteringConfigTest.java | 20 ++--- desktop/package/package.gradle | 3 +- .../java/haveno/desktop/DesktopModule.java | 5 +- .../main/java/haveno/desktop/Navigation.java | 14 ++-- .../java/haveno/desktop/app/HavenoApp.java | 33 ++++----- .../haveno/desktop/app/HavenoAppMain.java | 7 +- .../java/haveno/desktop/common/UITimer.java | 6 +- .../desktop/common/fxml/FxmlViewLoader.java | 19 ++--- .../desktop/common/view/AbstractView.java | 2 - .../common/view/ActivatableViewAndModel.java | 3 +- .../common/view/CachingViewLoader.java | 1 - .../haveno/desktop/common/view/FxmlView.java | 3 +- .../common/view/InitializableView.java | 2 - .../view/guice/InjectorViewFactory.java | 4 +- .../components/AccountStatusTooltipLabel.java | 7 +- .../desktop/components/AddressTextField.java | 15 ++-- .../AddressWithIconAndDirection.java | 12 +-- .../desktop/components/AutoTooltipButton.java | 5 +- .../components/AutoTooltipCheckBox.java | 5 +- .../desktop/components/AutoTooltipLabel.java | 4 +- .../components/AutoTooltipRadioButton.java | 5 +- .../AutoTooltipSlideToggleButton.java | 5 +- .../components/AutoTooltipToggleButton.java | 4 +- .../components/AutocompleteComboBox.java | 13 ++-- .../desktop/components/BalanceTextField.java | 3 +- .../desktop/components/BusyAnimation.java | 1 - .../ColoredDecimalPlacesWithZerosText.java | 3 +- .../components/ExplorerAddressTextField.java | 4 +- .../desktop/components/FundsTextField.java | 12 ++- .../desktop/components/HavenoTextArea.java | 1 - .../desktop/components/HavenoTextField.java | 1 - .../desktop/components/HyperlinkWithIcon.java | 4 +- .../components/InfoAutoTooltipLabel.java | 5 +- .../desktop/components/InfoDisplay.java | 19 ++--- .../components/InfoInputTextField.java | 6 +- .../desktop/components/InfoTextField.java | 17 ++--- .../desktop/components/InputTextField.java | 4 +- .../JFXRadioButtonSkinHavenoStyle.java | 8 +- .../JFXTextAreaSkinHavenoStyle.java | 7 +- .../JFXTextFieldSkinHavenoStyle.java | 6 +- .../haveno/desktop/components/MenuItem.java | 14 ++-- .../haveno/desktop/components/NewBadge.java | 3 +- .../desktop/components/PasswordTextField.java | 1 - .../desktop/components/PeerInfoIcon.java | 12 +-- .../components/PeerInfoIconDispute.java | 4 +- .../desktop/components/PeerInfoIconSmall.java | 1 + .../components/PeerInfoIconTrading.java | 9 +-- .../desktop/components/PopOverWrapper.java | 1 + .../components/TableGroupHeadline.java | 9 +-- .../components/TextFieldWithCopyIcon.java | 8 +- .../desktop/components/TextFieldWithIcon.java | 7 +- .../desktop/components/TitledGroupBg.java | 10 +-- .../desktop/components/TxIdTextField.java | 7 +- .../components/chart/ChartDataModel.java | 3 +- .../desktop/components/chart/ChartView.java | 39 ++++------ .../components/chart/ChartViewModel.java | 7 +- .../chart/TemporalAdjusterModel.java | 12 ++- .../controlsfx/control/PopOver.java | 28 +++---- .../controlsfx/skin/PopOverSkin.java | 43 ++++++----- .../indicator/TxConfidenceIndicator.java | 9 +-- .../skin/StaticProgressIndicatorSkin.java | 41 +++++----- .../desktop/components/list/FilterBox.java | 7 +- .../paymentmethods/AchTransferForm.java | 12 ++- .../paymentmethods/AdvancedCashForm.java | 8 +- .../components/paymentmethods/AliPayForm.java | 7 +- .../paymentmethods/AmazonGiftCardForm.java | 13 ++-- .../components/paymentmethods/AssetsForm.java | 16 ++-- .../paymentmethods/AustraliaPayidForm.java | 6 +- .../components/paymentmethods/BankForm.java | 10 ++- .../components/paymentmethods/BizumForm.java | 8 +- .../paymentmethods/CapitualForm.java | 8 +- .../paymentmethods/CashByMailForm.java | 9 ++- .../paymentmethods/CashDepositForm.java | 12 ++- .../components/paymentmethods/CelPayForm.java | 6 +- .../paymentmethods/ChaseQuickPayForm.java | 6 +- .../paymentmethods/ClearXchangeForm.java | 8 +- .../components/paymentmethods/F2FForm.java | 8 +- .../paymentmethods/FasterPaymentsForm.java | 6 +- .../GeneralAccountNumberForm.java | 8 +- .../paymentmethods/GeneralBankForm.java | 4 +- .../paymentmethods/GeneralSepaForm.java | 8 +- .../paymentmethods/GeneralUsBankForm.java | 8 +- .../paymentmethods/HalCashForm.java | 6 +- .../paymentmethods/IfscBankForm.java | 10 +-- .../paymentmethods/InteracETransferForm.java | 6 +- .../paymentmethods/JapanBankTransferForm.java | 14 ++-- .../components/paymentmethods/MoneseForm.java | 6 +- .../paymentmethods/MoneyBeamForm.java | 8 +- .../paymentmethods/MoneyGramForm.java | 11 ++- .../components/paymentmethods/NequiForm.java | 8 +- .../components/paymentmethods/PaxumForm.java | 6 +- .../paymentmethods/PaymentMethodForm.java | 28 +++---- .../paymentmethods/PayseraForm.java | 6 +- .../components/paymentmethods/PaytmForm.java | 8 +- .../paymentmethods/PerfectMoneyForm.java | 10 +-- .../components/paymentmethods/PixForm.java | 8 +- .../paymentmethods/PopmoneyForm.java | 8 +- .../paymentmethods/PromptPayForm.java | 8 +- .../paymentmethods/RevolutForm.java | 9 +-- .../paymentmethods/SatispayForm.java | 8 +- .../components/paymentmethods/SepaForm.java | 11 +-- .../paymentmethods/SepaInstantForm.java | 9 +-- .../paymentmethods/SpecificBankForm.java | 9 +-- .../components/paymentmethods/StrikeForm.java | 8 +- .../components/paymentmethods/SwiftForm.java | 14 +++- .../components/paymentmethods/SwishForm.java | 9 +-- .../components/paymentmethods/TikkieForm.java | 8 +- .../paymentmethods/TransferwiseForm.java | 6 +- .../paymentmethods/TransferwiseUsdForm.java | 8 +- .../USPostalMoneyOrderForm.java | 8 +- .../components/paymentmethods/UpholdForm.java | 6 +- .../components/paymentmethods/UpiForm.java | 8 +- .../components/paymentmethods/VerseForm.java | 6 +- .../paymentmethods/WeChatPayForm.java | 7 +- .../paymentmethods/WesternUnionForm.java | 7 +- .../java/haveno/desktop/main/MainView.java | 40 ++++------ .../haveno/desktop/main/MainViewModel.java | 11 +-- .../desktop/main/SharedPresentation.java | 4 +- .../desktop/main/account/AccountView.java | 15 +--- .../account/content/PaymentAccountsView.java | 13 +--- .../AltCoinAccountsDataModel.java | 3 +- .../altcoinaccounts/AltCoinAccountsView.fxml | 2 +- .../altcoinaccounts/AltCoinAccountsView.java | 23 +++--- .../account/content/backup/BackupView.fxml | 2 +- .../account/content/backup/BackupView.java | 33 ++++----- .../fiataccounts/FiatAccountsDataModel.java | 3 +- .../fiataccounts/FiatAccountsView.fxml | 2 +- .../fiataccounts/FiatAccountsView.java | 24 +++--- .../ManageMarketAlertsWindow.java | 11 +-- .../MobileNotificationsView.fxml | 2 +- .../MobileNotificationsView.java | 23 +++--- .../content/password/PasswordView.fxml | 2 +- .../content/password/PasswordView.java | 5 +- .../content/seedwords/SeedWordsView.fxml | 2 +- .../content/seedwords/SeedWordsView.java | 31 ++++---- .../content/walletinfo/WalletInfoView.fxml | 2 +- .../content/walletinfo/WalletInfoView.java | 7 +- .../register/AgentRegistrationView.java | 22 +++--- .../register/AgentRegistrationViewModel.java | 6 +- .../ArbitratorRegistrationView.fxml | 2 +- .../ArbitratorRegistrationView.java | 2 +- .../ArbitratorRegistrationViewModel.java | 1 + .../mediator/MediatorRegistrationView.fxml | 2 +- .../mediator/MediatorRegistrationView.java | 2 +- .../MediatorRegistrationViewModel.java | 1 + .../RefundAgentRegistrationView.fxml | 2 +- .../RefundAgentRegistrationView.java | 2 +- .../RefundAgentRegistrationViewModel.java | 1 + .../account/register/signing/SigningView.fxml | 2 +- .../account/register/signing/SigningView.java | 5 +- .../haveno/desktop/main/debug/DebugView.fxml | 2 +- .../haveno/desktop/main/debug/DebugView.java | 14 ++-- .../haveno/desktop/main/funds/FundsView.java | 6 +- .../main/funds/deposit/DepositListItem.java | 11 +-- .../main/funds/deposit/DepositView.fxml | 2 +- .../main/funds/deposit/DepositView.java | 44 +++++------ .../main/funds/locked/LockedListItem.java | 6 +- .../desktop/main/funds/locked/LockedView.fxml | 2 +- .../desktop/main/funds/locked/LockedView.java | 31 +++----- .../main/funds/reserved/ReservedListItem.java | 6 +- .../main/funds/reserved/ReservedView.fxml | 2 +- .../main/funds/reserved/ReservedView.java | 31 +++----- .../transactions/DisplayedTransactions.java | 6 +- .../DisplayedTransactionsFactory.java | 1 + .../transactions/TradableRepository.java | 6 +- .../TransactionAwareTradableFactory.java | 1 + .../transactions/TransactionAwareTrade.java | 5 +- .../TransactionListItemFactory.java | 12 ++- .../transactions/TransactionsListItem.java | 9 ++- .../funds/transactions/TransactionsView.fxml | 2 +- .../funds/transactions/TransactionsView.java | 27 +++---- .../funds/withdrawal/WithdrawalListItem.java | 5 +- .../main/funds/withdrawal/WithdrawalView.fxml | 4 +- .../main/funds/withdrawal/WithdrawalView.java | 23 +++--- .../desktop/main/market/MarketView.java | 15 ++-- .../market/offerbook/OfferBookChartView.fxml | 2 +- .../market/offerbook/OfferBookChartView.java | 39 ++++------ .../offerbook/OfferBookChartViewModel.java | 7 +- .../main/market/spread/SpreadItem.java | 5 +- .../main/market/spread/SpreadView.fxml | 2 +- .../main/market/spread/SpreadView.java | 14 ++-- .../main/market/spread/SpreadViewModel.java | 13 +--- .../spread/SpreadViewPaymentMethod.fxml | 2 +- .../spread/SpreadViewPaymentMethod.java | 6 +- .../main/market/trades/ChartCalculations.java | 10 +-- .../trades/TradeStatistics3ListItem.java | 1 - .../main/market/trades/TradesChartsView.fxml | 2 +- .../main/market/trades/TradesChartsView.java | 51 +++++-------- .../market/trades/TradesChartsViewModel.java | 8 +- .../market/trades/charts/price/Candle.java | 1 - .../trades/charts/price/CandleStickChart.java | 8 +- .../trades/charts/price/CandleTooltip.java | 4 +- .../trades/charts/volume/VolumeBar.java | 1 - .../trades/charts/volume/VolumeChart.java | 8 +- .../desktop/main/offer/BuyOfferView.java | 3 +- .../main/offer/MutableOfferDataModel.java | 10 +-- .../desktop/main/offer/MutableOfferView.java | 56 +++++++------- .../main/offer/MutableOfferViewModel.java | 21 ++---- .../desktop/main/offer/OfferDataModel.java | 1 - .../haveno/desktop/main/offer/OfferView.java | 7 +- .../main/offer/OfferViewModelUtil.java | 1 + .../desktop/main/offer/OfferViewUtil.java | 20 ++--- .../desktop/main/offer/SellOfferView.java | 3 +- .../createoffer/CreateOfferDataModel.java | 3 +- .../offer/createoffer/CreateOfferView.java | 7 +- .../createoffer/CreateOfferViewModel.java | 1 + .../offer/offerbook/BtcOfferBookView.java | 4 +- .../offerbook/BtcOfferBookViewModel.java | 3 +- .../main/offer/offerbook/OfferBook.java | 14 ++-- .../offer/offerbook/OfferBookListItem.java | 9 +-- .../main/offer/offerbook/OfferBookView.java | 33 ++++----- .../offer/offerbook/OfferBookViewModel.java | 7 +- .../offer/offerbook/OtherOfferBookView.java | 4 +- .../offerbook/OtherOfferBookViewModel.java | 6 +- .../offerbook/TopAltcoinOfferBookView.java | 4 +- .../TopAltcoinOfferBookViewModel.java | 3 +- .../offer/takeoffer/TakeOfferDataModel.java | 9 +-- .../main/offer/takeoffer/TakeOfferView.java | 51 +++++++------ .../offer/takeoffer/TakeOfferViewModel.java | 17 ++--- .../haveno/desktop/main/overlays/Overlay.java | 42 ++++------- .../desktop/main/overlays/TabbedOverlay.java | 1 - .../editor/PeerInfoWithTagEditor.java | 33 +++------ .../overlays/notifications/Notification.java | 13 +--- .../notifications/NotificationCenter.java | 18 ++--- .../notifications/NotificationManager.java | 6 +- .../main/overlays/popups/PopupManager.java | 6 +- .../windows/BtcEmptyWalletWindow.java | 27 +++---- .../windows/ClosedTradesSummaryWindow.java | 10 +-- .../main/overlays/windows/ContractWindow.java | 31 ++++---- .../windows/DisplayAlertMessageWindow.java | 3 +- .../windows/DisputeSummaryWindow.java | 18 ++--- .../windows/EditCustomExplorerWindow.java | 19 +++-- .../main/overlays/windows/FilterWindow.java | 22 +++--- .../windows/GenericMessageWindow.java | 5 +- .../windows/ManualPayoutTxWindow.java | 58 +++++++-------- .../overlays/windows/OfferDetailsWindow.java | 29 ++++---- .../main/overlays/windows/QRCodeWindow.java | 15 ++-- .../windows/SelectDepositTxWindow.java | 17 ++--- .../windows/SendAlertMessageWindow.java | 17 ++--- .../SendPrivateNotificationWindow.java | 14 ++-- .../overlays/windows/SetXmrTxKeyWindow.java | 6 +- .../windows/ShowWalletDataWindow.java | 7 +- .../windows/SignPaymentAccountsWindow.java | 34 ++++----- .../windows/SignSpecificWitnessWindow.java | 20 ++--- .../windows/SignUnsignedPubKeysWindow.java | 24 +++--- .../overlays/windows/SwiftPaymentDetails.java | 14 +++- .../main/overlays/windows/TacWindow.java | 11 +-- .../windows/TorNetworkSettingsWindow.java | 30 ++++---- .../overlays/windows/TradeDetailsWindow.java | 32 ++++---- .../overlays/windows/TradeFeedbackWindow.java | 10 +-- .../main/overlays/windows/TxDetails.java | 7 +- .../UnlockDisputeAgentRegistrationWindow.java | 7 +- .../UpdateAmazonGiftCardAccountWindow.java | 4 +- .../windows/UpdateRevolutAccountWindow.java | 6 +- .../VerifyDisputeResultSignatureWindow.java | 14 ++-- .../windows/WalletPasswordWindow.java | 34 ++++----- .../main/overlays/windows/WebCamWindow.java | 9 +-- .../DisplayUpdateDownloadWindow.java | 22 ++---- .../windows/downloadupdate/DownloadTask.java | 16 ++-- .../downloadupdate/HavenoInstaller.java | 14 ++-- .../windows/downloadupdate/VerifyTask.java | 11 +-- .../desktop/main/portfolio/PortfolioView.java | 13 +--- .../closedtrades/ClosedTradesListItem.java | 3 +- .../closedtrades/ClosedTradesView.fxml | 4 +- .../closedtrades/ClosedTradesView.java | 32 +++----- .../DuplicateOfferDataModel.java | 2 +- .../duplicateoffer/DuplicateOfferView.java | 1 + .../DuplicateOfferViewModel.java | 4 +- .../editoffer/EditOfferDataModel.java | 2 +- .../portfolio/editoffer/EditOfferView.java | 16 ++-- .../editoffer/EditOfferViewModel.java | 1 + .../failedtrades/FailedTradesDataModel.java | 1 - .../failedtrades/FailedTradesView.fxml | 2 +- .../failedtrades/FailedTradesView.java | 30 +++----- .../failedtrades/FailedTradesViewModel.java | 4 +- .../openoffer/OpenOffersDataModel.java | 2 - .../portfolio/openoffer/OpenOffersView.fxml | 2 +- .../portfolio/openoffer/OpenOffersView.java | 31 +++----- .../openoffer/OpenOffersViewModel.java | 4 +- .../portfolio/pendingtrades/BuyerSubView.java | 3 +- .../pendingtrades/PendingTradesDataModel.java | 15 ++-- .../pendingtrades/PendingTradesListItem.java | 5 +- .../pendingtrades/PendingTradesView.fxml | 4 +- .../pendingtrades/PendingTradesView.java | 49 +++++------- .../pendingtrades/PendingTradesViewModel.java | 16 ++-- .../pendingtrades/SellerSubView.java | 3 +- .../pendingtrades/TradeStepInfo.java | 7 +- .../portfolio/pendingtrades/TradeSubView.java | 17 ++--- .../pendingtrades/steps/TradeStepView.java | 19 ++--- .../pendingtrades/steps/TradeWizardItem.java | 8 +- .../steps/buyer/BuyerStep2View.java | 10 +-- .../steps/buyer/BuyerStep3View.java | 9 +-- .../steps/buyer/BuyerStep4View.java | 9 +-- .../steps/seller/SellerStep2View.java | 3 +- .../steps/seller/SellerStep3View.java | 23 +++--- .../presentation/AccountPresentation.java | 7 +- .../presentation/MarketPricePresentation.java | 17 ++--- .../presentation/SettingsPresentation.java | 6 +- .../desktop/main/settings/SettingsView.java | 7 +- .../main/settings/about/AboutView.fxml | 2 +- .../main/settings/about/AboutView.java | 15 ++-- .../settings/network/NetworkSettingsView.fxml | 2 +- .../settings/network/NetworkSettingsView.java | 23 ++---- .../settings/network/P2pNetworkListItem.java | 9 +-- .../settings/preferences/PreferencesView.fxml | 2 +- .../settings/preferences/PreferencesView.java | 38 +++++----- .../preferences/PreferencesViewModel.java | 1 + .../haveno/desktop/main/shared/ChatView.java | 45 ++++------- .../main/shared/PriceFeedComboBoxItem.java | 1 - .../desktop/main/support/SupportView.java | 9 +-- .../support/dispute/DisputeChatPopup.java | 13 ++-- .../main/support/dispute/DisputeView.java | 46 +++++------- .../dispute/agent/DisputeAgentView.java | 14 ++-- .../dispute/agent/SignedOfferView.fxml | 4 +- .../dispute/agent/SignedOfferView.java | 16 ++-- .../agent/arbitration/ArbitratorView.fxml | 2 +- .../agent/arbitration/ArbitratorView.java | 1 + .../dispute/agent/mediation/MediatorView.fxml | 2 +- .../dispute/agent/mediation/MediatorView.java | 1 + .../dispute/agent/refund/RefundAgentView.fxml | 2 +- .../dispute/agent/refund/RefundAgentView.java | 1 + .../arbitration/ArbitrationClientView.fxml | 2 +- .../arbitration/ArbitrationClientView.java | 1 + .../client/mediation/MediationClientView.fxml | 2 +- .../client/mediation/MediationClientView.java | 1 + .../client/refund/RefundClientView.fxml | 2 +- .../client/refund/RefundClientView.java | 1 + .../setup/DesktopPersistedDataHost.java | 4 +- .../haveno/desktop/util/AxisInlierUtils.java | 5 +- .../haveno/desktop/util/CurrencyList.java | 3 +- .../haveno/desktop/util/DisplayUtils.java | 12 +-- .../java/haveno/desktop/util/FormBuilder.java | 22 +++--- .../java/haveno/desktop/util/GUIProfiler.java | 6 +- .../java/haveno/desktop/util/GUIUtil.java | 66 +++++++---------- .../java/haveno/desktop/util/ImageUtil.java | 4 +- .../java/haveno/desktop/util/Transitions.java | 13 ++-- .../java/haveno/desktop/AwesomeFontDemo.java | 5 +- .../test/java/haveno/desktop/BindingTest.java | 10 +-- .../java/haveno/desktop/ComponentsDemo.java | 18 ++--- .../java/haveno/desktop/GuiceSetupTest.java | 2 - .../java/haveno/desktop/MarketsPrintTool.java | 1 + .../desktop/MaterialDesignIconDemo.java | 5 +- .../common/fxml/FxmlViewLoaderTests.java | 19 ++--- .../support/CachingViewLoaderTests.java | 7 +- ...ColoredDecimalPlacesWithZerosTextTest.java | 3 - .../DisplayedTransactionsTest.java | 13 +--- .../ObservableListDecoratorTest.java | 5 +- .../TransactionAwareTradableFactoryTest.java | 11 +-- .../TransactionAwareTradeTest.java | 27 +++---- .../OfferBookChartViewModelTest.java | 3 - .../market/spread/SpreadViewModelTest.java | 2 - .../trades/TradesChartsViewModelTest.java | 23 ++---- .../createoffer/CreateOfferDataModelTest.java | 27 +++---- .../createoffer/CreateOfferViewModelTest.java | 9 +-- .../offerbook/OfferBookListItemMaker.java | 1 - .../offerbook/OfferBookViewModelTest.java | 36 +++++---- .../desktop/main/overlays/OverlayTest.java | 2 - .../downloadupdate/HavenoInstallerTest.java | 10 +-- .../preferences/PreferencesViewModelTest.java | 4 +- .../java/haveno/desktop/maker/OfferMaker.java | 9 +-- .../java/haveno/desktop/maker/PriceMaker.java | 3 +- .../haveno/desktop/maker/VolumeMaker.java | 3 +- .../haveno/desktop/util/CurrencyListTest.java | 9 +-- .../haveno/desktop/util/DisplayUtilsTest.java | 7 +- .../java/haveno/desktop/util/GUIUtilTest.java | 31 ++++---- .../util/ImmutableCoinFormatterTest.java | 5 +- .../desktop/util/MovingAverageUtilsTest.java | 7 +- .../validation/AccountNrValidatorTest.java | 13 ++-- .../validation/BranchIdValidatorTest.java | 15 ++-- .../NationalAccountIdValidatorTest.java | 9 +-- .../validation/PhoneNumberValidatorTest.java | 7 +- gradle.properties | 1 + gradle/verification-metadata.xml | 73 ++++++++++++++++++ .../haveno/inventory/InventoryMonitor.java | 10 +-- .../inventory/InventoryMonitorMain.java | 14 +--- .../haveno/inventory/InventoryWebServer.java | 13 +--- .../java/haveno/monitor/AvailableTor.java | 3 +- .../src/main/java/haveno/monitor/Metric.java | 6 +- .../src/main/java/haveno/monitor/Monitor.java | 9 +-- .../main/java/haveno/monitor/OnionParser.java | 1 + .../main/java/haveno/monitor/ThreadGate.java | 4 +- .../haveno/monitor/metric/MarketStats.java | 9 +-- .../haveno/monitor/metric/P2PMarketStats.java | 4 +- .../haveno/monitor/metric/P2PNetworkLoad.java | 6 +- .../monitor/metric/P2PRoundTripTime.java | 1 + .../monitor/metric/P2PSeedNodeSnapshot.java | 13 +--- .../metric/P2PSeedNodeSnapshotBase.java | 9 +-- .../haveno/monitor/metric/PriceNodeStats.java | 10 +-- .../metric/TorHiddenServiceStartupTime.java | 6 +- .../monitor/metric/TorRoundTripTime.java | 7 +- .../haveno/monitor/metric/TorStartupTime.java | 6 +- .../monitor/reporter/ConsoleReporter.java | 1 + .../monitor/reporter/GraphiteReporter.java | 6 +- .../monitor/MonitorInfrastructureTests.java | 9 +-- .../haveno/monitor/P2PNetworkLoadTests.java | 14 ++-- .../haveno/monitor/P2PRoundTripTimeTests.java | 14 ++-- .../haveno/monitor/PriceNodeStatsTests.java | 15 ++-- .../TorHiddenServiceStartupTimeTests.java | 15 ++-- .../haveno/monitor/TorRoundTripTimeTests.java | 15 ++-- .../haveno/monitor/TorStartupTimeTests.java | 8 +- .../java/haveno/network/DnsLookupTor.java | 18 ++--- .../haveno/network/Socks5DnsDiscovery.java | 8 +- .../haveno/network/Socks5MultiDiscovery.java | 7 +- .../haveno/network/Socks5ProxyProvider.java | 9 +-- .../network/Socks5SeedOnionDiscovery.java | 4 +- .../network/crypto/DecryptedDataTuple.java | 4 +- .../network/crypto/EncryptionService.java | 8 +- .../java/haveno/network/http/HttpClient.java | 3 +- .../haveno/network/http/HttpClientImpl.java | 30 +++----- .../http/SocksConnectionSocketFactory.java | 3 +- .../http/SocksSSLConnectionSocketFactory.java | 4 +- .../java/haveno/network/p2p/AckMessage.java | 7 +- .../haveno/network/p2p/BundleOfEnvelopes.java | 6 +- .../p2p/DecryptedMessageWithPubKey.java | 4 +- .../network/p2p/NetworkNodeProvider.java | 5 +- .../java/haveno/network/p2p/NodeAddress.java | 15 ++-- .../java/haveno/network/p2p/P2PModule.java | 19 ++++- .../java/haveno/network/p2p/P2PService.java | 31 ++++---- .../p2p/PrefixedSealedAndSignedMessage.java | 6 +- .../p2p/SupportedCapabilitiesMessage.java | 1 + .../p2p/mailbox/IgnoredMailboxMap.java | 6 +- .../p2p/mailbox/IgnoredMailboxService.java | 1 + .../network/p2p/mailbox/MailboxItem.java | 6 +- .../p2p/mailbox/MailboxMessageList.java | 6 +- .../p2p/mailbox/MailboxMessageService.java | 19 ++--- .../p2p/network/BridgeAddressProvider.java | 4 +- .../network/p2p/network/Connection.java | 27 +++---- .../network/p2p/network/ConnectionState.java | 4 +- .../p2p/network/ConnectionStatistics.java | 6 +- .../p2p/network/InboundConnection.java | 4 +- .../p2p/network/LocalhostNetworkNode.java | 13 ++-- .../network/p2p/network/NetworkFilter.java | 1 + .../network/p2p/network/NetworkNode.java | 29 +++----- .../haveno/network/p2p/network/NewTor.java | 16 ++-- .../p2p/network/OutboundConnection.java | 4 +- .../p2p/network/ProtoOutputStream.java | 5 +- .../network/p2p/network/RunningTor.java | 9 +-- .../haveno/network/p2p/network/Server.java | 16 ++-- .../haveno/network/p2p/network/Statistic.java | 10 +-- .../SynchronizedProtoOutputStream.java | 12 ++- .../haveno/network/p2p/network/TorMode.java | 3 +- .../network/p2p/network/TorNetworkNode.java | 40 ++++------ .../network/p2p/peers/BroadcastHandler.java | 7 +- .../haveno/network/p2p/peers/Broadcaster.java | 10 +-- .../haveno/network/p2p/peers/PeerManager.java | 14 ++-- .../peers/getdata/GetDataRequestHandler.java | 7 +- .../p2p/peers/getdata/RequestDataHandler.java | 9 +-- .../p2p/peers/getdata/RequestDataManager.java | 8 +- .../getdata/messages/GetDataRequest.java | 3 +- .../getdata/messages/GetDataResponse.java | 7 +- .../messages/GetUpdatedDataRequest.java | 10 +-- .../messages/PreliminaryGetDataRequest.java | 10 +-- .../p2p/peers/keepalive/KeepAliveHandler.java | 8 +- .../p2p/peers/keepalive/KeepAliveManager.java | 12 +-- .../peerexchange/GetPeersRequestHandler.java | 7 +- .../network/p2p/peers/peerexchange/Peer.java | 3 +- .../peerexchange/PeerExchangeHandler.java | 8 +- .../peerexchange/PeerExchangeManager.java | 10 +-- .../p2p/peers/peerexchange/PeerList.java | 8 +- .../messages/GetPeersRequest.java | 9 +-- .../messages/GetPeersResponse.java | 9 +-- .../network/p2p/seed/SeedNodeRepository.java | 1 + .../p2p/storage/HashMapChangedListener.java | 1 + .../network/p2p/storage/P2PDataStorage.java | 30 +++----- .../payload/MailboxStoragePayload.java | 15 ++-- .../payload/ProtectedMailboxStorageEntry.java | 7 +- .../payload/ProtectedStorageEntry.java | 11 +-- .../payload/ProtectedStoragePayload.java | 5 +- .../AppendOnlyDataStoreService.java | 9 +-- .../HistoricalDataStoreService.java | 5 +- .../storage/persistence/MapStoreService.java | 7 +- .../PersistableNetworkPayloadStore.java | 6 +- .../ProtectedDataStoreService.java | 7 +- .../persistence/RemovedPayloadsMap.java | 6 +- .../persistence/RemovedPayloadsService.java | 4 +- .../persistence/ResourceDataStoreService.java | 7 +- .../persistence/SequenceNumberMap.java | 6 +- .../p2p/storage/persistence/StoreService.java | 6 +- .../haveno/network/utils/CapabilityUtils.java | 4 +- .../main/java/haveno/network/utils/Utils.java | 4 +- .../crypto/EncryptionServiceTests.java | 17 ++--- .../haveno/network/p2p/DummySeedNode.java | 19 ++--- .../java/haveno/network/p2p/MockNode.java | 7 +- .../haveno/network/p2p/PeerServiceTest.java | 18 ++--- .../java/haveno/network/p2p/TestUtils.java | 10 +-- .../network/p2p/mocks/MockMailboxPayload.java | 3 +- .../p2p/network/LocalhostNetworkNodeTest.java | 12 +-- .../p2p/network/TorNetworkNodeTest.java | 21 ++---- .../network/p2p/peers/PeerManagerTest.java | 11 ++- ...2PDataStorageBuildGetDataResponseTest.java | 15 ++-- .../storage/P2PDataStorageClientAPITest.java | 11 ++- .../P2PDataStorageGetDataIntegrationTest.java | 8 +- .../P2PDataStorageOnMessageHandlerTest.java | 4 +- ...aStoragePersistableNetworkPayloadTest.java | 12 +-- .../P2PDataStorageProcessGetDataResponse.java | 10 +-- ...PDataStorageProtectedStorageEntryTest.java | 18 ++--- .../P2PDataStorageRemoveExpiredTest.java | 18 ++--- .../P2PDataStorageRequestDataTest.java | 13 ++-- .../storage/P2PDataStoreDisconnectTest.java | 14 ++-- .../haveno/network/p2p/storage/TestState.java | 19 +++-- .../storage/messages/AddDataMessageTest.java | 15 ++-- .../mocks/AppendOnlyDataStoreServiceFake.java | 1 + .../mocks/DateTolerantPayloadStub.java | 1 + .../ExpirableProtectedStoragePayloadStub.java | 2 +- .../storage/mocks/MapStoreServiceFake.java | 5 +- .../network/p2p/storage/mocks/MockData.java | 7 +- ...eExpirableProtectedStoragePayloadStub.java | 1 + .../mocks/ProtectedStoragePayloadStub.java | 6 +- .../ProtectedMailboxStorageEntryTest.java | 14 ++-- .../payload/ProtectedStorageEntryTest.java | 17 ++--- .../java/haveno/network/utils/UtilsTest.java | 2 - .../src/main/java/haveno/relay/RelayMain.java | 15 ++-- .../main/java/haveno/relay/RelayService.java | 23 +++--- 1206 files changed, 5197 insertions(+), 6620 deletions(-) create mode 100644 config/checkstyle.xml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 21a3b8c6..db3d3389 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,11 +33,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -56,4 +56,4 @@ jobs: ./gradlew build - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index d38834b5..02fa3916 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -6,8 +6,9 @@