Blockchain Consensus Mechanisms

Proof-of-Work and alternative consensus algorithms, advantages and disadvantages of Proof-of-Work as well as its working process, the role of hash and the way to find it, the difference between dual and hybrid mining

In our blockchain dedicated section we have already explained the meaning of blockchain oracles and the difference between permissionless and permissioned blockchains. Here we provide an article about consensus algorithms that are used in blockchain and take a look at some of their most popular models.

Blockchains are decentralized continuously growing databases. A blockchain needs its network of nodes to run it. To add new data, the majority of the network must agree on it. Agreement mechanisms are called consensus algorithms. Proof-of-Work is the most common consensus algorithm and is used in Bitcoin.

How does it work?

To create a block, a miner collects unconfirmed valid transactions, puts them together in a block, and then seals it by finding the hash of the block. A hash is a set of random symbols produced by running the block data through a hashing algorithm. If you change as much as one bit in the block, the hash will be completely different. A hash is difficult to generate but easy to check if it corresponds to the block. It proves to other miners that the creator of the block really did the work, hence Proof-of-Work.

How exactly do you find a hash?

Go to this hash generator and type a set of words in the ‘input’ field. The website will instantly give you the hash of your input data (your set of words). Finding a hash of the block, however, is not that easy because the hash has to meet difficulty requirements. Now go back to that site. Try putting in some numbers to the end of your set of words until your hash starts with 0. This, in principle, is exactly what miners do. They input transaction details instead of words and try different random values (nonce values) until their hash has, for example, 16 zeros in the beginning. They, fortunately, do not have to do it manually, the software uses their computer power to quickly put it nonce values to get the necessary hash.

How secure is Proof-of-Work?

Proof-of-Work is one of the most secure algorithms as it requires a lot of computing done in a short amount of time. To change a block, an attacker will have to find the block’s hash and the hashes of consequent blocks in just 10 minutes. The older the block is, the harder it is to change it. This is why the original bitcoin client marks a transaction as confirmed after it is at least 6 blocks deep.

What are its flaws?

Proof-of-Work is very demanding in terms of computing resources and, thus, consumes a lot of electricity in the process. This means that a lot of coal needs to be burnt, which does not at all alleviate the current environmental issues but only aggravates them. In light of this, many alternatives, more ecological, consensus mechanisms have been proposed and implemented in other blockchain networks.

  • Proof-of-Stake, for example, chooses a random validator for the next block from a group of nodes based on their deposited coins: if the validator adds an invalid block, they lose their deposit.
  • In Delegated Proof-of-Stake, the deposit owners vote to elect delegates to do the validation.
  • Proof-of-Capacity lets miners use empty space on their hard drives to store solutions for blocks ahead of time, which relieves them from the necessity of finding blocks in real time.
  • Proof-of-Weight is another consensus protocol that lets nodes show their interest in the stable work of the network. For example, in a file storage system, validators are chosen based on the amount of space they provide for the blockchain.

Dual and hybrid mining

It is possible to mine two different cryptocurrencies using a single GPU. This is called dual mining. You can simultaneously mine, for example, ethers and siacoins because they use different mining algorithms, Ethash and Blake 2b respectively, but do not affect each other’s performance too much.

Hybrid mining is mining two different coins with the same hashing algorithm at the same time. It is different from dual mining in that it requires two or more GPUs on a single system.

Related news

WEOWN Update | BlockchainBrad | Next Gen. Digital Investment Platform | STO | Blockchain Securities

