Bible Pay

TestNet => Active Discussions => Topic started by: Rob Andrews on December 06, 2018, 01:00:46 pm

Title: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 06, 2018, 01:00:46 pm
Welcome to the dedicated testing thread for Proof-of-Giving II (POG).

POG is a mining algorithm based on POW, POBH, Tithing to the foundation, an integrated mining pool, and some elements of POS.

Please see the following technical description:

https://wiki.biblepay.org/Proof-of-Giving-II

And the summary for beginners:
https://wiki.biblepay.org/Proof-of-Giving-for-Beginners

In summary, POG is integrated in the wallet, it is a mixed mining pool with 20% of the reward to the miner/80% reward split between the integrated pool recipients.  The pool participants are based on those who tithed to the foundation (helping our monthly orphan sponsorships) in the last 24 hours.  The tithe_weight for each user drives the pool block reward.

The Proof-of-giving difficulty level will be available in the wallet.
It will display:
min_coin_age:  This is the minimum age in days a coin is eligibile for tithing.
min_coin_amount: This is the minimum coin amount eligibile for tithing.
max_tithe_amount:  This is the maximum allowed tithe amount.

If you meet the conditions you may tithe and become part of the mining pool.
All of the "sowers" (those who tithed) will be rewarded 12 times per day (once every 16 blocks).
After paying the "reaper" (the block solving miner) 20% of the block reward, the remaining 80% will be split among the sowers.

POOL ROUND MECHANICS:
The POG pool is always 205 blocks wide (24 hours), meaning the tithe_weight's in the pool span from the current block back 205 blocks before the current block.

As an example, if sower A tithed at 11 AM yesterday, and sower B tithed at 10 AM today, and the current time is 10:30AM, these two sowers are in the pool.  However, a user who tithed 26 hours ago is NOT in todays pool.

As each block passes, the pool will pay 1/16th of the recipients based on the individual sowers Tier.  Each tithe is inducted into a tier based on the block # it was Tithed in (not according to its amount). 

So what you can expect as far as rewards:  You will receive 12 rewards per day if you have active tithes in the pool.  Once the tithe expires, you no longer have tithe_weight.


AUTOMATIC TITHING:

The wallet is set up to automatically tithe for you once every 4 hours.  The wallet will scan your available coins sorted by age and amount, and use the most applicable SINGLE COIN for a tithe automatically.  It will automatically send the Maximum amount possible.


MANUAL TITHING:


Method 1 - QT: To tithe manually, go to the QT send money page, and click Donate to foundation.  At this point the POG difficulty parameters will appear on the screen.  Select the appropriate tithe amount and click send.  If the coins are not old enough or high enough in value, an error will appear.

Method 2 - RPC:  From the RPC console, type 'exec tithe amount'.
If the tithe fails, a reason will be given.


CHECKING POG DIFFICULTY:

To see the difficulty parameters, type 'getmininginfo'.


CHECKING HISTORICAL POG GIVING:

Type 'showblock blocknumber'. 
See 24_hour_tithes, pog_difficulty, min_coin_age, min_coin_amt, max_tithe_amount.
The historical 24_hour_tithes will show the amount tithed in the last 24 hours.
The block_tithes will show how many legal tithes were inducted from that block.

CHECKING THE POOL:

Type 'exec pogpool'
This report will show the actual live POG POOL and everything in it.
In this pool, we have 16 payment tiers containing an even distribution of sowers (based on each individuals tithe_height).
This will show us the count and sum of tithes per tier. 
Note that if a sower's nickname is available, it will be listed here in place of the address.
(In the near future, we will summarize this list in a nicer way, this is basically a verbose list for debugging purposes).
You can also see the tithe totals, and at the bottom, the sum of your own personal tithes.

HOW TO SET NICKNAME:
In your biblepay.conf file set the key 'nickname=my_nickname' and restart the wallet.


WALLET VERSION:
Upgrade to 1.1.6.2+.  Start with '-testnet=1' flag.


RPC COMMANDS:

exec tithe tithe_amount min_coin_age min_coin_amount:
This command searches the wallet for coins older than min_coin_age and of greater value than min_coin_amount and tithes that single coin in an amount of "tithe_amount". 

