Commit Graph

2400 Commits

Author SHA1 Message Date
etimofeeva
cc1d6cabda feat: add CSP headers and fix XSS vulnerabilities in templates 2026-02-10 12:56:16 +01:00
pragmaxim
0954a540eb Merge pull request #1409 from trezor/fix/continue-syncing-on-missing-block
fix: continue syncing on missing block error
2026-02-10 10:47:08 +01:00
pragmaxim
716a2e3178 Merge pull request #1408 from trezor/fix-closing-rocksdb-on-shutdown-signal
closing Rocksdb on shutdown signal
2026-02-10 10:46:47 +01:00
pragmaxim
a9482a845a Merge pull request #1407 from trezor/base-newHeads-subscription-fix
fix: avoid Base newHeads bursts
2026-02-10 10:46:27 +01:00
pragmaxim
1d99e0b5e3 Merge pull request #1398 from trezor/utxo-reorg-fix
Utxo reorg detection fix
2026-02-10 10:45:55 +01:00
pragmaxim
f0422bb47c Merge pull request #1385 from trezor/GetBlock-unmarshalls-block-twice-fix
fix: GetBlock unmarshals the same raw JSON twice
2026-02-10 10:45:30 +01:00
pragmaxim
88f6604085 Merge pull request #1403 from trezor/resync-mempool-using-batch-api
Resync mempool using batch api with temporary outpoint cache
2026-02-10 10:45:01 +01:00
pragmaxim
80e969e478 Merge pull request #1388 from trezor/replace-eth_call-per-ERC20-contract-with-multicall
Replace eth_call per erc20 contract with multicall
2026-02-10 10:44:31 +01:00
pragmaxim
ce4fa58a6d Merge pull request #1383 from trezor/get-block-parallel-internal-data-fetching
processEventsForBlock and getInternalDataForBlock should run concurrently in GetBlock
2026-02-10 10:43:59 +01:00
pragmaxim
91a79f1c46 Merge pull request #1400 from trezor/evm-chains-with-both-http-and-ws-json-rpc-clients
dual (ws/http) rpc_client support
2026-02-10 10:42:37 +01:00
pragmaxim
390cdd0c41 Merge pull request #1392 from trezor/using-backend-env-vars-for-builds-and-integration-tests
Using backend env vars for builds and integration tests
2026-02-10 10:41:53 +01:00
pragmaxim
1385233dd8 new contrib scripts for checking blockbook and backend status 2026-01-29 10:09:57 +01:00
pragmaxim
cdd6e069ca fix: continue syncing on missing block error 2026-01-26 11:02:52 +01:00
pragmaxim
2824b9924e fix: closing Rocksdb on shutdown signal 2026-01-26 09:01:25 +01:00
pragmaxim
75ca6e1e85 fix: avoid Base newHeads bursts 2026-01-26 07:03:32 +01:00
pragmaxim
0a49807cbf improving mempool syncing periodic logging with metrics 2026-01-25 11:33:38 +01:00
pragmaxim
9b6f4e9ea6 utxo reorg detection fix 2026-01-25 11:12:10 +01:00
pragmaxim
2390ddaf67 fix: GetBlock unmarshals the same raw JSON twice
There are 2 json.Unmarshal(raw) of the whole block to get header and transactions which is very inefficient, it can be done in one pass

Closes: #1384
2026-01-25 10:46:15 +01:00
pragmaxim
970581b111 log resync outpoint cache hit/miss rate 2026-01-25 10:13:49 +01:00
pragmaxim
734c9223ba avoid batch mempool resync besides bitcoin as those pools are small + improving tests 2026-01-25 09:15:04 +01:00
pragmaxim
cc72eb75c5 mempool_resync_batch_size should be 100 2026-01-24 14:02:05 +01:00
pragmaxim
90f2645a91 Resync mempool using batch api with temporary outpoint cache 2026-01-24 13:19:42 +01:00
pragmaxim
76739960e2 integration tests: fixing bitcoin and zcash issues : racing, missing output, invalid vout index and block-not-found 2026-01-23 12:00:38 +01:00
pragmaxim
de9c4aa964 integration tests: run only those with connectivity 2026-01-23 09:44:22 +01:00
pragmaxim
3bcbe4403c BB_RPC_URL_* -> BB_RPC_URL_HTTP_* 2026-01-23 08:53:26 +01:00
pragmaxim
d1c652dcf7 integration tests : lazy initialization of mempool 2026-01-23 08:14:08 +01:00
pragmaxim
052a30bb4b erc20 eth_call batching cleanup 2026-01-23 07:45:58 +01:00
pragmaxim
3d25282996 integration tests connectivity target 2026-01-22 11:10:30 +01:00
pragmaxim
a2274c9bbf integration tests connectivity suite 2026-01-22 11:04:15 +01:00
pragmaxim
8542377fa3 eth_call batch integration tests 2026-01-22 10:12:28 +01:00
pragmaxim
8918eec72a arbitrum,optimism,base,polygon fixtures 2026-01-22 10:01:17 +01:00
pragmaxim
7014e78a1c default geth --rpc.batch.limit is 100 2026-01-22 07:38:37 +01:00
pragmaxim
38cf8c2dc6 porting older integration tests to new dual (ws/http) rpc_client 2026-01-22 07:38:37 +01:00
pragmaxim
e8558f110b erc20 batching : let's warn in case of invalid balance results 2026-01-22 07:38:36 +01:00
pragmaxim
5a45460ea3 using config loader in contract batch integration tests 2026-01-22 07:38:36 +01:00
pragmaxim
e94af5cf50 eth_call batch it tests cleanup 2026-01-22 07:38:36 +01:00
pragmaxim
660685ea98 eth_call batch it tests, use chain address from conf 2026-01-22 07:38:35 +01:00
pragmaxim
c07c869a8a eth_call batch integration tests for avax,op,base,bsc 2026-01-22 07:38:35 +01:00
pragmaxim
3868aa8b65 limit eth_call batch size 2026-01-22 07:38:34 +01:00
pragmaxim
ca36f51ef1 improvement: replace eth_call per erc20 contract with multicall
Closes: #1387
2026-01-22 07:38:29 +01:00
pragmaxim
88edd9b386 using standard blockbook rpc tests with ethereum fixture 2026-01-21 14:25:36 +01:00
pragmaxim
54799b6019 porting older integration tests to new dual (ws/http) rpc_client 2026-01-21 13:52:25 +01:00
pragmaxim
be3076efd6 using config loader in ethrpc integration tests 2026-01-21 13:52:25 +01:00
pragmaxim
483595b188 fix: commented out code references non-existing variable 2026-01-21 13:52:25 +01:00
pragmaxim
962b5c2e05 improvement: parallel internal data fetching in GetBlock
rpc fetching in sequential loop tends to be a bottleneck, so processEventsForBlock and getInternalDataForBlock now run concurrently

Closes: #1381
2026-01-21 13:52:24 +01:00
pragmaxim
c635311899 evm chains http/ws connectivity integration tests 2026-01-21 13:50:20 +01:00
pragmaxim
447f859ead dual (ws/http) rpc_client support 2026-01-21 08:28:56 +01:00
pragmaxim
b0bb6226e9 blockchaincfg.json loader 2026-01-16 05:49:27 +01:00
pragmaxim
bdc1fc4fff fix: commit 0790f881 broke test compilation 2026-01-16 05:48:34 +01:00
pragmaxim
a85a3432a7 readme: update rocksdb build flags 2026-01-16 05:45:37 +01:00