Bitcoin Forum
May 06, 2024, 02:22:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 [323] 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 ... 501 »
  Print  
Author Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"  (Read 1150753 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 19, 2016, 10:00:14 PM
 #6441

Does this equivalence make Dooglus's "random point in time" equivalent to "the time a random CLAM block is generated"?

It sounds like no, because my set of times contains x members, where x is the CLAM block height.  Dooglus's set of times has an unbounded quantity of members. 

You're getting warmer
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714962156
Hero Member
*
Offline Offline

Posts: 1714962156

View Profile Personal Message (Offline)

Ignore
1714962156
Reply with quote  #2

1714962156
Report to moderator
bobboooiie
Hero Member
*****
Offline Offline

Activity: 656
Merit: 500



View Profile
January 19, 2016, 10:13:42 PM
 #6442

Funny thing about Poisson Processes: Every day you don't stake, you still have 100,000 days to go.

Here's a fun thing:

Pick a random point in time, then:

A) the average amount of time from that point to the next CLAM block is 1 minute
B) the average amount of time from that point to the previous CLAM block is also 1 minute
C) the average time between CLAM blocks is also 1 minute

Wouldn't you expect A + B = C? Yet A, B, and C are all 1 minute.

7 kilometers!
tittiecoiner
Full Member
***
Offline Offline

Activity: 224
Merit: 100

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
January 20, 2016, 04:58:12 AM
 #6443

http://blog.cryptsy.com/

Quote
– Update 2016/01/19 10:08pm –
The following wallets have been opened for withdrawals:
* Clams

Time to get them out, in case someone still has some CLAM sitting there

andulolika
Legendary
*
Offline Offline

Activity: 2310
Merit: 1047



View Profile
January 20, 2016, 05:24:35 AM
 #6444

http://blog.cryptsy.com/

Quote
– Update 2016/01/19 10:08pm –
The following wallets have been opened for withdrawals:
* Clams

Time to get them out, in case someone still has some CLAM sitting there
They realised thats the only coin worth to have so they have the rest locked.

🔥 🔥 🔥  Satochip - Secure the future  🔥 🔥 🔥
⭐️ Hardware wallet on a smartcard | Affordable and easy to use | Open source and community driven | BTC, LTC, BCH (SLP tokens), ETH (ERC-20 tokens)... ⭐️
──WebsiteShop  |  Bitcointalk  |  Twitter  |  Telegram  |  Github──
sneval
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
January 20, 2016, 06:26:23 AM
 #6445

http://blog.cryptsy.com/

Quote
– Update 2016/01/19 10:08pm –
The following wallets have been opened for withdrawals:
* Clams

Time to get them out, in case someone still has some CLAM sitting there
They realised thats the only coin worth to have so they have the rest locked.

Are they allowing deposits to bitcoin still? If yes, is it possible to deposit bitcoin, buy CLAMS and withdraw them? I don't think so. What are the new features did CLAMs added recently? This is a huge thread, I can't read it all at this time.
SuperClam (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
January 20, 2016, 06:37:15 AM
 #6446

http://blog.cryptsy.com/
Quote
– Update 2016/01/19 10:08pm –
The following wallets have been opened for withdrawals:
* Clams
Time to get them out, in case someone still has some CLAM sitting there
They realised thats the only coin worth to have so they have the rest locked.
Are they allowing deposits to bitcoin still? If yes, is it possible to deposit bitcoin, buy CLAMS and withdraw them? I don't think so. What are the new features did CLAMs added recently? This is a huge thread, I can't read it all at this time.

I would not recommend doing this..... just a fair warning. 

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
andulolika
Legendary
*
Offline Offline

Activity: 2310
Merit: 1047



View Profile
January 20, 2016, 11:27:09 AM
 #6447

http://blog.cryptsy.com/

Quote
– Update 2016/01/19 10:08pm –
The following wallets have been opened for withdrawals:
* Clams

Time to get them out, in case someone still has some CLAM sitting there
They realised thats the only coin worth to have so they have the rest locked.

Are they allowing deposits to bitcoin still? If yes, is it possible to deposit bitcoin, buy CLAMS and withdraw them? I don't think so. What are the new features did CLAMs added recently? This is a huge thread, I can't read it all at this time.
i think in the first post are all the features added, but i believe clam will slowly surprise us more and more.

🔥 🔥 🔥  Satochip - Secure the future  🔥 🔥 🔥
⭐️ Hardware wallet on a smartcard | Affordable and easy to use | Open source and community driven | BTC, LTC, BCH (SLP tokens), ETH (ERC-20 tokens)... ⭐️
──WebsiteShop  |  Bitcointalk  |  Twitter  |  Telegram  |  Github──
favdesu
Legendary
*
Offline Offline

Activity: 1764
Merit: 1000



View Profile WWW
January 21, 2016, 09:10:48 PM
 #6448

is there a staking pool planned? I currently found out about just-dices shared staking... but you have to invest your coins so it comes with a certain risk Smiley I'd love to see dooglus setup a stake pool

dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
January 21, 2016, 10:19:04 PM
 #6449

is there a staking pool planned? I currently found out about just-dices shared staking... but you have to invest your coins so it comes with a certain risk Smiley I'd love to see dooglus setup a stake pool

Read about "offsite investing" in the Just-Dice FAQ. By default JD investments are really quite safe because they are very diluted by people taking advantage of this "offsite" thing. There has never been a week over which any CLAM investor who was invested without using the "offsite" feature made a loss at Just-Dice.

But if you want a pure staking pool, check smooth's offering.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
January 21, 2016, 10:20:57 PM
Last edit: January 21, 2016, 11:35:56 PM by dooglus
 #6450

Are you sure that you used the same point in time to calculate the first 2 points? If C is correct then in average you should always find a point in or on a 1 minute timeframe.

Are you saying that the next block always happens within one minute of the current time? That isn't true. The average expected(*) time to the next block is always one minute. It is often more than one minute to the next block.

Note that when staking you don't make "progress" to finding a block. You either find it or you don't. The same with Bitcoin mining. When you are waiting for a block, if you wait 5 minutes without a block being found, it doesn't mean a block is "due", or that a block "should" be found in the next 5 minutes. Even after waiting 5 minutes, the expected time to the next block is still 10 minutes. And if there is no block in the next 10 minutes, the expected time *after that* is still 10 minutes.

(*) I've been using the word "average" when I meant "expected".

Let's pick a random time, say Sat Jan 16 02:33:17 2016.
The previous block was found at 02:32:32 (45 seconds earlier).
The next block was found at 02:33:36 (19 seconds later)

The time to the next block was 19 seconds. The "average" time to the next block was 19 seconds, I guess, if you can average a constant. The average of 19 seconds is 19 seconds. But at that point in time the *expected* time to the next block was 60 seconds, even though at that time it had been 45 seconds since the previous block.

When i would chose a random point in the future then the next block after that point should be a half minute later, i think, too.

OK, let's test it.

I wrote a script which picks random points in time over the last month or so, then looks up the time to the previous and next block.

Code:
#!/usr/bin/env python

import random, string, time

def rand():
    return start_date + random.random() * (end_date - start_date)

def fmt(seconds):
    return '[%s]' % time.ctime(seconds)

def find(seconds):
    last = None
    for sec in times:
        if sec < seconds:
            return sec, last
        last = sec

datfile = "clamblocks.dat"

count = 0
lines = 100000
samples = 100000
times = []

fp = open(datfile, "r")

while True:
    line = fp.readline()
    if not line:
        break
    line = string.split(line[:-1])
    times.append(string.atoi(line[5]))
    count += 1
    if (count == lines):
        break

start_date = times[-1]
end_date = times[0]

print "picking random dates between %s and %s" % (fmt(start_date), fmt(end_date))

before_sum = 0
after_sum = 0

count = 0
while True:
    t = rand()
    before, after = find(t)
    before_sum += t - before
    after_sum += after - t
    count += 1
    if count % 1000 == 0:
        print ("(%6d) %s is %6.2f seconds after %s (%6.2f) and %6.2f seconds after %s (%6.2f)" %
               (count,
                fmt(t),
                t - before, fmt(before), before_sum / count,
                after - t,  fmt(after), after_sum / count))

I happened to have the data in a file already, so it's a bit quicker than querying the clam daemon. But never mind that. Here's the output of the script. It shows the average times in (parentheses):

Quote
(200000) [Fri Nov 13 01:41:39 2015] is  67.13 seconds after [Fri Nov 13 01:40:32 2015] ( 52.78) and  44.87 seconds after [Fri Nov 13 01:42:24 2015] ( 52.96)
(201000) [Tue Dec  8 16:40:24 2015] is  40.73 seconds after [Tue Dec  8 16:39:44 2015] ( 52.76) and   7.27 seconds after [Tue Dec  8 16:40:32 2015] ( 52.97)
(202000) [Sun Jan 17 05:09:04 2016] is  16.23 seconds after [Sun Jan 17 05:08:48 2016] ( 52.77) and  31.77 seconds after [Sun Jan 17 05:09:36 2016] ( 52.97)

After picking 200k random points in time the average of all the actual times from the previous block is 52.78 seconds, and the average of the actual times to the next block is 52.97 seconds.

I'm surprised it's coming out around 53 seconds and not 60, but can imagine two explanations:

1) the CLAM network is always a little bit too fast; the average block time is 59.xx seconds, not 60 seconds; not a significant error
2) the average time to the next block is 60 seconds because it's possible (though unlikely) to have *very* long gaps between blocks; we're not seeing those very long gaps in the sample that I'm averaging over, but we are seeing lots of short gaps