exec getdimensionalbalance min_coin_age min_coin_amount
This command scans the local wallet for coins older than min_coin_age and min_coin_amount, and creates a report based on age and value.  You can use this command for debug purposes in testnet to find coins that may be applicable for manual tithing.  (And for debugging current tithe levels).

exec pogpool:
Use this command to see the current payment tiers (0-15).
You will see the user nickname, public receive address, tithe amount, tier, tithe_height.

Then you will see the total tithes per tier.
Then finally you will see the Highest tithe and the amount of personal tithes you have contributed.

exec bankroll quantity denomination:
This command allows you to generate 'quantity' of tithing BBP notes of 'denomination'.  Then you can let them age, and use them for tithing later.
Example: exec bankroll 50 5000, this command will spend 250,000 bbp (back to yourself), and you will receive 50 quantity of 5000 bbp notes.  At this point they will age, and they can be used for tithing.  Note:  We mark the bank notes with a 1millibbp suffix so that we can modify podc_update to skip spending these in the future.





TEST CASES:

1.  Verify that once a tithe is sent to the foundation, it can be seen in a historical block.  You may do this by sending a tithe, waiting for a confirm, then typing:  exec showblock blocknumber.  The fields near the bottom labeled pog_ will show if the tithe has been included in the block.

2.  Verify that sending more than one tithe in one 24 hour period results in increased tithe_weight for you.  And increased total tithes in the pool.

3.  Verify the integrity of the pool.  Audit the pool and reconcile the pool.

4.  Verify the difficulty level parameters per block and per 24 hour period.  Ensure difficulty algorithm is oscillating perfectly and properly according to the tithe history.

5.  Scan debug.log for any trace of "POG Recipients Invalid".  This error should not be in the log.

Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 07, 2018, 06:26:26 am
Will download & install today.

I don't know that we should use the same "tithe" button,  what if someone isn't mining and just wants to donate coin?
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 07, 2018, 10:34:54 am
Will download & install today.

I don't know that we should use the same "tithe" button,  what if someone isn't mining and just wants to donate coin?


Sorry guys - didn't mean to get everyone riled up - I didn't post it yet cause its "not quite ready"-
I'm testing this on my LAN now, (I checked it in so I can get it predeployed and preverified),
should be ready very soon, then I will make a post on the forum.

I need to add an exec bankroll option today, then I think it might be ready.

On the Tithe button, I think we can definitely add either an Are you Sure prompt, or another checkbox.  Ill add this issue to the punchlist for next week.  For now when you tithe from the UI, it tries to make it a Sower Tithe or it fails.  You can only donate to the foundation now by manually pasting the address in (if its more than the difficulty max).



Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 07, 2018, 01:56:26 pm
Regarding the coexistence of PODC + POG, where Thesnat raised the issue that PODC updates will spend the coin-age and consolidate the wallet:

I have one solution so far - this may not be the most elegant but I think it works for v1.0.  We will mark the bill denominations created in 'exec bankroll' with a suffix of ".000000001" (IE a 1milli_bbp suffix).  This suffix can be used in PODC_Update to determine if it should skip by those bills - and that saves   them for tithing.

Title: Re: Testnet - Test Proof of Giving
Post by: sunk818 on December 07, 2018, 03:55:57 pm
Can I change your validation rules and compile a new wallet to game pog? What counter measures exist to prevent this?
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 07, 2018, 04:00:56 pm
Can I change your validation rules and compile a new wallet to game pog? What counter measures exist to prevent this?

Validation rules would have to be accepted by the network, so changing 1 client would not have a significant impact.

Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 07, 2018, 04:11:11 pm
Can I change your validation rules and compile a new wallet to game pog? What counter measures exist to prevent this?

TheSnat is correct.

To expand on that, you cannot.  Why?  Because if you change the validation rules by .01 bbp, the pool will not agree with the other clients and you will fork onto your own chain.  (See InductLegalTithe).


You can try to game the system as a whale though, but I just added exec bankroll, so I dont think you will get very far in that endeavor.

Its almost ready, it passed the LAN test.

Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 07, 2018, 04:13:48 pm
1.1.6.2e - BiblePay - TestNet
Mandatory Upgrade for TestNet


POG2 is ready for testing!

