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,350 points
36 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

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,010 points
36 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
53 views
0 votes
1 answer

In a Blockchain, how difficult is it to modify the third to last block?

Technically, it's not difficult at all, all ...READ MORE

answered Apr 20, 2018 in Blockchain by Christine
• 15,790 points
53 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
• 27,620 points
174 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
104 views
+1 vote
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
410 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 71 views