Author

Topic: how pos works!! (Read 540 times)

member
Activity: 70
Merit: 10
September 07, 2015, 03:21:12 AM
#4
If you want to clearly understand how Proof-of-Stake works, you should definitely take a look at this video :

Proof of Stake - How Does It Work?
https://www.youtube.com/watch?v=L1HqLudciVU

Cheers Smiley
i wanted to advice the same video. It really explains it on a good way. Good job
legendary
Activity: 1568
Merit: 1169
May 16, 2015, 09:25:02 PM
#3
If you want to clearly understand how Proof-of-Stake works, you should definitely take a look at this video :

Proof of Stake - How Does It Work?
https://www.youtube.com/watch?v=L1HqLudciVU

Cheers Smiley
legendary
Activity: 882
Merit: 1024
May 16, 2015, 07:25:48 PM
#2
could anybody here be able to offer assistance on how pos is calculated? i have been searching through a few pos coins codes to see if i can find where the bulk of pos working is as i wish to try a few edits to it.
im really looking for the bit where it takes your balance available for pos and multiplys it by your pos reward
any and all help apreciated.


POS is calculated in two areas, in the main.h file listing the main switch for POS percent

static const int64_t MAX_MINT_PROOF_OF_STAKE = 10 * CENT; // 10% per year

In the main.cpp file around line 1000 and should look something like this

int64_t GetProofOfStakeReward(int64_t nCoinAge, unsigned int nBits, unsigned int nTime, int64_t nFees)
hero member
Activity: 588
Merit: 500
May 16, 2015, 09:20:05 AM
#1
could anybody here be able to offer assistance on how pos is calculated? i have been searching through a few pos coins codes to see if i can find where the bulk of pos working is as i wish to try a few edits to it.
im really looking for the bit where it takes your balance available for pos and multiplys it by your pos reward
any and all help apreciated.
Jump to: