Commit Graph

266 Commits

Author SHA1 Message Date
Martin Boehm
db2d8cd248 Add AddrContractsCache to speed up indexing 2025-09-02 10:08:47 +02:00
CPUchain
e98b435128 Fix for windows support 2025-06-04 21:31:07 +02:00
Martin Boehm
e8cda83163 Support priority fees for mined transactions 2025-04-22 12:19:04 +02:00
Martin Boehm
0790f8810e Add parallel connect of blocks for EthereumType coins 2025-04-22 12:19:04 +02:00
Martin Boehm
d61a113685 Unpack addressContracts partially during connect block to improve performance 2025-04-22 12:19:04 +02:00
Martin Boehm
a9be4a06ea Optimize slice handling of pack/unpack addressContracts
Will trigger database migration, which can take minutes/hours.
During migration Blockbook is not syncing and providing any data
2025-04-22 12:19:04 +02:00
Martin Boehm
6f9de0ec1c Synchronize connect block with reconnect internal data 2025-04-22 12:19:04 +02:00
Martin Boehm
1d105b9509 Improve error handling in sync block loop 2025-03-06 17:17:03 +01:00
Martin Boehm
c1be4504e6 Initialize block times asynchronously to speed up server startup 2025-02-22 22:53:39 +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
Martin Boehm
cddbf7228a chore(blockbook): rename type to standard 2025-02-06 22:47:11 +01:00
Albina Nikiforova
9feda1a857 chore(blockbook): rename type to standard 2025-02-06 22:47:11 +01:00
hishope
f2cd67e81f chore: fix some problematic function names
Signed-off-by: hishope <csqiye@126.com>
2024-12-09 21:05:30 +01:00
Martin Boehm
c3cdf9bca4 Fix usage of Network configuration parameter 2024-12-09 20:57:37 +01:00
Martin Boehm
a0960c8e17 Add network parameter to getInfo ws request 2024-08-06 10:50:01 +02:00
Jiří Musil
7d0c424ad8 Ignore Ordinals in Golomb filters (#967) 2023-11-08 10:21:18 +01:00
Martin Boehm
83d411be4e Use golomb config in block sync, refactor 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
6e51bdefd3 Fix bulk import of ethereum internal data 2023-08-01 23:09:51 +02:00
Martin Boehm
a4f7f5b965 Get hourly and five minutes fiat rates 2023-04-25 09:13:43 +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
fabad15c10 Refetch failed ethereum internal data 2023-04-13 11:28:52 +02:00
Martin Boehm
d7e548ed22 Get errors of fetching internal data from DB 2023-04-12 23:31:34 +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
bf5f6f9e30 Limit the number of db size on disc calculations 2023-03-12 20:56:11 +01:00
Martin Boehm
708f96cf57 Add extended index option - vin.txid 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
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
715567d7f3 Store current ticker in the internal state 2023-02-01 17:58:37 +01:00
Martin Boehm
50602bcaae Update display of contracts in explorer 2023-02-01 17:58:37 +01:00
Martin Boehm
845d7e231a Store unknown contracts in DB 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
60df986fb8 Alter memory stats logging levels 2023-02-01 17:58:37 +01:00
Martin Boehm
0bb8f69e60 Migration from DB v5 to v6 for BitcoinType coins 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
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
2507e12057 Fix issue in eth disconnect block 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
f57bd2e6c3 Download ETH 4byte signatures 2023-02-01 17:58:37 +01:00
Martin Boehm
d5e871818a Minor refactor 2023-02-01 17:58:37 +01:00
Martin Boehm
ec510811cd Refactor storing Ethereum block specific data 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
45a53e41a1 Process ETH transaction failure reasons 2023-02-01 17:58:37 +01:00