Either way, it's closer to 60s than to 30s, and their sum is way over 60s.

Edit: I ran it again, using a year's worth of blocks, and let it run for longer. The results barely changed:

Quote
picking random dates between [Sun Jan 18 03:37:36 2015] and [Thu Jan 21 07:04:00 2016]
(276000) [Mon Feb 23 00:40:30 2015] is  62.58 seconds after [Mon Feb 23 00:39:28 2015] ( 52.74) and 289.42 seconds after [Mon Feb 23 00:45:20 2015] ( 52.76)

First, statements A and B don't make sense.  The average amount of time from the chosen point in time is a singular number.  You probably mean the average of a distribution of randomly chosen points.  

You are correct. The average time to the next block from a particular random point in time is whatever the actual time to the next block was. I was being sloppy. I meant the expected time to the next block if the future wasn't already known.

You wake up, turn on your computer, look at blockchain.info. How long since the last block was found? Make a note. Wait for the next block; how long does it take from when we woke up? Make a note. Repeat this every day for a year, average times to the previous blocks, and average the times to the next blocks. Do you get something close to 5 minutes for both averages or something close to 10 minutes?

I think SebastianJu would tell us that on average we are half-way between blocks, so the average time would be 5 minutes to the previous and 5 minutes to the next. I'm claiming that the average is actually 10 minutes in both directions, and that the sum of the two averages would be 20 minutes.

But I am also claiming that the average time between BTC blocks is 10 minutes.
[/quote]

The error is in your final assertion, "Wouldn't you expect ...".  No I wouldn't expect that.

Right. A+B = C is false. In fact A + B = 2C.

The expected time to previous block + the expected time to next block = twice the expected block time.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 21, 2016, 11:10:57 PM
 #6451

is there a staking pool planned? I currently found out about just-dices shared staking... but you have to invest your coins so it comes with a certain risk Smiley I'd love to see dooglus setup a stake pool

To be honest investing there is not really much of a risk. There is so much leverage on the site that any big losses/gains would be mostly hit others rather than you, as long as you don't leverage.

The main advantages to staking yourself or via my pool are:

1. No 10% fee

2. Decentralize the network.

3. At some point in the future JD leverage might decrease, or large betting on the site might increase, in which case you would be taking more risk. You could in that case stop investing, assuming you were paying attention.

The main disadvantage:

1. You have to trust me instead of dooglas.

2. No interactive web site showing your balance, supporting instant deposits and withdrawals etc.
tittiecoiner
Full Member
***
Offline Offline

Activity: 224
Merit: 100

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
January 22, 2016, 01:59:35 PM
 #6452

http://blog.cryptsy.com/

Quote
– Update 2016/01/19 10:08pm –
The following wallets have been opened for withdrawals:
* Clams

Time to get them out, in case someone still has some CLAM sitting there
They realised thats the only coin worth to have so they have the rest locked.

Are they allowing deposits to bitcoin still? If yes, is it possible to deposit bitcoin, buy CLAMS and withdraw them? I don't think so. What are the new features did CLAMs added recently? This is a huge thread, I can't read it all at this time.

Cryptsy is dead. No more trading, they stopped everything and only partly open certain altcoin wallets for withdrawals.

SebastianJu
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
January 23, 2016, 12:57:00 PM
 #6453

Are you sure that you used the same point in time to calculate the first 2 points? If C is correct then in average you should always find a point in or on a 1 minute timeframe.

Are you saying that the next block always happens within one minute of the current time? That isn't true. The average expected(*) time to the next block is always one minute. It is often more than one minute to the next block.

Note that when staking you don't make "progress" to finding a block. You either find it or you don't. The same with Bitcoin mining. When you are waiting for a block, if you wait 5 minutes without a block being found, it doesn't mean a block is "due", or that a block "should" be found in the next 5 minutes. Even after waiting 5 minutes, the expected time to the next block is still 10 minutes. And if there is no block in the next 10 minutes, the expected time *after that* is still 10 minutes.

(*) I've been using the word "average" when I meant "expected".

Let's pick a random time, say Sat Jan 16 02:33:17 2016.
The previous block was found at 02:32:32 (45 seconds earlier).
The next block was found at 02:33:36 (19 seconds later)

The time to the next block was 19 seconds. The "average" time to the next block was 19 seconds, I guess, if you can average a constant. The average of 19 seconds is 19 seconds. But at that point in time the *expected* time to the next block was 60 seconds, even though at that time it had been 45 seconds since the previous block.

I wrote it the wrong way. What i meant is that your statement might be true WHEN you don't check it against the reality. So we know one clam block is found in average every 1 minute. Then when you don't check it against the real blocks found, let's say you take a point in the future, then you would await that the next block, in average would be 1 minute away. The last block was one minute away in average too. Because you don't have data to rely on. Though when you check it against the past blocks or wait until the blocks were solved around that point then the theoretical truth proofs to be wrong because that point in time has to be somewhere between 1 minute blocks. Which would be the same for the average of all points in time that are checked against the real blocks.

So was your statement theoretical only? It sounds so when i read your answer. Even though i already was doubting what i wrote your answer seems to say you would see it the same way... in theory, without being checked against reality.

When i would chose a random point in the future then the next block after that point should be a half minute later, i think, too.

OK, let's test it.

I wrote a script which picks random points in time over the last month or so, then looks up the time to the previous and next block.

Code:
#!/usr/bin/env python

import random, string, time

def rand():
    return start_date + random.random() * (end_date - start_date)

def fmt(seconds):
    return '[%s]' % time.ctime(seconds)

def find(seconds):
    last = None
    for sec in times:
        if sec < seconds:
            return sec, last
        last = sec

datfile = "clamblocks.dat"

count = 0
lines = 100000
samples = 100000
times = []

fp = open(datfile, "r")

while True:
    line = fp.readline()
    if not line:
        break
    line = string.split(line[:-1])
    times.append(string.atoi(line[5]))
    count += 1
    if (count == lines):
        break

start_date = times[-1]
end_date = times[0]

print "picking random dates between %s and %s" % (fmt(start_date), fmt(end_date))

before_sum = 0
after_sum = 0

count = 0
while True:
    t = rand()
    before, after = find(t)
    before_sum += t - before
    after_sum += after - t
    count += 1
    if count % 1000 == 0:
        print ("(%6d) %s is %6.2f seconds after %s (%6.2f) and %6.2f seconds after %s (%6.2f)" %
               (count,
                fmt(t),
                t - before, fmt(before), before_sum / count,
                after - t,  fmt(after), after_sum / count))

I happened to have the data in a file already, so it's a bit quicker than querying the clam daemon. But never mind that. Here's the output of the script. It shows the average times in (parentheses):

