chimp1984
f17c2e1234
Rename method
2021-11-15 13:05:40 +01:00
chimp1984
b00d317e88
Rename getFeeHistorical to calculateFee
2021-11-14 15:07:34 +01:00
chimp1984
5928b44843
Use genesis height in maybeTestFeeFromFilter instead of 0
2021-11-14 15:07:34 +01:00
chimp1984
2e137459dc
Add check for fee from filter
...
That check is done if:
- If we are after activation time
- If filter is available
- If value in filter is > 0
The check compares the paid fee and the fee value from filter
and requires that paid fee is > 70% of filter value.
See comments in code for more background.
2021-11-14 15:07:34 +01:00
chimp1984
1027b9d7fe
Extract vars
...
Cleanups
2021-11-14 15:07:33 +01:00
chimp1984
c88addef16
Break up if else clauses (helps for improvements
...
in later commits)
2021-11-14 15:07:33 +01:00
chimp1984
b427795e4c
Extract minFeeParam
...
Cleanup
2021-11-14 15:07:33 +01:00
chimp1984
e57c682001
Add blockHeightAtOfferCreation to TxValidator
...
Used in case of maker fee validation
2021-11-14 15:07:33 +01:00
chimp1984
65285e2c69
Add filterManager to filterManager (will
...
be used in follow-up commits)
2021-11-14 15:07:33 +01:00
chimp1984
a082fd4a84
Add fee fields to filter
2021-11-14 15:07:32 +01:00
Christoph Atteneder
17d4d425a7
Merge pull request #5823 from jmacxx/add_ach_domestic_wire
...
Add payment methods ACH Transfer and Domestic Wire Transfer
2021-11-12 20:51:46 +01:00
jmacxx
bf311e36fb
Add payment methods ACH Transfer and Domestic Wire Transfer
2021-11-12 11:50:43 -06:00
Christoph Atteneder
3e6bb3bc7f
Merge pull request #5819 from chimp1984/fix-reorg-handling
...
Fix reorg handling
2021-11-12 10:50:06 +01:00
Christoph Atteneder
9538b538ea
Merge pull request #5821 from jmacxx/add_tikkie_twusd
...
Add payment methods Tikkie and TransferWise-USD
2021-11-11 11:03:38 +01:00
Christoph Atteneder
de5805c6fd
Merge pull request #5820 from jmacxx/grin_slatepack
...
Changes required for GRIN re-listing
2021-11-11 11:02:24 +01:00
jmacxx
f72b6c0b0a
Add payment methods Tikkie and TransferWise-USD
2021-11-10 21:48:10 -06:00
jmacxx
5bf7bba0c6
Changes required for GRIN re-listing
2021-11-10 14:23:04 -06:00
Christoph Atteneder
284eaf2c11
Merge pull request #5817 from chimp1984/fix-incorrect-app-initialisation
...
Fix incorrect app initialisation
2021-11-10 19:22:03 +01:00
chimp1984
6f51793d1b
Add deterministic delay for seed node shutdown at reorg
...
We shut down with a deterministic delay per seed to avoid that all seeds shut down at the
same time in case of a reorg. We use 30 sec. as distance delay between the seeds to be on the
safe side. We have 12 seeds so that's 6 minutes.
2021-11-10 18:31:53 +01:00
chimp1984
0edccd9fe1
Only call parseBlocksOnHeadHeight if our latest block from
...
persistance is below the chain height of btc core.
With the new handling of dao state hashblocks it can be the
we have persisted the latest block up to the chain height.
Before that change we only had the last snapshot which was at least
20 blocks back persisted.
We want to avoid to get caught in a retry loop at parseBlocksOnHeadHeight
so we filter out that case just at the caller.
At parseBlocksOnHeadHeight we inline the requestChainHeadHeightAndParseBlocks
method as it is not used by other callers anymore.
This case that we request a block but our local btc core chain hight is below
that might be some edge case when we had a synced dao blocks but we btc core is
resyncing...
2021-11-10 17:41:58 +01:00
chimp1984
42500c0370
Do not call resultHandler in case of a RequiredReorgFromSnapshotException
...
We trigger a resync from resources if there is a reorg and don't want to
continue to request blocks
2021-11-10 17:36:49 +01:00
Christoph Atteneder
40ad5737cb
Remove unnecessary todo
2021-11-10 13:21:56 +01:00
Christoph Atteneder
9a1dc43088
Merge pull request #5818 from chimp1984/small-debugging-utils
...
Small debugging utils
2021-11-10 13:20:05 +01:00
chimp1984
450800d101
Remove startReOrgFromLastSnapshot methods in LiteNode
...
and FullNode
The custom implementations triggered to repeat requests
but we shut down the seed node in case of a reorg and
for desktops we request the user to shutdown.
2021-11-10 13:13:06 +01:00
chimp1984
ae38a54f11
Add util for logger to log by threadname
...
Helpful for debugging
2021-11-10 12:34:29 +01:00
chimp1984
5c2199ff49
Add freeMemory to log
...
Cleanup
2021-11-10 12:32:18 +01:00
chimp1984
880df30ffc
Remove unneeded UserThread.execute wrappers
...
In desktop we are on the UI thread.
In Seednode we have an outer UserThread.execute call already
2021-11-10 12:27:50 +01:00
chimp1984
faa8bd2ab2
Extract code in CommonSetup which uses a timer
...
to startPeriodicTasks.
Call that from BisqExecutable.onApplicationLaunched
We have created a non-UI timer before for the
printSystemLoadPeriodically as that was called
before the configUserThread was called (where we
define the UI timer for desktop)
2021-11-10 12:26:54 +01:00
Christoph Atteneder
245b76be74
Merge pull request #5816 from chimp1984/fix-btc-address-for-regtest
...
Fix missing handling for non-mainnet use case
2021-11-10 09:22:39 +01:00
chimp1984
d9c509ba53
Fix missing handling for non-mainnet use case
2021-11-09 22:42:37 +01:00
Christoph Atteneder
bb1a1b5170
Merge pull request #5808 from jmacxx/seller_confirm_button
...
Confirm button state for BTC seller to be disabled in mediation
2021-11-09 21:27:37 +01:00
Christoph Atteneder
1578f45ffc
Merge pull request #5812 from ghubstan/02-cli-console-formatting-api
...
Deprecate and replace hard-coded CLI console output formatters
2021-11-09 21:21:52 +01:00
Christoph Atteneder
06da45fb7a
Merge pull request #5764 from chimp1984/avoid-usage-of-outdated-addresses
...
Avoid that outdated donation and fee addresses are used.
2021-11-09 21:01:47 +01:00
chimp1984
8d22904ee3
Fix missing param in test
2021-11-09 20:48:17 +01:00
chimp1984
beb4590ef7
Use static fields for addresses
2021-11-09 20:42:30 +01:00
chimp1984
e2bf77fb59
Fixes https://github.com/bisq-network/bisq/issues/5762
...
Avoid that outdated donation and fee addresses are used.
In case we get an outdated donation address (RECIPIENT_BTC_ADDRESS)
we trigger a dao resync. The user get a popup for doing a restart
in that case.
For the fee address selection we do not fall back to the
RECIPIENT_BTC_ADDRESS in case no address from filter is provided
but we use the hard coded address of the current fee receiver address.
2021-11-09 20:42:30 +01:00
Christoph Atteneder
60526cc321
Merge pull request #5795 from chimp1984/optimize-dao-charts-7
...
Optimize DAO charts [7]
2021-11-09 20:41:36 +01:00
Christoph Atteneder
2eae94e22a
Add missing space
2021-11-09 20:30:14 +01:00
chimp1984
8a4d1cb6db
Return CompletableFuture once applyData is completed with all
...
calls.
2021-11-09 20:00:34 +01:00
chimp1984
a00667bbc2
Clean up log
2021-11-09 20:00:34 +01:00
chimp1984
67741f0d0e
Add DEFAULT_LOG_LEVEL field
2021-11-09 20:00:34 +01:00
chimp1984
cf9e49134a
Add shutDown method to ClockWatcher and shut it down at shutdown
2021-11-09 20:00:34 +01:00
chimp1984
b61d64e1ea
Add mapToUserThread method to ChartView
...
For initial rendering we need to delay a bit and wait
until async calls are completed.
2021-11-09 20:00:34 +01:00
chimp1984
a4b106cd4a
Apply async handling to DaoChartView as well
2021-11-09 20:00:34 +01:00
chimp1984
6b89bf0da9
Use async methods with CompletableFuture in viewmodel to
...
avoid that slow operations in data model are running on UI thread
2021-11-09 20:00:34 +01:00
Christoph Atteneder
07f4074d0c
Merge pull request #5794 from chimp1984/optimize-trade-chart-view-6
...
Optimize trade chart view [6]
2021-11-09 19:46:25 +01:00
chimp1984
c209da7c66
Fix package statement
2021-11-09 19:32:44 +01:00
chimp1984
a659a78db6
Do sorting on non UI thread as its slow and only attach
...
it to table in UI thread afterwards.
Chain updateSelectedTradeStatistics and updateChartData calls.
2021-11-09 19:20:35 +01:00
chimp1984
ce8a91fdb3
Make getUpdateChartResult ansync
2021-11-09 19:20:35 +01:00
chimp1984
041b07e2e1
Move getUpdateChartResult, getCandleData, getTimeFromTickIndex to ChartCalculations
...
Make maxTicks static and rename to MAX_TICKS
2021-11-09 19:20:35 +01:00