Commit graph

4800 commits

Author SHA1 Message Date
chimp1984
32238f2050
Rename getClosedTradables and getFailedTrades to getObservableList 2020-10-03 12:48:22 -05:00
chimp1984
c789650d0b
Move methods to base class 2020-10-03 12:48:22 -05:00
chimp1984
e88a810dd0
Revert exit code to 1 as it was before. Not sure if there have been some scripts for seeds which expect an error code at shutdown for auto restart. I remotely remember there have been something... 2020-10-03 12:48:22 -05:00
chimp1984
e242c54dab
Refactor: Rename getTradesAsObservableList to getObservableList 2020-10-03 12:48:22 -05:00
chimp1984
5f47ed20d8
Use decrementAndGet instead of getAndDecrement 2020-10-03 12:48:21 -05:00
chimp1984
ccfda5b043
Cleanups, add generics, add final, remove unused code/comments/todos, 2020-10-03 12:48:21 -05:00
chimp1984
fa0d261397
Fix remaining issues, cleanups, add persit calls, remove unused code,...
Sorry too tired to create another 20 commits...
2020-10-03 12:48:21 -05:00
chimp1984
253c6c3336
Remove unneeded param. Add requestPersistence calls. Cleanup removeTrade and addTrade methods 2020-10-03 12:48:21 -05:00
chimp1984
b901f358a7
Add missing persist calls. Add generics. Remove persist method. Add final. 2020-10-03 12:48:21 -05:00
chimp1984
7b4611e177
Add requestPersistence call
Cleanups
2020-10-03 12:48:21 -05:00
chimp1984
a797413c7e
Remove persist method 2020-10-03 12:48:21 -05:00
chimp1984
42e10f28b7
Apply generics 2020-10-03 12:48:21 -05:00
chimp1984
482bc56036
Use PersistenceManager 2020-10-03 12:48:20 -05:00
chimp1984
9da13c35f2
Refactor: Rename persist to requestPersistence 2020-10-03 12:48:20 -05:00
chimp1984
fac4200825
Remove unused fields, apply new params 2020-10-03 12:48:20 -05:00
chimp1984
e825613f5c
Use PersistenceManager 2020-10-03 12:48:20 -05:00
chimp1984
e0ea742a47
Use PersistenceManager 2020-10-03 12:48:20 -05:00
chimp1984
986f1bf33c
Use PersistenceManager. We do not persist inside openOffer anymore but from outside 2020-10-03 12:48:19 -05:00
chimp1984
406afa9dad
Use PersistenceManager. Add setAll method 2020-10-03 12:48:19 -05:00
chimp1984
c3c869b5ad
Use PersistenceManager 2020-10-03 12:48:19 -05:00
chimp1984
f4165dc9af
Use PersistenceManager 2020-10-03 12:48:19 -05:00
chimp1984
2582f58e0a
Use PersistenceManager 2020-10-03 12:48:19 -05:00
chimp1984
f6be9b0f6b
Use PersistenceManager 2020-10-03 12:48:19 -05:00
chimp1984
4f18577002
Extend PersistableList, remvoe storage 2020-10-03 12:48:19 -05:00
chimp1984
63fe1c9dbd
Remove storage 2020-10-03 12:48:18 -05:00
chimp1984
2d91c268d0
Remove storage and persist calls. Remove unused methods 2020-10-03 12:48:18 -05:00
chimp1984
8a6b2a77d6
Use PersistenceManager. Make disputeList final 2020-10-03 12:48:18 -05:00
chimp1984
158b7a92f9
Remove storage from dispute. We do persistence from outside now.
Impl. PersistablePayload
Make openingDate final and contr param
2020-10-03 12:48:18 -05:00
chimp1984
8f38de30e9
Use PersistableList as base class 2020-10-03 12:48:18 -05:00
chimp1984
0eb99f77ef
Use PersistenceManager 2020-10-03 12:48:18 -05:00
chimp1984
5d6cbf5e23
Refactor: Move classes to new package 2020-10-03 12:48:18 -05:00
chimp1984
878f64555c
Use PersistenceManager 2020-10-03 12:48:18 -05:00
chimp1984
308c970b68
Use PersistenceManager 2020-10-03 12:48:17 -05:00
chimp1984
80e16a05ef
Use PersistenceManager 2020-10-03 12:48:17 -05:00
chimp1984
9190f17966
Update TradeStatistics2Storage classes 2020-10-03 12:48:17 -05:00
chimp1984
e6211ef9fe
Update TempProposalStore and ProposalStore classes 2020-10-03 12:48:17 -05:00
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