How do transactions create a new block in Blockchain

0 votes
As per my understanding, every new transaction will create a new block with that transaction and that block will be appended to Blockchain. if some one mine a new block, few coins will be awarded to miner as a transaction. is that correct flow? or can a block has multiple transactions? If this is true, then -

1) should a genesis block has multiple transactions?

2) what if two nodes have different chain(I mean we need to resolve using consensus algorithm) but meanwhile if that node process a transaction then hash of that block would be changed and then what would happen to neighbour node's chain?
Aug 10, 2018 in Blockchain by sabby
• 4,370 points
1,883 views

1 answer to this question.

0 votes

Bitcoin puts a cap of 2,400 transactions on each of their blocks, but not all blocks have this many. People broadcast transactions to miners and miners put transactions into blocks and distribute them.

Since, blockchains should be immutable, so you shouldn't append a new transaction onto a block's list. Also, this would change the value of the hash you need to find to validate the block.

It is up to you how many transactions you want per block, one or multiple. What I would do is gather the non-chained transactions, put them into a block and append that new block to the chain.

answered Aug 10, 2018 by Christine
• 15,790 points

Related Questions In Blockchain

+1 vote
1 answer

Does deploying a contract mean create a new block in blockchain?

Does deploying a contract mean creating a ...READ MORE

answered Mar 31, 2022 in Blockchain by Rahul
• 9,680 points
541 views
+1 vote
1 answer

How blockchain node behaves upon receiving a new block when previous block wasn't acquired?

A node will ask for block number ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points
1,664 views
0 votes
1 answer

How to create a new wallet on a blockchain?

Firstly, you need to have a clear ...READ MORE

answered Apr 4, 2018 in Blockchain by Christine
• 15,790 points
1,415 views
0 votes
1 answer

Python request module for bitcoin json rpc

This should work: #!/usr/bin/env python import getpass import json import requests ...READ MORE

answered Aug 28, 2018 in Blockchain by digger
• 26,740 points
2,383 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,942 views
+1 vote
1 answer
+2 votes
1 answer
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
2,686 views
0 votes
1 answer

How to make sure transactions take no fee in a private Ethereum blockchain?

In a private ethereum network you have ...READ MORE

answered Mar 26, 2018 in Blockchain by Christine
• 15,790 points

edited Mar 26, 2018 by Christine 1,591 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP