Bible Pay

Read 21667 times

  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #630 on: September 05, 2019, 09:13:39 am »
I switched off mine in the Vultr VPS. I made a snapshot so maybe I can take it back again.

Apart from that, what else do you need from me to test?

We need to have a reliable network of sanctuaries online to test LLMQs and Chainlocks. 




« Last Edit: September 15, 2019, 01:09:59 pm by Rob Andrews »


  • fenin0018
  • Newbie

    • 3


    • 0
    • July 23, 2018, 05:49:10 am
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #631 on: September 05, 2019, 10:08:33 am »
Hi everyone! I'm having a problem that I think It was been talked here but I can't get fix.
I'm solo mining and the issue is that just after mining a block, my wallet goes into invlaid ABN error and stops mining using 0%CPU. I dont know it wallet stops mining after mining one block for a period of time but it has been 17hours since ABN weight error and I have more than 125K o balance...
Could please someone clarify this matter to me.
Thanks!


  • fenin0018
  • Newbie

    • 3


    • 0
    • July 23, 2018, 05:49:10 am
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #632 on: September 05, 2019, 10:13:04 am »
Hi everyone! I'm having a problem that I think It was been talked here but I can't get fix.
I'm solo mining and the issue is that just after mining a block, my wallet goes into invlaid ABN error and stops mining using 0%CPU. I dont know it wallet stops mining after mining one block for a period of time but it has been 17hours since ABN weight error and I have more than 125K o balance...
Could please someone clarify this matter to me.
Thanks!

"blocks": 142961,
  "currentblocksize": 1342,
  "currentblocktx": 1,
  "difficulty": 2441.634648969612,
  "errors": "",
  "pooledtx": 0,
  "chain": "main",
  "genproclimit": 32,
  "networkhashps": 490250.214518697,
  "hashps": 0,
  "minerstarttime": "09-05-2019 14:56:46",
  "hashcounter": 0,
  "pooledtx": 0,
  "chain": "main",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "",
  "poolinfo5": "Internal ABN: Invalid 1567696257; ",
  "abninfo": "No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; ",
  "gsc_errors": "low abn weight 0",
  "poolmining": false,
  "pool_url": "",
  "required_abn_weight": 125000


  • oncoapop
  • Jr. Member

    • 83


    • 11
    • October 23, 2018, 12:31:17 pm
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #633 on: September 05, 2019, 11:33:12 am »
Thanks guys!

Yeah, one of my 3 was pose banned too.  I have been deliberately waiting to see if it revives by itself.

As the Dash-Evo code hints at an automatic revival process; but - when I read about people who were POSE banned, they generally recreate their nodes.  But that doesnt make too much sense to me, because there is a strict control on not being able to re-use the same IP.

I have one well known working method to undo a POSE ban - but its like using a cannon - you can spend the output and recreate the sanc using upgradesanc - and that is allowed - because the network sees it as spent and undoes the lock on it first - and allows recreation.

Before I recreate my third sanc, let me do some more expirimentation.

Thank you. Initially, the testnet sancs were enabled even when the entire VPS was off for extended periods of time; now when they temporarily drop connection, all of the sancs appear to be banned and none appear to gave recovered without intervention.

 sanc count
{
  "total": 6,
  "enabled": 0
}

Am I on the same chain as you, as all the sancs on this testnet chain appear banned?


  • oncoapop
  • Jr. Member

    • 83


    • 11
    • October 23, 2018, 12:31:17 pm
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #634 on: September 05, 2019, 12:23:41 pm »
Dear Rob,

Based on published data Ref: http://wiki.biblepay.org/Emission_Schedule
And the approx current output, I have calculated the approx BBP allocation based on current QT, can you please confirm? Thank you.

Planned emission   

                %                BBP
Total monthly    51,914,467.00
Per day                  1,730,482.23
Curr QT    0.6        1,038,289.34

