Ethereum Questions
Ethereum Questions
This refers to the timestamp at which the tx was first seen by the script.
- Delay between the first time a pending tx is seen and other providers see the same
tx
If a provider has already seen a pending tx before another provider then compute the
difference between the most recent timestamp and the earliest timestamp
(delay = timestamp_seen_by_provider_a - timestamp_first_seen)
Each time a new tx is seen by a provider you should increment the total number of tx
he has seen.
This should be check by looking at all the tx hashes a provider has seen and
reported to the script vs all the tx hashes seen and reported by all the providers.
(tx_missed = total_unique_tx_hashes – unique_tx_hashes_provider_a)
These are tx that have been seen by all providers, all of them having this tx hash in
their list of seen pending tx.
These are tx that have been missed by all providers, none of them having this tx
hash in their list of seen pending tx. To get this information you should scan the list
of tx hashes in mined blocks to see if there are tx that were never seen in the
mempool.
These are tx that only one provider has reported before it was mined in a block.
- Delay between first time a pending tx is seen and the block it is included i
This needs to be explained a bit ?
This should be the delay between the time a tx been first seen and the moment the
tx can be found in a mined block.
(mining_delay = timestamp_tx_in_block – timestamp_tx_first_seen)
For now, As per our understanding we’d be performing the following tasks.
1. We need to run Ethereum nodes on VPS in Europe. And the VPS is needed,
preferably
from the Client side.
You could use VPS to evaluate the delays closer to our current location but this is
not a requirement. To connect to the Ethereum node providers you will just need a
library such as EthersJS or Web3JS.
2. We need api keys from Infura, alchemy and so on. We can make it ourselves, but
we
need help from the client. Because free keys have limitations per day.
The study should be carried out within the limits of free API keys.
3. We’re going to scan the mempool from providers and measure the speed. and
delay...!!
Exactly