95 Commits

Author SHA1 Message Date
pragmaxim
174640273d new websocket prometheus metrics 2026-02-17 12:05:03 +01:00
pragmaxim
efbf7f559f inline documentation in websocket.go 2026-02-17 10:35:00 +01:00
pragmaxim
f9fc15eddc test(websocket): cover newBlockTxs edge cases 2026-02-17 09:33:34 +01:00
pragmaxim
49f5efc0c8 fix(websocket): keep newBlockTxs notifications on receipt errors 2026-02-17 08:48:30 +01:00
pragmaxim
99d41c7feb fix(websocket): avoid panic on missing ethereum specific data 2026-02-17 08:48:06 +01:00
pragmaxim
bd75be0987 fix(websocket): set confirmed metadata for newBlockTxs 2026-02-17 08:47:40 +01:00
kaladinlight
7c18189779 copilot feedback 2025-10-06 10:20:02 -06:00
kaladinlight
32232953cd publish new block transactions by address 2025-09-30 09:38:15 -06:00
etimofeeva
0e92dd124b feat: add alternative RPC provider support for sendTransaction 2025-08-27 12:20:07 +02:00
highcloudwind
ca17fc5a95 chore: fix some function names in comment
Signed-off-by: highcloudwind <highcloud@aliyun.com>
2025-06-24 12:01:58 +02:00
Jiří Musil
ae0172dddf Add longTermFeeRate websocket endpoint (#1262)
* feat: add longTermFeeRate websocket endpoint

* chore: regenerate blockbook-api.ts with longTermFeeRate
2025-06-09 14:09:15 +02:00
Martin Boehm
a2ba8c4b09 Add Ethereum type EIP1559 fee estimate from infura 2025-02-06 22:47:11 +01:00
Martin Boehm
a3b0a05b14 Add Ethereum type EIP1559 fee estimate 2025-02-06 22:47:11 +01:00
Jiří Musil
a4f1730364 Show raw tx hex in UI (#1162)
* Fix Network configuration parameter

* feat: allow for showing raw transaction hex for ETH transactions

* chore: remove comments from JS code to avoid parsing issues in tests

* temp: comment out failing tx template tests

* chore: trim text from copyable before writing it to clipboard

* chore: improve the design of Transaction hex

* chore: add wrap to element showing raw hex data

* fixup! chore: add wrap to element showing raw hex data

* chore: remove redundant style, make HTML prettier

* Revert "temp: comment out failing tx template tests"

This reverts commit f104ebbf5111583b46996d7527a26c08cd9e29b6.

* chore: put rawTx javascript functionality into main.js

* chore: modify the expected HTML for changed tx template

* feat: support the raw transaction hex also for BTC-like coins

* chore: add on-hover effect for active button - make the background white

* Minify javascript and styles

---------

Co-authored-by: Martin Boehm <martin.boehm@1mbsoftware.net>
2024-12-09 11:30:02 +01:00
Martin Boehm
76664cdbf3 Refactor ethCall method to rpcCall 2024-10-10 00:58:19 +02:00
Martin Boehm
3cf7e6abe8 Add ethCall websocket request 2024-09-24 15:24:26 +02:00
Martin Boehm
a0960c8e17 Add network parameter to getInfo ws request 2024-08-06 10:50:01 +02:00
Martin Boehm
3c29b07c7c Disconnect ws connections exceeding limit of requests 2023-11-29 09:49:59 +01:00
Martin Boehm
6992be6f58 Fix linting errors 2023-11-21 23:37:42 +01:00
Jiří Musil
7d0c424ad8 Ignore Ordinals in Golomb filters (#967) 2023-11-08 10:21:18 +01:00
Martin Boehm
a1a17b4331 Add getBlockFiltersBatch websocket method 2023-11-08 10:21:18 +01:00
Martin Boehm
4b6f19632d Enable websocket per message compression 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
4c41b414c4 Add getMempoolFilters websocket method 2023-05-11 15:36:03 +02:00
Martin Boehm
d856618607 Refactor fiat rates handler 2023-04-24 23:58:08 +02:00
Martin Boehm
15c19ac1fc Generate typescript documentation from golang types 2023-03-09 13:56:11 +01:00
Martin Boehm
adf50156bf Enable websocket getBlock only for extended index 2023-03-08 17:04:20 +01:00
Martin Boehm
6626f330e9 Add getBlock websocket endpoint 2023-03-08 17:04:20 +01:00
Martin Boehm
76a19b7f10 Add estimate fee and average block period prometheus metrics 2023-02-01 17:58:37 +01:00
Martin Boehm
dca00bf770 Explorer redesing tuning 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
835d0e07ba Return ethereum consensus layer node version via API 2023-02-01 17:58:37 +01:00
Martin Boehm
3f5980abdb Return token exchange rates via API 2023-02-01 17:58:37 +01:00
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
9a0790a71d Process ERC721 and ERC1155 tokens 2023-02-01 17:58:37 +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
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