Search
 Coin Explorers
Search
 Coin Explorers

Portfolio

Markets

Project Reviews

Founder Stories

Features

Guides

News

Videos

Let’s stay in touch:

News

The Benefits of Universal Blocks

As Nano has evolved and we have learned how developers and exchanges use the network and RPCs, we started thinking about ways that we could improve the network in terms of security and throughput…

Mar 15, 2018 · 3 min read
  • Share on X
  • Share on Facebook
  • Share on Linkedin
The Benefits of Universal Blocks

Benefits of Universal Blocks As Nano has evolved and we have learned how developers and exchanges use the network and RPCs, we started thinking about ways that we could improve the network in terms of security and throughput. One of the keys to Nano’s success has been eliminating waste to make the network operate as efficiently as possible. The Nano network currently has four different types of blocks (open, change, send, and receive), each having slightly different shapes to them without any real need. By introducing Universal Blocks, these four block types will be consolidated into one. This protocol upgrade increases the efficiency of the network, helps improve security and simplifies code needed to construct a block for developers and exchange. In this post we will detail the benefits of Universal Blocks as well as the implementation plan. An example of a UTX block Signature Checking Performance Improvement Currently block signatures are checked while running the main ledger insert process. This leads to a few performance drawbacks: These signatures are processed serially, which means database locks are held open longer than needed during the signature checking process. We do not know what account to verify the signature against simply by looking at the block. I/O operations must be performed to find the associated account from the block before we can find the account number to verify against. An extra database index is required to map head block hashes to their associated account which is an extra database index and I/O overhead. When the account is in the block itself we can check an unlimited number of signatures in parallel without blocking on any I/O operations. The drawback to this change is increased block size, although the increased performance through transactions-per-second and lower transaction processing latency is an acceptable tradeoff. Pruned Ledger Support Any piece of data that’s not in the actual block, for instance the account, balance, or representative, is additional data that needs to be stored or cached in the ledger. This is less of a problem for historical nodes, but for block pruning it means much more data needs to be stored in order to remain consistent. With these changes, each block is a full representation of an account’s state at that point, which allows pruned ledgers to be much more aggressive when removing old blocks. Efficient Balance and Representative Lookups Currently an account’s balance is only transmitted on send blocks and an account’s representative is an infrequently referenced piece of data, so calculating a balance at a particular block hash or determining an account’s representative can involve long I/O operations. This is worked around in the existing ledger by using cache tables, though this has the drawback of requiring increased complexity to keep the caches coherent. An additional problem is with light wallet implementations, the current balance is difficult to retrieve, making creating new transactions slightly more difficult to create than it should be. With the implementation of Universal blocks, we can know the balance and representative simply by looking at one block, instead of needing to search down the chain for the last send block that has the balance and then adding up all the receives.


  • Share on X
  • Share on Facebook
  • Share on Linkedin

Related News

Bitcoin has officially entered the Guinness World Records for a number of entries, the first of which is being recognized as the First Decentralized Cryptocurrency
News

Bitcoin has officially entered the Guinness World Records for a number of entries, the first of which is being recognized as the First Decentralized Cryptocurrency

Bitcoin now has multiple entries in the Guinness Book of World Records, including most valuable and the first decentralized cryptocurrency.

Oct 19, 2022

740 Million in Bitcoin exits exchanges, the biggest outflow since June's BTC price crash
News

740 Million in Bitcoin exits exchanges, the biggest outflow since June's BTC price crash

The technical outlook, however, remains bearish for Bitcoin, with the price eyeing a run-down toward $14,000 in Q4/2022.

Oct 18, 2022

Bitcoin Wins the Guinness World Record for First Decentralized Cryptocurrency
News

Bitcoin Wins the Guinness World Record for First Decentralized Cryptocurrency

Bitcoin has been honored as the oldest and most valuable crypto, while El Salvador is recognized as the first country to adopt it as legal tender. 

Oct 18, 2022

 Coin Explorers

PortfolioMarketsProject ReviewsFounder StoriesFeaturesGuidesNewsVideosTerms & ConditionsPrivacy Policy

Powered by

 Coin Explorers

Copyright © 2025 - All Rights Reserved