Author

Topic: Query on block ??? (Read 704 times)

copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
January 13, 2017, 03:13:40 PM
#13
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

A (random) number block in the not to distant future might also work.
what you meant by your above quoted text?

Lets say I start the raffle today and want it to finish some time sunday next week. So I go to e.g. blocktrail and see the current block height is 447073 and there are on average 144 blocks per day. So I go to random.org and let me get a random number between 72 and 144. It tells me 99. I add another 144*7 blocks for the week and say that block 447073 + 99 + (144*7) = 448180 will decide who wins the raffle. I would also require valid transactions to be confirmed in block 448179 or earlier.
why a random number is added? And also random number changes everytime whenever i click 'generate'

For fun. I generates a new one with each click, yes.
yeah but i dont suppose its need of a random number :/

No it doesnt need one, but might as well add one in the mix for fun.
full member
Activity: 133
Merit: 100
January 13, 2017, 01:51:50 PM
#12
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

A (random) number block in the not to distant future might also work.
what you meant by your above quoted text?

Lets say I start the raffle today and want it to finish some time sunday next week. So I go to e.g. blocktrail and see the current block height is 447073 and there are on average 144 blocks per day. So I go to random.org and let me get a random number between 72 and 144. It tells me 99. I add another 144*7 blocks for the week and say that block 447073 + 99 + (144*7) = 448180 will decide who wins the raffle. I would also require valid transactions to be confirmed in block 448179 or earlier.
why a random number is added? And also random number changes everytime whenever i click 'generate'

For fun. I generates a new one with each click, yes.
yeah but i dont suppose its need of a random number :/
copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
January 13, 2017, 05:37:59 AM
#11
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

A (random) number block in the not to distant future might also work.
what you meant by your above quoted text?

Lets say I start the raffle today and want it to finish some time sunday next week. So I go to e.g. blocktrail and see the current block height is 447073 and there are on average 144 blocks per day. So I go to random.org and let me get a random number between 72 and 144. It tells me 99. I add another 144*7 blocks for the week and say that block 447073 + 99 + (144*7) = 448180 will decide who wins the raffle. I would also require valid transactions to be confirmed in block 448179 or earlier.
why a random number is added? And also random number changes everytime whenever i click 'generate'

For fun. I generates a new one with each click, yes.
full member
Activity: 133
Merit: 100
January 13, 2017, 05:26:47 AM
#10
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

A (random) number block in the not to distant future might also work.
what you meant by your above quoted text?

Lets say I start the raffle today and want it to finish some time sunday next week. So I go to e.g. blocktrail and see the current block height is 447073 and there are on average 144 blocks per day. So I go to random.org and let me get a random number between 72 and 144. It tells me 99. I add another 144*7 blocks for the week and say that block 447073 + 99 + (144*7) = 448180 will decide who wins the raffle. I would also require valid transactions to be confirmed in block 448179 or earlier.
why a random number is added? And also random number changes everytime whenever i click 'generate'
copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
January 07, 2017, 03:02:06 PM
#9
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

A (random) number block in the not to distant future might also work.
what you meant by your above quoted text?

Lets say I start the raffle today and want it to finish some time sunday next week. So I go to e.g. blocktrail and see the current block height is 447073 and there are on average 144 blocks per day. So I go to random.org and let me get a random number between 72 and 144. It tells me 99. I add another 144*7 blocks for the week and say that block 447073 + 99 + (144*7) = 448180 will decide who wins the raffle. I would also require valid transactions to be confirmed in block 448179 or earlier.
full member
Activity: 133
Merit: 100
January 07, 2017, 11:14:41 AM
#8
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

A (random) number block in the not to distant future might also work.
what you meant by your above quoted text?
copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
January 07, 2017, 09:20:33 AM
#7
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?

We cant tell you that, because we dont run the raffle in question. I personally would set a fixed time (including timezone) and the nearest block to this time would be the one. Should two blocks have the same time difference to the given time it would be the later. Something along those lines so every can know in advance which block will be the one. A (random) number block in the not to distant future might also work.
full member
Activity: 133
Merit: 100
January 07, 2017, 09:08:29 AM
#6
how i get to know the hash from a block??
Thanks Smiley but how a block is chosen?

You can use a block explorer such as BlockCypher. Enter the block height e.g. 444600) in the search field at the top of the page and press enter. The hash will be beneath the page header.
full member
Activity: 133
Merit: 100
January 07, 2017, 09:07:16 AM
#5
Also how the organizer of the RAFFLE choose a block? Is he do it as the time at which the RAFFLE closes and the current block which is going on or on some other basis?
sr. member
Activity: 528
Merit: 368
January 07, 2017, 09:05:56 AM
#4
how i get to know the hash from a block??

You can use a block explorer such as BlockCypher. Enter the block height e.g. 444600) in the search field at the top of the page and press enter. The hash will be beneath the page header.
full member
Activity: 133
Merit: 100
January 07, 2017, 09:03:12 AM
#3
Hello . .just by surfing on this forum i find RAFFLE .. its that numbers are taken by buyers from 0-9 and a-f . And then the organizer of raffle choose a block. How this number or alphabet is calculated through numeric block example 444600 etc  Huh

Each block has a height (e.g. 444600) and a hash (e.g. 000000000000000000f2085ab75fa5170fb1df5a335c79e78426063487486418). Without knowing the raffle, they probably refer to the (last digit of the) hash of the block with height X.
how i get to know the hash from a block??
copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
January 07, 2017, 03:53:44 AM
#2
Hello . .just by surfing on this forum i find RAFFLE .. its that numbers are taken by buyers from 0-9 and a-f . And then the organizer of raffle choose a block. How this number or alphabet is calculated through numeric block example 444600 etc  Huh

Each block has a height (e.g. 444600) and a hash (e.g. 000000000000000000f2085ab75fa5170fb1df5a335c79e78426063487486418). Without knowing the raffle, they probably refer to the (last digit of the) hash of the block with height X.
full member
Activity: 133
Merit: 100
January 07, 2017, 03:46:12 AM
#1
Hello . .just by surfing on this forum i find RAFFLE .. its that numbers are taken by buyers from 0-9 and a-f . And then the organizer of raffle choose a block. How this number or alphabet is calculated through numeric block example 444600 etc  Huh
Jump to: