Some BiblePay PoDC 2.0 miners are not receiving full payment.

Update 11 Jan 2020 – PODC 2.0 Bad transmission amounts – missing payments

Rob said

** PODC 2.0 Bad transmission amounts – missing payments **

So the lion’s share of the problem has been corrected related to bad gsc transmission stake amounts and missing payments (for all those who have enough collateral in the wallet).

Please restart your baseline from today if you missed a payment or had an invalid transmission.

The only issue we have left with PODC 2.0 is for those who don’t have enough collateral; the wallet does not reward the correct amount of RAC in that case in the leaderboard.  The problem has been corrected in the current version, but we have not required a mandatory sanctuary upgrade yet (hence the code is not running in prod yet).  I believe we will roll this out towards the end of the month.

Points issue

Some users that are currently crunching science tasks are reporting that their RAC (recent average credit) that should show up in the Leaderboard under the points column are showing with reduced points.1 Some have said this happens when your BBP required stake is less than what is required. The formula for a BBP team member is ^1.3 BBP required per RAC.

For team BiblePay the stake requirement is ^1.3 per RAC

For non-team BiblePay The stake requirement is ^1.6 per RAC. The only two PoDC 2.0 members currently on non-BBP team is pollux (GridCoin) and barton26 (GridCoin).

RACExponentBBP Stake Required

Boring geeky analysis

Corrupt SAN\wcg.rac file

There’s bad data in the wcg.rac

There’s repeated string values 1000 in the file which may be causing parsing errors.

Based on my observation, I think when user.xml is being processed, it lands in our biblepay san/wcg.rac as a corrupt file.

For example:

oncoapop3 showed a RAC of 171000446.350588 on 7 Jan 2020.

It should have been 17446.

and the wcg.rac file was encoded partly as having line endings with CR only (macOS) as line ending.

He worked around the issue by restarting the server. I think quitting biblepay, erasing wcg.rac in san folder, and restarting biblepay will also work

Screenshot of wcg.rac area that shows problem 1000 string















As the contents of wcg.rac changes (users added), where the string of 1000 falls changes

In performing my analysis, I took the output from leaderboard from the debug console:

I ended up creating a CSV file and importing it into Microsoft Access:


From there, I downloaded the BOINC statistics files from World Community Grid:

I downloaded user.gz and team.gz to join the various fields.

I joined the data to show the leaderboard with their respective user and team stats.

For the most part, most of the users “points” lined up with “expavg_credit” (RAC) as they shoud.

Some though — about five users — showed less points then they are supposed.

Some have tried to explain this away by saying they did not have enough stake.

So, even that I compared and only included those that had enough stake and where the leadership points and BOINC RAC had a variance greater than 10%.

That only led to about five users that fit all the criteria set forth.

c3939b61e69c6bde1eddb06708e0f96eBLENRYgVPwzfsrJoJNbvC537qMHsCVyeFUSunk57140.497479935006BiblePay15259702985/10/2018 16:38:182,420,813.42,168,026.2yes111.66%-1209.05%CheckCPK
70e573f0fa03b83de2c55dd0e407176bBNqyKkxVcx4njCqUZ7f9yq8ranXq8zV8sxw2m_151410.0162135006BiblePay157781754212/31/2019 18:39:025,978.34,275.8yes139.82%-340.43%CheckCPK
4bda4ec72734ca376ac70b71cd656de9BLEiLrEnHkjjPyjYJGW4LCHke8gEobmfDMxxburg800.0130035006BiblePay15782643571/5/2020 22:45:574,108.71,660.6yes247.43%-275.00%CheckCPK
9f184b91bc1fca221f3365297396179dB6BCPhgqbmt5FpmsKMTMePtBSxFaMZy4XFBBP_NICKNA760.0127435006BiblePay157768022612/30/2019 4:30:261,699.11,476.0yes115.12%-260.53%CheckCPK
c3ded44e062bd53de3fef22be5302fabBCtEy4v3orgsXTVbjYPe66pWAxsgjhMqpYsf7kkn9915380.13171835006BiblePay157757647412/28/2019 23:41:1418,791.616,052.0yes117.07%-11.70%CheckCPK

Transfer-Encoding: chunked

The hex value of 1000 in decimal is 4096. That is exactly how much bytes the chunks are in. This appears to be why the 1000 string is in the wcg.rac file.

It seems the wcg.rac is the raw output from the web server. The beginning of the wcg.rac file has the HTTP header.

Kestrel is web server implementation in ASP.NET Core.

HTTP/1.1 200 OK

Date: Fri, 10 Jan 2020 14:02:45 GMT

Server: Kestrel

Transfer-Encoding: chunked

Expires: Fri, 10 Jan 2020 14:32:45 GMT


When sending a chunked response, there’s no Content-Length: for the response to indicate its size. Instead, there’s a Transfer-Encoding: chunked header that tells curl there’s chunked data coming and then in the response body, the data comes in a series of “chunks”. Every individual chunk starts with the size of that particular chunk (in hexadecimal), then a newline and then the contents of the chunk. This is repeated over and over until the end of the response, which is signalled with a zero sized chunk. The point of this sort of response is for the client to be able to figure out when the responses has ended even though the server did not know the full size before it started to send it. This is usually the case when the response is dynamic and generated at the point when the request comes.

  1. Point is the same as RAC. Some users such as barton26 and bbpminer4 have reported dropping off the leaderboard entirely. I’ve verified that in some versions of wcg.rac their CPID is missing from the file.[]

Leave a Reply

Notify of