7-2. Layer 1 Entire Process
Last updated
Last updated
This page explains in detail the structure and processing flow of EMETH Layer 1, which utilizes blockchain technology, based on the functions introduced in the previous page.
Job registration by the Requester
The requester registers the parent Job information on EMETH Core on the Blockchain and pays the Fee (Fee for EMETH Node + Fee for Verifier) in EMETH tokens.
The dataset linked to the Job is stored in EMETH Storage.
Before processing begins, the requester can cancel the request by sending a Cancel declaration to EMETH Core. In this case, the paid Fee is fully refunded.
Constant synchronization cache by EMETH Cache server
The EMETH Cache server constantly synchronizes and caches Jobs on EMETH Core. Job information registered on EMETH Core is automatically linked to EMETH Cache.
Generation of SubJobs by L1 server
The L1 server monitors the information on the EMETH Cache server, and if there is a Job that can be Split and the requester has allowed Split processing, it performs the following:
Calls the Splitter to divide the dataset.
Divides the Job into multiple SubJobs and registers them with EMETH Core, linking them as parent Jobs.
Execution of processing by EMETH Node
EMETH Node monitors the information on the EMETH Cache server and performs the following:
Searches for attractive Jobs or SubJobs among unprocessed ones based on the Fee to EMETH Node and Deadline.
Sends a declaration of intent to start processing (process) to EMETH Core.
Downloads the dataset for the relevant Job or SubJob from EMETH Storage and starts processing.
Stores the processing results in EMETH Storage and sends a completion report (submit) to EMETH Core.
EMETH Node can also withdraw after declaring the intent to start processing. In this case, a penalty amount of EMETH tokens is confiscated and burned.
Processing of timed-out Jobs or SubJobs by Verifier
The Verifier monitors the information on the EMETH Cache server and searches for Jobs or SubJobs that have timed out.
Sends timeout processing to the Blockchain. At this time, the EMETH Node that was processing will have the timeout penalty amount of EMETH tokens confiscated.
Verification of processing results by Verifier
The Verifier monitors completed Jobs or SubJobs on EMETH Cache.
For the target Job or SubJob, it retrieves the dataset and processing results by EMETH Node from EMETH Storage.
Launches the Verifier program to verify, and if the verification of the processing results passes, it sends a verify command to the Blockchain; if it fails, it sends a rejectResult command. In case of SubJob failure, it re-registers the SubJob.
Confirmation of SubJob completion by Aggregator
Confirms that all SubJobs have been completed, calls the Aggregator program to integrate the processing results, and records them in EMETH Storage.
Simultaneously updates the Status of the parent Job on EMETH Core to Confirmed.
Payment of rewards based on verification results
The processing performance of passed Jobs or SubJobs is cumulatively counted on EMETH Core as total fuel amount.
For Jobs or SubJobs that fail verification, a fine is collected from EMETH Node.