Quote
(200000) [Fri Nov 13 01:41:39 2015] is  67.13 seconds after [Fri Nov 13 01:40:32 2015] ( 52.78) and  44.87 seconds after [Fri Nov 13 01:42:24 2015] ( 52.96)
(201000) [Tue Dec  8 16:40:24 2015] is  40.73 seconds after [Tue Dec  8 16:39:44 2015] ( 52.76) and   7.27 seconds after [Tue Dec  8 16:40:32 2015] ( 52.97)
(202000) [Sun Jan 17 05:09:04 2016] is  16.23 seconds after [Sun Jan 17 05:08:48 2016] ( 52.77) and  31.77 seconds after [Sun Jan 17 05:09:36 2016] ( 52.97)

After picking 200k random points in time the average of all the actual times from the previous block is 52.78 seconds, and the average of the actual times to the next block is 52.97 seconds.

I'm surprised it's coming out around 53 seconds and not 60, but can imagine two explanations:

1) the CLAM network is always a little bit too fast; the average block time is 59.xx seconds, not 60 seconds; not a significant error
2) the average time to the next block is 60 seconds because it's possible (though unlikely) to have *very* long gaps between blocks; we're not seeing those very long gaps in the sample that I'm averaging over, but we are seeing lots of short gaps

Either way, it's closer to 60s than to 30s, and their sum is way over 60s.

Edit: I ran it again, using a year's worth of blocks, and let it run for longer. The results barely changed:

Quote
picking random dates between [Sun Jan 18 03:37:36 2015] and [Thu Jan 21 07:04:00 2016]
(276000) [Mon Feb 23 00:40:30 2015] is  62.58 seconds after [Mon Feb 23 00:39:28 2015] ( 52.74) and 289.42 seconds after [Mon Feb 23 00:45:20 2015] ( 52.76)

Well, i'm surprised and don't see why this is the case.

First, statements A and B don't make sense.  The average amount of time from the chosen point in time is a singular number.  You probably mean the average of a distribution of randomly chosen points.  

You are correct. The average time to the next block from a particular random point in time is whatever the actual time to the next block was. I was being sloppy. I meant the expected time to the next block if the future wasn't already known.

You wake up, turn on your computer, look at blockchain.info. How long since the last block was found? Make a note. Wait for the next block; how long does it take from when we woke up? Make a note. Repeat this every day for a year, average times to the previous blocks, and average the times to the next blocks. Do you get something close to 5 minutes for both averages or something close to 10 minutes?

I think SebastianJu would tell us that on average we are half-way between blocks, so the average time would be 5 minutes to the previous and 5 minutes to the next. I'm claiming that the average is actually 10 minutes in both directions, and that the sum of the two averages would be 20 minutes.

But I am also claiming that the average time between BTC blocks is 10 minutes.
[/quote]

I still don't get it. The average time between blocks is 1 minute. Then all you can do is chose points between this minute. Which means 60 seconds. If you do it easy and calculate 1+2...59+60 you get 1830, if i used the small gauss correctly. Tongue Divided through 60 numbers would be 30,5. Oh well, i'm not a big mathematician it seems. Cheesy

But what i want to say is that how can the average be higher than the average of these points in between a block if the average blocksize is 60 seconds?

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
chilly2k
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
January 23, 2016, 02:28:16 PM
 #6454


Code:
#!/usr/bin/env python

import random, string, time

def rand():
    return start_date + random.random() * (end_date - start_date)

def fmt(seconds):
    return '[%s]' % time.ctime(seconds)

def find(seconds):
    last = None
    for sec in times:
        if sec < seconds:
            return sec, last
        last = sec

datfile = "clamblocks.dat"

count = 0
lines = 100000
samples = 100000
times = []

fp = open(datfile, "r")

while True:
    line = fp.readline()
    if not line:
        break
    line = string.split(line[:-1])
    times.append(string.atoi(line[5]))
    count += 1
    if (count == lines):
        break

start_date = times[-1]
end_date = times[0]

print "picking random dates between %s and %s" % (fmt(start_date), fmt(end_date))

before_sum = 0
after_sum = 0

