Bible Pay

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rob Andrews

Pages: 1 ... 173 174 175 176 177 178 179 [180] 181 182 183 184 185 186 187 ... 263
2686
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 23, 2018, 12:23:34 PM »
So TheSnat & I tested chat and it appears to work.  I've been monitoring for Illegal tithes and POG recipients invalid and I believe we have squashed those two bugs.

I havent heard of any possible attack vectors with POG, and it appears to be relatively solid now.  No community member has been able to challenge the algorithm for flaws, or further the assessment (that it wont be possible to design or test a new novel algorithm).  I think we have designed and tested a new novel algorithm and we are now in the final stretch of testing.  As far as stress testing it, my stress test passed (diff peaked and dropped after working through).   

The system relies on us paying approx 100K per day in miner heat rewards, and accepts approx 50K per day in donations.  You have to be careful as a giver not to give all your tithes in one block or you will incur a net loss (which, could be viewed as a positive as we dont want to reward hogs as we are a Christian Crypto).  Small givers who end up in multiple tiers per day will be more profitable.

So what I plan on doing next is taking the training wheels off.  We have been logging violations of invalid pog recipients - but not enforcing those in testnet so as to not fork.  By taking the wheels off I mean we will start enforcing those conditions.

So please ready yourselves for v 1.1.7.2 which will be a mandatory, with training wheels removed.


2687
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 22, 2018, 09:44:05 AM »
Had chat open woke client had crashed when I got up this AM
Similar debug log.
Code: [Select]
Chosen Sanctuary - pulling down the DCC file... Aggregator 0.000000, Percentile -100.000000
2018-12-22 04:30:51 Filter File 94258ExecuteDistributedSanctuaryQuorum::Error - Unable to download DC file DCC input file does not exist. UpdateTip: new best=e34ecae5cb3257553e149610f93e4a5063d35e47f6d3e3533a67b1e87ae79280  height=94212  log2_work=44.376297  tx=101663  date=2018-12-22 04:30:52 progress=1.000000  cache=0.7MiB(2369tx)
2018-12-22 04:30:52 AddToWallet c71fffd5a318a20cfe6f92144a740bb8eb92caa82d614a89409cbe433f899b44  new
2018-12-22 04:30:53 ProcessNewBlock : ACCEPTED
2018-12-22 04:30:56  DCC hash 0000000000000000000000000000000000000000000000000000000000000000  Age 4.000000  FileTimeStamp 1545453056.000000   IsOld  No
 Chosen Sanctuary - pulling down the DCC file... Aggregator 0.000000, Percentile -100.000000
2018-12-22 04:30:56 Filter File 94258ExecuteDistributedSanctuaryQuorum::Error - Unable to download DC file DCC input file does not exist. ProcessNewBlock : ACCEPTED
2018-12-22 04:31:01 Misbehaving: 172.245.93.118:34292 (0 -> 14)
2018-12-22 04:31:51  CreateTransaction::Requiring specific coin age 12.220000 and coin amount 5091

I need to find a debugger that works in windows..  I don't have access to a linux PC that has any power currently.

The source code needs to be on the machine and compiled for valgrind to work; so windows is not an option (short of installing a few hundred gigs of environment and configuring for 14 days), however it *is* possible for you to copy your wallet.dat and chainstate files out to a linux box and re-run the environment in linux in valgrind. 

Btw, the default valgrind flags work:  apt-get install valgrind,    "valgrind ./biblepay-qt"   etc.

I realize you dont have the linux host however.  We'll have to see if the problem rears its head - Im running 3 nodes and none have crashed so far  on the new version; ill keep looking.





2688
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 21, 2018, 11:30:07 AM »
1.1.7.1
Mandatory Upgrade for TestNet


- Enabled Chat v1.0
- Fixed bug in POG (between 1.1.6.9 and 1.1.7.0)

2689
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 21, 2018, 11:09:44 AM »
Explanation of In-Wallet Chat


