Hello! Gitter chat support has been cancelled. Please redirect all requests to Discord: discord.gg/gnosischain (Channel #blockscout)
vbaranov on vb-eth-tests
Next release: 4.1.6 Merge branch 'vb-eth-tests' of … Address-blocks chunk 50 (compare)
vbaranov on vb-eth-tests-socker-root
Fixed async_execute timeout Index transactions by chunks Fix stage splitting and 30 more (compare)
Qwerty5Uiop on vb-eth-tests
Address controller logs Stages time log (compare)
- How blockscout sync info from node to db ?
By requesting the node with the JSON RPC requests (to get block info, transactions receipts, tracing internal transactions, token balances, block rewards etc...), and subscribing to newHeads via WebSocket endpoint- What difference between address_current_token_balance and address_token_balance ? Why should we create to tables ?
address_token_balances
is the history of token balances on addresses at different block heights,address_current_token_balances
is for the current token balances on address (on the latest available block). You need this one mostly for performance reasons of tokens loading on the address page.
Hi team,
I'm Ran Ji from the Crab Network team.
Crab is an EVM-compatible Polkadot smart contract platform.
We hope to be able to integrate with your project, users and developers will have access to developer tools and network statistics, which provide detailed "insights" into Crab's EVM. Developers will be able to see specific transfer records with tools such as smart contract execution and data collection.
Who is the best person in your team to connect with and discuss how we can work together?
Warmest regards,
Ran Ji
Product Manager @Itering Tech
E-mail: ran.ji@itering.com
https://www.itering.com/
https://darwinia.network/
https://crab.network/
2021-12-23T22:00:02.744 fetcher=block_realtime [error] GenServer Indexer.Block.Realtime.Fetcher terminating
** (stop) exited in: GenServer.call(Indexer.Block.Realtime.WebSocket, {:subscribe, "newHeads", []}, 5000)
** (EXIT) time out
(elixir) lib/gen_server.ex:989: GenServer.call/3
(indexer) lib/indexer/block/realtime/fetcher.ex:138: Indexer.Block.Realtime.Fetcher.subscribe_to_new_heads/2
(indexer) lib/indexer/block/realtime/fetcher.ex:71: Indexer.Block.Realtime.Fetcher.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, {:init, [transport: EthereumJSONRPC.WebSocket, transport_options: %EthereumJSONRPC.WebSocket{url: "ws://eth-node:8546", web_socket: EthereumJSONRPC.WebSocket.WebSocketClient, web_socket_options: %EthereumJSONRPC.WebSocket.WebSocketClient.Options{event: nil, params: nil, web_socket: Indexer.Block.Realtime.WebSocket}}]}}
State: %Indexer.Block.Realtime.Fetcher{block_fetcher: %Indexer.Block.Fetcher{broadcast: :realtime, callback_module: Indexer.Block.Realtime.Fetcher, json_rpc_named_arguments: [transport: EthereumJSONRPC.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://eth-node:8545", http_options: [recv_timeout: 60000, timeout: 60000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Ganache], receipts_batch_size: 250, receipts_concurrency: 10}, max_number_seen: nil, previous_number: nil, subscription: nil, timer: nil}
2021-12-23T22:00:07.755 fetcher=block_realtime [error] GenServer Indexer.Block.Realtime.Fetcher terminating
Hi, I was able to setup and run my own eth node and blockscout in the same machine, so my blockscout is running on port 4000, so using nginx I proxypass a domain to port 4000, the explorer loads every thing seems ok but the websocket I keep getting Connection Lost ..., but using the domain.com:4000 works just file and I can see new added blocks updating in realtime in the explorer.
My Env Variables
- ETHEREUM_JSONRPC_HTTP_URL=http://ip-address:8545
- ETHEREUM_JSONRPC_TRACE_URL=http://ip-address:8545
- ETHEREUM_JSONRPC_WS_URL=ws://ip-address:8546
If the origin of the request is
ws://domain.com/socket/websocket?locale=en&vsn=2.0.0
Status
403
Forbidden
But if the origin of the request is
ws://domainOrip.com:4000/socket/websocket?locale=en&vsn=2.0.0
Status
No Problem at all.
I appreciate your help.
Hey, I'm trying to run blockscout locally with avalanche, but Im getting the error "the method parity_pendingTransactions does not exist/is not available"
I'm trying to run the docker with this:
COIN=AVAX \
ETHEREUM_JSONRPC_VARIANT=geth \
ETHEREUM_JSONRPC_HTTP_URL=127.0.0.1:9650/ext/bc/C/rpc \
ETHEREUM_JSONRPC_WS_URL=ws://127.0.0.1:9650/ext/bc/C/ws \
make start