Each time test block creation time.

+3 votes
Hello,

I want to know how Each time test block creation time. I need in my research to know if I change the bit of diffeculty from 0 bits to 52 bits for example how long it will take ? and how long it will take to have the transaction confirmed ?

 

Question 1 : To know how long it will take to make the block created each time if I change the bit of diffeculty ( for example 0 bits , 5 bits 52 bits 200 bits to see the graphy to include it on my research) ?

question 2 : how long it will take to have transaction verfied and confirmed ? I need time to see to make a graph ?

 

I'm thankful for you guys your best answer
asked Feb 11, 2022 by musharraf90

1 Answer

+4 votes
 
Best answer
I think this is something you should test for yourself, we don't have this information.
answered Feb 11, 2022 by MultiChain
selected Feb 12, 2022 by musharraf90
is it possible in multichain?
I don't want graph. I want to know the numbers such as how long does it take to have the transaction confirmed. I would like to know the duraring such as 15 seconds. and how long the block is formed and added to the ledger such as 50 seconds.
You can get the information you need by using APIs like listblocks/getblock to get the block times, and listwallettransactions/getwallettransaction to get the transaction times, and then comparing those times.
"time" : 1644216426,
    "nonce" : 261,
    "bits" : "2000ffff",
    "difficulty" : 5.96046447753906e-8,
    "chainwork" : "0000000000000000000000000000000000000000000000000000000000000300",
    "previousblockhash" : "0092b9033ebd6cba922cad6c2be96c5b24097ada5ae0fc8f13802b6bb1d7dc77",
    "nextblockhash" : "00880f54c44569d8efb79f5ac017c7220ddd9591efc7593ced9b3f620e737497"

how can I understand the time ? the time is "1644216426" ? could you please expalin it to me
...