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 ... 230 231 232 233 234 235 236 [237] 238 239 240 241 242 243 244 ... 263
3541
Rob, it seems like an attack could take place when Rosetta is down since you would let any miner mine on the blockchain. Is there a way to fix that?

I thought about the rule and realized we have to make a distinction between Rosetta going down and Rosetta rewards stopping vs Heat mining ramifications.  Let me coin the term "DR" (Disaster Recovery mode, when Rosetta is down), which btw is probably only going to happen once every 2 years for one day - its if they bring their network down for upgrades, anyway, let us assume we are in DR.

In DR mode, this is 24 hours after Rosetta stops accepting work units, our SanctuaryQuorum will not come to a consensus.  They will all have a filehash of 0x0, and will not vote for a consensus.  This means when the superblock hits, it will reward 0 Research payments.  Heat mining will continue however.

In DR mode, our CPID signature rule will still be in effect, for existing CPIDs.  So the security is still there, because CPID DCC's are still signed in the chain.  So really nothing changes (except researchers are not getting paid Daily Research Payments, everyone is just mining for 600 BBP heat rewards).  This is because the wallet still knows the existing magnitude, prior payments, and signed cpids, so they can keep heat mining (The rule is written to go back to the *last* DC superblock that was actually Paid), hence the reason it is going to always access the last researcher set (for heat mining rules).

Even if we were in DR mode for 6 months, and lets assume the wallet loses records of all signed CPIDs, we would then revert to 30 minute blocks (as the blocks would Lag because the wallet is trying to enforce the CPID rules), but there would not truly be a "security emergency", instead it would be as it is now:  random researchers hashing with DGW as our diff algorithm.  It would be slightly less secure but by then we would be issuing a mandatory upgrade to fix whatever broke down in PODC (Maybe entire BOINC network upgraded the protocol etc).


3542
we need desktop for linux for masternode in future?

my questions is only this:

1.when i sent exec getboincinfo : missing CPID, addresses ...  its need SYNC or where is bug?
2.can i set 50% cpu for rosetta and 50% for mining bbp?   more power to rosetta more magnitude more rewards from superblock?
3. where i can to setup this divide-contribute power in linux?  or how in boinc manager in windows

thanks
0) Yeah, at this time, we will need sanctuaries to run in ./biblepay-qt mode.  They need the qt libs to perform the advanced file filtering.

***  This is only for the sanctuaries.  Anyone else on linux can still run in headless mode if they want ***

1) Please ensure you are on 1089 as I added more info, then paste your exec getboincinfo.  Without seeing that it could be anything.  I assume your CPID is associated already to boinc. 
2) You could do 50% rosetta, but it would be a waste.  You really should do 90% rosetta and just let bbp mine on one thread in the controller, as mining only pays 10%.  You get more magnitude when your cancer miner does more average work per day.
3) For boinc on linux, I just installed it on a few debian sancs very easily and now they are crunching, follow this guide: http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu
I recommend installing it then running boinc manager from your graphics launcher, then click advanced view, and then it looks just like the windows version.  Once you are an expert, you can also do boinc ops in headless mode (like headless biblepay).


3543
Ok cool, when it is closer to the time I will figure out how to do that.

On another note, it seems another advantage of PoDC may be solving the multiwallet issue.

I'm still testing and I want to give it a few days, but running a 4 core physical machine (with a pretty old/slow cpu) and comparing it to two different VPS, I am getting much much better Average Credit from the physical machine (even though on the pool the hps wasn't that much greater than the vps server).

I'll give it a few days to average out then present my findings

Your right!  That solves that pesky issue too.  I think I said that to someone in a PM but I forgot about that bonus.

Yeah, It would be nice to just mine BBP on one thread in the controller wallet and max out every machine with Rosetta.

I believe it- since Boinc has a plethora of management options, we inherit all the benefits of respecting a users computing preferences and networking preferences also.

One other side benefit of this that is huge to the coin as a whole is modular programming.  Effectively if Rosetta works as our miner, that means any cat & mouse related upgrades are not necessary on our side, and all of Rosettas updates happen invisibly (as they are constantly adding more complex problems to their code on the healthcare side - and boinc takes care of upgrading those libs and they are guaranteed not to break us, because they must be boinc compatible), so I like the fact that we inherit a better cancer miner, and yet that side of the house upgrades itself.  Then we can focus on what we do best- working on Stratis, reports, and gospel features, etc.  It seems like a win-win, but I am obviously considering all of the integrity aspects of PODC workunits also, so Id like to build a team that is committed to "proving" the integrity of PODC work units, with some hybrid idea as I mentioned maybe placing a Biblepay script inside work units - and spend the stake as miners "solve" these, at least that proves they received a work unit, inserted a POS script, and solved the work unit live.  If people trust stake coins, why wouldnt they trust stake on steroids inside a cancer miner?