The original idea for in-wallet chat was born from this hypothetical idea:  Can we add a "Get Saved" button to the core wallet.  The Get Saved button would appeal to those seeking Jesus, but have never actually been saved.  A person might use it who is too shy to respond to an altar call, or maybe they will go through the process with us and we will help them understand what it means, then encourage them to get saved at church, etc.  But I envisioned having a list of on-call priests capable of helping a person get saved, and if all of our Priests are offline, the "call for the priest" redirects the user to a web page with a list of Getting Saved resources (we might have 5 different to choose from - Billy Graham, Cioccolanti, Jesus-Christ.US, etc, and the user clicks from there).  Of course, this flow requires us to have an in-wallet paging system to reach the priest, a list of on-call priests maintained in some type of 'registration' system in the chain, a chat initiation, a ringer, the ability for the priest to answer and chat with the user etc.  This led to in-wallet chat; why don't we create the first native bitcoin chat client object so we can re-use this (IE in other coins, and of course for our purposes-   General Chat Room, Private Chat, Page a Priest, Chat about a Proposal, etc).

So moving on, in version 1.0, we now have a General Chat Room and a Private Message Chat.

Note that you must set up your nickname in the config file first - set "nickname=your-name" and reboot.

PRIVATE MESSAGING


When you click Chat | PM, the wallet will ask you for the destination recipient nickname.  Enter one that you know (from POG).  The wallet will then Page the recipient 4 times, once per second.  What is happening on the other end of the line is the recipient wallet will receive the request as long as their qt wallet is open and connected, even if their chat windows are closed, and will spring up a new chat window.  This particular conversation is private between you and the recipient (however note that the actual messages are sent through the biblepay-network of nodes - and the messages are not currently encrypted - we will look into that issue later).

PUBLIC CHAT ROOM

When you click Chat | General, the wallet opens up a General chat room (we made this Chat object in a way that we will be able to have more rooms in the future).  Anyone who enters the chat *during* the conversation will be seen as such-and-such entered the chat room.  All participants can see the chat (as you might expect).

Version 1.1.7.1 is required to test this chat feature.

(Should be ready in approx 1 hour).


2690
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 21, 2018, 09:23:05 AM »
Woke up this AM wallet was closed..
heres debug log
Code: [Select]


2018-12-21 06:35:10

ProcessBlockFound::Generated 4782.6984526
2018-12-21 06:35:10 ERROR: ProcessBlockFound -- generated block is stale
2018-12-21 06:35:13 UpdateTip: new best=ce85f07771c8b26df128b557e4f7131e9ce2dbfa91efae999125bc8fb2118ba1  height=93330  log2_work=44.351064  tx=100651  date=2018-12-21 06:35:10 progress=1.000000  cache=0.4MiB(1254tx)
2018-12-21 06:35:13 ProcessNewBlock : ACCEPTED
2018-12-21 06:35:35 Misbehaving: 172.245.93.118:51750 (0 -> 14)
2018-12-21 06:36:29  CreateTransaction::Requiring specific coin age 12.170000 and coin amount 5070 keypool added key 2059, size=1001
2018-12-21 06:36:29 init message: Loading wallet... (205.69 %)
2018-12-21 06:36:30 CommitTransaction:
CTransaction(hash=7d61ef23c0, ver=1, vin.size=1, vout.size=2, nLockTime=93330)
    CTxIn(COutPoint(9e51b8c060d9625be5107b9c1499c05a0583902c0c36ceaafec34f4396446337, 1), scriptSig=47304402205bdc80eb721dfb, nSequence=4294967294)
    CTxOut(nValue=215.10000000, scriptPubKey=76a9149cff090c148949e19f4ed915)
    CTxOut(nValue=4864.05072207, scriptPubKey=76a91454ec8b20a625794e64a8d94e)
2018-12-21 06:36:30 committing Tx with message <TITHER>yaSJ9FdsPcQvGjyrzxVFUPjg6wkJBQwaxc</TITHER><NICKNAME>thesnat1</NICKNAME><TITHESIGNER>yaSJ9FdsPcQvGjyrzxVFUPjg6wkJBQwaxc</TITHESIGNER>

