Bitcoin Forum
May 07, 2024, 11:15:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Offline mining?  (Read 16618 times)
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
December 31, 2011, 06:46:19 AM
 #1

Is it possible to have an offline miner submit saved proof of work?

In other words, is it possible to have a miner attempt to solve blocks for a given period of time (say, 24 hours), store the hashes, and then submit all of the work to the network in bulk after the 24 hours? 
1715080544
Hero Member
*
Offline Offline

Posts: 1715080544

View Profile Personal Message (Offline)

Ignore
1715080544
Reply with quote  #2

1715080544
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Hawkix
Hero Member
*****
Offline Offline

Activity: 531
Merit: 505



View Profile WWW
December 31, 2011, 09:12:37 AM
 #2

Generally, NO.

However, if your "miner" can generate about 144 new blocks per day (about 8 TH/sec now), you have a chance to succeed. Smiley

Donations: 1Hawkix7GHym6SM98ii5vSHHShA3FUgpV6
http://btcportal.net/ - All about Bitcoin - coming soon!
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
December 31, 2011, 09:45:19 AM
 #3

Generally, NO.

However, if your "miner" can generate about 144 new blocks per day (about 8 TH/sec now), you have a chance to succeed. Smiley

Really...

Could you please elaborate on how one would go about doing this, assuming they had access to that much hashing power?
Hawkix
Hero Member
*****
Offline Offline

Activity: 531
Merit: 505



View Profile WWW
December 31, 2011, 10:05:46 AM
 #4

If you own more than 51% of the total hashing power, you can "overvote" the results of other miners. Still you will need to connect sooner than after a day. It was not meant as serious tip Smiley.

The reason you need to be connected to the Internet all the time is that there is new block found each approx. 10 minutes and once it is found, your current search must be dumped and you start again on new one. Also, in the rare chance you would find a block yourself, you need to broadcast it as soon as possible, otherwise someone other may take your victory and announce its own block instead of yours.

Donations: 1Hawkix7GHym6SM98ii5vSHHShA3FUgpV6
http://btcportal.net/ - All about Bitcoin - coming soon!
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
December 31, 2011, 10:15:23 AM
 #5

If you own more than 51% of the total hashing power, you can "overvote" the results of other miners. Still you will need to connect sooner than after a day. It was not meant as serious tip Smiley.

The reason you need to be connected to the Internet all the time is that there is new block found each approx. 10 minutes and once it is found, your current search must be dumped and you start again on new one. Also, in the rare chance you would find a block yourself, you need to broadcast it as soon as possible, otherwise someone other may take your victory and announce its own block instead of yours.


Well, let's (hypothetically, of course) say that you had access to around 2 t/hash.

Why do the results need to be dumped?  Why can't they be stored and submitted all at once such that you might get like 10 blocks back to back?

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?
Hawkix
Hero Member
*****
Offline Offline

Activity: 531
Merit: 505



View Profile WWW
December 31, 2011, 10:46:50 AM
 #6

It can be dumped, but your chain must be longer than that already mined outside of your miners. With 2TH/sec the chances are very low you will prepare longer chain.

Donations: 1Hawkix7GHym6SM98ii5vSHHShA3FUgpV6
http://btcportal.net/ - All about Bitcoin - coming soon!
P4man
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
December 31, 2011, 04:43:45 PM
 #7

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

sadpandatech
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
December 31, 2011, 04:51:41 PM
Last edit: January 01, 2012, 01:58:28 AM by sadpandatech
 #8

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers the orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

If you're not excited by the idea of being an early adopter 'now', then you should come back in three or four years and either tell us "Told you it'd never work!" or join what should, by then, be a much more stable and easier-to-use system.
- GA

It is being worked on by smart people.  -DamienBlack
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
December 31, 2011, 07:19:56 PM
 #9

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
December 31, 2011, 07:29:05 PM
 #10

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.
forking is not exactly good for the network, because all the transactions in the past n blocks are now effectively reversed

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
plastic.elastic
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 01, 2012, 01:31:05 AM
 #11

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.

