70 Commits

Author SHA1 Message Date
pragmaxim
174640273d new websocket prometheus metrics 2026-02-17 12:05:03 +01:00
pragmaxim
3976aac8da token_uri_requests and staking_pool_requests eth_call metrics 2026-02-13 11:16:41 +01:00
pragmaxim
e8030c8e63 fetchContractInfo eth_call metrics 2026-02-13 10:53:51 +01:00
pragmaxim
5880cd2129 eth_call metrics 2026-02-13 08:36:19 +01:00
pragmaxim
9aed7923c6 syncing/caching premetheus metrics 2026-02-11 08:13:40 +01:00
careworry
8727e9cd91 refactor: use slices.Clone
Signed-off-by: careworry <worrycare@outlook.com>
2025-09-30 15:24:32 +02:00
grdddj
d328ed9e00 docs: document public API structs 2025-05-23 00:15:15 +02:00
Jiří Musil
b14641d979 feat: support new alternative_estimate_fee option - mempoolspacemedian (#1233)
* feat: support new alternative_estimate_fee option - mempoolspacemedian

* chore: introduce a fallback median fee rate in case it comes zero from mempool space response

* chore: add and test util function for rounding to significant digits

* chore: use rounding of medianFee to 3 significant digits

* chore: make the new alternative_estimate_fee be configurable, change its name from Median to Block

* chore: return 1000 sats/kB fee for MempoolSpaceBlock estimation method when block not identified

* chore: make the fallback fee rate configurable, improve tests, improve function names
2025-05-07 10:36:46 +02:00
yudrywet
304ddc2967 chore: make function comment match function name
Signed-off-by: yudrywet <yudeyao@yeah.net>
2025-03-17 16:20:58 +01:00
Martin Boehm
c1be4504e6 Initialize block times asynchronously to speed up server startup 2025-02-22 22:53:39 +01:00
Martin Boehm
a3b0a05b14 Add Ethereum type EIP1559 fee estimate 2025-02-06 22:47:11 +01:00
grdddj
66b4ddbe01 chore: apply make style gofmt formatting 2024-11-25 21:37:17 +01:00
Martin Boehm
a0960c8e17 Add network parameter to getInfo ws request 2024-08-06 10:50:01 +02:00
Martin Boehm
d8cd7b4d0b Update histogram buckets for websocket metrics 2024-03-11 10:22:31 +01:00
Martin Boehm
3c29b07c7c Disconnect ws connections exceeding limit of requests 2023-11-29 09:49:59 +01:00
Jiří Musil
7d0c424ad8 Ignore Ordinals in Golomb filters (#967) 2023-11-08 10:21:18 +01:00
Martin Boehm
96dbc8c9dc Add configuration for block golomb filters 2023-11-08 10:21:18 +01:00
grdddj
911454f171 Implement Golomb block filters for each block
Contains a websocket method `getBlockFilter` and REST endpoint `block-filters`
2023-11-08 10:21:18 +01:00
Martin Boehm
85112a20c7 Enable coingecko pro API endpoint, count coingecko requests in metrics 2023-04-27 17:41:32 +02:00
Martin Boehm
d856618607 Refactor fiat rates handler 2023-04-24 23:58:08 +02:00
kevin
36c744b7df perf: leverage binary search for managing for Ids and MultiTokenValues (#910)
The change executes a migration, which for ETH mainnet takes about 20 minutes of down time.
2023-04-13 13:22:58 +02:00
Martin Boehm
bf45be9fdc Delay reporting of blockchain not in sync to avoid false monitoring alerts 2023-03-13 00:17:07 +01:00
Martin Boehm
adf50156bf Enable websocket getBlock only for extended index 2023-03-08 17:04:20 +01:00
Martin Boehm
d52832f6f7 Add extended index option - spendingTxid 2023-03-08 17:04:20 +01:00
Martin Boehm
778c071d12 Fix calculation of fiat token rates 2023-02-01 17:58:37 +01:00
Martin Boehm
55f3ad3caa Estimate mining time of mempool tx 2023-02-01 17:58:37 +01:00
Martin Boehm
76a19b7f10 Add estimate fee and average block period prometheus metrics 2023-02-01 17:58:37 +01:00
Martin Boehm
b118bbcd6b Token values in explorer 2023-02-01 17:58:37 +01:00
Martin Boehm
715567d7f3 Store current ticker in the internal state 2023-02-01 17:58:37 +01:00
Martin Boehm
91c4675a53 Give info about fiat rates in status page and API 2023-02-01 17:58:37 +01:00
Martin Boehm
835d0e07ba Return ethereum consensus layer node version via API 2023-02-01 17:58:37 +01:00
Martin Boehm
d5e871818a Minor refactor 2023-02-01 17:58:37 +01:00
Martin Boehm
e143215288 Fix linting issues 2021-11-28 21:27:16 +01:00
Martin Boehm
8fd8e17929 Add websocket subscription metrics 2021-05-21 00:24:57 +02:00
Martin Boehm
1d55a66fab Improve xpub cache 2021-05-21 00:24:57 +02:00
Martin Boehm
9a0851b7a1 Add prometheus metrics 2021-05-21 00:24:57 +02:00
Martin Boehm
7e54336e0c Return info about backend in websocket getInfo request 2021-01-21 10:31:04 +01:00
Martin Boehm
ee3217aba8 Use common.JSONNumber instead of json.Number 2020-05-10 00:14:14 +02:00
Martin Boehm
c3d58f0649 Add common.JSONNumber type 2020-05-10 00:02:34 +02:00
Martin Boehm
9feccfdb2e Automatically check for UTXO inconsitencies 2020-02-24 23:11:46 +01:00
Martin Boehm
bf3d822b87 Add filter from-to to balance history 2019-11-25 18:34:33 +01:00
Martin Boehm
499d65460f Fix coding style and formatting issues 2019-01-24 15:24:56 +01:00
Martin Boehm
75e2ffa025 Add websocket implementation WIP 2018-12-10 00:26:04 +01:00
Martin Boehm
8886256d0b Implement index v3 for ethereum type coin 2018-11-23 22:16:32 +01:00
Martin Boehm
a16ef2904e Use coin label in the explorer header 2018-10-10 00:23:31 +02:00
Martin Boehm
2304c77732 Add build time to blockbook_app_info prometheus metrics 2018-10-02 12:09:04 +02:00
Martin Boehm
d6b9cd496b Start public interface in limited mode before initial sync #51 2018-09-20 12:15:46 +02:00
Martin Boehm
562b06202e Add prometheus metrics BlockbookAppInfo 2018-09-19 16:51:16 +02:00
Martin Boehm
d45d028ef2 Implement bulk connect blocks 2018-08-19 00:23:26 +02:00
Martin Boehm
22b7289fa6 Add coin shortcut description 2018-06-28 00:36:56 +02:00