Commit graph

4764 commits

Author SHA1 Message Date
chimp1984
8781c80fb0
Update AccountAgeWitnessStorage classes 2020-10-03 12:48:17 -05:00
chimp1984
d9a7aacf98
Update SignedWitness classes 2020-10-03 12:48:17 -05:00
chimp1984
dc77b5cab8
Use PersistenceManager 2020-10-03 12:48:17 -05:00
chimp1984
a4acddac4a
Apply generics and super class methods 2020-10-03 12:48:17 -05:00
chimp1984
3a348d5a0f
Remove ThreadedPersistableEnvelope and use PersistableEnvelope instead
We will not need threading support anymore once we use the new persistenceManager as serialisation is done on the userThread.
2020-10-03 12:48:16 -05:00
chimp1984
d3be8dd48b
Remove UserThreadMappedPersistableEnvelope and use PersistableEnvelope instead
We will not need threading support anymore once we use the new persistenceManager as serialisation is done on the userThread.
2020-10-03 12:48:16 -05:00
chimp1984
35d9338615
Remove UserThreadMappedPersistableList and use PersistableList instead
We will not need threading support anymore once we use the new persistenceManager as serialisation is done on the userThread.
2020-10-03 12:48:15 -05:00
chimp1984
93f1108a77
Add PersistenceManager.flushAllDataToDisk to shutdown to write all pending data to disk
Use new readAllPersisted method instead of setupPersistedDataHosts. Run read tasks in a thread in parallel.

Read is only done at startup.

