Commit Graph

12379 Commits

Author SHA1 Message Date
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
d3d6d98666
Revert all changes since commit d55114e
Revert Task.java back to the state it was in prior to
my attempts to make it work for passing error msgs to a
gRPC CLI running 'placeoffer'.  Adjust the affected test
accordingly.
2020-10-03 11:55:58 -03:00
ghubstan
723fc8fc08
Skip over method name in args loop, start at i=1 2020-10-02 18:11:25 -03:00
ghubstan
c71ad8489c
Change 'break' to 'return' at end of switch. 2020-10-02 17:57:31 -03:00
sqrrm
30f44919fc
Merge pull request #4586 from chimp1984/reduce-initial-date-request
Reduce initial data request
2020-10-02 22:23:56 +02:00
chimp1984
807b9fc5be
Remove unused method, fix typo, remove unneeded annotations 2020-10-02 13:29:35 -05:00
chimp1984
308aa162e8
Update p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
2020-10-02 13:26:11 -05:00
chimp1984
e9c57b1a4b
Update p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
2020-10-02 13:25:51 -05:00
ghubstan
f1693a6cf4
Add switch statement break to make codacy happy 2020-10-02 15:25:32 -03:00
chimp1984
611bcef461
Update p2p/src/main/java/bisq/network/p2p/storage/persistence/HistoricalDataStoreService.java
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
2020-10-02 13:23:12 -05:00
chimp1984
35d13fb018
Make putIfAbsent method more clear 2020-10-02 13:22:25 -05:00
chimp1984
9d517140b2
Update p2p/src/main/java/bisq/network/p2p/storage/persistence/HistoricalDataStoreService.java
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
2020-10-02 13:16:04 -05:00
chimp1984
d3384e66e5
Update p2p/src/main/java/bisq/network/p2p/storage/persistence/HistoricalDataStoreService.java
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
2020-10-02 13:15:51 -05:00
chimp1984
ef7f5a7f63
Revert nonce index at PreliminaryGetDataRequest protobuf entry to 21 as it was the version used in master as well. We cannot change that without breaking compatibility. 2020-10-02 13:13:45 -05: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
ghubstan
631c3f4f12
Log provenance of Task error on server, but pass only exception msg to clients
Adjusted create offer validation test
2020-10-02 15:02:37 -03:00
ghubstan
628c557a98
Revert "Make task handler's error msg CLI friendly (needs review)"
This reverts commit cfe22c3cec.

This will be Too verbose in UI.
2020-10-02 14:51:43 -03:00
ghubstan
e09b821222
Explain use of args clone index (i-1) 2020-10-02 14:41:47 -03:00
ghubstan
23a677d3b8
Use list.set, not list.remove, list.add 2020-10-02 14:24:22 -03:00
sqrrm
c044cac087
Merge pull request #4585 from wiz/increase-mempool-fee-estimation-to-high-priority
Increase our mempool fee estimation from "medium" to "high" priority
2020-10-02 12:59:59 +02: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
Christoph Atteneder
f200df33f6
Merge pull request #4590 from cbeams/fix-funds-typo
Fix typo in 'available for withdrawal' popup
2020-10-02 09:35:20 +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
c308791321
Add license 2020-10-01 16:36:12 -05:00
chimp1984
3ee60d5cdc
Add license 2020-10-01 16:35:41 -05:00
chimp1984
5027c861e3
Fix proto field index 2020-10-01 16:33:33 -05:00
chimp1984
a1debd8070
Fix grammar 2020-10-01 16:33:21 -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
wiz
8e3b727d07
Increase our mempool fee estimation from "medium" to "high" priority
Bisq currently uses the mempool.space API for fee estimation, selecting
the "medium" priority fee, which generally works very well. However, if
your timing is bad, sometimes the mempool can quickly fill up and your
TX can get stuck for several hours or even days, which degrades the UX
of Bisq.

This PR changes the Pricenode code to always use "high" priority fees,
which would at the time of writing use 99 sat/vB instead of 85 sat/vB,
and hopefully prevent the above-mentioned issue from occuring. Of
course if the mempool is empty the minimum fees would still be used, as
this only changes the "priority" from medium to high.

Fee estimates: https://mempool.space/
API endpoint: https://mempool.space/api/v1/fees/recommended
2020-10-02 05:15:40 +09:00
chimp1984
8ea6da01da
Apply changes to test classes 2020-10-01 15:13:31 -05:00
chimp1984
65de106df0
Use HistoricalDataStoreService for TradeStatistics2StorageService 2020-10-01 15:13:11 -05:00
chimp1984
58efb62b84
Refactoring: Rearrange method (moved method) 2020-10-01 15:12:15 -05:00
chimp1984
62836d79f5
Add support for HistoricalDataStoreService 2020-10-01 15:08:43 -05:00
chimp1984
e44fdbdea2
Refactoring: Rename variable 2020-10-01 15:06:57 -05:00
chimp1984
3df2f7e177
Add HISTORY field. Make isNewVersion public 2020-10-01 15:06:34 -05:00
chimp1984
3fb73ac0a3
Add HistoricalDataStoreService 2020-10-01 15:06:04 -05:00
chimp1984
c79504c841
Add getter (needed later) 2020-10-01 15:05:46 -05:00
chimp1984
384152fb6b
Add version field to data requests classes 2020-10-01 15:05:31 -05:00
chimp1984
9446f2807d
Split read store and get store so it can be reused from new class (future commit)
Change API
2020-10-01 15:04:08 -05:00
chimp1984
df90b2440a
Add new methods and refactor APIs. Needed later for new classes.... 2020-10-01 15:02:44 -05:00
chimp1984
7122ef0356
Refactoring: Rename variables 2020-10-01 15:01:33 -05:00
chimp1984
b90fd3968d
Unrelated to PR topic: Improve logs for windows: \n is not recognized and reading logs from windows users makes it harder without line breaks. 2020-10-01 15:00:32 -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
2e50e4c5d7
Add PersistableNetworkPayloadStore 2020-10-01 14:55:01 -05:00
sqrrm
6c28d1a097
Merge pull request #4583 from chimp1984/improve-startup-routines
Improve startup routines
2020-10-01 18:41:22 +02:00