Blockchain Forking

Changes to the blockchain software and implementation are called forks.


Updating technology can be difficult at the best of times, such as when systems are centralised. When a system is comprised of many users, distributed around the world, and governed by the consensus of the users, it becomes greatly difficult. Changes to the blockchain software and implementation are called forks.

Soft Forks
A soft fork is a change to the technology that will not completely prevent users who do not adopt the change (e.g., an update to the latest version) from using the changed blockchain system. Since non-updated nodes will recognize the new blocks as valid, a soft fork can be backwards compatible, only requiring that a majority of nodes upgrade to enforce the new soft fork rules.

An example of a soft fork occurred on Bitcoin when a new consensus rule was added to support escrow and time-locked refunds. In 2014, a proposal was made to repurpose an operation code that performed no operation (OP_NOP2) to CHECKLOCKTIMEVERIFY, which allows a transaction output to be made unspendable at a point in the future. For future clients that implement this change, the blockchain interpreter will perform this new operation, but for clients that do not support the change, the script is still valid, and execution will continue as if a NOP had been executed.

Hard Forks
A hard fork is a change to the technology that will completely prevent users who do not adopt it from using the changed blockchain system. Under a hard fork, the blockchain protocol will change in a manner that requires users to either upgrade to stay with the developer’s “main fork” or to continue on the original path without the upgrades. Users on different hard forks cannot interact with one another. Any change to the block structure, such as the hashing algorithm choice, will require a hard fork.

A well-known example of a hard fork is from Ethereum. In 2016, a smart contract was constructed on Ethereum called the Decentralised Autonomous Organisation (DAO). Due to flaws in how the smart contract was constructed, an attacker extracted Ether, the cryptocurrency used by Ethereum, essentially allowing theft of $50 million. A hard fork proposal was voted on by Ether holders, and 89 percent agreed to hard fork and create a new version of the blockchain that returned the stolen funds.

With cryptocurrencies, if there is a hard fork and the blockchain splits, the coins each person has at the time of the split will be mirrored on each fork. If all the activity moves to the new chain, the old one will eventually not be used. In the case of the Ethereum hard fork, the vast majority of support moved to the new fork, and the old fork was renamed to Ethereum Classic, which has only a fraction of the original user base.

Cryptographic Changes and Forks
If flaws are found in the cryptographic technologies for a blockchain application, the only solution may be to create a hard fork, depending on the significance of the flaw. For example, if a flaw was found in the underlying algorithms, there could be a fork requiring all future clients to use a stronger algorithm. Until more than 50 percent of the network is on the new software version, the vulnerability could still exist. Switching to a new hashing algorithm could pose a significant practical problem because it could invalidate all existing specialised mining hardware.

Hypothetically, if SHA-256 were discovered to have a flaw, there would need to be a hard fork to migrate to a new hash algorithm. The block that switches over to the new hash algorithm would “lock” all previous blocks into SHA-256 (for verification), and all new blocks would need to employ the new hashing algorithm. For example, Bitcoin uses SHA-256 hashes, which is easy and fast to implement in hardware ASICs. Other cryptocurrencies such as Ethereum use Keccak857 (based on SHA-3), while Litecoin uses the scrypt hashing algorithm.

One possibility for the need to change cryptographic features present in a blockchain system would be the development of a practical quantum computer system, which would be capable of greatly weakening (and in some cases, rendering useless) existing cryptographic algorithms.

The cryptographic algorithms employed within most blockchain technologies for public/private key pairs will need to be replaced if a powerful quantum computer become a reality. This is because algorithms that rely on the computational complexity of integer factorisation (such as RSA) or work on solving discrete logarithms (such as DSA and Diffie-Hellman) are very susceptible to quantum computing. The hashing algorithms and Merkle trees that are the other basis for blockchains are much less susceptible to quantum computing attacks, but are still weakened when quantum computers become a reality.

Source: National Institute of Standards and Technology, U.S. Department of Commerce (Jan 2018)


New Media Aid has been the app development partner for Kelly Turkeys since 2006 and has developed a number of mission-critical bespoke apps for us and we highly recommend them for bespoke application development.

Asa Howard, Finance Director
Kelly Turkeys - Danbury, Essex

New Media Aid has been our development partner for both our website and virtual learning environment since 2004. The quality of service has been consistently exceptional in every way. I would be very happy to recommend them for any development and as a highly reliable long term partner as well as for short term projects.

John Rubinstein, Principal
Woodhouse College - Finchley, London

New Media Aid has developed a number of advanced, bespoke apps for BAE Systems and we are happy to recommend them for bespoke app development.

Rob Morris, Vice President Marketing & Analysis, Asset Management
BAE Systems - Hatfield, Hertfordshire

These apps developed by App Developer for Android mark a new turn towards technology for an industry that’s been slow to adapt until now. With no suitable ‘off the shelf’ solution available below costly, enterprise level software, we were involved in the development process from the start, getting the right solution that suited our operations and our customers.

Ben Guy, Managing Director
Hammond Produce

App Developer for Android quickly understood what we needed and were able to develop exactly what was required with minimal input from ourselves. As this was the first Android app we had developed we were pleased that it was done on time and within the quoted price. We would gladly work with them again and recommend them.

Mark Austin, Managing Director
Wing Parking

Having recently moved to Android PDAs for our mobile workforce, we identified a need for a Bespoke App and a Web-based Management System to control it. App Developer for Android demonstrated a real understanding for our needs and a "can do" attitude that we found extremely helpful. Their solution was provided on time and within budget and has exceeded our expectations. We will be happy to work with them again when we have further requirements.

Trevor Wright, IT Manager
Weblight

New Media Aid has successfully developed a number of bespoke applications for us over the last few years - we have always been pleased with the results and with the ongoing support and assistance we receive.

Anne Barlow, Marketing Manager
British Chiropractic Association - Reading, Berkshire

New Media Aid undoubtedly fulfils the requirements we have for our company’s corporate website. Not only did they provide us with all the features we needed from the get-go, they also promptly come up with solutions when we have new requests.

JD Venter, Deputy Editor
Dry Cargo International - Colchester, Essex

New Media Aid developed a bespoke website and content management system for us that makes it easy to run our business. The app has been designed in such a way that we’re able to have it updated when our needs as a company develop. Our trade customers love the fact that they can login and view historical orders as well as viewing new products and ordering online themselves. I would definitely recommend New Media Aid for bespoke app development.

Shona Easton, Managing Director
Easton Design Studio - Cranleigh, Surrey

We are thrilled and very excited by our new mobile-friendly website from New Media Aid which is seamlessly integrated with a bespoke candidate and vacancy management system. They have been extremely responsive and patient and have talked us through the whole process. They are always available for queries and trouble-shooting not only on this project but also with other web apps they have developed for us. We couldn’t recommend them more highly.

Millie Harvey, Marketing Manager
Excelerate Resources - Warwick

New Media Aid develops business-critical bespoke applications for Gateway College and we are happy to recommend them for bespoke application development.

Paul Taylor, Network And Corporate Data Manager
Gateway College - Leicester

We are delighted with the flexible and efficient service we received from New Media Aid. Highly professional and personable which works well for us as a small business. We wanted to update our old website and not being IT specialists it was good to talk through issues and get helpful advice on new design ideas and practical solutions. Working together on the design and implementation of our new site has resulted in a user-friendly eCommerce website on PCs, phones and tablets – and we instantly saw a huge increase in business once the new site went live. No hesitation in recommending their services.

Gordon Little, Managing Director
GE Little Radiator Covers - Basildon, Essex

New Media Aid developed Gigacom Tems a bespoke and fully integrated project management system. New Media Aid fully support all our IT requirements and must be congratulated on the valued and excellent support that we continue to receive from the New Media Aid team. I have no doubt that without the high level of innovative support that we receive we would not be able to efficiently deliver the services that we provide for our customers.

Phil Taylor, Operational Management Team
Gigacom Telecommunication Engineers Management Services - Alton, Hampshire

The certificate scanning system developed by New Media Aid is working really well for us and is more efficient than our previous way of processing certificates. It really is brilliant and must have saved us a fortune in paper!

Rachel Bothamley, Senior Examinations Officer
Lincoln College

New Media Aid has supported the development of a complex store and back office system that significantly helps improve the accuracy of our processes whilst improving the efficiency and service to our clients. Couldn't be happier with a supplier (who we genuinely consider as a partner).

Stephen Mason, Managing Director
Mason Information Technologies - Nottingham

New Media Aid has an excellent understanding of our business and therefore can offer a high level, intuitive service. They have programmed and maintained our websites and CMS for nearly 10 years and are responsive and very easy to work with, we highly recommend talking to them about your digital projects.

Donald Campbell, Marketing Manager
Team London Bridge - Southwark, London

Excellent service, clear pricing and Alastair is so easy to deal with. Would definitely recommend. We're very pleased with our new App!

Mary Stealey, Operations Manager
Just Filters - Harlow, Essex

Alastair was great at understanding our needs and building a new android app and web-facing management interface that met all our requirements. The solution was delivered within impressive timescales and at a competitive price. He kept us up to date throughout the project, was happy to be involved in conference calls to discuss setup and deployment, and was always incredibly responsive to our questions and requests for further enhancements. It was a pleasure working with Alastair and we look forward to the opportunity of working with him again in the future.

Stephen Connolly, Technical Team Manager
Parker Hannifin - Hemel Hempstead, Hertfordshire