Bible Pay

Read 538182 times

  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Great I see several more sanctuaries created!

These are the steps that I took:

LINUX VPS
https://github.com/biblepay/biblepay/blob/master/BuildBiblePay.txt
(for linux VPS cold sanc)

WINDOWS DESKTOP
From Controlling wallet:
Sanc is called sancname
Sub your own masternode outputs
Sub your sanc’s own IP and port
Sub your own keys


Send 4 500 001 to address created in main wallet on Windows Desktop

In command line (ie Tools… Debug Console)
Masternode outputs
{“40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6”:”1”}

Create the entry in (your home path)\AppData\Roaming\Biblepay masternode.conf
sancname  142.47.109.69:40000 mnp 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6 1

then exec createsanc sancname  1

Output:

22:34:51   {
  "Command": "createsanc",
  "Summary": "Creating protx_register command for Sanctuary sancname  with IP 142.47.109.69:40000 with TXID 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6",
  "bls_public_key": "8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a4292",
  "bls_private_key": "40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95",
  "pro_reg_txid": "0300010001a8a15097145bdf8da35b1072a4c4ee531f66524f248fa3a4370f210b351d04f80000000000feffffff01c4df1703000000001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac0000000000d1010000000000c6771def714c64c47de6d146b64efdb4362bec56cc1599d0694aaad86205e9400100000000000000000000000000000000000000000072cbfd2df18676c6a6be384c1dd700466b1db44c8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a429272cbfd2df18676c6a6be384c1dd700466b1db44c00001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac3307696bf21e8c9cfb6080045b4baf8dad1614aa3ab289bb4f381a2722662d3200",
  "pro_reg_collateral_address": "B5FE5Y312sZeK2QY6ANkECBQpRHqMio223",
  "pro_reg_signed_message": "BRqedxYm24M4uAojESxf7wYDRZWt5CFQqB|0|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|3bc38c2ce6fdfd09f31fb56306483cc286babaa428cd36e22792808d11b12973",
  "pro_reg_signature": "IDMRZ6C4Fn4xGO60F75puzjPB4CottsGXmvfcPPTl6sPLyxp7HeoPcf9QXMvd5iO8L5oZfIrrlK5vIiFIu9uSlA=",
  "sent_txid": "3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0"
}

LINUX VPS
Copy the bls_privatekey to the biblepay.conf of the VPS cold sanc (ie linux)

masternodeblsprivkey=40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95   

restart biblepayd


WINDOWS DESKTOP

exec revivesanc sancname


22:51:00   exec revivesanc sancname

22:51:00   No funds at specified address (main wallet address) (code -32603)
<- send some funds to this address

22:53:20   exec revivesanc sancname

22:53:20   {
  "Command": "revivesanc",
  "Summary": "Creating protx update_service command for Sanctuary sancname  with IP 142.47.109.69:40000 with origin pro-reg-txid=3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0(protx update_service 3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0 142.47.109.69:40000 40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95).",
  "Results": "Sent sanctuary revival pro-tx successfully.  Please wait for the sanctuary list to be updated to ensure the sanctuary is revived.  This usually takes one to fifteen minutes."
}


Blessings
oncoapop
« Last Edit: August 12, 2023, 10:11:56 PM by oncoapop »


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Thanks for the update Oncoapop.

I got called to be best man at a wedding so things have been a little behind here, but I'm checking on this today.





  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Dear Rob,

As I have deleted my BMS directory, BMS no longer launches but a parallel version on my other desktop shows BiblePay v4.3.2 on the Chrometab and BiblePay Unchained v6.07 on the home page. The wallet shows the correct address BUT a balance of -1.00 BBP.

Interestingly, using the Phone service tab (Phone v.12), it correctly reports my Unchained BBP address (BAu...WRR) AND CORRECT balance (1,335,601... BBP), but fails to make a call as I am not logged in.

Also, when I purchase (Buy it now) NFT Lamb (2,514 BBP), my wallet is charged 2,514 BBP and 4.73 BBP but fails to appear under my NFTs as I am not logged in.