3544
Is this for after PoDC is implemented or should I look to do this now?
How do I run qt in headless mode (I am on a vultr virtual machine).
Thanks

This is for after we go live, now that I think of it... We will need to ask everyone to do it at that point, because over 10 days, everyone will get "hit" with the call of duty (to process the file).

On vultr, you can just VNC in (using the built in viewer) and then install graphics from the command line.  It really depends on your flavor, I have Debian but I dont know the command right off but its pretty easy if you google it.  Once the graphics manager is installed, you can launch QT like this

cd /src/qt
./biblepay-qt


3545
It's ok, it looks like I can just use fake e-mail address, the only downside is I won't be able to recover my account probably but that's ok.

By the way, I have 6 sanctuaries up and running now. I can make more if you want to send me some tBBp. I need 2mil more for 4 more sanctuaries. Address: yiqLtGKtrDykVqrFREoZ8B5mhRE66s4cw8

Yeah, just to clarify, your not using a fake rosetta account, your using a valid rosetta account with an unconfirmed e-mail address, and associating biblepay with a valid username + password that you can still log in to access and edit the account.  I dont want anyone to think they can make a CPID with a fake email address.

BOINC allows that for anonymity reasons, so that one can crunch without having to actually have a confirmed e-mail account to start crunching.

I think you have enough, but thanks for setting all that up!  Id like to get a good broad base going so we can really hit all the intricacies in our testing.

EDIT: Sent 1 mil more just in case.

3546
Would it work from the GUI? I'm thinking no, it looks like it's how the variable was set up or something.

The only difference from the RPC are the spaces, so RPC Or Gui are equally bad.


3547
Yeah, I already started doing that. Checked the account on the rosetta website twice, still doesn't work. Do you think it's because I'm using a + sign in the email address? i.e. [email protected].

Yes, thats the problem, + and ; and = is found in the signature.  Maybe we will base64 encode it, but that could take a while.



3548
Yeah, we are going to require half of the prod network to run masternodes in ./biblepay-qt (GUI) mode, until we can find another way to perform the QT function in headless.  Its important we leave it as-is so the exchanges dont get mad.  Its a big deal, because I was already talking to Bittrex about this a couple years ago, and they will actually deny the coin to be listed there if we were to add a "questionable" dependency to the headless side.

So for now our best option is to require prod sanctuaries, at least half of them, to run in QT mode.

Maybe Ill add a rule to not pay them if they cant execute the same QT function.

We'll see.


I think what we will do is "recommend" a prod sanctuary owner to run in QT mode, and Ill make it kill the node (IE the node will die) if its a chosen sanc and cant process the file.  Then if the owner does not reboot it they will eventually not get paid or have to manually restart it.


3549
im read something about linux wallet-gui with xfce,kde etc .... for what omg?

Yeah, we are going to require half of the prod network to run masternodes in ./biblepay-qt (GUI) mode, until we can find another way to perform the QT function in headless.  Its important we leave it as-is so the exchanges dont get mad.  Its a big deal, because I was already talking to Bittrex about this a couple years ago, and they will actually deny the coin to be listed there if we were to add a "questionable" dependency to the headless side.

So for now our best option is to require prod sanctuaries, at least half of them, to run in QT mode.

Maybe Ill add a rule to not pay them if they cant execute the same QT function.

We'll see.


3550
I will tie them to the same wallet. 300 RAC is going to be a difficult though.

*Update
How do you add multiple Rosetta accounts? I tried adding one and it said invalid credentials.

You would have to actually make 25 rosetta accounts, lol.
Because otherwise, you will be adding instances to one CPID.

Once you have a second Rosetta account, you can associate another CPID to your biblepay wallet (I have 2 running now).

Must have been a bad set of credentials.
Try logging into Rosetta Web URI with them.

3551
I oppose this proposal, I have given numerous reasons in the test net forum and on the BitcoinTalk forum.

In summary; my biggest concerns are as follows:

Less CPU protecting the network:

There is a finite amount of CPU resource currently working in order to protect the Bible Pay block chain by mining Bible Pay, the new algorithm for Rosetta@Home will not protect the block chain but would still get 90% of the current PoW rewards.
It follow that in a rational economy 90% of the current CPU resources will towards Rosetta@Home, therefor 90% of the CPU resources protecting the block chain will no longer be protecting the block chain.
It follows that a 51%-attack which requires 51% of the mining capacity will become 10 times less, making the amount of CPU power required for someone to launch such an attack 10 times less.

Effectively making it 10 times as easy (and therefor 10 times as inexpensive) to launch a 51% attack against Bible Pay.

Centralisation:

Rosetta@Home is a organisation to further scientific research, their point system is designed to be a novel way to gamify the donation of computing resources for scientific research. These points were never designed to hold any value, the people managing these points do not have protocol in place against black mail, corruption or fraud.
Nor has the organisation of Rosetta@Home accepted any responsibility for holding this position of trust.


Considering these facts I purpose we look in to different solutions for the problems currently being faced.
We cannot risk the network and in extension thereby the continious donations to orphans due to these facts.


This comment must be marked as FUD since it is not true.

In this proposal, only CPIDs can mine, in contrast to everyone.  Therefore the hash rate ratio is not 10* less, it is equal to one signed boinc instance CPID per block, making it far more fair than 12,000 random hashers who can hit us at any time randomly and pump n dump at will.

To protect us against pump-n-dump, no single CPID can solve another block within 5 blocks.

This idea is even more secure than POL, since there is not a risk of buying the coins on the open market.

It is also more secure than the bitcoin status quo, which allows supermajority ASICs groups to form.  (Because the equivalent effect in bitcoin would be to require miners to register on the network, and provide credentials per block, and deny a duplicate bitcoin block to be solved by the same mining organization).  Which would be an improvement over what they have now (an unfair supermajority and most full nodes offline).

FUD.  UNTRUE.


3552
Rob, my goal it to create 10 sanctuaries and 50 CPIDs, let me know when I have to update the sanctuaries as it will take a while so only when it's necessary please.

*Update

Do the CPIDs need to on seperate wallets or all on the same wallet is fine?

Id like to have at least 300 RAC per CPID though so we can ensure real world testing, maybe just do half if you have 25 machines?

I guess you could put 25 cpids against one controller wallet if you want, it will help immensely...

3553
i hope that linux masternode will be working on linux classic way and now any crap gui  :o

What does this mean?


3554
1.0.8.9c - Leisure Upgrade
For Testnet

- Added botnet busting rule ( provides debug info for us, but not enforced in testnet yet ) - this will provide info necessary to move closer to implementing the distinct CPID rule in testnet
- Added more fields to getboincinfo, to show the researchers weekly payments, daily payments, etc.  Also added the newbie warning.

Windows is compiling...


3555
The primary purpose of this proposal is for the approval for us as a community to use Proof-of-Distributed Computing as a major reward algorithm in biblepay, and as a tool to help bust the botnet.

Please read some of the background info on PODC here:
http://wiki.biblepay.org/Distributed_Computing


Block Security
===========

With Proof-of-distributed-computing enabled, I propose that we continue to use the existing consensus algorithm, PoBH (proof-of-bible-hash),  for block security.

This is so our chains integrity can be maintained, and will not be completely trusted to any 3rd party.  We continue to use DGW (Dark Gravity Wave ) for our difficulty algorithm, this helps us stay less prone to 51% attacks (attacks formed by buying out a percent of biblepay on the market).
    The existing POBH-POW algorithm for chain security ensures that we have a structurally sound blockchain that syncs from zero consistently, and that it is easy for the core wallet to detect forks. 
( This is a major concern, and must be taken seriously).

(This is in contrast a common problem with proof-of-stake consensus systems- where hackers have an attack vector potential created by solving blocks on multiple chains, making it hard for the core wallet to recognize which chain has the most work). In POW based chains, it is easy for the core wallet to stay on track, as the chain with the most work is usually a magnitude more than other chains.

I recommend that we keep the existing POBH-POW-heat mining system for block security, and for chain sync consistency. However, we reduce the payments on the POW-Heat side by 90%, so that we starve off the botnet first of all, by raising the PODC rewards up by 90%.

Imo, no botnet is going to choose to Heat Mine for 90% less when they can choose Rosetta mining for 90% more.
(This is proven in practice in all casinos).

I propose that we promote POBH mining only on the controller wallets, since those wallets would perform sending/receiving of biblepay funds, starting/stopping sanctuaries, managing Rosetta CPIDs, CPID association, and also mining on one thread for our block security.

