Why do we need proof of work?لماذا نحتاج إلى إثبات العمل
A puzzle that's slow to solve and quick to check, so rewriting old blocks costs real work, and where that protection stops in this prototype.لغز بطيء الحل سريع الفحص يجعل إعادة كتابة الكتل القديمة تكلف عملا حقيقيا وأين تتوقف هذه الحماية في هذا النموذج
We've seen that a digital fingerprint reveals changes. But what if an attacker altered an old block, then recomputed its fingerprint and the fingerprints of every block after it? Their new copy might look consistent from the inside.عرفنا أن البصمة الرقمية تكشف التغيير لكن هناك سؤال منطقي ماذا لو عدل مهاجم كتلة قديمة ثم أعاد حساب بصمتها وبصمات كل الكتل التالية عندها قد تبدو نسخته الجديدة متسقة من الداخل
This is where proof of work3 comes in. Instead of letting a block be added just by writing its data, the system sets a computational condition that has to be met first.هنا يظهر دور إثبات العمل3 فبدلا من السماح بإضافة كتلة بمجرد كتابة بياناتها يضع النظام شرطا حسابيا ينبغي تحقيقه أولا
The puzzle the miner solvesما اللغز الذي يحله المعدن
The block's fingerprint has to start with a set number of zeros. The miner can't choose the fingerprint directly. It changes a value called the nonce2, computes the fingerprint, and checks whether it meets the condition, again and again.يطلب أن تبدأ بصمة الكتلة بعدد محدد من الأصفار ولا يستطيع المعدن اختيار البصمة مباشرة إنما يغير قيمة تسمى الرقم المتغير2 ثم يحسب البصمة ويرى هل حققت الشرط أم لا ويكرر ذلك
In one example from the thesis the search took 146 attempts. In the thesis code the difficulty1 is 2, meaning the fingerprint has to start with two zero characters, 00.في أحد أمثلة الرسالة احتاج البحث إلى 146 محاولة وفي كود الرسالة قيمة الصعوبة1 هي 2 أي أن البصمة المطلوبة تبدأ بخانتين صفريتين بالشكل 00
Why finding is harder than checkingلماذا يكون إيجاد الحل أصعب من فحصه
The miner may have to try many values before succeeding. Whoever reviews the block only needs to recompute its fingerprint once and check that it starts with the required zeros and matches its content.لأن المعدن قد يضطر إلى تجربة قيم كثيرة قبل النجاح أما من يراجع الكتلة فيكفيه إعادة حساب بصمتها مرة والتحقق من أنها تبدأ بالأصفار المطلوبة وتطابق محتواها
Each extra zero in hexadecimal multiplies the average number of attempts by about 16. A difficulty of 2 is still low, better for demonstrating the idea in a research prototype than for protecting a large national election network.ومع كل صفر إضافي في التمثيل الست عشري يزيد متوسط عدد المحاولات نحو 16 مرة لكن صعوبة القيمة 2 تظل منخفضة ومناسبة لعرض الفكرة في نموذج بحثي أكثر منها لحماية شبكة انتخابية وطنية كبيرة
How a new block is reviewedكيف يراجع النظام الكتلة الجديدة
When a block is added, the system checks two conditions: that the previous fingerprint recorded in the new block really matches the last approved block, and that the new fingerprint is correct for the data, the nonce and the difficulty.عند إضافة كتلة يفحص النظام شرطين أساسيين أن بصمة الكتلة السابقة المذكورة في الكتلة الجديدة تطابق فعلا آخر كتلة معتمدة وأن البصمة الجديدة صحيحة بالنظر إلى البيانات والرقم المتغير وشرط الصعوبة
If either fails, the block isn't accepted as a valid extension of the chain.وإذا فشل أحد الشرطين لا تقبل الكتلة امتدادا صحيحا للسلسلة
The limits of protection in this experimentما حدود الحماية في هذه التجربة
In large public chains, creating and checking blocks is spread across many participants, with rules for choosing between competing chains. That's what makes rewriting the past a race an attacker struggles to win.في السلاسل العامة الكبيرة تتوزع عملية إنشاء الكتل والتحقق منها على مشاركين متعددين وتوجد قواعد للمفاضلة بين السلاسل المتنافسة وهذا ما يجعل إعادة كتابة الماضي سباقا يصعب على المهاجم كسبه
This project, however, uses a private chain and a single miner. So it shouldn't automatically be credited with the decentralization or tamper resistance that, in other networks, depend on participants being independent and competing. The prototype shows how blocks are built and checked; it doesn't prove that tampering is impossible, especially if one party controls the whole infrastructure.أما المشروع الذي نشرحه فيستخدم سلسلة خاصة ومعدنا واحدا ولذلك لا يصح أن ننسب إليه تلقائيا ميزات اللامركزية أو مقاومة التلاعب التي تعتمد في شبكات أخرى على استقلال المشاركين وتنافسهم ويظهر النموذج طريقة العمل وكيفية التحقق من الكتل لكنه لا يثبت أن العبث مستحيل خصوصا إذا امتلك طرف واحد السيطرة على البنية كلها
Now that we know what happens behind the screen, let's see what the system's two main people do: the voter and the administrator.بعد أن فهمنا ما يجري خلف الشاشة حان الوقت لرؤية ما يفعله الشخصان الرئيسيان في النظام الناخب والمشرف