Commit Graph

144 Commits

Author SHA1 Message Date
Martin Boehm
4ce39bcdb0 Escape html in name and symbol shown in explorer 2025-10-20 17:25:36 +02:00
etimofeeva
0e92dd124b feat: add alternative RPC provider support for sendTransaction 2025-08-27 12:20:07 +02:00
Martin Boehm
95e965d5df Return 503 ServiceUnavailable from public interface if not synced 2025-02-21 19:32:23 +01:00
kevin
7d4872e830 Add Base Support (#1150)
* add base support

* backend config

* add base archive blockchain factory

* add dbProtoAddrContracts flag and default to legacy encoding. fix tests

* default cache behavior for dbMaxAddrContracts default value

* update to defer func to ensure addressContracts is reset and handle possible error

* base config default to use dbProtoAddrContracts

* add network config

* update op-geth and op-node versions

* remove coingecko url

* update coingecko platform identifier

* token type -> token standard

* reduce allocations as pack/unpack addr contracts is primary bottleneck for l2 chains

* archive snapshot no longer supported, use fullnode snapshot as best effort

* remove proto encoded addr contracts as bench marks indicate there is no performance gain as initially suspected

* revert address contract cache changes
2025-02-20 22:55:15 +01:00
Albina Nikiforova
9feda1a857 chore(blockbook): rename type to standard 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
a55c69a8a1 EthereumType: admin interface to read and update contract info 2024-11-27 14:38:27 +01:00
Jiří Musil
7d0c424ad8 Ignore Ordinals in Golomb filters (#967) 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
d83d501272 Adopt sats standard to show amounts (for Bitcoin) #924 2023-05-11 15:33:48 +02:00
Martin Boehm
c4fff10e5f Disable secondary currency if fiat rates disabled 2023-05-02 23:26:03 +02:00
Martin Boehm
210ec75a3d Refactor fiat rates usage 2023-04-26 21:48:31 +02:00
Martin Boehm
d856618607 Refactor fiat rates handler 2023-04-24 23:58:08 +02:00
Martin Boehm
a200f5cc83 Refactor html template handling 2023-04-12 23:31:34 +02:00
kevin
9ecfdfe11d Add BNB Smart Chain (#869) 2023-03-09 10:54:38 +01:00
Martin Boehm
adf50156bf Enable websocket getBlock only for extended index 2023-03-08 17:04:20 +01:00
Martin Boehm
0f23f10fe0 Handle raw display of huge transactions in explorer 2023-02-27 23:53:09 +01:00
Martin Boehm
250a788d20 Minify css and js files 2023-02-01 17:58:37 +01:00
Martin Boehm
184b6b762f Fix formatting of negative numbers 2023-02-01 17:58:37 +01:00
Martin Boehm
8b18c4ecac Optimize token exchange rates in explorer 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
aebc1c3495 Add secondary currency picker to explorer 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
03f72f07f2 Explorer redesign part 4 2023-02-01 17:58:37 +01:00
Martin Boehm
86743cfca5 Display amounts in secondary currency 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
a939b2d93f Explorer redesign part 1 2023-02-01 17:58:37 +01:00
Martin Boehm
070df1efcc Add NFT detail page 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
84b931f42b Display fee per size in explorer transaction detail 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
6fdf6e297c Parse ethereum input data 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
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
c4128e5c9c Handle taproot xpub descriptors 2021-11-10 00:32:11 +01: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
kaladin
1f6cddd4ab Websocket new transaction (#574) 2021-03-21 21:55:25 +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
0a3ea6e225 Send websocket notification on new tx for input addresses 2020-05-24 17:58:29 +02: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