Sanc          0.25         259,572.34
PoBHv2    0.25         259,572.34
SB(?)         0.10         103,828.93
GSC           0.40          415,315.74

GSC breakdown:
POG            0.475     197,274.97
POOM        0.475     197,274.97
HEALING    0.050      20,765.79


  • fenin0018
  • Newbie

    • 3


    • 0
    • July 23, 2018, 05:49:10 am
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #635 on: September 06, 2019, 04:05:30 pm »
"blocks": 142961,
  "currentblocksize": 1342,
  "currentblocktx": 1,
  "difficulty": 2441.634648969612,
  "errors": "",
  "pooledtx": 0,
  "chain": "main",
  "genproclimit": 32,
  "networkhashps": 490250.214518697,
  "hashps": 0,
  "minerstarttime": "09-05-2019 14:56:46",
  "hashcounter": 0,
  "pooledtx": 0,
  "chain": "main",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "",
  "poolinfo5": "Internal ABN: Invalid 1567696257; ",
  "abninfo": "No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696336; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; No block to mine...  Please wait... 1567696335; ",
  "gsc_errors": "low abn weight 0",
  "poolmining": false,
  "pool_url": "",
  "required_abn_weight": 125000

Does anyone understand this problem?


  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #636 on: September 15, 2019, 01:15:44 pm »
Thank you. Initially, the testnet sancs were enabled even when the entire VPS was off for extended periods of time; now when they temporarily drop connection, all of the sancs appear to be banned and none appear to gave recovered without intervention.

 sanc count
{
  "total": 6,
  "enabled": 0
}


Hi Oncoapop,

I see people have been replying to this thread; sorry, I was relying on an email notification and I didnt get one this time.

Anyhoo - Ill start with POSE.  The reason you were not banned for the first 99% of releases (Except, our last 3 releases!), is because, this branch, the dash .14 deterministic branch - has a major change compared to our Prod (.13) branch.  This branch POSE bans based on LLMQ quorum enforcement.

So the partial answer is - up til the last 3 releases - we did not have that spork enabled.  So your sancs were free to do anything they wanted (be off, anything).  The prod branch (.13) works a different way - those guys are banned based on Masternode Pings.

Moving on to the last two releases - at the point when we enabled LLMQs:  We now need 3 sanctuaries Keeping track of the network quorums (these are 60 minute heartbeats written into mined blocks).  They appear to be very strict.  But we also have had a network in tatters in testnet.  Im half tempted to change the block time back to 7 mins and have us start over!  Since we generated 200,000 empty blocks LOL.

Ill get back on and address some of these other things asap.  Im trying to finish some things up with BMS so we can merge that into a testnet thread also.


Ill restart my sancs and check the chain asap, also.

« Last Edit: September 15, 2019, 01:17:48 pm by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #637 on: September 15, 2019, 01:18:29 pm »
Does anyone understand this problem?

I believe we have determined your coin-age was the problem via PM but I cant quite remember  --   Has this been resolved now?

I think you just need more BBP in your wallet :(.

« Last Edit: September 17, 2019, 03:47:07 pm by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #638 on: September 17, 2019, 04:17:49 pm »
Dear Rob,

Based on published data Ref: http://wiki.biblepay.org/Emission_Schedule
And the approx current output, I have calculated the approx BBP allocation based on current QT, can you please confirm? Thank you.

Planned emission   

                %                BBP
Total monthly    51,914,467.00
Per day                  1,730,482.23
Curr QT    0.6        1,038,289.34

Sanc          0.25         259,572.34
PoBHv2    0.25         259,572.34
SB(?)         0.10         103,828.93
GSC           0.40          415,315.74

GSC breakdown:
POG            0.475     197,274.97
POOM        0.475     197,274.97
HEALING    0.050      20,765.79

Hi Oncoapop,

You almost have it perfectly right. 

Total monthly    51,914,467.00
Per day                  1,730,482.23
Curr QT    0.6        1,038,289.34

This is right, since we have 1.7MM per day emissions in 2019, with a QT level of 60%, that means we are emitting 692,193 per day (roughly) right now, yes.

On the block distribution, we recently had this change:
https://forum.biblepay.org/index.php?topic=435.0

Changing it to :

20% - Charity and Governance (this is our 10% to orphan-charity + 10% to IT/PR/P2P/etc)
25% - GSC (this is for POG + Healing + Poom)
35% - Sanctuary budget  (This is currently 25% as you stated above but changes to 35% on our next mandatory upgrade)
20% - POBH/Security (This is for POBH Heat mining)


On the GSC breakdown:
Yes, 47.5% for POG, POOM=47.5%, and healing .05%, yes exactly.

So this means on a given day:

Total Gross emissions before QT = 1.7MM, minus 60% QT equals a gross daily emission of 692,193. 
Out of this (692,193 * 35%) 242,267 would go to the sanctuary in the future.

On the GSC, we actually will escrow 45% per block in advance - to cover the monthly and daily GSC budget - but pay out about 330K per day (total) for GSC - this is because the single monthly payment is only once but 330K is paid daily.  The 330K daily plus the monthly superblock amount equals the 45% per block escrow amount.

The 20% POBH would be a standard calculation (692,193 * .20 = 138,438) per day.








  • sunk818
  • Full Member

    • 248


    • 7
    • April 24, 2018, 02:02:20 pm
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #639 on: September 17, 2019, 05:17:19 pm »
The 20% POBH would be a standard calculation (692,193 * .20 = 138,438) per day.


Hi Rob - Can you clarify something for me? When a block is mined, the split between miner and sanctuary is split evenly. The amount that is split varies based (I think) on the difficulty set by Dark Gravity Wave (DGW) algorithm. So, your figure of 692,193 comes from a fixed difficulty value of some sort? I would think the PoBH and Sanctuary split will adhere to their respective percentages, but amount being split is not a fixed known is it?


I had considered that with ABN (anti bot net) being so successful, if you've considered making mined block values to be fixed or to dwindle on a fixed schedule of some sort like Bitcoin. It feels like to me that the economics breakdown is easier to project without the difficulty variable. Easier to market, easier to predict BBP earnings, and you don't have to change documentation as often.


  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #640 on: September 17, 2019, 08:11:09 pm »
Thank you. Initially, the testnet sancs were enabled even when the entire VPS was off for extended periods of time; now when they temporarily drop connection, all of the sancs appear to be banned and none appear to gave recovered without intervention.

 sanc count
{
  "total": 6,
  "enabled": 0
}

Am I on the same chain as you, as all the sancs on this testnet chain appear banned?

So I was working on reviving my testnet nodes, and I agree, they all look banned.  The only reason I see 2 non-banned, is the local GUI on one of my banned sancs still has the old list. 

Anyway, I would like to notify everyone of this command.  I believe this is the command we need to unban a deterministic sanc without recreating it:

protx update_service proTxHash newIP:new_port masternodeblsprivKey


You can actually get all this info from the banned sanc itself (you can type masternode status, and get the IP, port, and original proTx hash, and you can get the blsPrivKey from the biblepay.conf on the sanc).  On a side note, if you want to do this from the controller, you can get the IP, port, blsPrivKey, and ProTxHash from the deterministic.conf.  So either should work to unban the node.  This command is also the one we use to Update an IP address for a non-banned sanc.

So, looking at the state of affairs, the reason the rest of the sancs are banned is because we failed to make the LLMQs correctly (with no minimum quorums).  The chain was in sync on 2 of my 3, so I believe we "would have" stayed in sync if we didnt lose the supermajority of our sancs.

Since MIP shut his down, and Oncoas is down, and mine need revived, I think we should take this opportunity to reset the testnet chain.
Primarily because I dont like the "666" trash that some joker transmitted, and of course, because we have 200,000 empty testnet blocks (therefore its harder to manage when we are away).

I think it would be best for us to slow the chain down to prod length blocks, and reset it and have us re-create our sancs at this point.

So in light of this please wait until the next version - it will need to be a mandatory upgrade (for testnet).

Thanks everyone for what you have already done!




  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #641 on: September 22, 2019, 09:04:40 pm »
BiblePay - TestNet
1.4.6.3-Mandatory upgrade for TestNet

- Add checkpoint @ 5000 to enforce new testnet chain
- Make enforcement of sanctuary port # configurable.  Set sanctuary port enforcement to OFF (false).  This allows us to test creation of new sancs on non-standard ports in both Mainnet & Testnet.
- Implement Sanctuary Raise (from 25% to 35%) and GSC budget reduction to 25% from 30% (https://forum.biblepay.org/index.php?topic=435.0) @ block 8400 in testnet & TBD in MainNet
- Merge Prod changes into Develop up to 1.4.4.7
- Switch TestNet to 7 minute blocks (1 min blocks up to block 5000 to get us started quickly)
- Change chainparams to enable deterministic DIPS at block 5000, QT at 5000, ABN at 5000, however DIP3 enforcement is set at block 8400 (this gives us 3400 blocks to set up deterministic sancs after block 5000); we must have 3 sanc LLMQ quorums after 8400
- Added Chinese bible reader to QT
- Added exec masterclock RPC command
- Added masternode genkey legacy command for Apollon - to help support deterministic sancs in this branch


We are on block 5500~ or so.




  • oncoapop
  • Jr. Member

    • 83


    • 11
    • October 23, 2018, 12:31:17 pm
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #642 on: September 23, 2019, 03:50:11 pm »
Starting testnet from scratch

cli getblockhash 5682
42358d51bdb4eba605c37d78c623b68febb3126f2bcaf77c9e5db92429ea603a

New address:
ye4XGGwV9wWupZMV1Fqaxi3KLoHmxKB27G

I cannot mine and accumulate tBBP due to ABN. Can you please send enough for setting up of Sancs if thatís required. Thank you.



  • oncoapop
  • Jr. Member

    • 83


    • 11
    • October 23, 2018, 12:31:17 pm
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #643 on: September 23, 2019, 06:06:58 pm »
Starting testnet from scratch

cli getblockhash 5682
42358d51bdb4eba605c37d78c623b68febb3126f2bcaf77c9e5db92429ea603a

New address:
ye4XGGwV9wWupZMV1Fqaxi3KLoHmxKB27G

I cannot mine and accumulate tBBP due to ABN. Can you please send enough for setting up of Sancs if thatís required. Thank you.

I have 5 VPS synced and ready.

http://oncoapop.sdf.org/biblepaytest/testnet_chainstate.shtml



  • Rob Andrews
  • Administrator

    • 2045


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #644 on: September 23, 2019, 08:42:36 pm »
Starting testnet from scratch

cli getblockhash 5682
42358d51bdb4eba605c37d78c623b68febb3126f2bcaf77c9e5db92429ea603a

New address:
ye4XGGwV9wWupZMV1Fqaxi3KLoHmxKB27G

I cannot mine and accumulate tBBP due to ABN. Can you please send enough for setting up of Sancs if thatís required. Thank you.

Thats awesome you are firing up 5!  Thanks!  Yeah, Im firing up 3 sancs + 1 controller, so we should have most of the bases covered this time.

I sent something like 12 mil-13 mil I believe to you.

EDIT:

I forgot an important note for everyone; Oncoa can you please do this also;
please delete your SAN/prayers*.* files and restart (just delete the whole directory SAN if you want), and then you will see that ABN isn't required.

This is because in testnet, our sporks are cached (until they get replaced with a new value).  Since we restarted the chain, the wallet thinks its still in ABN required mode.

(ABN is currently not required in testnet).

EDIT 2:

Yes, our hashes match, great job!

« Last Edit: September 23, 2019, 08:47:19 pm by Rob Andrews »