Blessings,
oncoapop

Theres got to be a reason its not upgrading from 4.3.2 to 6.5.2 - I sent you a DM about it and we can try a reinstall with reupgrade to see where it falters in the ugprade process.

So on the lamb, I added a piece of BL lately that stops a user from buying an NFT if they are not logged in but you have to be upgraded to see that.
Once you upgrade we can see if you can view the lamb in My NFTs.

In the near future we will be able to show the user more clearly that the node is upgrading (IE a message) and we can also enforce the new version when it has broken compatibility (IE when a major release is released, the node should stop working and show a clear message that it has to upgrade, otherwise it dies off).  I'm working on that.





« Last Edit: July 30, 2023, 01:55:42 PM by Rob Andrews »


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
We appear to have 91 sanctuaries created with 409.5 million BBP invested in these!

 
These are the steps that I took:

LINUX VPS
https://github.com/biblepay/biblepay/blob/master/BuildBiblePay.txt
(for linux VPS cold sanc)

WINDOWS DESKTOP
From Controlling wallet:
Sanc is called sancname
Sub your own masternode outputs
Sub your sanc’s own IP and port
Sub your own keys


Send 4 500 001 to address created in main wallet on Windows Desktop

In command line (ie Tools… Debug Console)
Masternode outputs
{“40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6”:”1”}

Create the entry in (your home path)\AppData\Roaming\Biblepay masternode.conf
sancname  142.47.109.69:40000 mnp 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6 1

then exec createsanc sancname  1

Output:

22:34:51   {
  "Command": "createsanc",
  "Summary": "Creating protx_register command for Sanctuary sancname  with IP 142.47.109.69:40000 with TXID 40e90562d8aa4a69d09915cc56ec2b36b4fd4eb646d1e67dc4644c71ef1d77c6",
  "bls_public_key": "8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a4292",
  "bls_private_key": "40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95",
  "pro_reg_txid": "0300010001a8a15097145bdf8da35b1072a4c4ee531f66524f248fa3a4370f210b351d04f80000000000feffffff01c4df1703000000001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac0000000000d1010000000000c6771def714c64c47de6d146b64efdb4362bec56cc1599d0694aaad86205e9400100000000000000000000000000000000000000000072cbfd2df18676c6a6be384c1dd700466b1db44c8e5a37a9b0da6e36db6f51e8de60464508ac9ae3ac5c5beafa90ce6242b85c873e3fbc02bbdb009526b10859508a429272cbfd2df18676c6a6be384c1dd700466b1db44c00001976a914ea9f5b86894312595dc834c888a5a98abdb1c4f488ac3307696bf21e8c9cfb6080045b4baf8dad1614aa3ab289bb4f381a2722662d3200",
  "pro_reg_collateral_address": "B5FE5Y312sZeK2QY6ANkECBQpRHqMio223",
  "pro_reg_signed_message": "BRqedxYm24M4uAojESxf7wYDRZWt5CFQqB|0|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|BEv51zCynSstEezBLfsN4gZVczo8ohZjsn|3bc38c2ce6fdfd09f31fb56306483cc286babaa428cd36e22792808d11b12973",
  "pro_reg_signature": "IDMRZ6C4Fn4xGO60F75puzjPB4CottsGXmvfcPPTl6sPLyxp7HeoPcf9QXMvd5iO8L5oZfIrrlK5vIiFIu9uSlA=",
  "sent_txid": "3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0"
}

LINUX VPS
Copy the bls_privatekey to the biblepay.conf of the VPS cold sanc (ie linux)

masternodeblsprivkey=40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95   

restart biblepayd


WINDOWS DESKTOP

exec revivesanc sancname


22:51:00   exec revivesanc sancname

22:51:00   No funds at specified address (main wallet address) (code -32603)
<- send some funds to this address

22:53:20   exec revivesanc sancname

