Bible Pay

Read 308753 times

  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #375 on: January 21, 2019, 08:10:57 AM »
** Very Important Alert **


So while getting ready to create a release candidate for prod, I started checking the logs, and I found one problem in POG - don't get too alarmed, it's minor, but requires another upgrade and another round of testing unfortunately.

There were two blocks that were rejected by everyone - that fortunately has enough forensic evidence in the log for me to see whats 'potentially' wrong.  (That will be a challenge to fix this in one release), the issue appears to be a rounding issue in satoshi, when we reach a scale of more than 4 digits (for each pool recipient).  What I plan on doing is making the pool round off the payment amount and making the blockchecker check the rounded amount.

Sorry for the inconvenience but we must go through this to create a quality product with no errors in prod.

Please, keep your eyes peeled and upgrade as soon as possible so we can potentially wrap this up before the end of January and have our mandatory upgrade.

The new version should be ready in about 4 hours or so.



  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #376 on: January 21, 2019, 12:26:35 PM »
1.1.8.3-Mandatory Upgrade for TestNet


- Highlight user in POG leaderboard UI
- Fix bug in POG block checker (IE compare rounded amounts) before
failing a block
- Add POG Leaderboard to toolbar menu

** Note:  Please upgrade as this version hangs up on old clients **


  • MIP
  • Sr. Member

    • 368


    • 47
    • February 13, 2018, 11:55:52 AM
    more
Re: Testnet - Test Proof of Giving
« Reply #377 on: January 22, 2019, 04:10:05 AM »
1.1.8.3-Mandatory Upgrade for TestNet


- Highlight user in POG leaderboard UI
- Fix bug in POG block checker (IE compare rounded amounts) before
failing a block
- Add POG Leaderboard to toolbar menu

** Note:  Please upgrade as this version hangs up on old clients **

MacOS testnet version ready and Ubuntu testnet PPAs building now


  • orbis
  • Full Member

    • 215


    • 7
    • February 08, 2018, 04:37:14 PM
    more
Re: Testnet - Test Proof of Giving
« Reply #378 on: January 22, 2019, 11:51:53 AM »
Your WAN has high latency and is slow - because all our IPFS nodes are in the US.

You either have to increase your US wan speed or run an ipfs node in Slovakia.  Dont jump on the Slovakian node too fast though because one of our other intermediate IPFS goals is making an IPFS DNS server with a swarm key and thats not done yet, so no sense in trying to hurry and volunteer for one in your region yet.
Thanks. Is there any guide for IPFS server? Is it just usual IPFS server or it needs some special thinks for Biblepay?

I've asked Slovakia to test his acces time to Business lists and his experience is very similar.
He even tell me that orphan list didnt show (but for me it is with time more than 60s so maybe he didnt wait enough :))
So it definitelly looks to problem with servers in US and it's too far for us (with latency).
I've found that IPFS server is 207.148.5.184:8080 but I wasn't able to test access times because it loks that PING is blocked ;)
But through page https://www.dotcom-tools.com/web-server-performance-test.aspx I've found access times from different world locations and it looks that avg access time from Europe is 300ms which is very similar to my peer list avg ping time. So it looks that most of my peers are from US :D


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #379 on: January 22, 2019, 06:37:32 PM »
Thanks. Is there any guide for IPFS server? Is it just usual IPFS server or it needs some special thinks for Biblepay?

I've asked Slovakia to test his acces time to Business lists and his experience is very similar.
He even tell me that orphan list didnt show (but for me it is with time more than 60s so maybe he didnt wait enough :))
So it definitelly looks to problem with servers in US and it's too far for us (with latency).
I've found that IPFS server is 207.148.5.184:8080 but I wasn't able to test access times because it loks that PING is blocked ;)
But through page https://www.dotcom-tools.com/web-server-performance-test.aspx I've found access times from different world locations and it looks that avg access time from Europe is 300ms which is very similar to my peer list avg ping time. So it looks that most of my peers are from US :D

Thanks a lot.

So running an IPFS node in Slovakia is not too hard but it does require a few things not out yet (but are almost out).
The IPFS node requires some changes to the config, it requires a swarm key (this means the node only talks to biblepay IPFS nodes and saves disk space for BiblePay only files), IPFS DNS server, and potentially some type of IPFS reward from the future Christian superblock payment (thats the part not done yet).

So before we can actually deploy one we need to write a Wiki explaining this and release the DNS and swarm key at a minimum.  Ill keep you updated as this gets closer.  Im going to try to get this phase completed by March 30th 2019.



  • madmurphy
  • Newbie

    • 18


    • 4
    • January 01, 2018, 07:50:31 PM
    • Manchester, England
    more
Re: Testnet - Test Proof of Giving
« Reply #380 on: January 23, 2019, 06:18:39 AM »
Can anyone confirm that they have testnet running as I am showing out of sync by 4 hours as of posting this.

