Questions tagged [time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
66 views

Reduce block time

I was wondering about block time and block size. Why are they defined the way they are? Is it possible to reduce the time between two blocks without changing the consensus mechanism? What would happen ...
Matthiew's user avatar
3 votes
1 answer
245 views

What happens in epoch of a blockchain?

I have been working on a substrate blockchain. I want to know about the events and process happening in each epoch of blockchain and what are the concepts behind the epoch?
Karanvir Singh's user avatar
2 votes
3 answers
311 views

How to use the scale decoder to parse extrinsics?

How to use the scale decoder to parse extrinsics? I tried to get the timestamp of this block in this way, but the result was not correct. Which friend has a specific example of analysis for me? thank ...
Andy's user avatar
  • 63
1 vote
1 answer
61 views

How does RPC getblock get the confirmation time of the block

After calling the RPC method getblock. How can I get the confirmation time of this block in the genblock method?
Andy's user avatar
  • 63
3 votes
1 answer
83 views

Length of time of a block

Is it possible to get the average length of time (in UNIX time) per block on Substrate? I basically want the average session length in UNIX time. I know we can get it in terms of block numbers. But I ...
basketball9's user avatar
8 votes
2 answers
354 views

How can we convert the timestamp to the date/time in Substrate pallet?

I need to get the system time in my pallet for which I am able to get the epoch format like 1590512778000. Now I need to convert this time to the date-time. I tried many ways but none worked. Can you ...
Pankaj's user avatar
  • 1,896