Commit Graph

301 Commits

Author SHA1 Message Date
Martin Boehm
e0be8aa400 Fiat rates refactor, fetch rates for tokens 2023-02-01 17:58:37 +01:00
Martin Boehm
db91824dc3 Store contract info in DB 2023-02-01 17:58:37 +01:00
Martin Boehm
8bdc3da694 Return address aliases from API 2023-02-01 17:58:37 +01:00
Martin Boehm
6fdf6e297c Parse ethereum input data 2023-02-01 17:58:37 +01:00
Martin Boehm
74ef087d4b Return token balances from API 2023-02-01 17:58:37 +01:00
Martin Boehm
72e0ac23bc Return internal data and ERC721 and ERC1155 tokens from API and explorer 2023-02-01 17:58:37 +01:00
Martin Boehm
9a0790a71d Process ERC721 and ERC1155 tokens 2023-02-01 17:58:37 +01:00
Martin Boehm
89b1e75641 Add public server unit tests for ethereum type coins 2023-02-01 17:58:37 +01:00
Martin Boehm
fad284a425 Fix isOwn flag for mempool transactions 2022-03-07 09:56:02 +01:00
Martin Boehm
9b8b10b6e0 Add isOwn flag to inputs and outputs in get utxo 2022-03-06 21:25:19 +01:00
Martin Boehm
93ea126123 Add get raw block API request #736 2022-03-04 17:26:13 +01:00
Martin Boehm
ad18eda804 Fix utxo rest API endpoint 2022-03-03 12:09:04 +01:00
Martin Boehm
0c82bbdcbe Add multi-tickers endpoint 2021-12-14 16:25:26 +01:00
Martin Boehm
e143215288 Fix linting issues 2021-11-28 21:27:16 +01:00
Martin Boehm
e500d6873d Parse xpub descriptors 2021-11-10 00:32:11 +01:00
Martin Boehm
c4128e5c9c Handle taproot xpub descriptors 2021-11-10 00:32:11 +01:00
Martin Boehm
f5ae7c540c Optimize websocket subscribe and unsubscribe addresses 2021-05-21 00:24:57 +02:00
Martin Boehm
8fd8e17929 Add websocket subscription metrics 2021-05-21 00:24:57 +02:00
Martin Boehm
1482b51503 Get real IP of webscoket connection 2021-05-21 00:24:57 +02:00
Martin Boehm
af0711dc12 Cache estimateFee call for bitcoin type coin 2021-05-21 00:24:57 +02:00
Martin Boehm
1d55a66fab Improve xpub cache 2021-05-21 00:24:57 +02:00
Martin Boehm
c8a8bcdc1b Move OnNeBlock and OnNewTxAddr to goroutine 2021-05-21 00:24:57 +02:00
Martin Boehm
9a0851b7a1 Add prometheus metrics 2021-05-21 00:24:57 +02:00
kaladin
1f6cddd4ab
Websocket new transaction (#574) 2021-03-21 21:55:25 +01:00
Martin Boehm
7e54336e0c Return info about backend in websocket getInfo request 2021-01-21 10:31:04 +01:00
Martin Boehm
7dffe2e0f9 Show consensus in explorer index page 2021-01-21 10:31:04 +01:00
Martin Boehm
da1c0d762e Unify error handling of GetTransactionSpecific #395 2020-12-04 11:57:11 +01:00
Martin Boehm
24a783be50 Move websocket connection close out of channel close mutex 2020-12-04 11:57:11 +01:00
Martin Boehm
3d9954bf79 Improve locking and add panic handlers to websocket functionality 2020-11-12 15:31:59 +01:00
Martin Boehm
0a3ea6e225 Send websocket notification on new tx for input addresses 2020-05-24 17:58:29 +02:00
Martin Boehm
bc001ce3a3 Make logs cleaner by not logging public API errors in websocket 2020-05-22 11:19:37 +02:00
Martin Boehm
76324be8ec Modify logging 2020-05-21 22:43:18 +02:00
Martin Boehm
dd2dc6b2ee Add sentToSelf to BalanceHistory 2020-05-21 18:05:16 +02:00
Martin Boehm
c43a7a4feb Merge branch 'gomod' of https://github.com/dajohi/blockbook into gomod 2020-03-21 01:17:42 +01:00
Martin Boehm
2a3c5426ca Improve remove empty map on websocket unsubscribe 2020-03-17 00:08:00 +01:00
Kirill Fomichev
c2e32b0a25 Remove empty map on address unsubscribe 2020-03-16 23:58:45 +01:00
David Hill
13527bda06 build: go module support 2020-03-05 11:54:42 -05:00
Martin Boehm
e47fd242cf Add option for lightweight tx details (txslight) to address API #381 2020-03-04 10:45:10 +01:00
Martin Boehm
a6c01534f2 Add filter by contract to get address API #379 2020-03-04 00:37:16 +01:00
Martin Boehm
2e37cbb974 Insert utxos in the right order in disconnect block 2020-02-24 23:11:46 +01:00
Vladyslav Burzakovskyy
f0ccab3e01 getFiatRatesForTimestamps: remove empty currencies from the currency slice 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
9455417e8b public_test.go: add another test case for /api/v2/tickers 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
4b63b483e4 fiatRates: always return rates as a map, even if the ticker is unavailable 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
4ca66f3b1d fiatRates: accept an array of strings everywhere and return all available rates if it's empty 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
4b564510e0 balanceHistory: return all currencies if the "currency" parameter is empty 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
171b7f9b9d balanceHistory: accept a list of currencies, update tests 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
6f06b549df balanceHistory: accept Unix timestamps instead of a date string 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy
29af6eb34d currencyRates: make websocket "currency" arguments case-insensitive, like in REST API 2020-01-08 17:57:47 +01:00
Martin
20459a2f46 Fix groupBy parameter parsing 2020-01-08 17:57:47 +01:00
Vladyslav Burzakovskyy
94977dc5ef balanceHistory: fix groupBy parameter initialization 2020-01-08 17:57:47 +01:00