Reading this question, I understand that as long as you have the blockchain then you have all the events/logs.

But if a dapp is reading data from a light Ethereum client, how will this light client answer?

a) The light Ethereum client will answer only the events that the light Ethereum client has

b) The light Ethereum client will seek for more information in a full node and will answer with all events

c) The light Ethereum client will return an error

d) There is no specification to that and no good practice

e) N.A.

  • I'm not certain about it but an educated guess is that it simply doesn't return anything. At least answer B is not correct. Commented Jan 10, 2020 at 16:26
  • Geth light client implementation will request the missing data to a full node and wait for answers. If the full node doesn't reply on time it will return an error like data not available. It will not return part of the request.
    – Ismael
    Commented Jan 10, 2020 at 18:33


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.