Bitcoin Forum
May 05, 2024, 03:16:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trying to understand proof of stake technically  (Read 109 times)
redigaffi (OP)
Member
**
Offline Offline

Activity: 142
Merit: 13


View Profile
January 16, 2018, 02:12:17 PM
 #1

Hello, im a dev and i dont understand how I could implement a basic PoS system.

What I understood so far:

- The more stake, the more probabilities to "mine" a block
- Each node votes on other nodes to choose the node that can "mine" the block
- So what does really do the one that will mine the block? i've seen that hey have to do proof of work, and the difficulty is based on their the stake, the more stake the easier it is? But then this is hybrid, proof of stake and proof of work?

- How to control block creation time in this system?

Is there some technical guide or code example? Could anyone explain me better?

Thanks!

Earn Money With Skill while having fun, Answer this 6 questions and get a bonus when the project get's launched:

https://docs.google.com/forms/d/e/1FAIpQLSdCRubC4wu4seHYdDqiZDFsXizqaViUnOtE5sZcx3spjGc84A/viewform
1714878983
Hero Member
*
Offline Offline

Posts: 1714878983

View Profile Personal Message (Offline)

Ignore
1714878983
Reply with quote  #2

1714878983
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714878983
Hero Member
*
Offline Offline

Posts: 1714878983

View Profile Personal Message (Offline)

Ignore
1714878983
Reply with quote  #2

1714878983
Report to moderator
1714878983
Hero Member
*
Offline Offline

Posts: 1714878983

View Profile Personal Message (Offline)

Ignore
1714878983
Reply with quote  #2

1714878983
Report to moderator
1714878983
Hero Member
*
Offline Offline

Posts: 1714878983

View Profile Personal Message (Offline)

Ignore
1714878983
Reply with quote  #2

1714878983
Report to moderator
redigaffi (OP)
Member
**
Offline Offline

Activity: 142
Merit: 13


View Profile
January 17, 2018, 10:18:46 AM
 #2

You are understanding it correctly. What one does to create a block depends on the Proof of Stake algorithm used.
 Block creation time can be controlled the same way as in Bitcoin. Through difficulty adjustment etc.

For code examples you can look at the source code of Proof of Stake coins at their github. A simple google search will give you a list.

So, the chosen "miner" have to perform proof of work also?

What if a node doesn't find a solution to PoW? or if he delays a lot more than the estimated block creation time?

Then what is so revolutionary at PoS coins if they depend on Proof of Work? it doesn't make any sense for me.

Earn Money With Skill while having fun, Answer this 6 questions and get a bonus when the project get's launched:

https://docs.google.com/forms/d/e/1FAIpQLSdCRubC4wu4seHYdDqiZDFsXizqaViUnOtE5sZcx3spjGc84A/viewform
redigaffi (OP)
Member
**
Offline Offline

Activity: 142
Merit: 13


View Profile
January 19, 2018, 10:11:51 AM
 #3

The amount of work in the PoS/PoW combination required is so tiny compared to the amount of work required for proof of work. That means that even a mobile device could complete it fast whereas for Bitcoin you need some expensive ASIC equipment.

Also, some algorithms (of the PoS/PoW combining ones) work so that there is no voting on who gets to do the block.. instead they all race to create it but the ones with a higher stake have lower difficulty and are thus more likely to create a block.

Thank you, I understand better now.


Earn Money With Skill while having fun, Answer this 6 questions and get a bonus when the project get's launched:

https://docs.google.com/forms/d/e/1FAIpQLSdCRubC4wu4seHYdDqiZDFsXizqaViUnOtE5sZcx3spjGc84A/viewform
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!