Commit Graph

62 Commits

Author SHA1 Message Date
JoHnY
9c5ae9585f zec (+testnet) 5.6.1 → 5.7.0 2023-10-12 15:10:16 +00:00
JoHnY
c30d2f79fe zcash (+testnet) 5.6.0 → 5.6.1 2023-06-26 21:00:17 +02:00
JoHnY
20f44bc226 zcash (+testnet) 5.5.1 → 5.6.0 2023-06-20 13:47:27 +02:00
JoHnY
cc73e28d13 zec (+testnet) 5.4.2 → 5.5.1 2023-05-22 16:01:08 +02:00
Martin Boehm
85112a20c7 Enable coingecko pro API endpoint, count coingecko requests in metrics 2023-04-27 17:41:32 +02:00
JoHnY
5ef0dead57 zec (+testnet) 5.4.1 → 5.4.2 2023-03-14 11:24:44 +01:00
JoHnY
a80ea655fa zec (+testnet) 5.3.2 → 5.4.1 2023-02-22 09:53:40 +01:00
Martin Boehm
aebc1c3495 Add secondary currency picker to explorer 2023-02-01 17:58:37 +01:00
Martin Boehm
3f8bcd1de6 Update fiat rates download parameters in coin configs 2023-02-01 17:58:37 +01:00
JoHnY
82c4a092e4 zec (+testnet) 5.3.1 → 5.3.2 2022-12-06 18:02:44 +01:00
JoHnY
a7b621acb8 zec (+testnet) 5.3.0 → 5.3.1 2022-12-05 12:24:24 +01:00
JoHnY
08e69f732d zcash (+testnet) 5.2.0 → 5.3.0 2022-10-25 23:29:52 +02:00
JoHnY
0226542178 zcash (+testnet) 5.1.0 → 5.2.0 2022-07-30 11:33:33 +02:00
JoHnY
1801dc45a6 zcash (+testnet) 5.0.0 → 5.1.0 2022-07-26 10:55:59 +02:00
JoHnY
4fc94a5130 zcash (+testnet) 4.7.0 → 5.0.0 2022-05-18 11:00:37 +02:00
JoHnY
71874db507 zec (+testnet) 4.6.0-2 → 4.7.0 2022-04-20 12:36:31 +02:00
JoHnY
ceeada1201 zec (+testnet) 4.6.0-1 → 4.6.0-2 2022-04-06 17:07:20 +02:00
JoHnY
787f83bfd8 zec (+testnet) 4.6.0 -> 4.6.0-1 2022-01-10 15:06:04 +01:00
vdovhanych
43d60b5a31 zec (+testnet) 4.5.1 -> 4.6.0 2022-01-04 20:49:31 +01:00
JoHnY
ef77a218f1 zec (+testnet) 4.5.0 → 4.5.1 2021-09-29 10:08:17 +02:00
hewigovens
827909ddde zec (+testnet) 4.4.1 → 4.5.0 2021-09-26 12:24:21 +02:00
JoHnY
b00386a8b8 zec (+testnet) 4.3.0 → 4.4.1 2021-06-18 00:04:32 +02:00
Vitalij Dovhanyč
d8640f4e2f
zec (+testnet): 4.2.0 → 4.3.0 (#580)
Co-authored-by: 1000101 <b1000101@pm.me>
2021-03-11 16:45:28 +01:00
Dehumanizer77
b4149946bd zec (+testnet): 4.1.1 → 4.2.0 2020-12-29 21:21:48 +01:00
Dehumanizer77
3ccfd181b7 zcash (+testnet): 4.1.0 → 4.1.1 2020-11-23 12:00:01 +01:00
Dehumanizer77
6274f4b3d4 zcash (+testnet): 4.0.0 → 4.1.0 2020-11-16 17:06:24 +01:00
1000101
7f1cf09d05 zec (+testnet): 3.1.0 -> 4.0.0 2020-09-08 11:24:32 +02:00
1000101
f99406e9cf zec(+testnet): 3.0.0->3.1.0 2020-08-20 10:34:04 +02:00
1000101
7d6c61623e zec (+testnet): Bump backend 2.1.2->3.0.0 2020-05-29 20:03:01 +02:00
Dehumanizer77
f97d23590c zec (+testnet): Bump backend 2.1.1-1->2.1.2 2020-05-02 00:41:00 +02:00
JoHnY
d5b304c76a
Bump zec, bch, eth and dash backends (#370)
* zec (+testnet): Bump backend 2.1.0-1 -> 2.1.1-1

* bch (+testnet): Bump backend 0.20.8 -> 0.21.0

* eth (+testnet): Bump backend 1.9.10 -> 1.9.11

* dash (+testnet): Bump backend 0.14.0.5 -> 0.15.0.0
2020-02-19 15:27:51 +01:00
Vladyslav Burzakovskyy
f6111af5da Add fiat rates functionality (#316)
* Add initial commit for fiat rates functionality

* templates.go: use bash from current user's environment

* bitcoinrpc.go: add FiatRates and FiatRatesParams to config

* blockbook.go: add initFiatRatesDownloader kickoff

* bitcoin.json: add coingecko API URL

* rockdb.go: add FindTicker and StoreTicker functions

* rocksdb_test.go: add a simple test for storing and getting FiatRate tickers

* rocksdb: add FindLastTicker and convertDate, make FindTicker return strings

* rocksdb: add ConvertDate function and CoinGeckoTicker struct, update tests

* blockbook.go, fiat: finalize the CoinGecko downloader

* coingecko.go: do not stop syncing when encountered an error

* rocksdb_test: fix the exported function name

* worker.go: make getBlockInfoFromBlockID a public function

* public.go: apiTickers kickoff

* rocksdb_test: fix the unittest comment

* coingecko.go: update comments

* blockbook.go, fiat: reword CoinGecko -> FiatRates, fix binary search upper bound, remove assignment of goroutine call result

* rename coingecko -> fiat_rates

* fiat_rates: export only the necessary methods

* blockbook.go: update log message

* bitcoinrpc.go: remove fiatRates settings

* use CurrencyRatesTicker structure everywhere, fix time format string, update tests, use UTC time

* add /api/v2/tickers tests, store rates as strings (json.Number)

* fiat_rates: add more tests, metrics and tickers-list endpoint, make the "currency" parameter mandatory

* public, worker: move FiatRates API logic to worker.go

* fiat_rates: add a future date test, fix comments, add more checks, store time as a pointer

* rocksdb_test: remove unneeded code

* fiat_rates: add a "ping" call to check server availability

* fiat_rates: do not return empty ticker, return nil instead if not found

add a test for non-existent ticker

* rocksdb_test: remove Sleep from tests

* worker.go: do not propagate all API errors to the client

* move InitTestFiatRates from rocksdb.go to public_test.go

* public.go: fix FiatRatesFindLastTicker result check

* fiat_rates: mock API server responses

* remove commented-out code

* fiat_rates: add comment explaining what periodSeconds attribute is used for

* websocket.go: implement fiatRates websocket endpoints & add tests

* fiatRates: add getFiatRatesTickersList websocket endpoint & test

* fiatRates: make websocket getFiatRatesByDate accept an array of dates, add more tests

* fiatRates: remove getFiatRatesForBlockID from websocket endpoints

* fiatRates: remove "if test", use custom startTime instead

Update tests and mock data

* fiatRates: finalize websocket functionality

add "date" parameter to TickerList

return data timestamps where needed

fix sync bugs (nil timestamp, duplicate save)

* fiatRates: add FiatRates configs for different coins

* worker.go: make GetBlockInfoFromBlockID private again

* fiatRates: wait & retry on errors, remove Ping function

* websocket.go: remove incorrect comment

* fiatRates: move coingecko-related code to a separate file, use interface

* fiatRates: if the new rates are the same as previous, try five more times, and only then store them

* coingecko: fix getting actual rates, add a timestamp parameter to get uncached responses

* vertcoin_testnet.json: remove fiat rates parameters

* fiat_rates: add timestamp to log message about skipping the repeating rates
2019-12-17 10:40:02 +01:00
Martin Boehm
eb4f049912 Fix version in Zcash and Zcash-testnet configs 2019-11-13 13:43:06 +01:00
Mykola
bd0848dbbe Return to release tag 2.0.1-1 2019-11-13 11:19:21 +01:00
Mykola
ff415ae394 Fix release number 2019-11-13 11:19:21 +01:00
Mykola
42a208be15 zcash (+testnet): Bump backend 2.0.7-3 -> 2.1.0-1 2019-11-13 11:19:21 +01:00
Jan Hrnko
d3931953d5 zcash (+testnet): Bump backend 2.0.7-2 -> 2.0.7-3 2019-09-26 12:48:01 +02:00
JoHnY
1d1b02388d zcash (+testnet): Bump backend 2.0.7 -> 2.0.7-2 (#285)
* Bump zcash backend to 2.0.7

* zcash (+testnet): Bump backend 2.0.5-2 -> 2.0.7

* zcash (+testnet): Bump backend 2.0.7 -> 2.0.7-2

* zcash (+testnet): Bump backend 2.0.7 -> 2.0.7-2
2019-09-04 12:57:53 +02:00
JoHnY
5431b19cef Bump zcash backend to 2.0.7 (#273)
* Bump zcash backend to 2.0.7

* zcash (+testnet): Bump backend 2.0.5-2 -> 2.0.7
2019-08-28 14:14:47 +02:00
Martin Boehm
942c95add8 Update coin configs 2019-05-27 12:24:24 +02:00
JoHnY
0316ead232 bump zcash backend 2.0.4 -> 2.0.5-2 (#186)
* bump zcash backend 2.0.4 -> 2.0.5-2

* bump zcash_testnet backend 2.0.4 -> 2.0.5-2
2019-05-27 11:55:48 +02:00
Petr Kracík
0bfe1d5558 Bump ZCash backend version to 2.0.4 2019-03-28 11:12:53 +01:00
Martin Boehm
dda96b4a8f Merge branch 'xpub' 2019-03-01 11:12:40 +01:00
Petr Kracík
d41adf0a4e Bump zcash backend to 2.0.3 2019-02-14 11:30:09 +01:00
Martin Boehm
64c8ae9a62 Estimate full derivation path from xpub 2019-02-05 20:47:54 +01:00
Martin Boehm
dafe19cf29 Synchronize xpub magic numbers from trezor-common 2019-01-28 13:34:43 +01:00
Petr Kracík
20b12f6100 Bump ZCash to 2.0.2 2018-12-05 10:59:51 +01:00
Martin Boehm
e7e324a235 Bump zcash backend to 2.0.1 2018-10-16 12:37:07 +02:00
Jakub Matys
5d44ff33ff Generates backend server config (with rpcauth) and client config 2018-10-15 12:51:04 +02:00
Jakub Matys
bf266c0db8 Merge branch 'integration-tests-upgrade-2' into v0.0.7 2018-10-01 14:34:34 +02:00