Synchronization process
After building the data service, data-owner needs to synchronize the dataset's meta information to glitter-chain. The process is as follows:
- 1 Build engine service
- 2 Update meta information
- 3 Dataset renewal
Steps 2 and 3 require interaction with the chain, details are as follows
datamap Method
sdk method
command line method
Meta information maintenance
After engine-server build is successful, data-owner synchronizes the dataset meta information to the chain. Meta includes database, data table, administrator and some description information.
- dataset_name: dataset name
- work_status: work status; 0: not set; 1 has started providing services; 2 has stopped providing services; 3 has been deleted
- owner_address: dataset owner
- expiration_time: expiration time
- hosts: dataset domain name, users can use this domain name to request the dataset
- manage_addresses: dataset management address, currently this address has no actual use scenario, and this field will be used to manage the dataset in the future
- tables: dataset table collection
- sum_cpdt: dataset's cousumer total collateral
- description: dataset's description information, including some social information and reporting information
- update_time: dataset's update time on the chain