Commit graph

13706 commits

Author SHA1 Message Date
sqrrm
4298c3937e
Merge pull request #5070 from chimp1984/improve-cleanup-tor-dir-at-seeds
Improve cleanup tor dir at seeds
2021-01-12 13:23:37 +01:00
sqrrm
fea52f07a3
Merge pull request #5057 from chimp1984/fix-premature-disconnections-from-seeds
Fix premature disconnections from seeds
2021-01-12 12:52:41 +01:00
chimp1984
3f8972bf87
Call init after setting connectionState and connectionStatistics 2021-01-11 22:38:49 -05:00
sqrrm
e565a18bc5
Merge pull request #5066 from chimp1984/add-usd-volume-to-tradestatistics-chart
Add toggle for displaying volume in tradestatistics chart in USD
2021-01-11 23:06:13 +01:00
Christoph Atteneder
917637c4a9
Merge pull request #5054 from chimp1984/add-csv-export-to-bsq-tx-view
Add csv export to bsq tx view
2021-01-11 11:14:27 +01:00
chimp1984
8ecfa8bcba
We set a flag to clear tor cache files at re-start.
We cannot clear it now as Tor is used and
that can cause problems.
2021-01-09 20:40:58 -05:00
chimp1984
4e444269af
Remove unnecessary ObservableList 2021-01-08 19:57:39 -05:00
chimp1984
ec7521628b
Only update selectedTradeStatistics if selected currency has
changed or we got added new trade stats
2021-01-08 19:53:40 -05:00
chimp1984
2006f58580
Refactor: Rename tradeStatisticsByCurrency to selectedTradeStatistics 2021-01-08 19:43:24 -05:00
chimp1984
397a97a899
Call fillTradeCurrencies only once at activate 2021-01-08 19:42:51 -05:00
chimp1984
b3c8e20d66
Fix available height calculation
Fix incorrect removeListener call on priceColumn.textProperty()
instead of priceColumnLabel
2021-01-08 19:31:33 -05:00
chimp1984
0d09c19953
Cleanups 2021-01-08 19:30:10 -05:00
chimp1984
5ec6ad503f
Cache fields in TradeStatistics3ListItem 2021-01-08 18:24:56 -05:00
chimp1984
bf7acb5932
Add toggle for showing volume as USD instead of BTC
Precalculate the USD average prices for tick intervals
and use that for converting the BTC volume to USD volume.
2021-01-08 16:41:55 -05:00
chimp1984
764614d762
Add methods for boolean values 2021-01-08 16:41:55 -05:00
chimp1984
73fcf52129
Cache price and localDateTime 2021-01-08 16:41:55 -05:00
chimp1984
8927787286
Cache Volume
Volume was created at each access from amount and price.
To improve performance we cache the result once calculated.
2021-01-08 16:41:55 -05:00
chimp1984
ad1b436832
Use List instead of ObservableList, cleanups 2021-01-08 16:41:55 -05:00
chimp1984
6c62e77d7c
Remove unused variable 2021-01-08 14:24:24 -05:00
Christoph Atteneder
1daa58624d
Merge pull request #5061 from chimp1984/persist-failed-mailbox-msg-decryption-attempts
Persist failed attempts of decrypting mailbox messages
2021-01-08 10:35:41 +01:00
Christoph Atteneder
be40c7849c
Merge pull request #5008 from jmacxx/remove_awt_dependencies
Remove awt dependencies
2021-01-08 09:25:41 +01:00
James Cox
e50a182883
Merge branch 'master' into remove_awt_dependencies 2021-01-07 17:54:40 -06:00
sqrrm
76e2330b15
Merge pull request #5056 from ghubstan/add-getmyoffers-api-method
Add new api methods 'getmyoffers' and 'getmyoffer'
2021-01-07 22:51:33 +01:00
ghubstan
9689c3edfc
Sort offers in stream 2021-01-07 16:07:41 -03:00
Christoph Atteneder
9b2c0e87c5
Merge pull request #4893 from 81dr/master
Update installation script
2021-01-07 17:12:56 +01:00
Christoph Atteneder
fdf7912bab
Merge pull request #5016 from chimp1984/increase-trade-period-for-transferwise
Change trade period for transferwise from 1 day to 4 days
2021-01-07 16:53:59 +01:00
Christoph Atteneder
6200455770
Merge pull request #5053 from chimp1984/add-protection-tools
Add protection tools
2021-01-07 16:20:26 +01:00
Christoph Atteneder
ad9949c06d
Merge pull request #5059 from ghubstan/fix-createofferservice-log-statement
Fix log statement format
2021-01-07 16:17:21 +01:00
chimp1984
21eaea0703
Add IgnoredMailboxMap to persist failed decryption
attempts and optimize performance by that
2021-01-06 21:20:50 -05:00
chimp1984
8ccfd65c49
Prevent calling shutdown at TorNetworkNode twice.
This can happen from the main shut down routine when a timeout gets triggered.
2021-01-06 18:38:21 -05:00
chimp1984
bda9ebe3ca
Change print statistics period to 5 min.
remove dev log
2021-01-06 18:09:34 -05:00
ghubstan
424c3cb1ab
Avoid unnecessary comparisons in boolean expressions 2021-01-06 18:13:01 -03:00
chimp1984
a1cb6d5619
If duration is 0 we return "0.000 seconds" instead of empty string 2021-01-06 16:03:55 -05:00
ghubstan
80c10dba78
Fix log statement format
A log statement was mismatching argument placeholders with argument
values because it was formatted as
	log.info("msg={}, \n" + args...)
