Episode 37 - Lifecycle of a Blockchain Transaction

Episode 37 - Lifecycle of a Blockchain Transaction

The user or DApp composes a transaction with information like input parameters, cryptographic signature, and some metadata about the blockchain network and a serialized data object is created out of it. All of this happens outside the blockchain using Wallets or DApps.

Transaction Submission

This serialized transaction data is then sent to one of the blockchain nodes using the RPC API.

Transaction Queue

Once the transaction is submitted to the node, some initial validation checks are run on it. If it is found valid, it is placed in the transaction queue of the node. At this time, it is also broadcasted to other nodes connected as peers to this node. Other nodes also run validations on the transaction.

Block Proposal

The transaction, along with other transactions, is then picked up by one of the nodes (assuming it has reached that node’s transaction queue) to be included in the next block they propose. Which node creates the next block is part of the consensus and block production algorithm. This could be different in different blockchain protocols. One thing that influences the inclusion of transactions in the block is the transaction fee paid by the user. The transactions are generally prioritized according to the fee.

Consensus

Once one of the nodes proposes a block, it is then propagated to other nodes in the network. All other nodes verify the block by executing all transactions included in it. Once majority of the nodes successfully verify the block, they reach consensus.

Commitment

Once the network agrees on the new block’s validity, all the nodes update their local state of the blockchain by executing all transaction in the block and committing that state. The next block would be built on top of this new state.

At this time, the effects of the transaction are visible because the state of the blockchain is updated across all nodes.



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