Commit Graph

44 Commits (473df3d139ac16877907384c066f4b4deca982b4)

Author SHA1 Message Date
jebba 473df3d139 listen on localhost, use remote host for eth 2021-04-05 13:38:29 -06:00
jebba a337163a2d deepcrayon maintainer 2021-04-05 13:31:25 -06:00
Martin Boehm e6e6e64351 Adjust ethereum backend CLI flags for geth version 1.10 2021-03-09 14:03:49 +01:00
jsimon 61c2834002 eth (+testnet): 1.9.24 → 1.10.1 2021-03-09 12:52:58 +01:00
Dehumanizer77 2b786c9832 eth (+testnet): 1.9.21 → 1.9.24 2020-11-16 17:01:58 +01:00
1000101 b05346b1a1 eth (+testnet): 1.9.20 -> 1.9.21 2020-09-15 00:51:23 +02:00
1000101 52cbc7162d eth(+testnet): 1.9.19->1.9.20 2020-08-26 10:31:22 +02:00
1000101 be73064223 eth(+testnet): 1.9.13->1.9.19 2020-08-20 10:24:28 +02:00
v bad9f992e1 eth-like backends listen on localhost instead * 2020-05-19 23:56:35 +02:00
Dehumanizer77 42bc7d2ba3 eth (+testnet): Bump backend 1.9.11->1.9.13 2020-04-30 10:20:21 +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
Dehumanizer77 a8f436fe4c eth (+testnet): Bump backend 1.9.9 -> 1.9.10 2020-01-21 15:20:21 +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
Jan Hrnko f09b8ef683 eth (+testnet): Bump backend 1.9.8 -> 1.9.9 2019-12-06 14:06:21 +01:00
Jan Hrnko b3367f8f8c eth (+testnet): Bump backend 1.9.7 -> 1.9.8 2019-11-28 19:10:27 +01:00
Jan Hrnko 1c929f2a40 eth (+testnet): Bump backend 1.9.6 -> 1.9.7 2019-11-08 08:43:27 +01:00
Jan Hrnko 83b1552dfa eth (+testnet): Bump backend 1.9.5 -> 1.9.6 2019-10-03 16:02:51 +02:00
Jan Hrnko 1bc9feb7fe eth (+testnet): Bump backend 1.9.3 -> 1.9.5 2019-09-20 16:59:37 +02:00
JoHnY 8829cdf525 ethereum (+testnet): Bump backend 1.9.2 -> 1.9.3 (#287) 2019-09-04 18:46:06 +02:00
Jan Hrnko a986082fda eth (+testnet): Bump backend 1.9.1 -> 1.9.2 2019-08-21 11:19:10 +02:00
Jan Hrnko 231291cbc6 Bump eth backend (+testnet) 1.9.0 -> 1.9.1 2019-07-24 15:31:52 +02:00
Jan Hrnko b33b1771d8 Bump eth backend (+testnet) 1.8.27 -> 1.9.0 2019-07-23 11:45:31 +02:00
Petr Kracík 32885e54e7 Bump Ethereum to 1.8.27 2019-04-26 11:26:27 +02:00
Petr Kracík 8b38d3b7ea Bump Ethereum to 1.8.25 2019-04-11 14:58:22 +02:00
Martin Boehm add504b57e Make ethereum type mempool parameters configurable 2019-04-08 14:39:29 +02:00
Petr Kracík 04d843f593 Bump ethereum backend to version 1.8.23 2019-02-21 21:31:48 +01:00
Petr Kracík e64c0a52d4 Bump Ethereum to 1.8.22 - fork 2019-02-04 14:39:47 +01:00
Petr Kracík 19d6869465 Bump Ethereum to 1.8.21 - emergency hotfix 2019-01-15 23:39:39 +01:00
Martin Boehm a7b8994419 Merge branch 'ethereum' into indexv4 2018-12-20 16:07:34 +01:00
Petr Kracík 7ef18d38e8 Bump Ethereum to 1.8.20 2018-12-17 12:45:44 +01:00
Petr Kracík 821ee4197c Bump Ethereum to 1.8.19 2018-12-05 11:17:06 +01:00
Martin Boehm 463eab9d2d Show ethereum specific data in tx detail in explorer 2018-11-28 14:56:45 +01:00
Petr Kracík 9869d4a758 Bump Ethereum to 1.8.18 2018-11-21 09:11:11 +01:00
Petr Kracík 6641d0d7c5 Bump go-ethereum version to 1.8.17 2018-10-17 11:09:28 +02:00
Jakub Matys 5d44ff33ff Generates backend server config (with rpcauth) and client config 2018-10-15 12:51:04 +02:00
Martin Boehm 80b28ed848 Bump ethereum backend to version 1.8.15 2018-09-10 13:31:23 +02:00
Jakub Matys ef12666f70 Upgrade of documentation: build, config, contributing, readme 2018-08-09 14:21:15 +02:00
Jakub Matys a636a3197d Added additional params template for backend service 2018-07-31 10:30:11 +02:00
Jakub Matys a7101b3ca5 Fixed Ethereum config 2018-07-31 09:27:32 +02:00
Jakub Matys c71de0a696 Unified addresses in IPC section 2018-07-27 12:10:01 +02:00
Jakub Matys f9b21b4192 Changed structure of config files 2018-07-27 11:56:16 +02:00
Jakub Matys 7f52de3b65 Upgraded BlockChain configuration 2018-07-26 16:50:06 +02:00
Jakub Matys a573922bc1 Added templates for blockbook package 2018-07-26 12:49:57 +02:00
Jakub Matys d2a83351f0 Added templates for backend package 2018-07-26 11:46:44 +02:00