Commit Graph

49 Commits

Author SHA1 Message Date
JoHnY
2f3090c7fc btc (+testnet) 24.1 → 25.0 2023-05-28 11:35:49 +02:00
Martin Boehm
187ff26363 btc signet+regtest + arm binaries 24.0.1 → 24.1 2023-05-22 21:04:03 +02:00
JoHnY
48dcebe7cc btc (+testnet) 24.0.1 → 24.1 2023-05-22 20:16:00 +02:00
Martin Boehm
4c41b414c4 Add getMempoolFilters websocket method 2023-05-11 15:36:03 +02:00
Martin Boehm
3ab5e636ff Use only taproot scripts for mempool golomb filter 2023-05-11 15:36:03 +02:00
Martin Boehm
7ae521e738 Add extended index option to bitcoin configs 2023-03-08 17:04:20 +01:00
Martin Boehm
425c8a5d12 Enable subscription to all mempool txs for Bitcoin 2023-03-08 17:04:20 +01:00
Dusan Klinec
750a27d9b7 chore(ver): add arm64 for btc, ltc, eth, doge
- arm64 binary paths added for backends and consensus: btc, btc testnet, btc signet, eth, eth ropsten, eth goerli, ltc, ltc testnet, doge, doge testnet
2023-02-01 17:58:37 +01:00
JoHnY
c9d68173b9 btc (+testnet) 24.0 → 24.0.1 2022-12-13 11:23:45 +01:00
JoHnY
a47c5f4b42 btc (+testnet) 23.0 → 24.0 2022-11-25 10:17:27 +01:00
JoHnY
7aa79565c5 btc (+testnet) 22.0.0 → 23.0.0 2022-04-26 14:37:16 +02:00
JoHnY
93d09014c1 btc 0.21.0 → 22.0 2021-09-20 15:20:12 +02:00
jsimon
02b222b412 btc (+testnet) 0.21.0 → 0.21.1 2021-05-05 09:19:37 +02:00
Pavol Rusnak
66c072bf25 btc (+testnet): 0.20.1 -> 0.21.0 2021-01-16 21:56:16 +01:00
1000101
a530f5612a btc(+testnet): 0.20.0->0.20.1 2020-08-20 10:05:21 +02:00
1000101
5350027e1d btc (+testnet): Bump backend 0.19.0.1->0.20.0 2020-06-03 18:46:00 +02:00
Martin Boehm
48584b3070 Disable downloading of fiat rates for Bitcoin and Ethereum testnet 2020-03-06 14:34:58 +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
0baf02c6b8 btc (+testnet): Bump backend 0.18.1 -> 0.19.0.1 2019-11-25 00:39:27 +01:00
Jan Hrnko
7430fa6051 btc (+testnet): Bump backend 0.18.0 -> 0.18.1 2019-08-21 11:25:51 +02:00
Petr Kracík
ebf6de9dde Bump Bitcoin to 0.18.0 2019-05-27 12:24:25 +02:00
Martin Boehm
c7b36189cd Disable bitcoin whatthefee fee estimates 2019-05-27 12:24:25 +02:00
Martin Boehm
5689be20f3 Update coin configs 2019-05-27 12:24:24 +02:00
Martin Boehm
90d7a7f2da Bump required index version to 5 2019-05-27 12:24:24 +02:00
Martin Boehm
1e5ada2ebf Update coin configs 2019-05-27 12:24:24 +02:00
Martin Boehm
228d40e7a5 Compare whatTheFee estimates to default 2019-05-27 12:24:24 +02:00
Martin Boehm
942c95add8 Update coin configs 2019-05-27 12:24:24 +02:00
Petr Kracík
1da82a070b Bump Bitcoin to 0.18.0 2019-05-03 13:09:42 +02: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
9086b9111e Bump Bitcoin backend version to 0.17.1 2019-01-02 11:02:40 +01:00
Jakub Matys
71969ebd23 Upgraded Bitcoin backend version to 0.17.0 2018-10-15 13:53:49 +02:00
Jakub Matys
5d44ff33ff Generates backend server config (with rpcauth) and client config 2018-10-15 12:51:04 +02:00
Martin Boehm
a16ef2904e Use coin label in the explorer header 2018-10-10 00:23:31 +02:00
Jakub Matys
bf266c0db8 Merge branch 'integration-tests-upgrade-2' into v0.0.7 2018-10-01 14:34:34 +02:00
Jakub Matys
f9e5092f82 Merge branch 'v0.0.7' into integration-tests-upgrade 2018-10-01 12:47:42 +02:00
Martin Boehm
8ad6d1d52c Remove /explorer part from URL, blockbook status with external explorer 2018-09-20 22:07:42 +02:00
Jakub Matys
5754523317 WIP: sync integration tests 2018-09-20 09:39:13 +02:00
Martin Boehm
e260c11839 Bump bitcoin backend version to 0.16.3 2018-09-19 08:38:59 +02:00
Jakub Matys
b5d1e5c94e Integration tests are defined declaratively with single implementation 2018-09-11 16:38:39 +02:00
Martin Boehm
328312e48a Add dbcache configuration flag, tune db options 2018-08-23 21:19:12 +02:00
Martin Boehm
00f4778a09 Use external explorer until internal explorer is finished 2018-07-31 14:36:24 +02:00
Jakub Matys
f3d727f16e Changes from master 2018-07-31 10:46:15 +02:00
Jakub Matys
a636a3197d Added additional params template for backend service 2018-07-31 10:30:11 +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