instead of
	log.info("msg={}", args...)

Some code formatting was also done to this block, and a closer approximation
of a CLI 'createoffer` param list replaces the following log statement.
2021-01-06 17:58:52 -03:00
chimp1984
e0e14431e4
Add RRT for request / response 2021-01-06 15:45:43 -05:00
chimp1984
4aecd75d4f
Add bytes sent/received to ConnectionStatistics
Do check for closed socket after blocking read.
Move throttle code after blocking read.
2021-01-06 14:01:04 -05:00
chimp1984
d8f9581ee8
Ignore test
It reports "Wanted but not invoked:" but when debugging
into it it is called. So seems to be some mock setup issue
2021-01-06 12:18:45 -05:00
chimp1984
1dc71c9b3a
Increase delay for reset
Improve statistic logging
2021-01-06 11:14:47 -05:00
chimp1984
63a87def20
Add missing stub to mock 2021-01-06 11:05:16 -05:00
chimp1984
379fec8b9d
Fix translation string 2021-01-06 09:54:38 -05:00
chimp1984
14008a670a
Add formatDurationAsWords to Utilities in common
to be accessible to the statistics log.
2021-01-06 01:49:38 -05:00
chimp1984
8865d9bc93
Fix node display 2021-01-06 01:33:00 -05:00
chimp1984
a996754e06
Improve log 2021-01-06 01:11:37 -05:00
chimp1984
082cc33ba4
Fix wrong param in addToMap
Also track BundleOfEnvelopes
2021-01-06 01:09:24 -05:00
chimp1984
d13b7e70fa
Add seed node info, add line break 2021-01-06 00:58:40 -05:00
chimp1984
a346db696f
Handle BundleOfEnvelopes in ConnectionState
Add ConnectionStatistics
Print statistics of all live connections periodically
2021-01-06 00:18:56 -05:00
chimp1984
347e68004c
Use OS independent double line breaks for better readability 2021-01-05 22:20:09 -05:00
chimp1984
3fa22427c7
Set expectedRequests to 5 in case of fullDaoNode as
it does not do the getBlocksRequest.
2021-01-05 22:19:26 -05:00
chimp1984
c7bc7720d8
Add safety filter to removeAnonymousPeers
Cleanups
2021-01-05 21:42:19 -05:00
chimp1984
769a78fe52
Behaviour change: Remove setAllowDisconnectSeedNodes method
We handle it in ConnectionState by counting
requests and responses and adding a timer
2021-01-05 21:42:18 -05:00