Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains

    April 1, 2026

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    Larry Ellison became the world’s richest person — but not on Polymarket

    April 1, 2026
    Facebook X (Twitter) Instagram
    Ai Crypto TimesAi Crypto Times
    • Altcoins
      • Bitcoin
      • Coinbase
      • Litecoin
    • Blockchain
    • Crypto
    • Ethereum
    • Lithosphere News Releases
    X (Twitter) Instagram YouTube LinkedIn
    Ai Crypto TimesAi Crypto Times
    Home » Introduction of the Light Client for DApp developers

    Introduction of the Light Client for DApp developers

    Michael JohnsonBy Michael JohnsonApril 1, 2026No Comments6 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    The first version of the Light Ethereum Subprotocol (LES/1) and its implementation in Geth are still in an experimental stage, but they are expected to reach a more mature state in a few months where the basic functions will perform reliably. The light client has been designed to function more or less the same as a full client, but the “lightness” has some inherent limitations that DApp developers should understand and consider when designing their applications.

    In most cases a properly designed application can work even without knowing what kind of client it is connected to, but we are looking into adding an API extension for communicating different client capabilities in order to provide a future proof interface. While minor details of LES are still being worked out, I believe it is time to clarify the most important differences between full and light clients from the application developer perspective.

    Current limitations

    Pending transactions

    Light clients do not receive pending transactions from the main Ethereum network. The only pending transactions a light client knows about are the ones that have been created and sent from that client. When a light client sends a transaction, it starts downloading entire blocks until it finds the sent transaction in one of the blocks, then removes it from the pending transaction set.

    Finding a transaction by hash

    Currently you can only find locally created transactions by hash. These transactions and their inclusion blocks are stored in the database and can be found by hash later. Finding other transactions is a bit trickier. It is possible (though not implemented as of yet) to download them from a server and verify the transaction is actually included in the block if the server found it. Unfortunately, if the server says that the transaction does not exist, it is not possible for the client to verify the validity of this answer. It is possible to ask multiple servers in case the first one did not know about it, but the client can never be absolutely sure about the non-existence of a given transaction. For most applications this might not be an issue but it is something one should keep in mind if something important may depend on the existence of a transaction. A coordinated attack to fool a light client into believing that no transaction exists with a given hash would probably be difficult to execute but not entirely impossible.

    Performance considerations

    Request latency

    The only thing a light client always has in its database is the last few thousand block headers. This means that retrieving anything else requires the client to send requests and get answers from light servers. The light client tries to optimize request distribution and collects statistical data of each server’s usual response times in order to reduce latency. Latency is the key performance parameter of a light client. It is usually in the 100-200ms order of magnitude, and it applies to every state/contract storage read, block and receipt set retrieval. If many requests are made sequentially to perform an operation, it may result in a slow response time for the user. Running API functions in parallel whenever possible can greatly improve performance.

    Searching for events in a long history of blocks

    Full clients employ a so-called “MIP mapped” bloom filter to find events quickly in a long list of blocks so that it is reasonably cheap to search for certain events in the entire block history. Unfortunately, using a MIP-mapped filter is not easy to do with a light client, as searches are only performed in individual headers, which is a lot slower. Searching a few days’ worth of block history usually returns after an acceptable amount of time, but at the moment you should not search for anything in the entire history because it will take an extremely long time.

    Memory, disk and bandwidth requirements

    Here is the good news: a light client does not need a big database since it can retrieve anything on demand. With garbage collection enabled (which scheduled to be implemented), the database will function more like a cache, and a light client will be able to run with as low as 10Mb of storage space. Note that the current Geth implementation uses around 200Mb of memory, which can probably be further reduced. Bandwidth requirements are also lower when the client is not used heavily. Bandwidth used is usually well under 1Mb/hour when running idle, with an additional 2-3kb for an average state/storage request.

    Future improvements

    Reducing overall latency by remote execution

    Sometimes it is unnecessary to pass data back and forth multiple times between the client and the server in order to evaluate a function. It would be possible to execute functions on the server side, then collect all the Merkle proofs proving every piece of state data the function accessed and return all the proofs at once so that the client can re-run the code and verify the proofs. This method can be used for both read-only functions of the contracts as well as any application-specific code that operates on the blockchain/state as an input.

    Verifying complex calculations indirectly

    One of the main limitations we are working to improve is the slow search speed of log histories. Many of the limitations mentioned above, including the difficulty of obtaining MIP-mapped bloom filters, follow the same pattern: the server (which is a full node) can easily calculate a certain piece of information, which can be shared with the light clients. But the light clients currently have no practical way of checking the validity of that information, since verifying the entire calculation of the results directly would require so much processing power and bandwidth, which would make using a light client pointless.

    Fortunately there is a safe and trustless solution to the general task of indirectly validating remote calculations based on an input dataset that both parties assume to be available, even if the receiving party does not have the actual data, only its hash. This is the exact the case in our scenario where the Ethereum blockchain itself can be used as an input for such a verified calculation. This means it is possible for light clients to have capabilities close to that of full nodes because they can ask a light server to remotely evaluate an operation for them that they would not be able to otherwise perform themselves. The details of this feature are still being worked out and are outside the scope of this document, but the general idea of the verification method is explained by Dr. Christian Reitwiessner in this Devcon 2 talk.

    Complex applications accessing huge amounts of contract storage can also benefit from this approach by evaluating accessor functions entirely on the server side and not having to download proofs and re-evaluate the functions. Theoretically it would also be possible to use indirect verification for filtering events that light clients could not watch for otherwise. However, in most cases generating proper logs is still simpler and more efficient.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Michael Johnson

    Related Posts

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    December Roundup | Ethereum Foundation Blog

    April 1, 2026

    An Update on Integrating Zcash on Ethereum (ZoE)

    April 1, 2026

    Comments are closed.

    Don't Miss

    Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains

    Crypto April 1, 2026

    US-listed spot Bitcoin ETFs ended the first quarter of 2026 in negative territory. March did…

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    Larry Ellison became the world’s richest person — but not on Polymarket

    April 1, 2026

    December Roundup | Ethereum Foundation Blog

    April 1, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo
    Our Picks

    The Decentralized Naming System Powering Web4 Infrastructure

    March 31, 2026

    Lithosphere’s MultX and LEP100 Introduce a New Standard for Blockchain Evolution

    March 30, 2026

    Kenya secures over Ksh.449B in investment deals as KIICO 2026 opens

    March 28, 2026

    Nairobi City to host Premier Kenya International Investments Conference

    March 27, 2026

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    Demo
    • Popular
    • Recent
    • Top Reviews

    Chiliz price drops 15% amid sharp altcoin pullback

    January 31, 2026

    Lithosphere Enhances Developer Tooling to Support Scalable Decentralized Applications

    January 31, 2026

    Checkpoint #8: Jan 2026 | Ethereum Foundation Blog

    January 31, 2026

    Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains

    April 1, 2026

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    Larry Ellison became the world’s richest person — but not on Polymarket

    April 1, 2026
    Latest Galleries
    [latest_gallery cat="all" number="5" type="slider"]
    Latest Reviews
    Demo
    Top Posts

    KaJ Labs Unveils Lithic Developer Stack for AI Applications, Games, and Enterprise Systems

    March 14, 20262 Views

    Lithic Introduces zk-Verifiable AI Execution Standard (LEP100-5)

    March 17, 20261 Views

    KaJ Labs Unveils Ecosystem Alignment Strategy to Strengthen AI and Web3 Integration

    March 14, 20261 Views

    The Decentralized Naming System Powering Web4 Infrastructure

    March 31, 20260 Views
    Don't Miss

    Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains

    Crypto April 1, 2026

    US-listed spot Bitcoin ETFs ended the first quarter of 2026 in negative territory. March did…

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    Larry Ellison became the world’s richest person — but not on Polymarket

    April 1, 2026

    December Roundup | Ethereum Foundation Blog

    April 1, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    Demo
    Top Posts

    Protocol Update 002 – Scale Blobs

    March 16, 20262 Views

    Centrifuge price explodes as CFG trading goes live on Upbit

    March 15, 20262 Views

    KaJ Labs Unveils Lithic Developer Stack for AI Applications, Games, and Enterprise Systems

    March 14, 20262 Views

    World assets sells $65M WLD as token hits fresh pressure

    March 29, 20261 Views
    Don't Miss

    Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains

    Crypto April 1, 2026

    US-listed spot Bitcoin ETFs ended the first quarter of 2026 in negative territory. March did…

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    Larry Ellison became the world’s richest person — but not on Polymarket

    April 1, 2026

    December Roundup | Ethereum Foundation Blog

    April 1, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    X (Twitter) Instagram YouTube LinkedIn
    Our Picks

    Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains

    April 1, 2026

    Security alert [12/19/2016]: Ethereum.org Forums Database Compromised

    April 1, 2026

    Larry Ellison became the world’s richest person — but not on Polymarket

    April 1, 2026
    Recent Posts
    • Bitcoin ETFs end Q1 in the red as early outflows outweigh March gains
    • Security alert [12/19/2016]: Ethereum.org Forums Database Compromised
    • Larry Ellison became the world’s richest person — but not on Polymarket
    • December Roundup | Ethereum Foundation Blog
    • Crypto-native media lost 33% of traffic in 2025 as crypto became easier to follow without it
    © 2026 - 2026

    Type above and press Enter to search. Press Esc to cancel.