Commit Graph

186 Commits

Author SHA1 Message Date
Martin Boehm
cc202714b2 Configure larger mempool and mempool expiry for BTC backend 2023-05-22 21:20:42 +02:00
Martin Boehm
4c41b414c4 Add getMempoolFilters websocket method 2023-05-11 15:36:03 +02:00
Martin Boehm
fabad15c10 Refetch failed ethereum internal data 2023-04-13 11:28:52 +02:00
Martin Boehm
41a2c5472b Update generation of typescript documentation from golang types 2023-04-12 23:24:47 +02:00
Martin Boehm
c836bdff1f bsc 1.1.20 → 1.1.21 2023-04-07 23:02:36 +02:00
Martin Boehm
cda562577f Increase bsc maxpeers to 200, use lightchaindata for fresh install detection 2023-03-30 00:37:44 +02:00
Martin Boehm
15c19ac1fc Generate typescript documentation from golang types 2023-03-09 13:56:11 +01:00
kevin
9ecfdfe11d
Add BNB Smart Chain (#869) 2023-03-09 10:54:38 +01:00
kevin
a83d073498
upgrade avalanche v1.9.7 -> v1.9.11 (#884) 2023-03-08 10:58:48 +01:00
Martin Boehm
97f1a41e55 Fix issue with git during build
Git is reporting
fatal: detected dubious ownership in repository at '/src
2023-02-01 17:58:37 +01:00
kevin
0d9d09b755 Add Avalanche (#850) 2023-02-01 17:58:37 +01:00
Martin Boehm
922bdc42e5 Bump golang to 1.19.2, rocksdb to 7.7.2, additional go deps 2023-02-01 17:58:37 +01:00
vdovhanych
a14145b0a0 fix docker build for arm when targetplatform is aarch64 2023-02-01 17:58:37 +01:00
Martin Boehm
9ce6955c2a Fix ETH Goerli Archive: websocket: read limit exceeded
Geth sets wsMessageSizeLimit to 15M.
However, Goerli contains blocks (e.g. 6109494) which require
larger limit to fetch the debug_traceBlockByHash response.

Fixed by a hacky way of modifying the geth source before the
build of the project. Will submit PR to go-ethereum with a final fix.
2023-02-01 17:58:37 +01:00
Martin Boehm
1a476e58f0 Upgrade to go 1.19 and rocksdb 7.5.3 2023-02-01 17:58:37 +01:00
Martin Boehm
76b6f93059 Add additional eth specific ports to config 2023-02-01 17:58:37 +01:00
Martin Boehm
819596cb1f Enable arm64 and MacOS Docker build 2022-08-22 11:34:45 +02:00
vdovhanych
309f05c166 feat: edit Dockerfile for arm64 build compatibility 2022-08-22 11:34:45 +02:00
JoHnY
ac0da0647d ltc (+testnet) 0.18.1 → 0.21.2 2022-05-18 16:55:27 +02:00
Riku
fb7a71034b
[feature] add option to build portable binaries (#685)
Co-authored-by: Martin <martin.boehm@1mbsoftware.net>
2022-04-08 22:21:51 +02:00
Pierre K
b4a1e6a997
Run apt-get noninteractive mode in the dockerfile (#741) 2022-03-23 10:25:50 +01:00
Dimitri
05baef7035 removal of mentions of dh-systemd 2022-03-15 00:06:25 +01:00
Martin Boehm
e143215288 Fix linting issues 2021-11-28 21:27:16 +01:00
wakiyamap
723dfe5718 mona 0.17.2 → 0.20.2 2021-11-19 00:24:39 +01:00
Martin Boehm
dff928456d Replace packr with go:embed #459 2021-11-10 00:32:11 +01:00
Martin Boehm
1febd808c3 Upgrade to go1.17.1 and rocksdb v6.22.1 2021-11-10 00:32:11 +01:00
Riku
15f6bd5b37 fix: properly set custom rpc port for bitcoin-like testnets
The options addnode, connect, port, bind, rpcport, rpcbind and wallet
only apply to mainnet unless they appear in the appropriate network section.
2021-10-22 21:31:22 +02:00
gruve-p
3b77f4e18e
Bump GRS to 22.0 (#671) 2021-10-12 09:09:45 +02:00
JoHnY
93d09014c1 btc 0.21.0 → 22.0 2021-09-20 15:20:12 +02:00
vdovhanych
51d10bccd2 feat: add bitcoin regtest support 2021-07-30 11:04:54 +02:00
Martin Boehm
1df8f8eb69 Keep 7 days of log instead of 30 2021-05-21 00:24:57 +02:00
Martin Boehm
0ae8ba57a2 Update for geth version 1.10
- remove workaround for to low maxRequestContentLength
- stop using obsolete eth_protocolVersion RPC call
2021-03-09 11:37:35 +01:00
Perlover
37c7f4fbd1 Ubuntu 20.04 doesn't work without this patch
The problem was described here:

https://github.com/trezor/blockbook/issues/568
2021-02-23 21:12:08 +01:00
Martin Boehm
dcbcb99055 Add possibility to build from BASE_IMAGE 2021-02-18 09:14:58 +01:00
Martin Boehm
212b767925 Add TCMALLOC option to build of rocksdb 2021-02-18 09:14:58 +01:00
Jin Eguchi
077e637093
add bitcoin-signet (#533) 2020-12-29 00:47:50 +01:00
Martin Boehm
69d13e0688 Fix ETH Ropsten: websocket: read limit exceeded #490
Geth sets maxRequestContentLength to 5M.
However, Ropsten contains blocks of largers size (for example 599281).
These which cannot be fetched using API.

Fixed by hacky way of modifying the geth source before
the build of the project.
Will submit PR to go-ethereum with final fix.
2020-12-04 11:57:11 +01:00
Martin Boehm
579b42cf27 Stop using mod vendor in Blockbook build 2020-12-04 11:57:11 +01:00
Martin Boehm
576b8b57b7 Upgrade to go 1.15.6, rocksdb 6.13.3 and other dependecies 2020-12-04 11:57:11 +01:00
Dehumanizer77
bc009454d0 dash (+testnet): 0.15.0.0 → 0.16.0.1 2020-11-16 16:01:37 +01:00
Martin Boehm
83616bce83 Fix integration tests script 2020-06-30 15:06:11 +02:00
Martin Boehm
a7d95a49df Use go1.14.2 to build Blockbook 2020-05-10 00:26:47 +02:00
David Hill
395db88a60 Adjust test scripts 2020-03-05 11:54:42 -05:00
David Hill
8f8ade727c Adjust build scripts 2020-03-05 11:54:42 -05:00
David Hill
13527bda06 build: go module support 2020-03-05 11:54:42 -05: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
Liam Alford
4134934031 Add DeepOnion (#298)
* Add DeepOnion

* Fix config bugs

* Use base pack/unpck TX

* Fix empty array causing test failure.

* Fix config files and executable.

* Fix sync issue

* Fix integration tetsts
2019-11-18 17:51:45 +01:00
vlddm
86a0b5783d Disable wallet functionality for bitcoind 2019-09-22 17:28:09 +02:00
atomlab
28a8641c8e add decred.conf (#292)
* Update decred.json

change config path to decred.conf

* Create decred.conf

* Create decred_client.conf

* Update decred.json

* Update decred.conf

* Update decred.conf

* Update decred_client.conf
2019-09-20 11:35:26 +02:00
Min Khang Aung
24725a21a9 Add CPUchain support (#288)
* Add CPUchain support

* Update cpuchain.json
2019-09-16 22:32:08 +02:00