2018-12-21 06:36:30 keypool keep 1059
2018-12-21 06:36:30 AddToWallet 7d61ef23c0c5e35b95f0027666ab565636d9d28ef04a3994b4b5aa175717948c  new
2018-12-21 06:36:30 AddToWallet 7d61ef23c0c5e35b95f0027666ab565636d9d28ef04a3994b4b5aa175717948c 
2018-12-21 06:36:30
BiblePayMiner::SendTithe::Sent Tithe in amount of 215.100000 UpdateTip: new best=90aa5cdcc19e650af6cb401fd97b108830374dd46c6a534a3ee2f99557627c18  height=93331  log2_work=44.351069  tx=100653  date=2018-12-21 06:37:18 progress=0.999999  cache=0.4MiB(1257tx)
2018-12-21 06:37:27 AddToWallet 7d61ef23c0c5e35b95f0027666ab565636d9d28ef04a3994b4b5aa175717948c  update
2018-12-21 06:37:27 ProcessNewBlock : ACCEPTED
2018-12-21 06:38:05 UpdateTip: new best=a8986610180fba1c8ef1d9ae3cd10ab255720d0c10bdee593666b440bb7d3aff  height=93332  log2_work=44.351073  tx=100654  date=2018-12-21 06:37:54 progress=0.999999  cache=0.4MiB(1258tx)
2018-12-21 06:38:05 ProcessNewBlock : ACCEPTED
2018-12-21 06:38:44 CBlock(hash=6b7a9c46945f5d4626052671edb6d441fda24c1cae318b48458670f00e35b66c, ver=536870912, hashPrevBlock=90aa5cdcc19e650af6cb401fd97b108830374dd46c6a534a3ee2f99557627c18, hashMerkleRoot=8d4903f63322ff79a9b976d088f87eafb9736a52108069bfa113b272669c8eef, nTime=1545374268, nBits=1d4a74fd, nNonce=2890, vtx=1)
  CTransaction(hash=8d4903f633, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 03946c010101)
    CTxOut(nValue=4782.69837500, scriptPubKey=2102bdba9679c392117be261f88dbb)


2018-12-21 06:38:44

ProcessBlockFound::Generated 4782.698375
2018-12-21 06:38:44 ERROR: ProcessBlockFound -- generated block is stale
2018-12-21 06:38:52 Misbehaving: 195.201.30.231:60048 (0 -> 14)
2018-12-21 06:41:30 UpdateTip: new best=585a00d9c7f6a089ab8dc8976cda109bae3b88def6775963cf816b613da3b659  height=93333  log2_work=44.351079  tx=100655  date=2018-12-21 06:41:25 progress=0.999999  cache=0.4MiB(1259tx)
2018-12-21 06:41:30 ProcessNewBlock : ACCEPTED
2018-12-21 06:41:50 UpdateTip: new best=1b87b8274c8572e47a490723752870fdc7976fe2f53b4ab65b9c47a983fbe15c  height=93334  log2_work=44.351082  tx=100656  date=2018-12-21 06:41:44 progress=0.999999  cache=0.4MiB(1260tx)
2018-12-21 06:41:50 ProcessNewBlock : ACCEPTED
2018-12-21 06:42:40  CreateTransaction::Requiring specific coin age 12.430000 and coin amount 5178 2018-12-21 11:27:15



Nothing can be seen in the log but I think I got that bug in the upcoming version with chat.
Lets try again on the next version otherwise someone will have to run it in valgrind to get the line number.

Building....


2691
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 20, 2018, 01:56:26 PM »
when i set SETGENERATE TRUE 12 my cpu didnt overload, still 2%

Try minersleep=0, and see if it overloads?

EDIT: default is 325ms

2692
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 20, 2018, 11:14:20 AM »
setgenerate true doesnt working in testnet wallet btw

It still works; when I do 'setgenerate false', I can see in 'getmininginfo' the hashcounter stops.  So it appears we didnt break the existing genproclimit or setgenerate for POBH.

2693
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 20, 2018, 11:13:21 AM »
They are Mining rewards as they should be. Still wondering reward of 97.09 which 2 % of total. Is this correct. I have not donated from this wallet at all.

Great!  I'm glad these two UI decriptions changed over to Mining Reward from POG reward.

On the amount of 97.09, that is the correct reaper reward for that block: 20% of the heat mining reward (after Sanc was paid) is only 97.09.  (Sanc gets 4500 or so, 20% of the roughly 450 heat mining reward is 97.09).


2694
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 11:43:07 PM »
1.1.7.0 - Mandatory Upgrade for TestNet


- Add groundwork for future BiblePay chat room (testnet) and first native bitcoin chat protocol (and call a Priest)
- Add ability for web supporter sites to add proposals, and add in the ExpenseType field (allowing web sites to add proposals with expense types)
- Fix exec pogpool to respect height (exec pogpool height)
- Fix transactionlist UI display bug showing mining payments as POG payments (also fix PODC payments that should be mining payments)
- Update exec titheinfo to show proper ROI, daily miner rewards, and daily tithe cap
- Alter Tithe Cap in testnet and prod (prod is disabled) to be accurate (this is 50K per day, with 100K mining payments) - this means TestNet should disregard all old blocks before 90,000 and start new tests going forward
- Assess block difficulty params in IsTitheLegal using the previous block, but quote diff params for current best block (fixes the Illegal Tithes issues)


 

2695
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 01:36:48 PM »
New version is building.... Should be out tonight.

Massive changes, please hold off on testing.


2696
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 01:31:50 PM »

I believe you have a point, good find on the old txid, thanks.


Let me do some testing and ensure we are using the correct difficulty in the best block as compared to the inductor.

Ok, I found this was a bug in the wallet.  We quote the current diff params to the user, but during block checking we should have been checking the prior block - not the current block - OK this is fixed in the next version.



2697
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 12:28:56 PM »
Result of this command.

Code: [Select]
exec istithelegal 61dac23991ea43d16f999cc9478a624b9a43296f896592f99309cc074ad71fe1

{
  "Command": "istithelegal",
  "Tithe_Legal": false,
  "Tithe_Age": 0.8905555555555555,
  "Tithe_Spent_Coin_Amount": 4634,
  "Tithe_Amount": 275,
  "Block_diff_min_coin_age": 5.13,
  "Block_diff_min_coin_amt": 2139,
  "Block_diff_max_tithe_amt": 274,
  "Tithed_Height": 90815
}

It took a while to find legal tithe.

Code: [Select]
exec istithelegal  cf5395b381fe371d0e418b51014299c0791df6911bd7bf1d5702afe540b1d704

{
  "Command": "istithelegal",
  "Tithe_Legal": true,
  "Tithe_Age": 6.50332175925926,
  "Tithe_Spent_Coin_Amount": 4927,
  "Tithe_Amount": 294,
  "Block_diff_min_coin_age": 0.76,
  "Block_diff_min_coin_amt": 319,
  "Block_diff_max_tithe_amt": 296,
  "Tithed_Height": 89920
}

Now I'm out of aged coins.
It looks like that it is possible to tithe from commandline client illegal tithes


I believe you have a point, good find on the old txid, thanks.


Let me do some testing and ensure we are using the correct difficulty in the best block as compared to the inductor.



2698
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 12:27:35 PM »
This same thing happens when the miner wins the PODC superblock,  maybe an easy fix?

Yes, exactly!  Fixed.


2699
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 11:59:28 AM »
Why did this wallet get POG rewards?

Code: [Select]
"Confirmed","Date","Type","Label","Address","Amount (tBiblepay)","ID"
"false","2018-12-19T10:14:08","Mined","","yW8TrtjNKAAvxh5z2yqYJGiDMdnTvGC8yz","485.50457678","b9256094d79e3c15c2aaa9fea17c31f79ca962113b82c57d2e231d49e1a353a9-000"
"false","2018-12-19T10:07:05","Mined","","yW8TrtjNKAAvxh5z2yqYJGiDMdnTvGC8yz","4854.80305666","a2ce916f12ffc3ef038c9e31e197eb40b4b3199e7f5e25490631691c94f2d109-000"
"true","2018-12-18T23:36:33","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.38318243","45219e8ca515f77560d821b3e119eff1b0dc80d4011acf9887d477d56b57c693-000"
"true","2018-12-18T23:34:17","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.43174017","1dd063ec8243f52d8a04c22a4b0fd39c57711fcb3805e1d7efc3616474424aba-000"
"true","2018-12-18T23:30:24","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.48030567","f1541dfab2c02e169bad57a34b2e9f5ddb3784e077e74ca5d39cd38467c0916a-000"
"true","2018-12-18T23:23:07","POG Reward","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","97.09605959","085dc568b321102faa15c3269fa66fa4de84edade402f52026a64168890103cc-000"
"true","2018-12-18T23:17:45","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.52886271","99a8779cd51518a8f3c63fff4e76e445165a9dfbf4b60a44940d78d74e75d547-000"
"true","2018-12-18T23:17:28","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.52885565","d57eeff95645d26559469d49e2b76cbea2e2e98e5bd727d79adf9b229a936874-000"
"true","2018-12-18T23:00:42","POG Reward","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","97.06693200","4e6c7909383f9f4156974cac9be833decfc1b2d0571a27843240a949eb5e5baa-000"
"true","2018-12-18T22:54:49","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.38318243","c99c37942b2298aa675339b6570486dc9750e382412952f2fd22beadeef90417-000"
"true","2018-12-18T22:44:39","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.50457678","a20ef209138ba63c15a0fe4cb6c24a14ace68c89f87796b59379bde09adb45e5-000"
"true","2018-12-18T22:38:43","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.45604228","7df4ea97f8c37091667a61dc96c323957f14c5598a01ad8860227a28ba786344-000"
"true","2018-12-18T22:19:22","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.43174017","9b6a9bea9cdee042da3c5198114a0aa4b8f0668d2e68b241d156649a24fb76d5-000"
"true","2018-12-18T22:15:22","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","4855.28855647","08e6dbcdc9c6055816ba1832b449a304611a82f154e7240daedcc1db049f76d1-000"
"true","2018-12-18T22:14:42","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.50457678","1bfd91d5a2aaeb5676ef1d73ebff7c418ed1c4860d93ed67bb65da3e23409b5b-000"
"true","2018-12-18T21:58:28","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","4854.07461294","571544886393109ed674ad4bc972fbdc5d38b45f71c6081c5740372de6c13068-000"
"true","2018-12-18T21:49:14","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.45601904","ae36f2d9f75cd028f8951caf739e0fa975093b25fe5f64a24ad6f02f690b8278-000"
"true","2018-12-18T21:48:45","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.40746130","14e9f71c3b97766bed06446b3432857c6d3485ca8aafa6650362161eb7b228e5-000"
"true","2018-12-18T21:23:10","Mined","","yeA8AZunKHTPUQD4Dibe1MeVFbomg1U7Qc","485.40746130","2a1083542b1eea9620a95112780ee29072d26a1702ef895f2a4283409d0a535b-000"
"true","2018-12-18T21:22:01","Received with","","ydmznuZ1cHvCSnSLZ9pZg8Tgou8Ar2XjTW","10000.00000000","7c52dfa77116a625bb915df17bdb21628b4d58b447ec1b694f7a2446cb0f56a4-000"

Thanks for the example.  On a side note we have a feature in the next version that will allow you to type exec pogpool height, and diagnose some of this , although that feature is broken right now in your version.  But anyway looking at your wallet and its rewards, you received the first POG reward on block 91097 for 97.09 bbp. 

So here is what happened:  Those two pog rewards are incorrectly listed as POG reward on the UI.  They are actually mining rewards.  If you look at the actual transaction, the 97.09 was the reaper reward for solving the block .

So I see the bug, and its being fixed now (as far as the display issue).  Please double check in the next version that we killed it - those two should change to Mining rewards when you boot the next version.



2700
TestNet Discussion Archive / Re: Testnet - Test Proof of Giving
« on: December 19, 2018, 11:14:18 AM »
my config:
addnode=explorer.biblepay.org
testnet=1
genproclimit=1
nickname=slovakia


still running prod, no testnet ... where is problem? after installation v168 i have this problem with testnet wallet  :(

thanks for help

EDIT:  If your wallet is booting in prod mode do this:

./biblepay-qt -conf=biblepaytest.conf

Save your testnet config file as biblepaytest.conf in the ~/.biblepaycore directory.

EDIT: Dont forget to add your tithe parameter.

Pages: 1 ... 173 174 175 176 177 178 179 [180] 181 182 183 184 185 186 187 ... 263