[bisq-network/bisq] Create JSON files of actively traded crypto and fiat assets (#4831)
chimp1984
notifications at github.com
Sun Nov 22 00:47:28 CET 2020
@chimp1984 commented on this pull request.
> @@ -135,6 +137,24 @@ private void maybeDumpStatistics() {
.collect(Collectors.toCollection(ArrayList::new));
cryptoCurrencyList.add(0, new CurrencyTuple(Res.getBaseCurrencyCode(), Res.getBaseCurrencyName(), 8));
jsonFileManager.writeToDiscThreaded(Utilities.objectToJson(cryptoCurrencyList), "crypto_currency_list");
+
+ Instant yearAgo = Instant.ofEpochSecond(Instant.now().getEpochSecond() - 60 * 60 * 24 * 365);
Alterntive to `60 * 60 * 24 * 365`: `TimeUnit.DAYS.toSeconds(365)`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4831#pullrequestreview-536017233
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201121/6118c05e/attachment-0001.html>
More information about the bisq-github
mailing list