count = 0
while True:
    t = rand()
    before, after = find(t)
    before_sum += t - before
    after_sum += after - t
    count += 1
    if count % 1000 == 0:
        print ("(%6d) %s is %6.2f seconds after %s (%6.2f) and %6.2f seconds after %s (%6.2f)" %
               (count,
                fmt(t),
                t - before, fmt(before), before_sum / count,
                after - t,  fmt(after), after_sum / count))

   I'm not a python programmer, but in the find routine, it looks like your returning the newer block, and then the older block.  but in the main routine, your looking for the older block then the newer block.  

   Have you tried running the code with a small subset, just so you can manually verify the output.  

I would expect the averages to be 1/2 the block time.  

Maybe I don't know what I'm talking about....  (Won't be the first time)

smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 23, 2016, 10:00:17 PM
 #6455

But what i want to say is that how can the average be higher than the average of these points in between a block if the average blocksize is 60 seconds?

Break down the assumptions you are making very carefully.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
January 23, 2016, 10:08:21 PM
 #6456

Spoiler alert... I give the game away in this post. If you don't want to read it yet, scroll past...

x

x

x

x

x

What i meant is that your statement might be true WHEN you don't check it against the reality. So we know one clam block is found in average every 1 minute. Then when you don't check it against the real blocks found, let's say you take a point in the future, then you would await that the next block, in average would be 1 minute away. The last block was one minute away in average too. Because you don't have data to rely on. Though when you check it against the past blocks or wait until the blocks were solved around that point then the theoretical truth proofs to be wrong because that point in time has to be somewhere between 1 minute blocks. Which would be the same for the average of all points in time that are checked against the real blocks.

Whether you check against theoretical or real blocks, you find the same.

If you randomly pick a point in time over the last year and see what the time between blocks was at that point, you get number around 2 minutes on average. Even though the average blocktime is only one minute.

So was your statement theoretical only?

No, it really happens.

Do you want to know why?

It's because when you pick a random point in time you have very little chance of picking one of the quick blocks, and a much bigger chance of picking a slow block. That's what messes up the average time - there's a bias towards you picking the bigger gaps, just because they are bigger.

But what i want to say is that how can the average be higher than the average of these points in between a block if the average blocksize is 60 seconds?

It's a funny effect isn't it.

Maybe this related situation makes it clearer:

Suppose there are two busses per hour at your local stop. One one the hour, and one at 5 minutes past the hour. You don't know the timetable; you just know that there are 2 busses per hour, so an average time between busses of 30 minutes. You guess your expected wait time will be 15 minutes.

Now suppose you arrive at the bus stop at a random point in time. How long do you expect to be waiting for a bus?

5/60 probability you arrive between x:00 and x:05 and have an average wait of 2.5 minutes
55/60 probability you arrive after x:05 and have an average wait of 27.5 minutes
Note that the average of 2.5 and 27.5 is 15 minutes - but the probabilities aren't equal. The long wait is much higher probability.

The actual expected wait time is (2.5 * 5/60) + (27.5 * 55/60) = 25.4166 minutes. The expected 'time between busses' you see, when you randomly arrive at the stop is twice that, at around 51 minutes. Because almost all the time you're not lucky enough to get there between :00 and :05.

--

Alternatively, suppose there are two busses, one with 10 people on it, and one with 90 people on it. You take the 100 people into a room and do a survey. You ask them "how many people were on your bus?" and average the replies.

There was an average of 50 people per bus, but you're going to hear "90" much more than you hear "10", so the average of the numbers you hear is going to be closer to 90 than to the true average.

   I'm not a python programmer, but in the find routine, it looks like your returning the newer block, and then the older block.  but in the main routine, your looking for the older block then the newer block.  

   Have you tried running the code with a small subset, just so you can manually verify the output.  

I would expect the averages to be 1/2 the block time.  

Maybe I don't know what I'm talking about....  (Won't be the first time)

It's not clear from my code, but the datafile has newest blocks first, so find routine is returning the older block first, then the newer one.

I did test it on a small sample first, and it is doing the first thing.

I would have expected the averages to be 30 seconds too, but they aren't. See my "bus" examples above for an intuitive explanation of why... basically when you pick a random time you have a bigger chance of picking a time when we were waiting a long time for a block than picking one of the quick ones...

x

x

x

x

x

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
TooDumbForBitcoin
Legendary
*
Offline Offline

Activity: 1638
Merit: 1001



View Profile
January 24, 2016, 11:30:22 AM
 #6457

Calling VultureFund.

Fewer than 13 hours left.



▄▄                                  ▄▄
 ███▄                            ▄███
  ██████                      ██████
   ███████                  ███████
    ███████                ███████
     ███████              ███████
      ███████            ███████
       ███████▄▄      ▄▄███████
        ██████████████████████
         ████████████████████
          ██████████████████
           ████████████████
            ██████████████
             ███████████
              █████████
               ███████
                █████
                 ██
                  █
veil|     PRIVACY    
     WITHOUT COMPROMISE.      
▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂
|   NO ICO. NO PREMINE. 
   X16RT GPU Mining. Fair distribution.  
|      The first Zerocoin-based Cryptocurrency      
   WITH ALWAYS-ON PRIVACY.  
|



                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌




   ▄███████
   ████████
   ███▀
   ███
██████████
██████████
   ███
   ███
   ███
   ███
   ███
   ███




     ▄▄█▀▀ ▄▄▄▄▄▄▄▄ ▀▀█▄▄
   ▐██▄▄██████████████▄▄██▌
   ████████████████████████
  ▐████████████████████████▌
  ███████▀▀▀██████▀▀▀███████
 ▐██████     ████     ██████▌
 ███████     ████     ███████
▐████████▄▄▄██████▄▄▄████████▌
▐████████████████████████████▌
 █████▄▄▀▀▀▀██████▀▀▀▀▄▄█████
  ▀▀██████          ██████▀▀
      ▀▀▀            ▀▀▀
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
January 24, 2016, 10:09:09 PM
 #6458

People were asking in the JD chat for updated 'dig' charts, so I figure I'd post them here too.

Click for bigger versions:

  1) all-time:

   

  2) since just before the big digger started:

   

  3) since just before the big digger stopped:

   