Only transactions that seem to be happening are outgoing nothing incoming.


  • sunk818
  • Developer

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: Testnet - Test Proof of Giving
« Reply #381 on: January 23, 2019, 09:51:11 AM »
I'm on 1183 but all tx seem to be ? since about 7-8 hours ago. Strange.

Also, If someone has same nickname, how do you know you are chatting with the correct person? I could pose as someone else and then you are not chatting with the person you think you are.

Can we maybe have a shortname created from our tithe address. Maybe 6 characters that a hash of the hash that uniquely identifies us from the rest of the blockchain?
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #382 on: January 23, 2019, 12:07:49 PM »
Can anyone confirm that they have testnet running as I am showing out of sync by 4 hours as of posting this.

Only transactions that seem to be happening are outgoing nothing incoming.

Here is the hash:


12:07:36

getblockhash 110000


12:07:36

f45a1ce036cc0e5e0edf5ca4ccf2086248b307c0dbdc1fe2fcc818e5b100e503


Yes, all my nodes are synced with 5 pog participants.

As far as "?" marks in your tx list, that means you havent cleared your orphan tx's with -zapwallettxes=1 yet.



  • madmurphy
  • Newbie

    • 18


    • 4
    • January 01, 2018, 07:50:31 PM
    • Manchester, England
    more
Re: Testnet - Test Proof of Giving
« Reply #383 on: January 23, 2019, 12:21:50 PM »
I did that


18:17:21

getblockhash 110000


18:17:21

f45a1ce036cc0e5e0edf5ca4ccf2086248b307c0dbdc1fe2fcc818e5b100e503

now 10 hours out of sync restarted several times but still out of sync


  • orbis
  • Full Member

    • 215


    • 7
    • February 08, 2018, 04:37:14 PM
    more
Re: Testnet - Test Proof of Giving
« Reply #384 on: January 23, 2019, 12:37:33 PM »
I'm on 1183 but all tx seem to be ? since about 7-8 hours ago. Strange.
I am on the same...
I'm stucked on block 110107. I've tried reindex and rescan but "?" txs are still there.
My tithes are going out but didnt show on pog leaderboard.
BTW: Rob POG leaderboard looks with highlight good now ;)


  • sunk818
  • Developer

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: Testnet - Test Proof of Giving
« Reply #385 on: January 23, 2019, 02:36:07 PM »
As far as "?" marks in your tx list, that means you havent cleared your orphan tx's with -zapwallettxes=1 yet.

i tried with -zapwallettxes=1 and then tried the more destructive -zapwallettxes=2 ... The tx with the ? disappeared, but then new ones are appearing. I already lost all my coin age with zapwallettxes=2 but I may have to salvage my wallet.dat and blow everything away and start over.
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #386 on: January 23, 2019, 05:19:43 PM »
I did that


18:17:21

getblockhash 110000


18:17:21

f45a1ce036cc0e5e0edf5ca4ccf2086248b307c0dbdc1fe2fcc818e5b100e503

now 10 hours out of sync restarted several times but still out of sync

Oh your right, sorry.
So looking at the problem, my fix for this mandatory version did not work (another words it wasn't the rounded payments that was the problem).

I believe the problem has finally revealed itself (I cant guarantee this is our 'last' mandatory upgrade), but we do need another upgrade.


Im building windows now... Please hang on; it should be ready around 9 pm CST.




  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #387 on: January 23, 2019, 05:21:01 PM »
i tried with -zapwallettxes=1 and then tried the more destructive -zapwallettxes=2 ... The tx with the ? disappeared, but then new ones are appearing. I already lost all my coin age with zapwallettxes=2 but I may have to salvage my wallet.dat and blow everything away and start over.

1) Ive never used zapwallettxes=2, also, I dont recommend it.
2) You dont lose coin age by rebuilding your wallet.


  • Rob Andrews
  • Administrator

    • 4154


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: Testnet - Test Proof of Giving
« Reply #388 on: January 23, 2019, 05:21:44 PM »
I am on the same...
I'm stucked on block 110107. I've tried reindex and rescan but "?" txs are still there.
My tithes are going out but didnt show on pog leaderboard.
BTW: Rob POG leaderboard looks with highlight good now ;)

Thanks- this version was a dud!



  • sunk818
  • Developer

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: Testnet - Test Proof of Giving
« Reply #389 on: January 23, 2019, 05:38:41 PM »
1) Ive never used zapwallettxes=2, also, I dont recommend it.
2) You dont lose coin age by rebuilding your wallet.

when zapwallettxes=1 doesn't work, I will sometimes do zapwallettxes=2

not related to biblepay, but I was able to recover lost funds using =2 on a different altcoin, so it has its place when a reindex fails.

Glad to hear 1183 was a dud because I was about to pull my hair out (what little I have left of it).
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