Noob, hows your basement operation going?

Tips gladly accepted: 1LPaxHPvpzN3FbaGBaZShov3EFafxJDG42
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
January 01, 2012, 01:34:44 AM
 #12

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.

Noob, hows your basement operation going?


Not bad.  How is it running around the evolutionary cul-de-sac?

And in response to SadPandaTech, minimizing net exposure, yes.
plastic.elastic
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 01, 2012, 03:53:13 AM
 #13

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.

Noob, hows your basement operation going?


Not bad.  How is it running around the evolutionary cul-de-sac?

And in response to SadPandaTech, minimizing net exposure, yes.

A true dumbass would never know why ppl call them a dumbass. You're a perfect example of that saying.

Tips gladly accepted: 1LPaxHPvpzN3FbaGBaZShov3EFafxJDG42
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 01, 2012, 03:54:38 AM
Last edit: January 01, 2012, 05:53:52 AM by DeathAndTaxes
 #14

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.

If you can't connect the computing power to the internet (or some other method of updating the miners) it is useless for mining.  

Remember you need to be solving the next block.  Every 10 minutes "somebody' solves a block.   When that happens your data is stale and if you find a block it is useless as you are solving the wrong block.  A farm which could only connect to the internet once every minute would be horrible inefficient (stales) but would work.   On average you would lose 10% of your hashing power because the data has gone stale and you won't know it until the next update.  Still 2TH * 0.9 = 1.8TH effective.

Longer periods of time between updates will quickly make it impossible to work on the same blockchain as everyone else. Your only hope would be to build a longer chain in private and publish it all at once.  The problem is that for any extended period of time the odds you will have a longer chain is negligible.

As an example, say you have 25% of network capacity and decide to mine privately for x blocks and then publish them all at once if it is longer than the main chain.  

If x = 1 (connect to internet and publish block chain after finding one block) then you have a 25% chance of having longest chain.
If x = 2 (publish after finding two back to back blocks) then you have only a 0.25^2 = 6.25% chance.
If x = 3 0.25^3 = 1.56%
..
If x =6 0.25^6 = 0.02% (1 in 4096 chance).  Even 6 blocks is only on average 4 hours for a 2TH subnet.

So connecting to the network once every 6 blocks and checking to see if you are ahead would earn you (6 * 50 ) / 4096 = 0.08 BTC and it would take 4 hours.  Note you wouldn't earn 0.08 BTC each time.   You would earn 300 BTC 1/4096th of the time and 0 BTC 4095/4096th of the time.  On average despite having 2 TH you would only earn about 0.5 BTC per day (roughly the same as a 500 MH rig which is continually updated).

Now hypothetically if you have some constraint that you could RECEIVE data but only TRANSMIT every couple hours you could operate w/ full efficiency.  Variance would be astronomical (magnitudes higher than normal solo mining) but you could
1) send any block chain updates to the farm
2) if farm is more than 1 block behind it abandons the chain
4) if farm is ahead by 1 or more blocks and time greater than transmit threshold it transmits.

Since you are winning or losing multiple blocks per batch you are going to face very high variance but your expected return (EV) will be the same.
jjiimm_64
Legendary
*
Offline Offline

Activity: 1876
Merit: 1000


View Profile
January 01, 2012, 04:27:18 AM
 #15


helluva nice explanation .  I think I may have understood that Smiley

1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
January 01, 2012, 07:18:48 AM
 #16

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.

Noob, hows your basement operation going?


Not bad.  How is it running around the evolutionary cul-de-sac?

And in response to SadPandaTech, minimizing net exposure, yes.

A true dumbass would never know why ppl call them a dumbass. You're a perfect example of that saying.


Well, statistically, you have about a .5% chance of being more intelligent than I according to 'g.' 

Do you know what projection is?
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
January 01, 2012, 07:19:20 AM
 #17