22:53:20   {
  "Command": "revivesanc",
  "Summary": "Creating protx update_service command for Sanctuary sancname  with IP 142.47.109.69:40000 with origin pro-reg-txid=3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0(protx update_service 3f72d16d967f213be0f6110592092447438b0380a1ba645327d426920e1ba8c0 142.47.109.69:40000 40a5fc4d9f64cbd3d6ed738e0485427b5cd979f073b57417b4aaafc6aa205a95).",
  "Results": "Sent sanctuary revival pro-tx successfully.  Please wait for the sanctuary list to be updated to ensure the sanctuary is revived.  This usually takes one to fifteen minutes."
}


Blessings
oncoapop
« Last Edit: August 12, 2023, 10:10:17 PM by oncoapop »


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Just a friendly note, Oncoapop, in the inner text of the instructions, its supposed to be 4,500,001 for the collateral.



  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Sorry - amended. Thanks, Rob.

Just a friendly note, Oncoapop, in the inner text of the instructions, its supposed to be 4,500,001 for the collateral.


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Thank you for releasing the new BBP wallet version 0.17.3.8!

It reinstalls over the old and the previous issues were addressed!

1. Selecting Unchained from the wallet after install of the new version shows BMS upgrading and reinstalls BMS directory (which I previously deleted).
2. Unchained then loads in the (default, in my case Edge) browser and is automatically logged in with the correct BBP value in the address and Unchained version. All my NFTs are correctly displayed!
3. The phone works well and very clear from my BBP number to my Canadian cell phone! I can call the BBP number from my cell phone but I did not know it was ringing unless I had my browser window open and could see the pop up.
4. I also tried SMS which works both ways! This is great!

Congratulations on the success! Excellent work! Thank you!  :)

Blessings
oncoapop
« Last Edit: August 13, 2023, 06:56:15 AM by oncoapop »


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Thank you for releasing the new BBP wallet version 0.17.3.8!

It reinstalls over the old and the previous issues were addressed!

1. Selecting Unchained from the wallet after install of the new version shows BMS upgrading and reinstalls BMS directory (which I previously deleted).
2. Unchained then loads in the (default, in my case Edge) browser and is automatically logged in with the correct BBP value in the address and Unchained version. All my NFTs are correctly displayed!
3. The phone works well and very clear from my BBP number to my Canadian cell phone! I can call the BBP number from my cell phone but I did not know it was ringing unless I had my browser window open and could see the pop up.
4. I also tried SMS which works both ways! This is great!

Congratulations on the success! Excellent work! Thank you!  :)

Blessings
oncoapop

Hi Bro. Damian,

Hey thanks for testing this.  I'm so glad the bootloader works more professionally now (doesn't let the user hang if it needs to sync the initial files for the first time, or if it needs to upgrade.  It also kills straggling copies when it upgrades).

So I'm really happy you tested the phone, thank you sir.

SMS is still a work in progress; there are some issues with certain countries SMS to each other; I actually released that by accident, sorry.  I need to explain some of these goals; because they are rather complex now.  (For example, competing with Zoho and making an SSO for BBP users with an Outlook type inbox, etc).

I got your DM about the NFT... I'm going to debug that, it brings up some very good points.  I have a hunch that the 'common sense' used when we had ERC712 possibly some of those rules got lost when I moved back to native BBP; sigh, its a stressful situation.  On one hand I like the rigid interface of ERC20 NFTs but otoh I like it when BBP owns the NFT natively... Let me elaborate after I debug the specific issue.

I also owe a broad discussion on the roadmap.  You have some great ideas but we have limited resources.  I think what we need is to get this roadmap into a gantt chart and a project mgmt system with stories and epics so we can understand whats currently slated as compared to the potential wishlist, and we can also let the community (or possibly the Sancs) vote on what we do each quarter!

Thanks!
« Last Edit: August 15, 2023, 07:07:46 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
BIBLEPAY EXCHANGE ALERT


TXBIT.IO (Coin Exchange) is going out of business.



PLEASE WITHDRAW ALL COINS WITHIN 30 DAYS.







  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Sanctuary Block Sync feature


If you have the need to sync BBP blocks fast, you can download the chain from https://biblepay.org/blocks.zip.