Remove unused restart method
2020-10-03 12:48:15 -05:00
chimp1984
fd0cc63e7c
Refactor: use FileUtil.removeAndBackupFile instead of FileManager.removeAndBackupFile 2020-10-03 12:48:15 -05:00
chimp1984
802dcad2fb
Refactor: Rename CorruptedDatabaseFilesHandler 2020-10-03 12:48:14 -05:00
chimp1984
cda9d9eccf
Refactor: Move other 2 classes to file package 2020-10-03 12:48:14 -05:00
chimp1984
23507102dd
Refactor: Move CorruptedDatabaseFilesHandler 2020-10-03 12:48:14 -05:00
chimp1984
8aff1f8665
Refactor: Move FileUtil 2020-10-03 12:48:14 -05:00
sqrrm
f051a03d29
Merge pull request #4559 from ghubstan/cli-create-offer
Build out 'createoffer' API method
2020-10-03 17:04:11 +02:00
ghubstan
c71ad8489c
Change 'break' to 'return' at end of switch. 2020-10-02 17:57:31 -03:00
ghubstan
f1693a6cf4
Add switch statement break to make codacy happy 2020-10-02 15:25:32 -03:00
ghubstan
033271189f
Ignore codacy complaint about (dead) default switch labels 2020-10-02 15:10:13 -03:00
chimp1984
25a7979b02
Merge branch 'master_upstream' into reduce-initial-date-request 2020-10-02 13:05:56 -05:00
sqrrm
12628dcde6
Merge pull request #4588 from chimp1984/fix-incorrect-startup-order
UserThread must not be used before application is created.
2020-10-02 10:30:30 +02:00
Chris Beams
e623d9638e
Fix typo in 'available for withdrawal' popup 2020-10-02 08:54:42 +02:00
chimp1984
f5862ec2f6
UserThread must not be used before application is created. 2020-10-01 23:01:49 -05:00
chimp1984
6f5bfde92f
Deactivate usage of HistoricalDataStoreService for now.
This is intended to be able to merge the code base before https://github.com/bisq-network/bisq/pull/4577 is merged.
We can add the code base but not using the feature yet. Once we are ready for deployment we can revert this commit and have the feature activated.
2020-10-01 15:20:32 -05:00
chimp1984
65de106df0
Use HistoricalDataStoreService for TradeStatistics2StorageService 2020-10-01 15:13:11 -05:00
chimp1984
e44fdbdea2
Refactoring: Rename variable 2020-10-01 15:06:57 -05:00
chimp1984
431debe05e
Unrelated to PR topic fix: Only log warnings if banned object is not isEmpty 2020-10-01 14:59:27 -05:00
chimp1984
240f0b903c
Use PersistableNetworkPayloadStore as base class for stores which had a map with PersistableNetworkPayloads 2020-10-01 14:57:48 -05:00
chimp1984
d84122259b
Fix merge conflicts 2020-10-01 10:35:30 -05:00
chimp1984
ff1380481d
Merge branch 'master_upstream' into improve-startup-routines
# Conflicts:
#	core/src/main/java/bisq/core/app/BisqSetup.java
2020-10-01 10:34:43 -05:00
chimp1984
a8a881ea3e
Fix wrong printSystemLoad calls 2020-10-01 09:56:26 -05:00
chimp1984
9fce06832d
Rename baseCurrencyNetworkParameters to networkParameters 2020-10-01 09:46:11 -05:00
chimp1984
8a3cacd867
Revert renaming from InputsForDepositTxRequest to TakeOfferRequest
Prefer to keep it in sync with protobuf entry.
2020-10-01 09:45:19 -05:00
chimp1984
0af9e133a4
Cleanups 2020-10-01 09:42:33 -05:00
chimp1984
fb41a1984b
Merge branch 'master_upstream' into fix-delayed-payout-tx-issues
# Conflicts:
#	core/src/main/java/bisq/core/trade/TradeManager.java
#	desktop/src/main/java/bisq/desktop/main/overlays/windows/TradeDetailsWindow.java
2020-10-01 09:24:46 -05:00
sqrrm
0b1894a939
Merge pull request #4554 from ghubstan/create-offer
Change 'createoffer' api method return type
2020-10-01 14:48:38 +02:00
Christoph Atteneder
0a88ee6bd3
Merge pull request #4581 from oscarguindzberg/fixHostnameSerialization
Use bitcoinj 0.15.8 (commit 44ddbdc)
2020-10-01 09:15:47 +02:00
Christoph Atteneder
a1778ed701
Merge pull request #4578 from chimp1984/show-if-maker-has-xmr-autoconf-enabled
Show if maker has xmr autoconf enabled
2020-10-01 09:11:45 +02:00
chimp1984
a44ba62c77
Merge branch 'fix-delayed-payout-tx-issues' of https://github.com/chimp1984/bisq into fix-delayed-payout-tx-issues 2020-10-01 00:06:03 -05:00
chimp1984
1b1888673c
Refactor: Move handler code to domain classes 2020-09-30 23:12:06 -05:00
chimp1984
11383b9e84
Refactor: Rename startAppSetup to runBisqSetup 2020-09-30 22:45:11 -05:00
chimp1984
346ad517a1
Refactor: Move osUserDataDir method to Utilities, rename to getUserDataDir 2020-09-30 22:43:11 -05:00
chimp1984
c3e1ae691b
Remove cryptoSetupFailedHandler 2020-09-30 22:39:13 -05:00
chimp1984
a38f59a88a
Refactor: Move common bases setup code to CommonSetup 2020-09-30 22:36:18 -05:00
chimp1984
fe577b3651
Remove checkCryptoSetup as not needed anymore 2020-09-30 22:30:40 -05:00
chimp1984
907fd66dc2
Remove empty loop 2020-09-30 22:27:09 -05:00
chimp1984
bb99eef059
Refactor: Move AvoidStandbyModeService from BisqApp to BisqExecutable.setupAvoidStandbyMode 2020-09-30 22:26:42 -05:00
chimp1984
b927f9719e
Refactor: Move DevEnv setup to CommonSetup 2020-09-30 22:11:29 -05:00
chimp1984
9d12bf7d52
Refactor: Move sig int handlers to CommonSetup 2020-09-30 22:10:44 -05:00
chimp1984
9232a5765b
Improve handling of UncaughtExceptionHandler 2020-09-30 22:06:51 -05:00
chimp1984
7ea3676c55
Refactor: Rename setup to setupUncaughtExceptionHandler
rename setupErrorHandler to checkCryptoPolicySetup
move UncaughtExceptionHandler code to setupUncaughtExceptionHandler
2020-09-30 21:55:50 -05:00
chimp1984
b6e97e371e
Refactor: add new setup method to CommonSetup with config (WIP) and call it at doExecute. Move AsciiLogo to CommonSetup 2020-09-30 21:53:29 -05:00