Bible Pay

Read 2296 times

  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #15 on: January 20, 2018, 02:32:57 pm »
yfm4gbDunC1moMUwrQQSobgEnZHbshTTpK

...hmm...with balance "0" and "proof_of_loyalty_errors": "BALANCE TOO LOW TO STAKE" I receive 2times a mined bbp, who are "immature". It's OK?

Ok sent 500k.

Yes, that message is accurate, you have to have mature coins to stake.

Type: exec stakebalance to find your stake balance.

Now just wait about 24 hours for coin-age to accrue.



« Last Edit: January 20, 2018, 02:34:40 pm by Rob A. »


  • Hardijs
  • Newbie

    • 3


    • 0
    • January 20, 2018, 01:38:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #16 on: January 20, 2018, 02:45:44 pm »
Ok sent 500k.

Yes, that message is accurate, you have to have mature coins to stake.

Type: exec stakebalance to find your stake balance.

Now just wait about 24 hours for coin-age to accrue.

Thx, I got it now!


  • tiras
  • Jr. Member

    • 57


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #17 on: January 20, 2018, 03:44:35 pm »
yfm4gbDunC1moMUwrQQSobgEnZHbshTTpK

...hmm...with balance "0" and "proof_of_loyalty_errors": "BALANCE TOO LOW TO STAKE" I receive 2times a mined bbp, who are "immature". It's OK?

Hi Rob,  can you send me  some tBBP too  ?   thx

yUv5GqYM1XTJh9NDvY91guZpeMZanTjk6X


  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #18 on: January 20, 2018, 06:14:43 pm »
Hi Rob,  can you send me  some tBBP too  ?   thx

yUv5GqYM1XTJh9NDvY91guZpeMZanTjk6X
Sent a cool half mil.
 8)


  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #19 on: January 20, 2018, 06:15:33 pm »
we need for 24Hours now?
You probably dont you were on yesterday, so try getmininginfo, see if your Influence percent is > 0?



  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #20 on: January 20, 2018, 06:17:38 pm »
we need for 24Hours now?
Your IP (58) was banned, but I have 3 connections.  Did you start a fresh chain and 1083?  Because we need to know this system is not banning each other.

Edit: Looks like your chain had a different block at height 5:
2018-01-20 11:38:33 ERROR: ContextualCheckBlockHeader : incorrect proof of work at 5
2018-01-20 11:38:33 Misbehaving: 87.197.124.58:65491 (0 -> 100) BAN THRESHOLD EXCEEDED

Im going to sync one of my other nodes and see if I can join the party


« Last Edit: January 20, 2018, 06:39:00 pm by Rob A. »


  • tiras
  • Jr. Member

    • 57


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #21 on: January 20, 2018, 06:51:11 pm »
Sent a cool half mil.
 8)

thank you Sir !

now,  I have  533K tBPP .   hwo do I unlock the wallet for staking .  ( I didn't encrypt test wallet though )

Code: [Select]
19:48:45

getmininginfo


19:48:45

{
  "blocks": 1450,
  "currentblocksize": 1000,
  "currentblocktx": 0,
  "difficulty": 0.856879486408389,
  "errors": "",
  "genproclimit": 1,
  "networkhashps": 542348962.9804804,
  "hashps": 216.2240583635007,
  "minerstarttime": "01-20-2018 22:17:58",
  "ratio": 1,
  "hc1": 1956125,
  "bhc2": 3696925,
  "hashcounter": 1956125,
  "competetive_mining": true,
  "competetivemining_hash_counter": 2728245,
  "global_competetive_mining_tithe": 252,
  "competetive_mining_ratio": 1,
  "pooledtx": 0,
  "testnet": true,
  "chain": "test",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "WORKER ID EMPTY IN POOL CONFIG; ",
  "miningpulse": 670,
  "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"
}


  • klondike
  • Full Member

    • 140


    • -8
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #22 on: January 20, 2018, 06:59:38 pm »
Quote
{
  "blocks": 1454,
  "currentblocksize": 0,
  "currentblocktx": 0,
  "difficulty": 1.976088529731034,
  "errors": "",
  "genproclimit": 1,
  "networkhashps": 683646085.3454822,
  "hashps": 0,
  "minerstarttime": "1-1-1970 00:00:00",
  "ratio": 0,
  "hc1": 0,
  "bhc2": 0,
  "hashcounter": 0,
  "competetive_mining": true,
  "competetivemining_hash_counter": 0,
  "global_competetive_mining_tithe": 0,
  "competetive_mining_ratio": 0,
  "pooledtx": 0,
  "testnet": true,
  "chain": "test",
  "biblepay-generate": false,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "",
  "miningpulse": 0,
  "poolmining": false,
  "pool_url": "",
  "poolmining_use_ssl": false,
  "proof_of_loyalty_target_percentage": 1,
  "proof_of_loyalty_weight": 0,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": ""


  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #23 on: January 20, 2018, 08:07:42 pm »
thank you Sir !

now,  I have  533K tBPP .   hwo do I unlock the wallet for staking .  ( I didn't encrypt test wallet though )

Code: [Select]
19:48:45

getmininginfo


19:48:45

{
  "blocks": 1450,
  "currentblocksize": 1000,
  "currentblocktx": 0,
  "difficulty": 0.856879486408389,
  "errors": "",
  "genproclimit": 1,
  "networkhashps": 542348962.9804804,
  "hashps": 216.2240583635007,
  "minerstarttime": "01-20-2018 22:17:58",
  "ratio": 1,
  "hc1": 1956125,
  "bhc2": 3696925,
  "hashcounter": 1956125,
  "competetive_mining": true,
  "competetivemining_hash_counter": 2728245,
  "global_competetive_mining_tithe": 252,
  "competetive_mining_ratio": 1,
  "pooledtx": 0,
  "testnet": true,
  "chain": "test",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "WORKER ID EMPTY IN POOL CONFIG; ",
  "miningpulse": 670,
  "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"
}

The stakeminer in test requires 202 confirms, but only .01 hrs of coinage (in prod its 202 confirms ans 24 hours of coin age), so anyway since we have 1 minute blocks in testnet, you really only need to wait 202 blocks for insufficient funds to go away.

To find out how much funds you have "mature" for staking, type 'exec stakebalance'.  Thats unlocked mature stakeable coins.

Wait for that to be > 0 then do getmininginfo.  Look for POL percent to go above 0.

« Last Edit: January 20, 2018, 08:15:52 pm by Rob A. »


  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #24 on: January 20, 2018, 08:15:10 pm »


  • tiras
  • Jr. Member

    • 57


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #25 on: January 20, 2018, 08:35:12 pm »
The stakeminer in test requires 202 confirms, but only .01 hrs of coinage (in prod its 202 confirms ans 24 hours of coin age), so anyway since we have 1 minute blocks in testnet, you really only need to wait 202 blocks for insufficient funds to go away.

To find out how much funds you have "mature" for staking, type 'exec stakebalance'.  Thats unlocked mature stakeable coins.

Wait for that to be > 0 then do getmininginfo.  Look for POL percent to go above 0.

my stakebalance :


21:33:14
exec stakebalance
21:33:14
{
  "Command": "stakebalance",
  "StakeBalance": 67791
}

POL % :
"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 A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #26 on: January 20, 2018, 10:10:08 pm »
my stakebalance :


21:33:14
exec stakebalance
21:33:14
{
  "Command": "stakebalance",
  "StakeBalance": 67791
}

POL % :
"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"

Are all the recvd funds over 202 blocks old yet?



  • tiras
  • Jr. Member

    • 57


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #27 on: January 20, 2018, 11:28:08 pm »
Are all the recvd funds over 202 blocks old yet?

how do I check if the funds are old ?

they are all matured  except for the last one, if you meant this .
got deducted  the 1st POL payment:
Code: [Select]
Status: 73 confirmations
Date: 1/20/2018 22:38
Total debit: 0.00000000 tBiblepay
Total credit: 0.00000000 tBiblepay
Transaction fee: -0.00007600 tBiblepay
Net amount: -0.00007600 tBiblepay

Height: 1569
Difficulty: 2.080899
Time: 01-21-2018 03:38:43
Subsidy: 16857.2210
Proof-Of-Loyalty Weight: 20337.00


Code: [Select]
"proof_of_loyalty_target_percentage": 0.3,
  "proof_of_loyalty_weight": 8533,
  "proof_of_loyalty_influence_percentage": 0,
  "proof_of_loyalty_errors": ""
}

Code: [Select]
00:32:27

exec stakebalance


00:32:27

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


all transactions :

Code: [Select]
"Confirmed","Date","Type","Label","Address","Amount (tBiblepay)","ID"
"false","2018-01-20T22:38:43","Mined","","yZ5PUBembq6MeV26aSMQgeUhNHsj6LWaWH","16857.22099996","74906c914c6a97f94b198c16c9c3492fba452d711c5411e21b27624ef096e9b7-000"
"true","2018-01-20T22:38:43","Proof of Loyalty","","","-0.00007600","1e92482039372807b7b13f3592c87de699b90000524a59687adc1547f82d7fb4-000"
"true","2018-01-20T20:26:32","Mined","","yZ5PUBembq6MeV26aSMQgeUhNHsj6LWaWH","16872.52100000","3a8e175577ccd9b84b77314a27ad39266ba1c88a2d636eb5712fd040053ee2f7-000"
"true","2018-01-20T19:13:30","Received with","","yUv5GqYM1XTJh9NDvY91guZpeMZanTjk6X","500000.00000000","b1ca079e8a491c087998c93efd9c07b5d6f86180c8f6176af196285432fb9080-000"
"true","2018-01-20T18:59:36","Mined","","yZ5PUBembq6MeV26aSMQgeUhNHsj6LWaWH","16849.50200000","50e52fdf4d7900b60b3cbcb79e76ab58d279310e71a596affcbbb23e3b30e105-000"
"true","2018-01-20T17:54:12","Mined","","yZ5PUBembq6MeV26aSMQgeUhNHsj6LWaWH","16858.00200000","f26e88cfe9de7a5a68c0219cd6265c619ecadeb58084f087b8f6decae467f315-000"
"true","2018-01-20T17:16:01","Mined","","yeE8TU55jMstcU3bwPgnyreTPPo6xnV2zE","16864.80200000","a5ecb83e95582684db097f299e2691fa95e744406c1ec2dd574550e56eb1ed2c-000"
"true","2018-01-20T17:03:00","Mined","","yjBEd3FRgcYeuG8peLtcH89kXLRsxDTTR7","16852.05199999","ea933292cbb1b1efb9a1e47998f924f00c2291e82622afc5f626598e1439de05-000"


I guess the last mined block was POL :

Code: [Select]
Status: 88 confirmations, broadcast through 187 nodes
Date: 1/20/2018 22:38
Source: Generated
Credit: 16 948.14999996 tBiblepay (matures in 14 more blocks)
Net amount: 0.00000000 tBiblepay

Height: 1569
Difficulty: 2.080899
Time: 01-21-2018 03:38:43
Subsidy: 16857.2210
Proof-Of-Loyalty Weight: 7674.43

:
Transaction ID: 74906c914c6a97f94b198c16c9c3492fba452d711c5411e21b27624ef096e9b7-000

Generated coins must mature 102 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.



Debug information

Credit: 16 857.22099996 tBiblepay
Credit: 90.92900000 tBiblepay

Transaction:
CTransaction(hash=74906c914c, ver=1, vin.size=1, vout.size=3, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 0221060105)
    CTxOut(nValue=16857.22099996, scriptPubKey=2102c797735935262abf2feb6dfd02)
    CTxOut(nValue=90.92900000, scriptPubKey=2102c797735935262abf2feb6dfd02)
    CTxOut(nValue=0.00000004, scriptPubKey=76a9149cff090c148949e19f4ed915)

Inputs:
« Last Edit: January 20, 2018, 11:44:10 pm by tiras »


  • tiras
  • Jr. Member

    • 57


    • 1
    • September 01, 2017, 02:00:09 pm
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #28 on: January 21, 2018, 04:13:06 am »

my whole balance is staked now except for 2 last mined blocks:
{
  "Command": "stakebalance",
  "StakeBalance": 601703
}

details of the last  TX :
Code: [Select]
Status: 5/unconfirmed, broadcast through 12 nodes
Date: 1/21/2018 05:02
Source: Generated
Credit: 16 975.34999997 tBiblepay (matures in 97 more blocks)
Net amount: 0.00000000 tBiblepay

Height: 1842
Difficulty: 0.728086
Time: 01-21-2018 10:02:33
Subsidy: 16885.3310
Proof-Of-Loyalty Weight: 204131.92


  • Rob A.
  • Administrator

    • 1022


    • 15
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET TESTING THREAD - TESTING Proof-Of-Loyalty
« Reply #29 on: January 21, 2018, 09:52:24 am »
my whole balance is staked now except for 2 last mined blocks:
{
  "Command": "stakebalance",
  "StakeBalance": 601703
}

details of the last  TX :
Code: [Select]
Status: 5/unconfirmed, broadcast through 12 nodes
Date: 1/21/2018 05:02
Source: Generated
Credit: 16 975.34999997 tBiblepay (matures in 97 more blocks)
Net amount: 0.00000000 tBiblepay

Height: 1842
Difficulty: 0.728086
Time: 01-21-2018 10:02:33
Subsidy: 16885.3310
Proof-Of-Loyalty Weight: 204131.92

Go ahead and type 'showblock blocknumber'
for example: showblock 1842

And then you can see the POL fields - take a look at the POL age, and the POL weight
You had a weight of 204259 due to age being .40 and amount staked being 500,000.

But the influence on the network level was zero because of the current money supply level.
Everything appears to be working, but I do think we need to add in the "sanctuary locked funds" effect into the money supply to make this system much more accurate.  In summary, that means POL would become easier after I do that.

The theory is that in prod, we have 100 sancs now with locked supply.  Thats 100* 1.55M = 155M of locked funds out of a 350MM supply.  Thats a level of about 55% of the entire money supply.  Meaning that if we can add that accurate argument in to our GetMoneySupply, we could make a much more accurate boost level for POL.


We will probably need a patch for whatever sanc issue we have in prod.  After I take a look at that, Ill consider doing this at the same time.