How does a vote become a transaction and a block?كيف يتحول الصوت إلى معاملة وكتلة
From the candidate the voter picked to a transaction, then a block that carries the fingerprint of the one before it.من المرشح الذي اختاره الناخب إلى معاملة ثم إلى كتلة تحمل بصمة الكتلة التي قبلها
Encryption doesn't make the vote disappear; it's still data that has to be saved. And for the system to review its operations later, it needs to record when they happened and which transaction they belong to, then organize those transactions into linked records.التشفير لا يعني أن الصوت اختفى فهو ما زال بيانات ينبغي حفظها وحتى يستطيع النظام مراجعة العمليات يجب تسجيل متى حدثت وأي معاملة تتعلق بها ثم تنظيم هذه المعاملات في سجلات مترابطة
From choosing a candidate to a transactionمن اختيار المرشح إلى المعاملة
Before recording a new vote, the system checks that the voter hasn't voted before. If they have, it won't let them do it again. If they meet the conditions, it creates a voting transaction5.قبل تسجيل صوت جديد يتحقق النظام من أن الناخب لم يسبق له التصويت فإذا كان قد أدلى بصوته لا يسمح له بتكرار العملية أما إذا اجتاز الشروط فينشئ النظام معاملة تصويت5
A transaction is a record of one specific event. It contains the voter's identity, the timestamp, the vote data and its digital fingerprint, stored in a structured format such as JSON that the program can read field by field.المعاملة سجل يمثل حدثا محددا وتتضمن هوية الناخب والطابع الزمني وبيانات الصوت وبصمتها الرقمية وتمثل البيانات في صيغة منظمة مثل JSON تسمح بحفظ الحقول بطريقة يفهمها البرنامج
To keep it simple, imagine the system receives the choice of voter ID42 for a candidate we'll call CAND-B. It checks the conditions, prepares the record, encrypts the sensitive information, then passes it on to be saved in the chain.ولإبقاء المثال بسيطا تخيل أن النظام يستقبل اختيار الناخب صاحب المعرف ID42 لمرشح نرمز له بـ CAND-B فيفحص الشروط ويجهز السجل ويشفر المعلومات الحساسة ثم يمرره إلى مرحلة الحفظ في السلسلة
What is a block?ما الكتلة
A block1 is a digital container holding one or more transactions, plus information that identifies it and links it to the block before. The project describes five basic elements:الكتلة1 وعاء رقمي يحمل معاملة واحدة أو أكثر ومعها معلومات تعرف الكتلة وتربطها بما قبلها ويصف المشروع خمسة عناصر أساسية للكتلة
- Block number. Its position in the chain.رقم الكتلة يحدد موضعها في السلسلة
- Transactions. The records it holds.المعاملات السجلات التي تضمها
- Timestamp. When the record or block was created.الطابع الزمني يوضح وقت إنشاء السجل أو الكتلة
- Previous block's fingerprint. The link to the block before it.بصمة الكتلة السابقة الرابط الذي يصلها بما قبلها
- Nonce4. A value the miner tries out while searching for a fingerprint that meets the proof-of-work condition.الرقم المتغير4 قيمة يجربها المعدن أثناء البحث عن بصمة تستوفي شرط إثبات العمل
Why call it a chain? Because a new block isn't created on its own; it keeps the digital fingerprint of the block before it. The order of the records becomes part of their structure.لماذا نسميها سلسلة لأن الكتلة الجديدة لا تنشأ منفصلة عن سابقتها بل تحتفظ ببصمتها الرقمية وبذلك يصير ترتيب السجلات جزءا من بنيتها
How does the chain begin?كيف تبدأ السلسلة
The first block has no block before it. So the system creates a genesis block2, the "first block", numbered 0, with 0 as its previous fingerprint. Every later block carries a link to the one before it.لا توجد كتلة سابقة لأول كتلة لذلك ينشئ النظام ما يسمى كتلة التكوين2 أو الكتلة الأولى برقم 0 وبقيمة 0 لبصمة الكتلة السابقة ثم تأتي الكتل الأخرى حاملة روابط إلى الكتل التي تسبقها
Who adds the block?ومن الذي يضيف الكتلة
In this prototype the chain runs privately with a single miner. It receives transactions, checks them, completes the proof of work, then adds the block if it meets the conditions. In the thesis examples, the fourth vote produced block number 4.في هذا النموذج البحثي تعمل السلسلة بصورة خاصة مع معدن واحد يتلقى المعاملات ويتحقق منها وينجز إثبات العمل ثم يضيف الكتلة إلى السلسلة إذا استوفت الشروط وفي أمثلة الرسالة أدى الصوت الرابع إلى إنشاء الكتلة ذات الرقم 4
You may hear of networks where hundreds of nodes3 compete to approve blocks, or where a block needs signatures from several participants. Those mechanisms exist in some blockchains, but they aren't the structure this thesis tested, so it's worth not mixing up what the technology can do in general with how this experiment worked.قد تسمع عن شبكات أخرى فيها مئات العقد3 التي تتنافس على اعتماد الكتل أو عن شبكات تتطلب توقيعات عدد من المشاركين وهذه آليات موجودة في بعض سلاسل الكتل لكنها ليست البنية التي اختبرتها الرسالة لذلك لا نخلط بين إمكانات التقنية العامة وآلية هذه التجربة المحددة
One question remains: if someone changed a block's content after it was added, how would the system know? For that we need the digital fingerprint.بقي سؤال مهم لو غير أحدهم محتوى كتلة بعد إضافتها فكيف يعرف النظام أن بياناتها لم تعد كما كانت للإجابة نحتاج إلى فهم البصمة الرقمية