Bitcoin Forum
July 30, 2024, 08:14:00 PM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: can some one explain to me how to understand block time pelase  (Read 998 times)
mikestro (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 09, 2014, 12:54:41 PM
 #1

if for example i  have coin that block time every 60 second it 50 coin per block and maximum of 400 per day maximum 25mil coins
so how its working  how many coins the world can mine and if its 60 second for every 60 second only one person recive coins or what?
400 x 60 x 24?
so i can mine maximum of 50 X 1440(minutes in day)

so for this coin, in average how many rewarding blocks per day could the whole world mine when block every 60 second 50 coins per day 25 mil is maximum
Rannasha
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


View Profile
January 09, 2014, 01:11:14 PM
 #2

With a block-time of 60 seconds and a block-reward of 50 coins, every minute (on average) 50 new coins are created. So 3000 per hour or 72000 coins per day.

With most coins the block-reward is halved periodically and this means that the total coin supply will asymptotically approach a fixed maximum amount of coins. With Bitcoin, this maximum is 21000000.
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 11, 2014, 04:52:57 AM
 #3

If miners flock quickly, they can generate them quicker until diff changes

mikestro (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 12, 2014, 05:43:42 PM
 #4

Yes but lets say 60 seconds block 1440 maximum is
The number for total miners that abale to get 1440
Or only per machine ?
Can i generate 1440 is the maximum on one machine and
Generate the same ammount
On other? Or its maximum of blocks per
All users that mining that coin per day? So every 60 seconds only one person get reward from block?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
January 12, 2014, 11:24:57 PM
 #5

Yes but lets say 60 seconds block 1440 maximum is
The number for total miners that abale to get 1440
Or only per machine ?
Can i generate 1440 is the maximum on one machine and
Generate the same ammount
On other? Or its maximum of blocks per
All users that mining that coin per day? So every 60 seconds only one person get reward from block?

Is it really necessary to ask the exact same question twice?  Isn't once enough?

Please read this:
http://bitcoin.org/bitcoin.pdf

Then come back and ask any additional questions that you might have.
mikestro (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 13, 2014, 08:00:29 AM
Last edit: January 13, 2014, 08:24:42 AM by mikestro
 #6

 i read it thank you but look at this peace of code
this is example i compiled from source code change it to 150 and tested
Code:
return dPriority > COIN * 150 / 250; //
but how i generated more 800 on both machine so still i confuse
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
January 13, 2014, 03:28:31 PM
 #7

i read it thank you but look at this peace of code
this is example i compiled from source code change it to 150 and tested
Code:
return dPriority > COIN * 150 / 250; //
but how i generated more 800 on both machine so still i confuse

That piece of code doesn't determine how much you mine, it determines if you need to include a fee when you send a transaction (are you allowed to send the transaction for free):

Code:
    static bool AllowFree(double dPriority)
    {
        // Large (in bytes) low-priority (new, small-coin) transactions
        // need a fee.
        return dPriority > COIN * 144 / 250;
    }

In order to be allowed to send the transaction for free, the "priority" (dPriority) of the transaction must be greater than the priority of a 250 byte transaction that spends a 1 BTC (COIN) input from a transaction that is 144 blocks old.
mikestro (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 14, 2014, 08:52:17 PM
 #8

ohh so the number of maximum block limited only be the number 60 second per block -->1440 minutes 14400(maximum block per day?)
in bitcoin 10 minutes / 1440 minuts(in one day) = 144 block per day maximum?

return dPriority > COIN * 144 / 250;
so this if my transaction is above 144 bytes  include fee of total 250byes something like that?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
January 14, 2014, 09:19:26 PM
 #9

ohh so the number of maximum block limited only be the number 60 second per block -->1440 minutes 14400(maximum block per day?)
in bitcoin 10 minutes / 1440 minuts(in one day) = 144 block per day maximum?

Not maximum.

Average.

As far as I know, there is no maximum limit on number of blocks per day.  There is an average number of blocks if the total network hash power doesn't change and the variance isn't excessive.

Blocks are randomly solved as fast as possible.  The target difficulty is modified every 2016 blocks to attempt to slow down block creation if the 2016 blocks were created in less than 20,160 minutes, and to attempt to speed up block creation if the 2016 blocks were created in more than 20,160 minutes.

return dPriority > COIN * 144 / 250;
so this if my transaction is above 144 bytes  include fee of total 250byes something like that?

I think you are looking at old source code?  Is that line still in version 0.8.6?
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
January 14, 2014, 09:27:10 PM
 #10

ohh so the number of maximum block limited only be the number 60 second per block -->1440 minutes 14400(maximum block per day?)

As others said block time is a target.  If 10 miners can guess 1 million hash / second and you want 1 block every 60 seconds on average then your code sets difficulty so that you have a 1/6e8 chance of getting a correct guess.  But that still is a chance, someone could get lucky or unlucky and generate blocks faster or slower than every 60 seconds, but on average it'll work out to that.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
mikestro (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 14, 2014, 09:37:06 PM
 #11

the source from other alt coins

for example the etoken

Scrypt Algo
Block target: 2 minutes
Difficulty retarget: 5040 blocks (~7 days)
Total eTokens: 900.000 (~5 years)
Transaction confirmations: 12 (24 minutes)
Mining confirmations: 240 (20 hours)
Minimum fee: 0.000001
Proof of Work algorithm: scrypt

2 minutes block maximum  of 720 per day? for all network?
720 * 356(all year)  256320
Total eTokens: 900.000 (~5 years)
256320 * 5 = 1281600 blocks
rn dPriority > COIN * 144 / 250; i didnt got the idea of the fee sorry and thank you for the patients
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
January 14, 2014, 09:43:03 PM
 #12

the source from other alt coins

for example the etoken

Scrypt Algo
Block target: 2 minutes
Difficulty retarget: 5040 blocks (~7 days)
Total eTokens: 900.000 (~5 years)
Transaction confirmations: 12 (24 minutes)
Mining confirmations: 240 (20 hours)
Minimum fee: 0.000001
Proof of Work algorithm: scrypt

2 minutes block maximum of 720 per day? for all network?

Ask the creator of the alt coin.

Any crypto-currency creator can implement any rules they want for their currency.  You have to either ask them, or be able to understand ALL of their code to make sure they haven't hidden something in that that you don't know about.

If it is essentially a copy of the bitcoin protocol with some very minor and silly useless changes to it, then as far as I'm concerned, it's trash.  But in that case a block target of 2 minutes would most likely mean that the creator intends the entire network to generate ON AVERAGE (not maximum!), 7220 blocks per day.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
January 14, 2014, 09:49:03 PM
 #13

It's an average, not maximum.  Like with the lottery, someone will win on average once every two months.  It doesn't mean that only one person maximum can win every 2 months.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
mikestro (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 14, 2014, 10:05:50 PM
 #14

so the average of all winers can be 720(average) in one day?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
January 14, 2014, 10:31:36 PM
 #15

so the average of all winers can be 720(average) in one day?


Ask the creator of the alt coin.

Any crypto-currency creator can implement any rules they want for their currency.


If it is essentially a copy of the bitcoin protocol with some very minor and silly useless changes to it, then as far as I'm concerned, it's trash.  But in that case:

Yes, "the average number of blocks created would be 720 in one day".
Pages: [1]
  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!