Bible Pay

Read 6711 times

  • tiras
  • Jr. Member

    • 59


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #45 on: January 22, 2018, 09:31:50 pm »
Rob ,  do you need test wallets running  for now or we can shut them down until the next  test build ?


my current status :

exec stakebalance
{
  "Command": "stakebalance",
  "StakeBalance": 605039
}


  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 46178,
  "proof_of_loyalty_influence_percentage": 0,
« Last Edit: January 22, 2018, 10:12:16 pm by tiras »


  • jaapgvk
  • Hero Member

    • 590


    • 26
    • September 01, 2017, 08:02:57 pm
    • Netherlands
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #46 on: January 23, 2018, 02:21:45 am »
My staking seems to be buggy again:

Code: [Select]
"Command": "stakebalance",
  "StakeBalance": 477233

Code: [Select]
{
  "walletversion": 61000,
  "balance": 477233.94799278,
  "retirement_account_balance": 23732,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 33875.89999999,
  "txcount": 4447,
  "keypoololdest": 1508425662,
  "keypoolsize": 1001,
  "keys_left": 1000,
  "paytxfee": 0.00000000
}

Code: [Select]
"blocks": 3796,
  "currentblocksize": 1000,
  "currentblocktx": 0,
  "difficulty": 1.077559275214575,
  "errors": "",
  "genproclimit": 1,
  "networkhashps": 594220480.0499583,
  "hashps": 139.3632057089721,
  "minerstarttime": "01-21-2018 20:10:06",
  "ratio": 1,
  "hc1": 18143777,
  "bhc2": 31148577,
  "hashcounter": 18143777,
  "competetive_mining": true,
  "competetivemining_hash_counter": 17091120,
  "global_competetive_mining_tithe": 1246,
  "competetive_mining_ratio": 0,
  "pooledtx": 0,
  "testnet": true,
  "chain": "test",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "",
  "miningpulse": 3859,
  "poolmining": false,
  "pool_url": "",
  "poolmining_use_ssl": false,
  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 0,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": "INSUFFICIENT FUNDS, ENSURE WALLET IS UNLOCKED"


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #47 on: January 23, 2018, 08:37:46 am »
My staking seems to be buggy again:

Code: [Select]
"Command": "stakebalance",
  "StakeBalance": 477233

Code: [Select]
{
  "walletversion": 61000,
  "balance": 477233.94799278,
  "retirement_account_balance": 23732,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 33875.89999999,
  "txcount": 4447,
  "keypoololdest": 1508425662,
  "keypoolsize": 1001,
  "keys_left": 1000,
  "paytxfee": 0.00000000
}

Code: [Select]
"blocks": 3796,
  "currentblocksize": 1000,
  "currentblocktx": 0,
  "difficulty": 1.077559275214575,
  "errors": "",
  "genproclimit": 1,
  "networkhashps": 594220480.0499583,
  "hashps": 139.3632057089721,
  "minerstarttime": "01-21-2018 20:10:06",
  "ratio": 1,
  "hc1": 18143777,
  "bhc2": 31148577,
  "hashcounter": 18143777,
  "competetive_mining": true,
  "competetivemining_hash_counter": 17091120,
  "global_competetive_mining_tithe": 1246,
  "competetive_mining_ratio": 0,
  "pooledtx": 0,
  "testnet": true,
  "chain": "test",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "",
  "miningpulse": 3859,
  "poolmining": false,
  "pool_url": "",
  "poolmining_use_ssl": false,
  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 0,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": "INSUFFICIENT FUNDS, ENSURE WALLET IS UNLOCKED"


Its not really buggy though, well, let me explain the logic.  Im apprehensive about taking the message out "insufficient funds ensure wallet is unlocked", because we are going to have people out there with encrypted locked wallets.  Thats going to at least cause them to try to unlock the wallet for 900,000 seconds and attempt to stake.  Thats a different subject.

Your client attempts to stake 30% of your coin-age.  When it finds that percent of your wallet, 140,000 BBP over 202 confirms old, it then goes through and clears the error and makes a POL transaction inside the block. 

So its just basically trying once every minute to do that, and reporting the insufficient funds error.  I dont know Im sure we can make that a little clearer but I also dont want to pollute the code.

So technically its working as soon as it has enough age.  If you go through your 24 hour history you will probably find one POL every so many hours.

Not sure if you all are using the biblepay-qt wallet for this, but its easier to see the tx list with POL in QT.  In the next version I do label the listtransactions with POL.



  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #48 on: January 23, 2018, 08:40:14 am »
Rob ,  do you need test wallets running  for now or we can shut them down until the next  test build ?


my current status :

exec stakebalance
{
  "Command": "stakebalance",
  "StakeBalance": 605039
}


  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 46178,
  "proof_of_loyalty_influence_percentage": 0,




I would go ahead and review how many POLs you got but then just shut it down.

Ive got the new version about 95% ready, but I need to finalize a pool feature to address the naysayers in prod with that, then release it all at the same time.  The ETA is before the end of the day today.

Thanks for testing!



  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #49 on: January 23, 2018, 08:53:07 am »
Jaap,

I thought about it and maybe your right- I think the issue is exec stakebalance shows coins over 24 hours old, but the stakeminer requires 202 confirms + over 24 hour old.

Let me adjust exec stakebalance, and the error message to be clear when user has no coins to stake.  That wont pollute anything and it will make it clearer.


Disregard most of what I said except the part the reveals the issue.

Thanks for pointing out the problem.




  • tiras
  • Jr. Member

    • 59


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #50 on: January 23, 2018, 09:33:07 am »



I would go ahead and review how many POLs you got but then just shut it down.

Ive got the new version about 95% ready, but I need to finalize a pool feature to address the naysayers in prod with that, then release it all at the same time.  The ETA is before the end of the day today.

Thanks for testing!


 why proof of loyalty weight dropped   from 153108 to 131920 ??

  "StakeBalance": 605039  didnt change .


Code: [Select]
09:43:26
  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 153108,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": ""
}


10:27:01

getmininginfo


10:27:01
  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 131920,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": ""
}


10:27:11

exec stakebalance


10:27:11

{
  "Command": "stakebalance",
  "StakeBalance": 605039
}


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #51 on: January 23, 2018, 11:20:02 am »

 why proof of loyalty weight dropped   from 153108 to 131920 ??

  "StakeBalance": 605039  didnt change .


Code: [Select]
09:43:26
  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 153108,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": ""
}


10:27:01

getmininginfo


10:27:01
  "proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 131920,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": ""
}


10:27:11

exec stakebalance


10:27:11

{
  "Command": "stakebalance",
  "StakeBalance": 605039
}


Weight = coin_age * amount.


If you look at your last POL block, using showblock blocknumber, you can then read the internal characteristics of the age and the amount.




  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #52 on: January 23, 2018, 12:18:29 pm »

1.0.8.4-Leisure for Prod
Mandatory for TestNet
Mandatory for Pool Miners to upgrade before block 27500

Production:
- Enhanced pool protocol required for submitting pool solutions (goes live on block 27500)

Test:
- Money Supply estimate fixed to include sanctuaries
- POL StakeMiner verbose errors
- More granular POL weight
- 16 minute late block threshhold (for future 7 min blocks in prod)
- Fix for superblock budget amount to be based on 1.5 Diff





« Last Edit: January 23, 2018, 01:02:55 pm by Rob A. »


  • klondike
  • Full Member

    • 175


    • -13
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #53 on: January 23, 2018, 01:07:30 pm »
i have

{
  "Command": "stakebalance",
  "StakeBalance": 3232762
}


but my pol doesnt working  :-\


is any problem with peers on v183 testnet i cant connect to any peerers and i cant mining with new version:  config setuped and setgenerate true doesnt working too
« Last Edit: January 23, 2018, 01:18:55 pm by klondike »


  • jaapgvk
  • Hero Member

    • 590


    • 26
    • September 01, 2017, 08:02:57 pm
    • Netherlands
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #54 on: January 23, 2018, 03:14:14 pm »
i have

{
  "Command": "stakebalance",
  "StakeBalance": 3232762
}


but my pol doesnt working  :-\

is any problem with peers on v183 testnet i cant connect to any peerers and i cant mining with new version:  config setuped and setgenerate true doesnt working too

You still can't mine? I just updated and I can mine. I have 1 connection.


  • klondike
  • Full Member

    • 175


    • -13
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #55 on: January 23, 2018, 05:36:09 pm »
im mining now ...



  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #56 on: January 23, 2018, 07:26:08 pm »
Are we on the same chain:


19:24:18

getblockhash 4437


19:24:18

5f4a1003c7fff57dbb52bd774a2ecdec696755ba5bf0a0b382f9c2245e98a8bf


Btw, if anyone cant sync up to 4437, I pushed an optional linux upgrade (1084c) out that grandfathers the testnet client up to block 4437.

Windows unfortunately is hosed for tonight (unless you already synced past 4400 then you are OK).



  • jaapgvk
  • Hero Member

    • 590


    • 26
    • September 01, 2017, 08:02:57 pm
    • Netherlands
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #57 on: January 24, 2018, 01:17:01 am »
Are we on the same chain:


19:24:18

getblockhash 4437


19:24:18

5f4a1003c7fff57dbb52bd774a2ecdec696755ba5bf0a0b382f9c2245e98a8bf


Btw, if anyone cant sync up to 4437, I pushed an optional linux upgrade (1084c) out that grandfathers the testnet client up to block 4437.

Windows unfortunately is hosed for tonight (unless you already synced past 4400 then you are OK).

I'm on the same chain. I only have one connection though (87.197.*.*). I'm on Linux with the GUI wallet now :)


  • klondike
  • Full Member

    • 175


    • -13
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #58 on: January 24, 2018, 02:09:28 am »
87 its me and my POS working perfect now

stakebalance will be raise or?  my stake balance falling


"StakeBalance": 15696
"StakeBalance": 9372
« Last Edit: January 24, 2018, 02:22:14 am by klondike »


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #59 on: January 24, 2018, 09:24:29 am »
87 its me and my POS working perfect now

stakebalance will be raise or?  my stake balance falling


"StakeBalance": 15696
"StakeBalance": 9372


Stakebalance drops after you stake a POL block (run the ./biblepay-qt -testnet gui version to see the tx list), then it slowly rises as coin-age accrues again.

If you want to see the effect better, set your polpercentage=0, restart, then watch it rise, then go back and set it to =100 then watch it get hammered down.


Stakebalance is just your mature stakeable coins with > 24 hours of coin-age.