EOS

blksync.xsat

Contract

{ "version": "eosio::abi/1.2", "types": [ { "new_type_name": "block_status", "type": "uint8" } ], "structs": [ { "name": "block_bucket_row", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "size", "type": "uint32" }, { "name": "uploaded_size", "type": "uint32" }, { "name": "num_chunks", "type": "uint8" }, { "name": "uploaded_num_chunks", "type": "uint8" }, { "name": "chunk_size", "type": "uint32" }, { "name": "chunk_ids", "type": "uint16[]" }, { "name": "reason", "type": "string" }, { "name": "status", "type": "block_status" }, { "name": "updated_at", "type": "time_point_sec" }, { "name": "verify_info", "type": "verify_info_data?" } ] }, { "name": "block_chunk_row", "base": "", "fields": [ { "name": "data", "type": "bytes" } ] }, { "name": "block_miner_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "miner", "type": "name" }, { "name": "expired_block_num", "type": "uint32" } ] }, { "name": "bucketlog", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" }, { "name": "synchronizer", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "block_size", "type": "uint32" }, { "name": "num_chunks", "type": "uint8" }, { "name": "chunk_size", "type": "uint32" } ] }, { "name": "chunklog", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" }, { "name": "chunk_id", "type": "uint8" }, { "name": "uploaded_num_chunks", "type": "uint8" } ] }, { "name": "consensus", "base": "", "fields": [ { "name": "height", "type": "uint64" }, { "name": "synchronizer", "type": "name" }, { "name": "bucket_id", "type": "uint64" } ] }, { "name": "delbucket", "base": "", "fields": [ { "name": "synchronizer", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" } ] }, { "name": "delbucketlog", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" } ] }, { "name": "delchunk", "base": "", "fields": [ { "name": "synchronizer", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "chunk_id", "type": "uint8" } ] }, { "name": "delchunklog", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" }, { "name": "chunk_id", "type": "uint8" }, { "name": "uploaded_num_chunks", "type": "uint8" } ] }, { "name": "delchunks", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" } ] }, { "name": "global_id_row", "base": "", "fields": [ { "name": "bucket_id", "type": "uint64" } ] }, { "name": "initbucket", "base": "", "fields": [ { "name": "synchronizer", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "block_size", "type": "uint32" }, { "name": "num_chunks", "type": "uint8" }, { "name": "chunk_size", "type": "uint32" } ] }, { "name": "passed_index_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "cumulative_work", "type": "checksum256" }, { "name": "bucket_id", "type": "uint64" }, { "name": "synchronizer", "type": "name" }, { "name": "miner", "type": "name" }, { "name": "created_at", "type": "time_point_sec" } ] }, { "name": "pushchunk", "base": "", "fields": [ { "name": "synchronizer", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "chunk_id", "type": "uint8" }, { "name": "data", "type": "bytes" } ] }, { "name": "verify", "base": "", "fields": [ { "name": "synchronizer", "type": "name" }, { "name": "height", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "nonce", "type": "uint64" } ] }, { "name": "verify_block_result", "base": "", "fields": [ { "name": "status", "type": "string" }, { "name": "reason", "type": "string" }, { "name": "block_hash", "type": "checksum256" } ] }, { "name": "verify_info_data", "base": "", "fields": [ { "name": "miner", "type": "name" }, { "name": "btc_miners", "type": "string[]" }, { "name": "previous_block_hash", "type": "checksum256" }, { "name": "work", "type": "checksum256" }, { "name": "witness_reserve_value", "type": "checksum256?" }, { "name": "witness_commitment", "type": "checksum256?" }, { "name": "has_witness", "type": "bool" }, { "name": "header_merkle", "type": "checksum256" }, { "name": "relay_header_merkle", "type": "checksum256[]" }, { "name": "relay_witness_merkle", "type": "checksum256[]" }, { "name": "num_transactions", "type": "uint64" }, { "name": "processed_transactions", "type": "uint64" }, { "name": "processed_position", "type": "uint64" }, { "name": "timestamp", "type": "uint32" }, { "name": "bits", "type": "uint32" } ] } ], "actions": [ { "name": "bucketlog", "type": "bucketlog", "ricardian_contract": "" }, { "name": "chunklog", "type": "chunklog", "ricardian_contract": "" }, { "name": "consensus", "type": "consensus", "ricardian_contract": "" }, { "name": "delbucket", "type": "delbucket", "ricardian_contract": "" }, { "name": "delbucketlog", "type": "delbucketlog", "ricardian_contract": "" }, { "name": "delchunk", "type": "delchunk", "ricardian_contract": "" }, { "name": "delchunklog", "type": "delchunklog", "ricardian_contract": "" }, { "name": "delchunks", "type": "delchunks", "ricardian_contract": "" }, { "name": "initbucket", "type": "initbucket", "ricardian_contract": "" }, { "name": "pushchunk", "type": "pushchunk", "ricardian_contract": "" }, { "name": "verify", "type": "verify", "ricardian_contract": "" } ], "tables": [ { "name": "block.chunk", "index_type": "i64", "key_names": [], "key_types": [], "type": "block_chunk_row" }, { "name": "blockbuckets", "index_type": "i64", "key_names": [], "key_types": [], "type": "block_bucket_row" }, { "name": "blockminer", "index_type": "i64", "key_names": [], "key_types": [], "type": "block_miner_row" }, { "name": "globalid", "index_type": "i64", "key_names": [], "key_types": [], "type": "global_id_row" }, { "name": "passedindexs", "index_type": "i64", "key_names": [], "key_types": [], "type": "passed_index_row" } ], "ricardian_clauses": [], "error_messages": [], "abi_extensions": [], "variants": [], "action_results": [ { "name": "verify", "result_type": "verify_block_result" } ] }