(Useful if you have more than one sanc for example, and you want to spawn multiple copies of the chain to data directories).



  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Thank you, Rob. Perfect timing: I am going to try to resync using blocks.zip since the chain on 2/10 of my sancs on the temple has been halted >12 hours.

Output of `getblockcount` for each sanc
1.   444333
2.   444333
3.   444333
4.   444086 <---
5.   444333
6.   444333
7.   444333
8.   444333
9.   444159 <---
10.   444333

Mode(s) of the dataset: 444333

Sancs 4 and 9 are halted since 7:36 this morning. Time now 20:45

However, the 2 sancs in question report being ok:

Sanc 4
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1693214535,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true
}
and     
    "PoSePenalty": 0,
    "PoSeBanHeight": -1,
    "revocationReason": 0,

Sanc 9
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1693213491,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true
}
and
    "PoSePenalty": 0,
    "PoSeBanHeight": -1,
    "revocationReason": 0,

I only checked as you previously mentioned a similar issue. I don't remember any of my sancs going out of sync with each other previously, but I did not have this many sancs before and certainly not all on one VPS.

Furthermore, Sanc 4 mined blocks at 00:35 and 12:16 (the former maybe it was in sync but the later, I recorded that it was AFTER it was halted and lagged by at least 50 block at 7:35) and Sanc 9 mined blocks at 07:34 and 18:35 (I am sure that both times, Sanc 9 was out of sync as I recorded it was lagging at least by 50 blocks at 08:16).

Is there any mechanism to ensure sancs in a temple are in sync with one another? I caught this as I have a script (attached) to find the mode (most common ie consensus) height of the sancs in the temple and then flag any that deviate from this by at least 50 blocks.

Blessings,
oncoapop




Sanctuary Block Sync feature


If you have the need to sync BBP blocks fast, you can download the chain from https://biblepay.org/blocks.zip.

(Useful if you have more than one sanc for example, and you want to spawn multiple copies of the chain to data directories).
« Last Edit: August 31, 2023, 11:27:30 PM by oncoapop »


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BiblePay | 10% to Orphan-Charity | RANDOMX MINING | Sanctuaries (Masternodes)
« Reply #1436 on: September 03, 2023, 07:30:01 PM »
Thank you, Rob. Perfect timing: I am going to try to resync using blocks.zip since the chain on 2/10 of my sancs on the temple has been halted >12 hours.

Output of `getblockcount` for each sanc
1.   444333
2.   444333
3.   444333
4.   444086 <---
5.   444333
6.   444333
7.   444333
8.   444333
9.   444159 <---
10.   444333

Mode(s) of the dataset: 444333

Sancs 4 and 9 are halted since 7:36 this morning. Time now 20:45

However, the 2 sancs in question report being ok:

Sanc 4
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1693214535,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true
}
and     
    "PoSePenalty": 0,
    "PoSeBanHeight": -1,
    "revocationReason": 0,

Sanc 9
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1693213491,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true
}
and
    "PoSePenalty": 0,
    "PoSeBanHeight": -1,
    "revocationReason": 0,

I only checked as you previously mentioned a similar issue. I don't remember any of my sancs going out of sync with each other previously, but I did not have this many sancs before and certainly not all on one VPS.

Furthermore, Sanc 4 mined blocks at 00:35 and 12:16 (the former maybe it was in sync but the later, I recorded that it was AFTER it was halted and lagged by at least 50 block at 7:35) and Sanc 9 mined blocks at 07:34 and 18:35 (I am sure that both times, Sanc 9 was out of sync as I recorded it was lagging at least by 50 blocks at 08:16).

Is there any mechanism to ensure sancs in a temple are in sync with one another? I caught this as I have a script (attached) to find the mode (most common ie consensus) height of the sancs in the temple and then flag any that deviate from this by at least 50 blocks.

Blessings,
oncoapop

Hi Bro Oncoapop,

Glad you mentioned this; I observed the same conditions on my sancs (10%-15% halted at around the same block numbers, chain wont continue).
There is a lot of related detail to this answer.  First of all, the chain is healthy.  If a sanc gets halted at a block, that means its view of the chain wont allow it to continue due to InstantSend rules.
Since we have deterministic sancs enabled, LLMQ on, chainlocks On, instantsend On, there is a very high level of integrity to the chain itself (you cant add a block to the chain unless it passes the chainlocks rules for the whole supermajority).
However, an instantsend transaction that is 'questionable' can actually stop the chain on an individual sanc, if that sanc feels it is a dangerous lock.
I believe this is what happened because of Talismans transaction (certain sancs had it in memory) and when they get resyned with -erasechain=1, finally they are purged of the memory.
The other thing is with this Investor mode, we have a high level of sancs that are not keeping the quorums (because they are confused who to talk to), so without quorums, we have this propensity of not agreeing on IX tx's; when our quorums are "on", we all advance in lock step.
One other problem we have right now is since LLMQ quorums arent sticking, half of our investors are being paid full block rewards (in contrast to 50%).

Thankfully I believe there is a solution to all this without a mandatory upgrade.  Im releasing a mandatory upgrade for the sancs later today that should make the sancs lock in the LLMQs and place investors in their investor brackets more accurately; then we can reassess the situation.  The telltale sign is to check our LLMQ quorums over a couple weeks and see if we stay in quorum mode.

In the mean time, just relaunch any sanc that is out of sync with -erasechain=1. 
Both chainz and SX are not affected.

Thanks!


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BiblePay | 10% to Orphan-Charity | RANDOMX MINING | Sanctuaries (Masternodes)
« Reply #1437 on: September 03, 2023, 08:01:12 PM »
BiblePay 0.17.4.2
Mandatory Upgrade for Sanctuaries and Home Controller Wallets


- Add more robust POSE ban for investors (keep our quorums intact) and keep investor payments at 50%
- Add Investor pose status to masternodelist UI and masternodelist rpc command
- Added exec versionreport so we can see the % that have upgraded

** Note: On your self compiled sanctuary, you can simply type "git pull origin master && make -j4" to upgrade.  Then stop and restart all instances.


« Last Edit: September 04, 2023, 03:46:31 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4143


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: BiblePay | 10% to Orphan-Charity | RANDOMX MINING | Sanctuaries (Masternodes)
« Reply #1438 on: September 04, 2023, 03:36:36 PM »
Blast from the Past


We used to have an RPC command back in mid 2019 called "Version Report".  It was useful in determining how much of the network upgraded from one version of BBP to another.

I decided to throw that back in the code as it is useful right now to see when we get a supermajority of the sancs mining on v0.17.4.2 (meaning that the Investor payments will be reduced to 50% when this number gets closer to 90%+).

This report was just released in the latest version (above), but for now, I ran it:


15:32:51
exec versionreport


15:32:51
{
  "Command": "versionreport",
  "version_report": {
    "Version": "Popularity,Percent %",
    "1737": "100; 48.78%",
    "1738": "40; 19.51%",
    "1741": "65; 31.71%"
  }
}


This means that a supermajority of the sancs are still mining on old versions.

PS We actually need 70%+ to upgrade to 0.17.4.2 for the investor pay distribution feature to work correctly.






« Last Edit: September 04, 2023, 03:49:14 PM by Rob Andrews »


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: BiblePay | 10% to Orphan-Charity | RANDOMX MINING | Sanctuaries (Masternodes)
« Reply #1439 on: September 06, 2023, 04:18:04 AM »
The Linux binaries in biblepay-lin64.zip appear to only have  BiblePay.BMSD


 
BiblePay 0.17.4.2
Mandatory Upgrade for Sanctuaries and Home Controller Wallets


- Add more robust POSE ban for investors (keep our quorums intact) and keep investor payments at 50%
- Add Investor pose status to masternodelist UI and masternodelist rpc command
- Added exec versionreport so we can see the % that have upgraded

** Note: On your self compiled sanctuary, you can simply type "git pull origin master && make -j4" to upgrade.  Then stop and restart all instances.