Instruction:How to calculate the validity period of a check: Difference between revisions

From Decimal Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "{{#seo: |title= How to calculate the validity period of a check |titlemode=append |keywords= How to calculate check validity time, How to calculate the validity period of a check, how long check is valid Decimal, valid before block, Decimal, checks |description= Decimal instruction. How to calculate check validity time in DecimalChain }} <div class="mikio-article-content"> <div class="mikio-tags"> </div> <span id="How to calculate check validity period"></span> = How to...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#seo:
{{#seo:
|title= How to calculate the validity period of a check
|title= How to calculate the validity period of a check — Instruction on Decimal Wiki
|titlemode=append
|titlemode=append
|keywords= How to calculate check validity time, How to calculate the validity period of a check, how long check is valid Decimal, valid before block, Decimal, checks
|keywords= How to calculate check validity time, How to calculate the validity period of a check, how long check is valid Decimal, valid before block, Decimal, checks
|description= Decimal instruction. How to calculate check validity time in DecimalChain
|description= Decimal instruction. How to calculate check validity time in DecimalChain
}}
}}
<div class="mikio-article-content">
{{manual-console}}
<div class="mikio-tags">
During the [[Instruction:How to issue a check|creation of a check]], there is a field called '''Due block''':
</div>
[[File:How_to_calculate_the_validity_period_of_a_check_1.png|700px|thumb|left]]<br clear="all">


<span id="How to calculate check validity period"></span>
The '''Due block''' field is used to limit the validity of the check. If you want an indefinite check, leave this field blank. However, if you want the check to expire after a certain amount of time, you need to calculate the block at which it will expire. To do this, look at the height of the current signed block in the explorer. You can access the explorer at <code>https://explorer.decimalchain.com</code>:
= How to calculate the validity period of a check =
[[File:How_to_calculate_the_validity_period_of_a_check_2.png|700px|thumb|left]]<br clear="all">


During the creation of a check, there is a field called '''Due block:''' </br>
Find the last signed [[block]] (14,658,101 in our example) and record its number. Now calculate how many days you want to add to this value. Keep in mind that Decimal blockchain signs around 14,400 blocks per day, or one block every six seconds. For example, if you want to limit the check to one month, multiply 30 days by 14,400:
[[File:How_to_calculate_the_validity_period_of_a_check_1.png|700px|class=mediacenter]]</br></br>


The '''Due block''' field is used to limit the validity of the check. If you want an indefinite check, leave this field blank. However, if you want the check to expire after a certain amount of time, you need to calculate the block at which it will expire. To do this, look at the height of the current signed block in the explorer. You can access the explorer at https://explorer.decimalchain.com:</br>
<math>14,400 \times 30 = 432,000</math>
[[File:How_to_calculate_the_validity_period_of_a_check_2.png|700px|class=mediacenter]]</br></br>


Find the last signed block (14,658,101 in our example) and record its number. Now calculate how many days you want to add to this value. Keep in mind that Decimal blockchain signs around 14,400 blocks per day, or one block every six seconds. For example, if you want to limit the check to one month, multiply 30 days by 14,400:</br>
Add this number to the last signed block:  


14400 * 30 = 432,000</br>
<math>14,658,101 + 432,000 = 15,090,101</math>


Add this number to the last signed block: </br>
Insert this value into the '''Due block''' field, and your check will be valid for 30 days, expiring at block 15,090,101.
[[File:How_to_calculate_the_validity_period_of_a_check_3.png|700px|thumb|left]]<br clear="all">


14 658 101 + 432 000 = 15 090 101
[[Category:Instructions:Checks]]
 
{{interwiki|ru=Инструкция:Как рассчитать время действия чека}}
Insert this value into the '''Due block''' field, and your check will be valid for 30 days, expiring at block 15,090,101.</br>
[[File:How_to_calculate_the_validity_period_of_a_check_3.png|700px|class=mediacenter]]</br></br>
 
[[Category:Instructions]]

Latest revision as of 13:33, 14 April 2024

This is a page with the instruction guide to the Decimal Console.

During the creation of a check, there is a field called Due block:


The Due block field is used to limit the validity of the check. If you want an indefinite check, leave this field blank. However, if you want the check to expire after a certain amount of time, you need to calculate the block at which it will expire. To do this, look at the height of the current signed block in the explorer. You can access the explorer at https://explorer.decimalchain.com:


Find the last signed block (14,658,101 in our example) and record its number. Now calculate how many days you want to add to this value. Keep in mind that Decimal blockchain signs around 14,400 blocks per day, or one block every six seconds. For example, if you want to limit the check to one month, multiply 30 days by 14,400:

Add this number to the last signed block:

Insert this value into the Due block field, and your check will be valid for 30 days, expiring at block 15,090,101.


 This article is available in other languages:    Русский