
كتبه: هوتيان
كيف تفهم أفكار @Vitalikbuterin حول طريقة تأكيد معاملة Ethereum؟因为主网 5-20s 的交易确认时间已经接近信用卡消费级别的速度,仅从用户感知看好像足够了。However, compared with the confirmation time of layer2 millisecond level, there will be certain security risks in the transaction confirmation difference between the main network and layer2. Therefore, optimizing the transaction confirmation time of the main network is more about catering to the consideration of layer2’s استراتيجية التنمية؟
1) The current Gasper consensus mechanism of Ethereum adopts the core concepts of Slot (time slot) and Epoch (time period). Each Slot lasts for 12 seconds. A part of Validators will be selected to verify the current transaction status of the chain for التصويت.而交易终局性(Finality)通常要经过两个时段即 12.8 分钟,这意味着一笔交易发起后的 12.8 分钟后才会具备不可逆转特性。
2) Vitalik believes that the time is too long and expressed dissatisfaction with the current Gasper consensus mechanism. He proposed a Single-slot finality single slot finality improvement method, which can ensure that each block completes the finality before the next block is generated. Confirmation ، وبالتالي يمكن تسريع وقت التأكيد النهائي.只是终局确认和交易确认是两码事,这和用户感知到的 5-20s 的交易确认关联并不大,但是如果对应到 layer2 网络上问题就大了。
3)因为 layer2 用户提交并确认交易的时间会更短,不仅优于 5-20s 的用户感知时间,可能会达到毫秒级别。ويرجع ذلك إلى آلية تأكيد ما قبل النقل التي اعتمدتها Layer2 ككل.ومع ذلك ، إذا كان وقت تأكيد نهاية الوقت في نهاية الوقت للشبكة الرئيسية Layer1 طويلة جدًا ، فسيكون هناك بعض المخاطر الفارق في Layer2: على سبيل المثال ، يؤكد المستخدم بسرعة على L1 ويأخذ العمليات اللاحقة ، ولكن قد يكون سبب ذلك من خلال تأكيد تأكيد الوضع L1.
4) لذلك ، في رأيي ، فإن تحسين وقت تأكيد المعاملة للشبكة الرئيسية Ethereum هو إلى حد ما لتلبية احتياجات الاستراتيجية الكبرى التي تمت ترقيتها بشكل مشترك بواسطة نظام Layer2 ونظام Layer1.على الرغم من أن بعض الأشخاص في السوق ينتقدون Layer2 ، إلا أن Layer2 أصبح اتجاهًا لا بد منه في تطوير Ethereum.
من الواضح أن Ethereum ستقوم بالترويج لاستراتيجية “الطبقة” في المستقبل.اقترح Vitalik تسريع تأكيد المعاملات ، بشكل أساسي لتقليل الاحتكاك الطبقات بين Layer1 و Layer2 ، وإعطاء المستخدمين بيئة تفاعلية أفضل في الواجهة الأمامية للطبقة 2 وعلى أساس تسوية خلفية أكثر أمانًا.