Consensus Algorithms | Crypto Academy | Season2, week 5 | Proof of capacity for @alphafx by sexualhealing

View this thread on steempeak.com
· @sexualhealing · (edited)
$15.03
Consensus Algorithms | Crypto Academy | Season2, week 5 | Proof of capacity for @alphafx
![Untitled (5).jpg](https://cdn.steemitimages.com/DQmW2YGnSeSjq9FHd67Ei89wFbipbtnGoGrmHce7gv1h5Rq/Untitled%20(5).jpg)

I am writing this post in response to the assignment task given by the professor @alphafx , I really enjoyed, understood very clearly and really appreciate and thankful to you for your lecture.

-----------------

**Consensus Algorithm**

 Consensus Algorithm is a mechanism that helps and allows the system to run efficiently and properly with proper specific agreement among all  the system users and machines. Consensus Algorithms are protocols that nodes , users, agents and system work in mutual agreement to work and coordinate with each on the one and only state of truth in the blockchain system. It has main role in securing the network and proper record keeping on computer network and on the blockchain. Consensus Algorithm eliminates the conflicts on the blockchain as all the agents, users, miners, mining devices, agents, network and whole system work in specific single mechanism .

There are lots of Consensus Algorithms mechanism which work on different principles. The most popular are :

- Proof of Work : mining machines are used for mining or validation of transactions and storing data on the blockchain. 

- Proof of stake: it validates the  blockchain transactions according to our  holding of coins. The more holding of coins means more power is provided to the network.

Apart from from these very popular consensus algorithm there are several other consensus algorithm available but here i am going to discuss and explain about **Proof of Capacity**.

---------------

**Proof of capacity (POC)**

We also know the Proof of capacity (PoC)  as Proof of Space. It is a consensus mechanism algorithm used in blockchains that allows Nodes or mining devices in the network to use the hard drive space to store data on block and  validate the transactions. It allows sharing of  space or storage by contributing nodes on the blockchain network. More memory storage and space means more power of right and power to the network. The authentication systems of Proof of capacity (PoC) uses free space or storage of  hard drive or storage device to utilize and store data and solves cryptocurrency hashing problem. Proof of capacity is an alternative and best solutions to the high energy consumption problem in Proof Of Work (PoW) mechanism.

Top Projects that use the Proof Of Capacity  are Storj , Chia , SpaceMint .

------------------

**Working Mechanism of  Proof of Capacity:**  

The Proof Of Capacity Protocol works in a two-step process:  **Plotting and Mining.**

**Plotting:** This is the first step where the hard drive is plotted.  By Repeating  data hashing , a list of all possible nonce values are created including miner's account. Such kind of each nonce contains 8192 hashes,  numbered from 0 to 8191. All the hashes are paired into **Scoops** so the  adjacent hashes are combined and  formed a pair of two. Hence, hash 0 and 1 constitute scoop 0, hash 2 and 3 constitute hash 1, and so on. By Repeating  data hashing  a list of all possible nonce values are created including miner's account.

**Mining:** This is the second step where mining process is involved. Here Scoop Number is calculated by mining device. If Scoop number 35 is generated by the mining device while mining, the miner would go to scoop number 35 of nonce 1 and use that Scoop’s data and deadline value is calculated. This is a repeating  process to calculate the deadline for each nonce held upon on the miner’s hard drive. While  calculation of all the deadlines,  miners selects the one with the minimum deadline.  Here, Deadline means  the duration of time in seconds and that must elapse  the last block was forged before a miner is allowed to forge a new block . If not forged or missed the block within deadline, another  miner  forge a block and claim the block reward.

  If a miner  "C" has minimum deadline of 40 seconds and no other miners can forge the block within the next 40 seconds, Miner "C" will get the chance to forge the next block and get rewarded.


--------------------



**Proof of capacity has several advantages and disadvantages over Proof of Work and Proof of Stacking systems:**

Pros | Cons
-------- | ------------
In POC we can use any kind of storage device even android based devices can also be used | Very few developers adopted this Consesus Algorithm and very few coins we can see adopted POC in the crypto space
POC is  30 times more energy efficient and saves energy and electricity  | Malware can affect the mining activities
Dedicated hard drivers are not required and no need update or upgrade of storage device| Need high capacity hardware storage devices for securing the network and for efficient mining
Mining data can be easily wiped from the storage devices and we can reused for any other data storage purposes. | Sometimes due to malfunction or damage of the storage device, the data is lost and  creates issues
------------------------------------------------------------------------------------------------------------------------------------------------------
- Conclusion

Here we discussed about what is Consesus Algorithm and about  Proof Of Capacity , it's mechanism, advantages and disadvantages. I hope you would like my post, thank you all steemians for your love and support !

![Untitled (4).jpg](https://cdn.steemitimages.com/DQmPCrMnh5HPcD2YPfiqCgTF8ZHbCKFK2yNccpWJyaqwfA6/Untitled%20(4).jpg)


Thanks Professor @alphafx  for this beautiful and interesting lecture. I'm looking forward to your next lecture.

CC: @alphafx


Thank you all steemians for reading !
👍  , , , ,
properties (23)
post_id91,131,531
authorsexualhealing
permlinkconsensus-algorithms-or-crypto-academy-or-season2-week-5-or-proof-of-capacity-for-alphafx
categoryhive-108451
json_metadata{"tags":["consensusalgorithm","alphafx-s2week5","cryptoacademy","poc","proofofcapacity","mining"],"users":["alphafx"],"image":["https:\/\/cdn.steemitimages.com\/DQmW2YGnSeSjq9FHd67Ei89wFbipbtnGoGrmHce7gv1h5Rq\/Untitled%20(5).jpg","https:\/\/cdn.steemitimages.com\/DQmPCrMnh5HPcD2YPfiqCgTF8ZHbCKFK2yNccpWJyaqwfA6\/Untitled%20(4).jpg"],"app":"steemit\/0.2","format":"markdown"}
created2021-05-13 08:28:57
last_update2021-05-13 09:19:21
depth0
children3
net_rshares11,525,584,224,041
last_payout2021-05-20 08:28:57
cashout_time1969-12-31 23:59:59
total_payout_value7.518 SBD
curator_payout_value7.515 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5,657
author_reputation9,574,389,938,243
root_title"Consensus Algorithms | Crypto Academy | Season2, week 5 | Proof of capacity for @alphafx"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (5)
@alphafx ·
Task satisfactorily completed
Parameter|rating
------|------
Presentation|1/2
Content|3/5
Originality|1/3
Total|5
Thanks for participating
properties (22)
post_id91,199,473
authoralphafx
permlinkqt6ntt
categoryhive-108451
json_metadata{"app":"steemit\/0.2"}
created2021-05-16 04:44:18
last_update2021-05-16 04:44:18
depth1
children1
net_rshares0
last_payout2021-05-23 04:44:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length138
author_reputation54,533,913,716,462
root_title"Consensus Algorithms | Crypto Academy | Season2, week 5 | Proof of capacity for @alphafx"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@sexualhealing ·
Thank you so much for looking into my post  ,  i will definately try to improve my post
properties (22)
post_id91,204,982
authorsexualhealing
permlinkqt74h7
categoryhive-108451
json_metadata{"app":"steemit\/0.2"}
created2021-05-16 10:43:57
last_update2021-05-16 10:43:57
depth2
children0
net_rshares0
last_payout2021-05-23 10:43:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length87
author_reputation9,574,389,938,243
root_title"Consensus Algorithms | Crypto Academy | Season2, week 5 | Proof of capacity for @alphafx"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@sexualhealing ·
Dear Professor @alphafx, can i get upvote on this post  as rating is 5 or 5 will not be considered for upvoting ?
properties (22)
post_id91,223,090
authorsexualhealing
permlinkqt8fl7
categoryhive-108451
json_metadata{"users":["alphafx"],"app":"steemit\/0.2"}
created2021-05-17 03:41:33
last_update2021-05-17 03:41:33
depth1
children0
net_rshares0
last_payout2021-05-24 03:41:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length113
author_reputation9,574,389,938,243
root_title"Consensus Algorithms | Crypto Academy | Season2, week 5 | Proof of capacity for @alphafx"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000