So we've only seen 8k dug since the digger stopped, 3k of which was all at once.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
TooDumbForBitcoin
Legendary
*
Offline Offline

Activity: 1638
Merit: 1001



View Profile
January 24, 2016, 10:25:14 PM
 #6459

Calling VultureFund.

90 minutes left.



▄▄                                  ▄▄
 ███▄                            ▄███
  ██████                      ██████
   ███████                  ███████
    ███████                ███████
     ███████              ███████
      ███████            ███████
       ███████▄▄      ▄▄███████
        ██████████████████████
         ████████████████████
          ██████████████████
           ████████████████
            ██████████████
             ███████████
              █████████
               ███████
                █████
                 ██
                  █
veil|     PRIVACY    
     WITHOUT COMPROMISE.      
▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂
|   NO ICO. NO PREMINE. 
   X16RT GPU Mining. Fair distribution.  
|      The first Zerocoin-based Cryptocurrency      
   WITH ALWAYS-ON PRIVACY.  
|



                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌




   ▄███████
   ████████
   ███▀
   ███
██████████
██████████
   ███
   ███
   ███
   ███
   ███
   ███




     ▄▄█▀▀ ▄▄▄▄▄▄▄▄ ▀▀█▄▄
   ▐██▄▄██████████████▄▄██▌
   ████████████████████████
  ▐████████████████████████▌
  ███████▀▀▀██████▀▀▀███████
 ▐██████     ████     ██████▌
 ███████     ████     ███████
▐████████▄▄▄██████▄▄▄████████▌
▐████████████████████████████▌
 █████▄▄▀▀▀▀██████▀▀▀▀▄▄█████
  ▀▀██████          ██████▀▀
      ▀▀▀            ▀▀▀
SebastianJu
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
January 25, 2016, 02:52:05 AM
 #6460

Hm, interesting effect. Cheesy I would have awaited that the smaller timeframes for finding a block will average it out but of course the total amount of values coming from the bigger timeframes will have a higher power when put into the average calculation.

Well, i'm no mathematician but it's interesting. Smiley

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
Pages: « 1 ... 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 [323] 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 ... 501 »
  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!