loading...

فکت کوینز

آموزش جامع بلاک چین و ارزهای دیجیتال

.

.

در ادامه قسمت پنجم وایت پیپر اتریوم:

.

.

بلاک چین و ماینینگ اتریوم (Blockchain and Mining )

.

.

با وجود تفاوتهایی بین بلاکچین اتریوم و بیتکوین هنوز هم میتوان گفت این دو از بسیاری جهات شبیه به هم هستند. با توجه به ساختار اتریوم ، اصلی ترین تفاوت آنها این است که بلاک های اتریوم بر خلاف بیت کوین از لیستی از تراکنش ها و آخرین وضعیت تشکیل شده اند.

.

.

جدا از این مسأله، دو عدد دیگر یعنی شماره بلاک و سختی شبکه هم در بلاک ذخیره میشود.

.

.

در سیستم اتریوم ترتیب الگوی اعتبار سنجی بلاک به شرح زیر است:

.

.

.

.

Check that the timestamp of the block is greater than that of the referenced previous block and less than 15 minutes into the future

.

.

Check that the block number, difficulty, transaction root, uncle root and gas limit (various low-level Ethereum-specific concepts) are valid

.

.

Check that the proof of work on the block is valid

.

.

Let S[0] be the STATE_ROOT of the previous block

.

.

Let TX be the block’s transaction list, with n transactions. For all in in 0…n-1, set S[i+1] = APPLY(S[i],TX[i]). If any applications returns an error, or if the total gas consumed in the block up until this point exceeds the GASLIMIT, return an error

.

.

Let S_FINAL be S[n], but adding the block reward paid to the miner

.

.

Check if S_FINAL is the same as the STATE_ROOT. If it is, the block is valid; otherwise, it is not valid

.

.

جهت مشاهده ادامه مقاله به آدرس وب سایت فکت کوینز مراجعه نمایید



.

.

در ادامه قسمت پنجم وایت پیپر اتریوم:

.

.

بلاک چین و ماینینگ اتریوم (Blockchain and Mining )

.

.

با وجود تفاوتهایی بین بلاکچین اتریوم و بیتکوین هنوز هم میتوان گفت این دو از بسیاری جهات شبیه به هم هستند. با توجه به ساختار اتریوم ، اصلی ترین تفاوت آنها این است که بلاک های اتریوم بر خلاف بیت کوین از لیستی از تراکنش ها و آخرین وضعیت تشکیل شده اند.

.

.

جدا از این مسأله، دو عدد دیگر یعنی شماره بلاک و سختی شبکه هم در بلاک ذخیره میشود.

.

.

در سیستم اتریوم ترتیب الگوی اعتبار سنجی بلاک به شرح زیر است:

.

.

.

.

Check that the timestamp of the block is greater than that of the referenced previous block and less than 15 minutes into the future

.

.

Check that the block number, difficulty, transaction root, uncle root and gas limit (various low-level Ethereum-specific concepts) are valid

.

.

Check that the proof of work on the block is valid

.

.

Let S[0] be the STATE_ROOT of the previous block

.

.

Let TX be the block’s transaction list, with n transactions. For all in in 0…n-1, set S[i+1] = APPLY(S[i],TX[i]). If any applications returns an error, or if the total gas consumed in the block up until this point exceeds the GASLIMIT, return an error

.

.

Let S_FINAL be S[n], but adding the block reward paid to the miner

.

.

Check if S_FINAL is the same as the STATE_ROOT. If it is, the block is valid; otherwise, it is not valid

.

.

جهت مشاهده ادامه مقاله به آدرس وب سایت فکت کوینز مراجعه نمایید



factcoins بازدید : 557 پنجشنبه 14 اسفند 1399 زمان : 14:46
ارسال نظر برای این مطلب

تعداد صفحات : -1

درباره ما
Profile Pic
''فکت کوینز'' حاصل تلاش یک تیم متخصص وعلاقمند درزمینه بلاک چین وارزهای دیجیتال است که سعی می کند مقالات آموزش های مرتبط را با کیفیت بالا به علم اندوزان ارائه نماید وب سایت www.factcoins.com
اطلاعات کاربری
نام کاربری :
رمز عبور :
  • فراموشی رمز عبور؟
  • آرشیو
    آمار سایت
  • کل مطالب : 77
  • کل نظرات : 0
  • افراد آنلاین : 3
  • تعداد اعضا : 0
  • بازدید امروز : 3
  • باردید دیروز : 23
  • گوگل امروز : 0
  • گوگل دیروز : 1
  • بازدید هفته : 54
  • بازدید ماه : 193
  • بازدید سال : 514
  • بازدید کلی : 37745
  • آخرین نظرات
    کدهای اختصاصی