Please, optionally set your nickname= in the config files.



PS - you should not need an addnode (testnet.biblepay.org) is compiled in the client.

PS II - We will need to bring some sanctuaries online also for later phases of testing - this is because to test all test cases, we must cover Sanc payments that have POG pool payments piggybacked in.  (IE the client has one code path for Missed sanc payments and another for Sanc payments).  Both of these have POG pool payments.  Superblocks are not as important (although we need to test them) but Im confident superblocks wont pay the POG recipients as Snat and I went through this recently for a different reason (superblocks pay the reaper only the entire heat reward).


*** WINDOWS HAS BEEN RELEASED ***

Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:01:12 am
where is any tutorial for it? this is harder understand like easy PODC

every 2nd word dont understand  >:(
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:18:42 am
this is questions:

MANUAL TITHING:


Method 1 - QT: To tithe manually, go to the QT send money page, and click Donate to foundation.  At this point the POG difficulty parameters will appear on the screen.  Select the appropriate tithe amount and click send.  If the coins are not old enough or high enough in value, an error will appear.

dont see anything DONATE FOUNDATION

Method 2 - RPC:  From the RPC console, type 'exec tithe amount'.
If the tithe fails, a reason will be given.

typed and

exec tithe amount
09:10:12
You must specify amount, min_coin_age (days), min_coin_amount.  IE: exec tithe 200 1 1000. (code -1)

what is this?




i tried

09:12:04
exec tithe 1000 1 1000
09:12:04
Unable to locate coins older than minimum_tithe_coin_age. (code -4)

next i tried
09:13:38
exec showblock blocknumber
09:13:38
{
  "Command": "showblock",
  "Error": "Unknown command: showblock"
}


then i tried

Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:19:23 am
nobody want this shit POG!!!!!!! this tutorial is shit,and big ..... pls stop posting this to BTT cos all will be lauging on it
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:20:16 am
tested 3 commands and 3 any bugs .... wonderfull  >:(
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:23:32 am
(https://i.imgur.com/oHFtK1O.png)  ::) ::) ::)
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:24:31 am
excellent forum,when i cant modify/editing old topics

what is minimum old coins in wallet? i have almost 3 months 300 000 bbp in wallet?
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:33:26 am
Quote
The Proof-of-giving difficulty level will be available in the wallet.
It will display:
min_coin_age:  This is the minimum age in days a coin is eligibile for tithing.
min_coin_amount: This is the minimum coin amount eligibile for tithing.
max_tithe_amount:  This is the maximum allowed tithe amount.

where will be? where i can find
1.min age
2.min amount
3.max amount

give here this simple commands,cos you are good coder,but very bad teacher
Title: Re: Testnet - Test Proof of Giving
Post by: MIP on December 08, 2018, 02:33:45 am
I'm preparing PPA in ppa:biblepay-official/testnet repository for the time that we start testing on linux sancs.
I'll update when it's ready.
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:55:49 am
my wallet missing in pogpool

(https://i.imgur.com/l8lxZOM.png)
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 02:56:40 am
but rewards receiving (https://i.imgur.com/HNqnV69.png)
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 08, 2018, 03:08:24 am
new info for newbies:

min_coin_age:  This is the minimum age in days a coin is eligibile for tithing.
min_coin_amount: This is the minimum coin amount eligibile for tithing.
max_tithe_amount:  This is the maximum allowed tithe amount.

this info you see in wallet when you type getmininginfo in DEBUG WINDOW

last 3

(https://i.imgur.com/t4lcNQ6.png)

Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 07:21:39 am
Wow Klondike ...  I appreciate your participation.   Give me a bit to look it over and i'll discuss with you via Instant Message.

Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 07:25:03 am
I'm preparing PPA in ppa:biblepay-official/testnet repository for the time that we start testing on linux sancs.
I'll update when it's ready.

Thanks I need this for something else I want to work on :)
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 07:49:36 am
I'm having issues syncing from the network.  Anyone else?
Title: Re: Testnet - Test Proof of Giving
Post by: MIP on December 08, 2018, 08:35:35 am
I'm preparing PPA in ppa:biblepay-official/testnet repository for the time that we start testing on linux sancs.
I'll update when it's ready.

Testnet packages ready

sudo add-apt-repository ppa:biblepay-official/testnet
sudo apt-get update
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 09:26:25 am
So initial thoughts:

Setup is ok,  I don't see auto-tithes yet (sent manual to be included in pool).


Currently a 2nd "new" wallet is unable to tithe, "Unable to locate coins older than minimum_tithe_coin_age"
With the most of the current tiers empty, I don't see the "plug and play" idea. 

"pog_difficulty": 286.012457168394,
  "pog_min_coin_age": 0.26,
  "pog_min_coin_amount": 110,
  "pog_max_tithe_amount": 298.7

The new wallet is failing the .26,   I think we need a more clear display (.26 day = 6.24 hours old)

I would also add a suggestion for the "coin control" window, adding coin age there would be helpful for those curious.


Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:11:06 am
So initial thoughts:

Setup is ok,  I don't see auto-tithes yet (sent manual to be included in pool).


Currently a 2nd "new" wallet is unable to tithe, "Unable to locate coins older than minimum_tithe_coin_age"
With the most of the current tiers empty, I don't see the "plug and play" idea. 

"pog_difficulty": 286.012457168394,
  "pog_min_coin_age": 0.26,
  "pog_min_coin_amount": 110,
  "pog_max_tithe_amount": 298.7

The new wallet is failing the .26,   I think we need a more clear display (.26 day = 6.24 hours old)

I would also add a suggestion for the "coin control" window, adding coin age there would be helpful for those curious.

On the plug & play, its still plug & play because you receive your coins from the faucet (or buy some) and you mine as a heat miner until you have coin-age, and when they age the POG background thread will auto tithe for you.  (We have to have this difficulty to prevent gaming the system).

I increased auto-tithe freq in testnet to 1 hour last night, need to see if its doing it.

So we need a way to see why you cant tithe on the UI.

Btw, to see if you can tithe manually, you should type 'exec getdimensionalbalance' with the same params as 'getmininginfo' shows on the screen.  Today  I will look into automating that for the user, and think of a way to put something on the UI showing why you cant tithe right now.

EDIT: Btw, its OK if all tiers or most are empty in POG2 since they are just payment tiers.  But empty tiers mean Huge profits for pog2 miners - if they stay empty, a 100 bbp tithe = something like 40,000 bbp reward.



Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:14:02 am
I'm having issues syncing from the network.  Anyone else?

Did it go away after a few mins, or was it just the clock?

EDIT: Also snat can u please add your nickname too ?
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:14:54 am
new info for newbies:

min_coin_age:  This is the minimum age in days a coin is eligibile for tithing.
min_coin_amount: This is the minimum coin amount eligibile for tithing.
max_tithe_amount:  This is the maximum allowed tithe amount.

this info you see in wallet when you type getmininginfo in DEBUG WINDOW

last 3

(https://i.imgur.com/t4lcNQ6.png)


Klondike will you please put your nickname in so we can see each other tithes in the pool?


Im going to put mine in now.


Ill be adding this feature Snat suggested today.

Let me know if you had any other problems.

Ill also add a special custom icon for a "POG Reward" today (in contrast to our DNA cancer cell).

Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 10:24:00 am
Did it go away after a few mins, or was it just the clock?

Took a while to re-sync (had no peers found error for a while).

Seems ok now though,  more clients will help to stabilize it.
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:26:02 am
Testnet packages ready

sudo add-apt-repository ppa:biblepay-official/testnet
sudo apt-get update

Thanks bro!

Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:26:36 am
Took a while to re-sync (had no peers found error for a while).

Seems ok now though,  more clients will help to stabilize it.

Thanks, can u please add nickname and re-tithe so I can see integrity of pool?
I just retithed.
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 10:30:51 am
Thanks, can u please add nickname and re-tithe so I can see integrity of pool?
I just retithed.
doing now on both wallets
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:34:40 am
Also, if anyone wants to test 'exec bankroll', I tested it and it works pretty good.  If anyone wants further explanation please ask.
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:35:25 am
doing now on both wallets

Firing up sanc #1 in testnet now.
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 10:39:19 am
Also, if anyone wants to test 'exec bankroll', I tested it and it works pretty good.  If anyone wants further explanation please ask.

I tried it, but it seems to be missing the .00000001 piece?
{
      "value": 500.00000000,
      "valueSat": 50000000000,
      "n": 1,
}
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 10:40:06 am
I tried it, but it seems to be missing the .00000001 piece?
{
      "value": 500.00000000,
      "valueSat": 50000000000,
      "n": 1,
}

Could u please give me the txid?  I see that but code looks good.
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 10:43:20 am
Could u please give me the txid?  I see that but code looks good.

e7f686a185cef1a786d81c593d4a623b5638a03cb13c611b11ee0085e6b6940a

Edit: 2nd wallet still doesn't meet coin_age so will use it as a test case for auto-tithe
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 11:05:36 am
e7f686a185cef1a786d81c593d4a623b5638a03cb13c611b11ee0085e6b6940a

Edit: 2nd wallet still doesn't meet coin_age so will use it as a test case for auto-tithe

Ok, I found the problem, will be fixed in next release (fixed).

Current version did have a bug.

Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 11:06:40 am
e7f686a185cef1a786d81c593d4a623b5638a03cb13c611b11ee0085e6b6940a

Edit: 2nd wallet still doesn't meet coin_age so will use it as a test case for auto-tithe

Yeah, if you type 'exec getdimensionalbalance 0 0' (or all zeroes it should say how old the coin is right now).
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 11:30:08 am
e7f686a185cef1a786d81c593d4a623b5638a03cb13c611b11ee0085e6b6940a

Edit: 2nd wallet still doesn't meet coin_age so will use it as a test case for auto-tithe


Ok, so on the auto-tithe feature, the miner will try to auto-tithe once every 4 hours.  I found a small bug in the current version where its not honoring the spork I set (at 1 hr); so that is fixed in the next version.

However, I did leave my testnet miner running all night and it did auto tithe @ 5am, so that appears to work.

Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 08, 2018, 03:41:18 pm
I've sent quite a bit of coin to the foundation, its only seeing 897, but have sent over 3k

Also, i'm curious with things so sparse, why am I lumped in tier #4 w/ another?




{
  "Command": "pogpool",
  "yNkUU4v33Y7je144SsjcibR5ULr8eviUVd": "Amount: 794.00, Weight: 1.0000, Payment_Tier: 15, Height: 83583, Address: yNkUU4v33Y7je144SsjcibR5ULr8eviUVd, NickName: slovakia",
  "ySwRWw1EEEMyGSz4iiWVAwryXbxBTumiPG": "Amount: 1009.00, Weight: 1.0000, Payment_Tier: 5, Height: 83493, Address: ySwRWw1EEEMyGSz4iiWVAwryXbxBTumiPG, NickName: randrews",
  "yaSJ9FdsPcQvGjyrzxVFUPjg6wkJBQwaxc": "Amount: 891.00, Weight: 0.6222, Payment_Tier: 4, Height: 83540, Address: yaSJ9FdsPcQvGjyrzxVFUPjg6wkJBQwaxc, NickName: thesnat1",
  "ydXPSPFWeoA9RUQoX6uBKmjnnJV6GxfwBa": "Amount: 255.00, Weight: 1.0000, Payment_Tier: 7, Height: 83415, Address: ydXPSPFWeoA9RUQoX6uBKmjnnJV6GxfwBa, NickName: jerky",
  "ygEXbdJhypUaVhYo5Q2jKATctQtVWL892K": "Amount: 541.00, Weight: 0.3778, Payment_Tier: 4, Height: 83540, Address: ygEXbdJhypUaVhYo5Q2jKATctQtVWL892K, NickName: slybaby",
  "0": "Count: 0, Total: 0.0000",
  "1": "Count: 0, Total: 0.0000",
  "2": "Count: 0, Total: 0.0000",
  "3": "Count: 0, Total: 0.0000",
  "4": "Count: 2, Total: 1432.0000",
  "5": "Count: 1, Total: 1009.0000",
  "6": "Count: 0, Total: 0.0000",
  "7": "Count: 1, Total: 255.0000",
  "8": "Count: 0, Total: 0.0000",
  "9": "Count: 0, Total: 0.0000",
  "10": "Count: 0, Total: 0.0000",
  "11": "Count: 0, Total: 0.0000",
  "12": "Count: 0, Total: 0.0000",
  "13": "Count: 0, Total: 0.0000",
  "14": "Count: 0, Total: 0.0000",
  "15": "Count: 1, Total: 794.0000",
  "High Tithe": 1009,
  "My Tithes": 891.42,
  "My Payment Height": 83585
}

Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 03:57:39 pm
I've sent quite a bit of coin to the foundation, its only seeing 897, but have sent over 3k

Also, i'm curious with things so sparse, why am I lumped in tier #4 w/ another?




{
  "Command": "pogpool",
  "yNkUU4v33Y7je144SsjcibR5ULr8eviUVd": "Amount: 794.00, Weight: 1.0000, Payment_Tier: 15, Height: 83583, Address: yNkUU4v33Y7je144SsjcibR5ULr8eviUVd, NickName: slovakia",
  "ySwRWw1EEEMyGSz4iiWVAwryXbxBTumiPG": "Amount: 1009.00, Weight: 1.0000, Payment_Tier: 5, Height: 83493, Address: ySwRWw1EEEMyGSz4iiWVAwryXbxBTumiPG, NickName: randrews",
  "yaSJ9FdsPcQvGjyrzxVFUPjg6wkJBQwaxc": "Amount: 891.00, Weight: 0.6222, Payment_Tier: 4, Height: 83540, Address: yaSJ9FdsPcQvGjyrzxVFUPjg6wkJBQwaxc, NickName: thesnat1",
  "ydXPSPFWeoA9RUQoX6uBKmjnnJV6GxfwBa": "Amount: 255.00, Weight: 1.0000, Payment_Tier: 7, Height: 83415, Address: ydXPSPFWeoA9RUQoX6uBKmjnnJV6GxfwBa, NickName: jerky",
  "ygEXbdJhypUaVhYo5Q2jKATctQtVWL892K": "Amount: 541.00, Weight: 0.3778, Payment_Tier: 4, Height: 83540, Address: ygEXbdJhypUaVhYo5Q2jKATctQtVWL892K, NickName: slybaby",
  "0": "Count: 0, Total: 0.0000",
  "1": "Count: 0, Total: 0.0000",
  "2": "Count: 0, Total: 0.0000",
  "3": "Count: 0, Total: 0.0000",
  "4": "Count: 2, Total: 1432.0000",
  "5": "Count: 1, Total: 1009.0000",
  "6": "Count: 0, Total: 0.0000",
  "7": "Count: 1, Total: 255.0000",
  "8": "Count: 0, Total: 0.0000",
  "9": "Count: 0, Total: 0.0000",
  "10": "Count: 0, Total: 0.0000",
  "11": "Count: 0, Total: 0.0000",
  "12": "Count: 0, Total: 0.0000",
  "13": "Count: 0, Total: 0.0000",
  "14": "Count: 0, Total: 0.0000",
  "15": "Count: 1, Total: 794.0000",
  "High Tithe": 1009,
  "My Tithes": 891.42,
  "My Payment Height": 83585
}


It takes a few blocks for your tithe to enter the pool, so please check that first.

As far as the tier, these are now Payment Tiers, and your particular tier is based on the hash of the block you last legally tithed in - and the sum of the tithes.  So you should see 3000 total tithes on your payment tier.  (So tiers dont fill in order - they are deterministically random - as to who gets into a tier).


Note - I fixed a couple bugs today, so please upgrade first.


Windows is building now.


Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 08, 2018, 04:00:05 pm
1.1.6.3 - Mandatory Upgrade for TestNet


- Added Tithability to the Send Coins UI (This shows your tithability parameters)
- Enhanced exec pogpool with more total fields
- Fixed a couple bugs that caused some tithes to not be counted properly
- Added the POG Reward icon
- Enhanced exec titheinfo with more info about your personal ability to tithe

** Windows has been deployed **
Title: Re: Testnet - Test Proof of Giving
Post by: MIP on December 09, 2018, 04:19:35 am
1.1.6.3 - Mandatory Upgrade for TestNet


- Added Tithability to the Send Coins UI (This shows your tithability parameters)
- Enhanced exec pogpool with more total fields
- Fixed a couple bugs that caused some tithes to not be counted properly
- Added the POG Reward icon
- Enhanced exec titheinfo with more info about your personal ability to tithe

** Windows has been deployed **

testnet PPAs are building now
Title: Re: Testnet - Test Proof of Giving
Post by: MIP on December 09, 2018, 10:57:54 am
testnet PPAs are building now

Ready to go.
Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 09, 2018, 11:34:36 am
my maxtithamount is still only 297 bbp and still stoped my rewarding? where is problem? thanks
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 09, 2018, 12:22:35 pm
my maxtithamount is still only 297 bbp and still stoped my rewarding? where is problem? thanks

Every 205 blocks, your old tithe is "expired" in the pool (that is one day).

However in testnet we have two minute blocks (roughly) so each day in testnet is like 4 days in prod, meaning you need to keep tithing to stay in the pool (at least once every 205 blocks).

Keep track of your tithe txids if you want to track them and Ill point out the issue exactly.

So far from my end everything looks OK - the pool audit passed btw without any flaws found or math errors.

Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 09, 2018, 12:31:55 pm
im still dont understand whats point for this

for newbie,when we start,what i have to do?

steps.

1.step  install bbp wallet
2.step  buy bbp from exchange or ie i have 330 000bbp in wallet
3.step  whats next?
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 09, 2018, 01:16:59 pm
im still dont understand whats point for this

for newbie,when we start,what i have to do?

steps.

1.step  install bbp wallet
2.step  buy bbp from exchange or ie i have 330 000bbp in wallet
3.step  whats next?


The difference is someone who buys 25000 bbp off the exchange can get started with POG almost instantly and receive mining rewards - wihtout buying expensive equipment or renting servers - their tithe total in 24 hours is the tithe_weight for the pool.  Its pretty simple to understand I think, as compared to understanding what you need to do to start PODC mining.

So the bbp miner single thread tries to send a tithe once every hour (this is a spork setting).  You can scan your log for (grep for) SendTithe.  In my case i have one exactly once per hour in the log with an error saying wallet unlock required (you need to leave your wallet unlocked in testnet if its encrypted).  I think in prod we may be able to either use the popup podc password to auto tithe.

Now do you get it?  In 24 hours all applicable tithes would be sent automatically, meaning the user is POG mining without learning anything.

Title: Re: Testnet - Test Proof of Giving
Post by: klondike on December 09, 2018, 01:20:21 pm
omg.....please answer me
what is next step when i have 330 000 tBBP in wallet ....

stop write balast about nothing ....  please stop....
Title: Re: Testnet - Test Proof of Giving
Post by: thesnat21 on December 09, 2018, 02:18:05 pm
I think we need to work out some UI controls for tithing..

I don't believe it should be auto-on.   Though this makes for easy participation I feel the user should intentionally start this process (or risk people thinking we're a scam / stealing coins).

Klondike: i'll talk with you on IM,  I think you are expecting more than is required.
Title: Re: Testnet - Test Proof of Giving
Post by: Rob Andrews on December 09, 2018, 04:29:52 pm
I think we need to work out some UI controls for tithing..

I don't believe it should be auto-on.   Though this makes for easy participation I feel the user should intentionally start this process (or risk people thinking we're a scam / stealing coins).

Klondike: i'll talk with you on IM,  I think you are expecting more than is required.

I dont really mind one way or another, but I actually thought "auto" would be the default, otherwise people will say we are intentionally trying to give the veterans more rewards.  But I see your point, I dont mind making the default =off, and we will require them to add 'tithing=auto' to the config for auto.

I did plan on thinking about a couple more controls also, like the tithe frequency.  They definiately should be able to override the default spork (which is 1 hr in testnet) by doing something like 'tithefrequency=86400' which would be equal to one day.

Let me know if you think of other controls, but we dont want to make it too complicated either. 


EDIT:

So for prod, I propose:

Default - if nothing set:
tithing=false
tithefrequency=spork_value_set_by_biblepay_devs

If a user sets them:

tithing=true
tithefrequency=Seconds_between_send


TitheCap:  Equal to 70% of our monthly POBH heat emissions (This gives miners a minimum of 30% profit on any day, and an unlimited max profit on a slow day)

Scope:  To expand POBH only for a few months, then we re-evaluate the impact this system made on bringing new users in the house.