Are all Blockchain array implementations incorrect

0 votes

I found many Blockchain implementations on the web, but is it true Blockchain that can scale? Here we can see that the blockchain is started as an array

var blockchain = [getGenesisBlock()];

Here we can see the same implementation:

constructor() { this.chain = [this.createGenesis()]; }

This article also recommends it:

constructor(genesisNode) { this.chain = [this.createGenesisBlock()];


However, are any of these implementations ready to scale?

The real problem that I'm thinking about is, how long would it take to read the last element of the array and would this be scalable? In the blockchain, the 'Block' structure always needs to read the hash of the last block, therefore I assume that as it scales it takes longer and longer to do it.

What would Bitcoin and Ethereum do if their Blockchain array of Blocks doesn't have any more space to store blocks? Would the Blockchain just end there?

Apr 4 in Blockchain by Rahul
• 9,680 points
60 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Blockchain

+4 votes
4 answers

What are the implementations of IBM blockchain?

IBM is an open source community of ...READ MORE

answered Mar 30, 2018 in Blockchain by Christine
• 15,790 points
356 views
+15 votes
2 answers

What are the various blockchain smart contracts platforms?

While Ethereum is the most popular platform ...READ MORE

answered Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
514 views
+1 vote
1 answer

What are the differences between the hyperledger and Blockchain?

To answer your first query.. Blockchain is ...READ MORE

answered Apr 5, 2018 in Blockchain by anonymous
2,995 views
+1 vote
1 answer
+1 vote
1 answer
0 votes
1 answer

How many people are mining bitcoins all over the world?

No, it's not possible to find out ...READ MORE

answered Jun 26, 2018 in Blockchain by Omkar
• 69,210 points
315 views
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,440 points
730 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,108 views
0 votes
1 answer
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