Edit:  In short, couldn't you simply have a computer take the hashing algorithm, process it offline, save the results of the work, connect to the network, then dump all the results at once?


Blocks are linked. You need the previous block to calculate the nonce (which includes a hash of the previous block). Thats why you cant mine offline for longer than ~10 minutes. After 10 minutes you are essentially forking.

^^ This answers te orignal question.

May I ask what is your goal? Are you trying to save bandwidth? Looking to 'mask' the reporting daemon? Trying to minimize net exposure?

Well, I may have access to 2 T/hash under certain conditions, and hashing offline may be one of those conditions.

If you can't connect the computing power to the internet (or some other method of updating the miners) it is useless for mining.  

Remember you need to be solving the next block.  Every 10 minutes "somebody' solves a block.   When that happens your data is stale and if you find a block it is useless as you are solving the wrong block.  A farm which could only connect to the internet once every minute would be horrible inefficient (stales) but would work.   On average you would lose 10% of your hashing power because the data has gone stale and you won't know it until the next update.  Still 2TH * 0.9 = 1.8TH effective.

Longer periods of time between updates will quickly make it impossible to work on the same blockchain as everyone else. Your only hope would be to build a longer chain in private and publish it all at once.  The problem is that for any extended period of time the odds you will have a longer chain is negligible.

As an example, say you have 25% of network capacity and decide to mine privately for x blocks and then publish them all at once if it is longer than the main chain.  

If x = 1 (connect to internet and publish block chain after finding one block) then you have a 25% chance of having longest chain.
If x = 2 (publish after finding two back to back blocks) then you have only a 0.25^2 = 6.25% chance.
If x = 3 0.25^3 = 1.56%
..
If x =6 0.25^6 = 0.02% (1 in 4096 chance).  Even 6 blocks is only on average 4 hours for a 2TH subnet.

So connecting to the network once every 6 blocks and checking to see if you are ahead would earn you (6 * 50 ) / 4096 = 0.08 BTC and it would take 4 hours.  Note you wouldn't earn 0.08 BTC each time.   You would earn 300 BTC 1/4096th of the time and 0 BTC 4095/4096th of the time.  On average despite having 2 TH you would only earn about 0.5 BTC per day (roughly the same as a 500 MH rig which is continually updated).

Now hypothetically if you have some constraint that you could RECEIVE data but only TRANSMIT every couple hours you could operate w/ full efficiency.  Variance would be astronomical (magnitudes higher than normal solo mining) but you could
1) send any block chain updates to the farm
2) if farm is more than 1 block behind it abandons the chain
4) if farm is ahead by 1 or more blocks and time greater than transmit threshold it transmits.

Since you are winning or losing multiple blocks per batch you are going to face very high variance but your expected return (EV) will be the same.


Thank you for this!
TeaL
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
January 02, 2012, 08:47:29 AM
 #18

Was no-one else curious about how he would have access to 2 TH?
plastic.elastic
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
January 02, 2012, 09:06:35 AM
 #19

Was no-one else curious about how he would have access to 2 TH?

Do you really need to ask?

Look up the fucker's thread history, you will see his thread about "free" electricity

I'm not suprised, he got another "free" computational power some where....

Tips gladly accepted: 1LPaxHPvpzN3FbaGBaZShov3EFafxJDG42
the joint (OP)
Legendary
*
Offline Offline

Activity: 1834
Merit: 1020



View Profile
January 02, 2012, 06:29:41 PM
 #20

Was no-one else curious about how he would have access to 2 TH?

Do you really need to ask?

Look up the fucker's thread history, you will see his thread about "free" electricity

I'm not suprised, he got another "free" computational power some where....

Yeah.  Because, you know, I really want to attempt to squeeze out 2 T/hash using the free electricity I get from renting a room of a house that was built in the 1950's.

Got to 1 T/hash before my clothes started to melt into my skin.
Pages: [1] 2 3 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!