Author

Topic: Challenge:Hack Gridcoins BoincHash to cause other nodes to accept without Boinc (Read 2128 times)

hero member
Activity: 524
Merit: 502
sr. member
Activity: 364
Merit: 252
Just a thought, but shouldn't the reward be in BTC, since if someone finds a way to break Gridcoin, the 5000grc reward will most likely be worthless.

Love the idea of this altcoin though. Hopefully it will pass the test of time.
I'm from the camp that believes it would be worth more if an exploit is found because we will fix it. 

I think there is a similarity here to something feathercoin went through at one time when they had a security issue and their exchange rate value didn't change much and they fixed it and moved on.

Rob H.

newbie
Activity: 5
Merit: 0
Just a thought, but shouldn't the reward be in BTC, since if someone finds a way to break Gridcoin, the 5000grc reward will most likely be worthless.

Love the idea of this altcoin though. Hopefully it will pass the test of time.
sr. member
Activity: 364
Merit: 252
Is there something that prevent people from compiling the open source code from Gridcoin-master and running it?  If you can compile and run it, then the payout calculation is there?
A quick look of the source code, I would try to change those 2 files first, compile it and run it.

main.cpp, line 1171 for GetBlockValue, change it to "return 150;"

rpcrawtransaction.cpp, line 751, change it to "me.payout = 150;"



GRC: G2DWztx8tftUdgAPmgbns6ufm3y15JWmZe
Thanks for the questions.

These types of hacks are addressed.
I assume your hack is :
A) Not run boinc
B) Compile a fraudulent version with a static 150 payout in the block subsidy calculation.

When your subsidy block is created the boinchash inputs will not match the computed hash and when the block is forwarded checkwork will return 0. 
The block will not be accepted by other users.

Thanks!
Rob H.


newbie
Activity: 18
Merit: 0
Is there something that prevent people from compiling the open source code from Gridcoin-master and running it?  If you can compile and run it, then the payout calculation is there?
A quick look of the source code, I would try to change those 2 files first, compile it and run it.

main.cpp, line 1171 for GetBlockValue, change it to "return 150;"

rpcrawtransaction.cpp, line 751, change it to "me.payout = 150;"



GRC: G2DWztx8tftUdgAPmgbns6ufm3y15JWmZe
sr. member
Activity: 364
Merit: 252
There are at least 2 easy ways to get 150, while the real usage is boing runs at 1/2 - 1/4 of 100% utilization.   Wink
So your requested hack is not really needed to cheat.

Ardolafat,

Whether or not a user feels they deserve 120-150 grc while running boinc is not the argument, the argument was a user claimed it is easy to hack Gridcoin and not run boinc first of all.
Reality is you still need to run boinc to receive the higher rewards (+5 grc or more) and that is our highest priority-- to do something for humanity while mining.

Regarding your argument that you can run a lower utilization and receive a high subsidy, that is becoming less and less true as we become more popular; why?
Because we already have code that includes the boinc Avg Daily Credits in the mix; and we haven't surpassed the minimum pool miners to use it yet.

Once difficulty is > 10, you really have to compete with accurate and high avg_daily_credits to receive equal rewards to other miners.

For example if your boincshares are low relative to another user your subsidy will be split in that same fashion.

The early adopters are making more now because they were here first and are supporting this whole system!  They deserve to be compensated.

Rob H.
legendary
Activity: 1358
Merit: 1000
There are at least 2 easy ways to get 150, while the real usage is boing runs at 1/2 - 1/4 of 100% utilization.   Wink
So your requested hack is not really needed to cheat.


So you have to run Bionc, that's the point lol.  The 100 Boinc utilization does not mean you are using 100% of your cpu power..
sr. member
Activity: 476
Merit: 250
There are at least 2 easy ways to get 150, while the real usage is boing runs at 1/2 - 1/4 of 100% utilization.   Wink
So your requested hack is not really needed to cheat.
sr. member
Activity: 364
Merit: 252
I am offering a 5000 gridcoin reward to the first user who can provably hack Gridcoins boinc hash to receive the 150 gridcoin award while solo mining but not running boinc at all.

All of this must be done on one machine.

The block must be accepted by the rest of the network (therefore it must have a valid boinc hash that contains a "1" result code when typing
"checkwork blocknumber" from the RPC).

The process must be reproduceable so that it can be verified by Gridcoin.

Boinc must not be running when the block is created and part of the process must show that boinc is not running.

The block must pay a minimum of 140grc for this to be considered a hack.

The user must be running the latest version of the wallet.

Step by step hacking instructions must be provided and therefore, Gridcoin will be able to reproduce the hacking attempt from a separate location and verify.

Thanks!

Grid

Jump to: