Author

Topic: can some one explain to me how to understand block time pelase (Read 1003 times)

legendary
Activity: 3472
Merit: 4794
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".
newbie
Activity: 44
Merit: 0
so the average of all winers can be 720(average) in one day?
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
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.
legendary
Activity: 3472
Merit: 4794
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.
newbie
Activity: 44
Merit: 0
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
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
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.
legendary
Activity: 3472
Merit: 4794
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?
newbie
Activity: 44
Merit: 0
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?
legendary
Activity: 3472
Merit: 4794
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.
newbie
Activity: 44
Merit: 0
 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
legendary
Activity: 3472
Merit: 4794
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.
newbie
Activity: 44
Merit: 0
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?
legendary
Activity: 2912
Merit: 1060
If miners flock quickly, they can generate them quicker until diff changes
hero member
Activity: 728
Merit: 500
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.
newbie
Activity: 44
Merit: 0
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
Jump to: