Bible Pay

Read 19653 times

  • Rob Andrews
  • Administrator

    • 2171


    • 29
    • 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

    • 2171


    • 29
    • 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
  • Developer

    • 230


    • 27
    • 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

    • 201


    • 6
    • 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

    • 2171


    • 29
    • 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

    • 38


    • 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
  • Sr. Member

    • 281


    • 10
    • April 24, 2018, 02:02:20 pm
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?


  • Rob Andrews
  • Administrator

    • 2171


    • 29
    • 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

    • 38


    • 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

    • 201


    • 6
    • 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
  • Sr. Member

    • 281


    • 10
    • April 24, 2018, 02:02:20 pm
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.


  • Rob Andrews
  • Administrator

    • 2171


    • 29
    • 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

    • 2171


    • 29
    • 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

    • 2171


    • 29
    • 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
  • Sr. Member

    • 281


    • 10
    • April 24, 2018, 02:02:20 pm
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).