Bitcoin Forum
May 04, 2024, 08:56:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: A little Help need with the staking pool  (Read 110 times)
sumair7230 (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
January 12, 2018, 10:21:03 AM
 #1

Hello i am looking to open a staking pool but there is one thing i dont get it

If there are 10000000abc coin and a for sure some would have deposit 1000abc some would have 10abc ...
so when ever i get stake how will i  decide how much balance i have to put in all those accounts who deposit in the pool , how will i know the % of abc coin holder ,

Thank you anyone who help me out

http://Coinsteacher.com a simple blog for simple readers .
1714813013
Hero Member
*
Offline Offline

Posts: 1714813013

View Profile Personal Message (Offline)

Ignore
1714813013
Reply with quote  #2

1714813013
Report to moderator
1714813013
Hero Member
*
Offline Offline

Posts: 1714813013

View Profile Personal Message (Offline)

Ignore
1714813013
Reply with quote  #2

1714813013
Report to moderator
1714813013
Hero Member
*
Offline Offline

Posts: 1714813013

View Profile Personal Message (Offline)

Ignore
1714813013
Reply with quote  #2

1714813013
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714813013
Hero Member
*
Offline Offline

Posts: 1714813013

View Profile Personal Message (Offline)

Ignore
1714813013
Reply with quote  #2

1714813013
Report to moderator
1714813013
Hero Member
*
Offline Offline

Posts: 1714813013

View Profile Personal Message (Offline)

Ignore
1714813013
Reply with quote  #2

1714813013
Report to moderator
1714813013
Hero Member
*
Offline Offline

Posts: 1714813013

View Profile Personal Message (Offline)

Ignore
1714813013
Reply with quote  #2

1714813013
Report to moderator
adroitful_one
Legendary
*
Offline Offline

Activity: 1568
Merit: 1041

1GhxHtabWhEpdb7e7oEJ2vd542n33BwTHR


View Profile
January 12, 2018, 11:42:05 AM
 #2

Hello i am looking to open a staking pool but there is one thing i dont get it

If there are 10000000abc coin and a for sure some would have deposit 1000abc some would have 10abc ...
so when ever i get stake how will i  decide how much balance i have to put in all those accounts who deposit in the pool , how will i know the % of abc coin holder ,

Thank you anyone who help me out

I would say you would run a while/wend statement on all users balances and get the percentage of their balance compared to the total balance. Then, you would just distribute the staking rewards based off of that percentage. For example. If the total balance is 1,000 coins and a user has 100 coins, his percentage is 10%. So if the staking rewards were 10 coins, that user gets 1 coin. Hope this helps.
sumair7230 (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
January 13, 2018, 09:47:07 PM
 #3

Hello i am looking to open a staking pool but there is one thing i dont get it

If there are 10000000abc coin and a for sure some would have deposit 1000abc some would have 10abc ...
so when ever i get stake how will i  decide how much balance i have to put in all those accounts who deposit in the pool , how will i know the % of abc coin holder ,

Thank you anyone who help me out

I would say you would run a while/wend statement on all users balances and get the percentage of their balance compared to the total balance. Then, you would just distribute the staking rewards based off of that percentage. For example. If the total balance is 1,000 coins and a user has 100 coins, his percentage is 10%. So if the staking rewards were 10 coins, that user gets 1 coin. Hope this helps.
i am talking how can i get each persons % easily ,

http://Coinsteacher.com a simple blog for simple readers .
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!