Skip to content

Blockchain has become collaborative

With the new release of Redbelly Network, blockchain has entered a new era: collaboration. Since its inception, the blockchain protocol has always been built on competition: as only one of the validator nodes could win the lottery by imposing its block to the rest of the system. This competition led to adversarial effects over time. With the number of validators entering the competition increasing, due to the built-in incentives, so did the amount of wasted resources. As a result, performance would never increase with more validators.


Back in 2021, the original Redbelly paper was published in the flagship security conference, IEEE S&P [1], to present a collaborative alternative that would allow blockchain to scale. The idea, also called the superblock optimisation, is very simple and was already discussed in an earlier blog post. In short, what if, instead of having a competition between validators resulting in a single block among thousands of proposed blocks, we could leverage a collaboration among these validators that would then combine all the acceptable blocks into a Superblock?


Back then, we already knew that this collaboration was key to achieving scalability. After all it makes sense; if you append a superblock that results from the combination of as many blocks as you have validators, then the number of transactions you can commit per unit of time will grow linearly with the number of validators. In particular, the research prototype of Redbelly Network at the time scaled to one thousand machines spread all over the world, the largest blockchain experiments ever made at the time. Moreover, the performance this blockchain delivered on only 300 nodes was around 660,000 transactions per second.


Now turning a research prototype into a production system is not an easy task, and one problem we faced was: How can all validators that contribute be rewarded? Traditional blockchains reward only the contributing validator with the fees of the transactions within its block. With the Superblock optimisation, you would then need to reward hundreds if not thousands of validators for their contributions each time there is a new Superblock.


It would be unfair for Redbelly not to reward all these validators simply because they are too many. After all they are the ones offering resources to make Redbelly scale where other blockchains would simply become congested.


Today, we have finally solved this problem. Under high load, our system batches the large reward distributions as part of consecutive blocks to activate them all at once. More particularly, the blockchain stores in the header of each block how the transaction fees should be distributed to all validators (candidates and governors) of the Redbelly Network. The system then distributes the transaction fees approximately every 1000 seconds (~16 minutes and 40 seconds) by comparing the timestamp of each block to the current time. This way, we get the best of both worlds: Redbelly Network scales well by benefiting from this collaboration but also the transaction fees are rewarded without delaying the creation of new blocks.


[1] Red Belly: A secure, fair and scalable open blockchain. T Crain, C Natoli, V Gramoli. IEEE Symposium on Security and Privacy (S&P), 466-483, 2021. 

Share this blog

  • Discord
Leave a reply

Redbelly Network Pty Ltd

Australia
304/74 Pitt St. Sydney 
NSW 2000, Australia

India
2nd floor, Plot 14, Aeren Building, 
IT park Chandigarh, sector 13, Chandigarh, India