Episode 47 - Lifecycle of a Block

Episode 47 - Lifecycle of a Block

A block is a collection of transactions and some metadata. Let’s take a look at how a block is produced. Let’s just assume that according to the algorithm we already have the node (validator or miner) selected to produce the next block.

The first thing that this block producer node would do is to choose which block to build on. Remember blockchain is a chain of blocks. For each new block we need to refer to the hash of the previous block. Hence, the node would first choose or select which block to build on. Recall that all nodes in a blockchain store all the data about the state of the blockchain. So, the node would just pick the hash of the latest block from its local state.

Next, the node would pick the transactions waiting in its transaction queue or mem-pool and create a new block by ordering and packaging them together. This process is call block building. The output would be a block — a data object with metadata and a list of included transactions.

Once the block is built, it is then broadcasted on the peer-to-peer network for other nodes to download and verify it. The details of broadcast and propagation are depend on the specific implementation of networking protocol for different blockchains. Each node in the network then verifies the block by executing all the transactions in it. If they find everything ok, they update their local state based on the transactions in the block. And the block is added to the chain.

This is how a fully decentralized network of nodes updates the state of a distributed ledger.

The next block is the built on top of this block, and the process continues.

Music: https://www.purple-planet.com



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit podcast.blockshots.net

Denne episoden er hentet fra en åpen RSS-feed og er ikke publisert av Podme. Den kan derfor inneholde annonser.

Episoder(116)

Episode 116 - Parallel Execution in Blockchains

Episode 116 - Parallel Execution in Blockchains

Traditionally blockchains execute transactions sequentially. Some of the newer chains have been trying parallel execution of transactions to improve blockchain performance. In this episode we understa...

15 Apr 20243min

Episode 115 - Real World Asset Tokenisation

Episode 115 - Real World Asset Tokenisation

In this episode we understand what are real world assets and why they are being tokenised. What are real world assets?Any thing of value that has been generated or created in the real world before bei...

8 Apr 20244min

Episode 114 - The Dencun Upgrade

Episode 114 - The Dencun Upgrade

After a brief break, we are back with new episodes.Ethereum recently upgraded to a new update called Dencun. In this episode we understand what this update is and how it is important.9 different updat...

1 Apr 20244min

Episode 113 - What is Restaking?

Episode 113 - What is Restaking?

Restaking is staking of already staked tokens. But how is the possible?If tokens are staked for one purpose — providing econoimic security for consensus of a network — they could be further staked to ...

12 Feb 20243min

Episode 112 - Modular Blockchains

Episode 112 - Modular Blockchains

Modular blockchains has been one of the buzz words in the last year. In this episode, let’s understand modularity in blockchains.In the beginning, consensus and execution were part of the same blockch...

5 Feb 20244min

Episode 111 - What are Altcoins?

Episode 111 - What are Altcoins?

In this episode, we understand what are altcoins?Altcoin was first used for any coin other than bitcoin. But the definition has evolved a bit among different circles in the crypto land. Listen to the ...

29 Jan 20242min

Episode 110 - Orphan or Uncle Blocks

Episode 110 - Orphan or Uncle Blocks

In this episode, we understand what are orphan or uncle blocks. This is more of a Proof of Work related concept where two blocks are produced at the same time. One of them becomes part of the chain - ...

23 Jan 20243min

Episode 109 - On-chain vs Off-chain Governance

Episode 109 - On-chain vs Off-chain Governance

In this episode, we understand the two ways of doing blockchain governance - on-chain and off-chain.When the decisions to update the blockchain software are driven by processes off the chain (online f...

15 Jan 20243min

Populært innen Teknologi

lydartikler-fra-aftenposten
romkapsel
teknisk-sett
energi-og-klima
tomprat-med-gunnar-tjomlid
elektropodden
nasjonal-sikkerhetsmyndighet-nsm
hans-petter-og-co
shifter
pedagogisk-intelligens
rss-anleggspraten
teknologi-og-mennesker
rss-snakk-om-sikkerhet
rss-plateprat
rss-ai-forklart
fornybaren
rss-digitaliseringspadden
rss-30-minutter-inn-i-fremtiden
rss-alt-som-gar-pa-strom
rss-heis