Commit Graph

659 Commits

Author SHA1 Message Date
pragmaxim
970581b111 log resync outpoint cache hit/miss rate 2026-01-25 10:13:49 +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
052a30bb4b erc20 eth_call batching cleanup 2026-01-23 07:45:58 +01:00
pragmaxim
8542377fa3 eth_call batch integration tests 2026-01-22 10:12:28 +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
etimofeeva
d76f7c5137 fix: adjusted zebrarpc for new version of zebrad backend 2026-01-06 18:45:41 +01:00
Martin Boehm
964662d578 Upgrade golang to 1.25 and dependencies, fix Avalanche sync 2025-11-24 23:58:39 +01:00
wmypku
39daa172c3 refactor: use the built-in max/min to simplify the code
Signed-off-by: wmypku <wmypku@outlook.com>
2025-09-30 15:26:03 +02:00
etimofeeva
2569d6f970 return for low even lower fees than 1 sat/vb 2025-09-25 11:47:25 +02:00
Martin Boehm
b4fa97abc5 Stop using alternative provider for eth_call and eth_gasPrice 2025-09-16 15:39:56 +02:00
Martin Boehm
9939b92ef3 Add support for Ethereum Testnet Hoodi 2025-09-16 15:37:40 +02:00
Martin Boehm
d4e9f0f862 Fix EthereumTypeGetNonce 2025-09-08 14:36:38 +02:00
etimofeeva
29b7d66811 fix: improved error handling and added better logging for readability
fixed error handling

added more error handling

added logs for debugging parsing error

fixed address descriptor

rollback to error handling and additional debugging

feat: added logging as error logging in order to better stand out
2025-09-08 10:46:22 +02:00
Martin Boehm
db2d8cd248 Add AddrContractsCache to speed up indexing 2025-09-02 10:08:47 +02:00
Martin Boehm
a1f7bacbc1 Add init alternative providers for EVM chains 2025-09-01 19:33:31 +02:00
elizaveta timofeeva
1e14f3550a Merge pull request #1316 from trezor/alternative-provider-url-simulation-nonce
Use alternative RPC provider url for simulation and nonce
2025-09-01 16:38:32 +02:00
Martin Boehm
ecf873693a Fix initialization of ethereum rpc 2025-09-01 13:27:33 +02:00
etimofeeva
188d06ed31 feat: added alternative provider to eth_estimateGas, eth_call, eth_getTransactionCount 2025-09-01 10:48:19 +02:00
etimofeeva
0e92dd124b feat: add alternative RPC provider support for sendTransaction 2025-08-27 12:20:07 +02:00
Martin Boehm
54c133953e Fix initialization of ethereum rpc 2025-08-19 16:42:36 +02:00
etimofeeva
e1fb89cb90 feat: implemented eth_getTransactionCount with pending tag 2025-08-14 22:03:11 +02:00
Martin Boehm
20234811f6 Use Zebra as ZCash backend node 2025-07-29 10:38:30 +02:00
Martin Boehm
4da97b8ab8 Fix GetChainInfo for Avalanche 2025-07-25 13:03:16 +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
04bfd565b7 EthereumType: Fetch mempool transactions from alternative provider 2025-06-04 21:27:35 +02:00
Martin Boehm
2b155a4bab EthereumType: Fetch mempool transactions from alternative provider 2025-06-04 21:27:35 +02:00
Martin Boehm
c0132423a7 EthereumType: Add alternative provider for send raw tx 2025-06-04 21:27:35 +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
Martin Boehm
4aeeccf82e Stop returning stale alternative fee data 2025-04-22 12:19:04 +02:00
Martin Boehm
e8cda83163 Support priority fees for mined transactions 2025-04-22 12:19:04 +02:00
kaladinlight
5fba77fa50 upgrade go-ethereum to v1.15.5 and remove ava-labs coreth dependency 2025-03-06 15:31:55 +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