Blockchain Brad offers a free & exclusive Oct '19 update with Sascha Ragtschaa about the Next Gen. WEOWN Investment Platform for blockchain-based, digital tokenised assets. With the release of their first STO, WEOWN are now starting to show what their platform can really do! Their technology enables businesses, especially SMEs, to create digital ‘tokens’, which investors can own. Companies can digitise assets via a new technological means & because these assets are digital, investors can choose to purchase what they see fit and according to their budget. Investing according to our OWN terms. ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● Links: Website: https://weown.com/ Twitter: https://t.me/OwnMarket Medium: https://medium.com/ownmarket Telegram: https://t.me/OwnMarket ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● Timestamps: 00:58 About  WeOwn’s concept of digital assets & investment platform 05:15 Do you feel like you have the resources required to provide the key information to the parties that are trying to engage with your services? 06:05 About the key assets that WeOwn brings 08:27 About the foundation focus 09:55 About “equity without entry barriers” 11:29 How confident are you now that there is going to be a more flow and proof of STOs coming on board? 13:13 About the key assets of the eco. 14:23 About the proof of use, adoption, enterprise, value, quality 17:51 About convincing business and enterprises of the value of crypto and blockchain 20:28 About being tech focused 24:18 About utility tokens and security tokens 26:15 About regulations & compliance 30:13 About working with governments 33:55 About decentralized tokens 36:43 About pushing back the STO plans: Clarification 42:17 About the WEOWN DSX 43:45 About partnership and developments 50:07 About WeOwn’s first STO: Crowd, the recruitment platform 52:54 About payments to contractors in the token. Direct question 55:02 About liquidity and its value 55:55 What are your plans to expand to other exchanges? 01:01:00 About the volatility of the space 01:06:36 About the expansion of WeOwn’s ecosystem 01:07:33 About market making 01:09:10 About treasury/token conversion system (Client to Team) 01:11:45 About staking 01:12:49 About the selection process 01:14:52 About future partnerships 01:17:45 About the value and need for time 01:20:47 About rebranding 01:23:25 About funding 01:25:40 About the magnitude of WeOwn 01:26:47 What’s your view on the STO space? ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● ►Join The BCB Tele https://t.me/BlockchainBradCommunity ► Follow on twitter: https://twitter.com/Brad_Laurie ► Join BlockVera on twitter: @BlockVera ► Check out BlockVera on youtube: https://www.youtube.com/watch?v=Af4pD... ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● Every company or investor that registers for the WEOWN platform is given a unique login, which takes you to a dashboard, where you can create or invest in offers. You will also gain access to all of WEOWN's management and engagement tools, to channel all communications and activities through a single, online portal. WEOWN's digital platform is built on a bespoke blockchain, which ensures that all transactions are secure, quick and reliable. It also enables them to be highly scalable, so that quality of service is never compromised as more people start using us to fundraise. By building their own blockchain, the WEOWN team know it can function exactly as intended: to enable speedy, secure transaction processing, and scalability as WEOWN's user base grows. ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● PAYMENT/DONATION DISCLOSURE: This interview was entirely, 100% free in every way, not tokens, no under the table deals. I have done several free videos with WEOWN because I believe in them. I believe that sponsored content is not a problem if disclosed openly to the community. This is not Financial Advice. Please #DYOR ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● INVESTMENT DISCLOSURE: I have invested in CHX & yes, I still hold. This is not Financial Advice, but I really believe in this project. #DYOR always. ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● #digitalinvestment #WEOWN #CHX #BlockchainBrad #OWNplatform #OWNinvestment #OWN #hodl #STO #CHX
Blockchain Brad

8Pay Sponsors DeFi Project of the Year 2019 Award at Europe’s Largest Blockchain Conference

Coinspeaker 8Pay Sponsors DeFi Project of the Year 2019 Award at Europe’s Largest Blockchain Conference8Pay, an automated payment solution built on the Ethereum network, will sponsor the DeFi Project of the Year Award at the forthcoming Malta AI & Blockchain Summit.Europe’s largest blockchain conference will host creative minds from the industry and recognise the year’s milestones and achievements on 7 November at Malta’s Intercontinental Hotel. As well as luminaries from the world of blockchain, the biennial event will bring together figures from sectors such as robotics, Internet of Things (IoT) and artificial intelligence, with a busy programme of conferences, workshops and networking events also taking place over two days.Co-founder and CEO of 8Pay, Benedetto Salanitro, explained his happiness at sponsoring the DeFi Project of the Year Award, saying, “Decentralized finance is an incredibly worthy attempt to build a new and innovative financial system that works for everyone, with a high degree of transparency. Each of the projects shortlisted for the award has made great strides in realizing this goal, and we’re delighted that 8Pay can sponsor it. From P2P lending protocols to emerging decentralized banks, the space is thriving – and this is only the beginning.”Decentralized finance (defi), built around smart contracts and crypto protocols that provide open access to financial products, has evolved into a burgeoning industry. The award at the Malta AI & Blockchain Summit will be handed to the defi project that’s provided the greatest contribution to simplifying the money-sending process. The 2019 nominees are Sologenic, Simply VC and MakerDAO, all of which have been busy leveraging decentralized networks to transform old financial products into trustless, transparent protocols.Ventures that fall under the decentralized or open finance umbrella aim to create a new financial system based on public ledgers that is globally accessible and transparent. Defi projects focus span such verticals as derivatives, insurance, lending, prediction markets and other offshoots of the finance sector. Novel new products are already starting to ship, with the collective goal of overhauling traditional financial services and bypassing much of the banking sector, with its gatekeepers and intermediaries.8Pay is a decentralized payment solution that facilitates automated crypto payments. Underpinned by smart contracts architecture, 8Pay enables stablecoins and all the ERC-20 tokens to be used in everyday life to pay for goods and services.8Pay Sponsors DeFi Project of the Year 2019 Award at Europe’s Largest Blockchain Conference
Coinspeaker

Hot news

By continuing to browse, you agree to the use of cookies. Read Privacy Policy to know more or withdraw your consent.