Bitcoin Forum
July 11, 2024, 02:50:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how pos works!!  (Read 542 times)
regtable69 (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
May 16, 2015, 01:20:05 PM
 #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.

http://ghettomining-co.in/net/coin 0% fee +potential block reward  https://discord.gg/NXDanPe net discord
http://ghettomining-co.in/ltc/coin 0% fee                                            https://discord.gg/kHekYc5 pool discord to sign up
http://ghettomining-co.in/waya/coin 0% fee
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 16, 2015, 11: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)
Sylon
Legendary
*
Offline Offline

Activity: 1568
Merit: 1169



View Profile
May 17, 2015, 01:25:02 AM
 #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
CoinThug
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
September 07, 2015, 07: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
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!