It has been raised as an issue that if we lower rewards on the heat side by 90%, most strong miners will go away thereby leaving our security more vulnerable to an entity with large dormant hashpower, meaning that they will attempt to come in with a quick hash attack, and take over the chain and issue a double spend.

To combat this, I propose that we limit the ability to solve blocks to only Researchers with Active CPIDs in the chain (associated cancer researchers), with existing Magnitude and coins earned in the last superblock, and limit CPIDs from solving only one block per 6 block period.  What this does is ensures that one researcher cannot enable massive hashpower and solve another block in the confirm period duration.  This would require distinct CPIDs to join in-lessening the chances of an attack.  Since the CPIDs must be actively crunching with RAC and magnitude and be in the prior superblock, a horizonal scaling attempt is not possible  (as it will take at least 2 days to ramp up a new CPIDs magnitude and be paid, while the attackers Old cpids will be diminishing in power).  In addition, DGW already adjusts to the current difficulty level, so a brute hashpower attack is very unlikely to win, with our low nonce rule, the attackers difficulty would rise by exponential amounts per solved block, and if any non-hacker CPID solves a block in between (which is highly likely due to the low nonce rule), the attack is not successful.

Security:

In this solution, we require Rosetta CPIDs to actually type in their credentials to become associated with Biblepay.  All other biblepay researchers check the burn transaction in the memory pool, to verify the CPID is actually owned by the owner.  So therefore it is not possible to be rewarded research rewards for any CPID not owned by the owner and verified with the burn transaction.  Once the burn is checked, the researchers signature is set in the chain, and we respect future signed CPID messages from this researcher.  Replay attacks are not possible.

The SanctuaryQuorum votes on the daily Magnitude file.  We have a system in place to ensure only the official CPID magnitudes will pass in the vote (as a net 10% have to vote on the correct hashed contract) in order for the contract to be recognized as valid for the daily superblock.

In addition, the research payments are constructed in a way that divides the magnitudes by the superblock available budget, so if a Rosetta error would occur, the payment error would be relative to that superblocks budget, and would not result in a chain block overpayment (IE we never pay more than the total budget per day) and we divide the rewards by the share of each researchers weight per day.

Unlimited Scalability:

The daily superblock reward system was chosen so that biblepay may scale to allow up to 32767 researchers to be paid concurrently per day.  Since there are currently 48,000 Rosetta servers actively crunching, this system could accomodate every Rosetta CPID as a potential biblepay user!  We also do not require the researcher to quit their team, but through our advanced security, they may come onboard as a loyal biblepay user.  This results in great PR for biblepay.


In summary, this is what I am proposing:

Proof-Of-Work rewards drop to approx 600 BBP per block (a reduction of 90%)
Proof-Of-Distributed-Computing rewards increase to approx 5500 BBP per block (an increase of 90%)
One superblock per day airdrops the researcher rewards, allowing up to 32767 research payments per day


Theory to bust the botnet:

Since POW rewards would decrease by 90%, the botnet would quit heat mining and start cancer mining
POW would require a signed CPID to solve a block
POW would require a CPID to be active and have prior payments to solve a block
Biblepay would have a feature, if no CPID is available in 31 minutes to solve a block, we would allow any heat miner to solve the block (so chain never gets frozen, in case of Rosetta being down etc)
These rules would lower the chances of an outside 51% attack to almost zero, when combined with DGW's protection

I recommend POL to be disabled for now (proof-of-loyalty) and that we instead research ways to include an element of POL in each Rosetta work unit to raise the trust and integrity level of Proof-of-distributed-computing to the highest level for the masses. 
^ If POL is trusted as a sole consensus algorithm, then PODC+POL may be a potential global leading candidate in the future.

PODC also will allow us to achieve a great future milestone:  Mining for the unbanked.  Since Rosetta cancer mining supports ARM tablets and ARM cell phones, it is possible for the unbanked through cancer research to earn enough to live on or at least buy groceries in third world countries.  This is more than we currently have, since POBH currently runs on PCs only.


The financial renumeration for this proposal is only 10 BBP, as our budget is mostly consumed.

Please vote for this if you believe this will not only allow us to be a humanitarian force - one facet of our community is doing what Jesus would do : help heal others, but also if you believe we will help remove the influence of the botnet and take our community back.




Pages: 1 ... 230 231 232 233 234 235 236 [237] 238 239 240 241 242 243 244 ... 263