Transactions and Blocks

Transactions and Blocks

Update: 2020-06-01
Share

Description

Transactions are small bundles of information that are used to propose updates to the state of the blockchain. Users sign and submit transactions to one or more nodes, and based on their validity, they are executed by all other nodes to update the state of the blockchain.Incoming transactions are validated by the nodes against the current state of the blockchain and also for the signature of the sender.For transactions to be executed on the chain, the miner or validator nodes charge a transaction fee from the user. The sender must decide how much fee they want to pay for the transaction, and based on that, the miner or validator nodes decide if the transaction should be executed or not.

BlocksIf blockchains processed transactions one by one, it would be pretty inefficient to process a large number of transactions, on a fairly decentralized network. Hence, transactions are grouped into blocks. Blocks are then processed one-at-a-time to execute all included transactions together.To be included in a block, the transactions are selected by miner or validator nodes of the blockchain. There could be one or more transactions in a block. This selection is mainly based on transaction fees paid by the user, the validity of the signature, and of the transaction data.

Transaction ExecutionOnce a transaction is submitted to one of the nodes, it is then broadcasted to other nodes. One of these nodes, depending on the block production algorithm, proposes a block that may include this transaction and several others.Blocks are created at regular intervals and all the transactions in a block are executed together to update the state of the blockchain when it is accepted by all the nodes.

The proposal and acceptance of a new block are done using the consensus algorithm. Consensus and related concepts are explained in episode 2 of the podcast.

Music: https://www.purple-planet.com
Comments 
In Channel
Block Rewards

Block Rewards

2020-08-0304:48

Block Finality

Block Finality

2020-07-1304:59

Fork

Fork

2020-07-0604:32

Blockchain Governance

Blockchain Governance

2020-07-0204:54

Smart Contracts

Smart Contracts

2020-06-2204:45

Wallets

Wallets

2020-06-1804:47

Accounts and Keys

Accounts and Keys

2020-06-1504:43

Signing

Signing

2020-06-0805:14

Hashing

Hashing

2020-06-0404:42

Consensus

Consensus

2020-05-2505:10

Blockchain

Blockchain

2020-05-2104:54

Download from Google Play
Download from App Store
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Transactions and Blocks

Transactions and Blocks

Gautam Dhameja