Search

CN-122027111-A - Block chain predictor consensus method based on reputation and voting

CN122027111ACN 122027111 ACN122027111 ACN 122027111ACN-122027111-A

Abstract

The invention discloses a block chain forerunner consensus method based on reputation and voting, which comprises a first step of submitting a new proposal and award by a submitting person, a second step of placing a certain number of deposit by a voter and a verifier to guarantee own voting contents, a third step of randomly selecting N voters to participate in the voting, adding random value to the voting contents to calculate an abstract, a fourth step of verifying the step of selecting the proposal by the verifier and submitting the voting, adding random value to the voting contents to calculate the abstract, a fifth step of disclosing the step of submitting the random value by the voter and the verifier, verifying the submitted voting by an intelligent contract, disclosing the voting result, a sixth step of intelligently calculating the voting result of the proposal, selecting the voter of rewarding and calculating the rewarding amount, and updating the reputation of users participating in the voting.

Inventors

  • LU XIAOFENG
  • ZHANG ZHENYU
  • DU ZHENG
  • WANG PAN
  • YAN CAIHONG

Assignees

  • 北京邮电大学

Dates

Publication Date
20260512
Application Date
20260112

Claims (3)

  1. 1. A block chain predictor consensus method based on reputation and voting is characterized by comprising the steps of 1 submitting a proposal stage, submitting a new proposal and award, adding the proposal to an available proposal list and using the proposal to the voting stage, 2a mortgage stage, once the proposal is submitted, randomly selecting and participating in the voting stage by a group of N voters, putting the voters into a certain number of deposit, selecting the proposal by a verifier and submitting the deposit, 3 a voting stage, checking the proposal by the voters and then voting, 4a verification stage, selecting the proposal by the verifier and submitting the vote and deposit by the verifier, 5a revealing stage, intelligently verifying the abstract submitted by the verifier and then disclosing all voting contents, and 6a finishing stage, moving the proposal list to a closed proposal list, calculating the voting result of the proposal, selecting the correct user according to the final proposal result rewarding and updating the reputation of each user.
  2. 2. A blockchain predictor consensus method based on reputation and voting according to claim 1, wherein the ending phase process comprises: first, the weight of each voter is calculated The formula is as follows: wherein Is the amount of wager submitted with the vote, Is the reputation of each voter, Is an adjustable parameter in the range of [0, 1]; Then, the final result of the proposal is calculated The calculation formula is as follows: wherein Representing casting a specified vote The sum of the weights f of all the votes selected, Representing casting a specified vote Voting weights of all the voters of (a) Sum up.
  3. 3. The method of claim 1, wherein the ending phase process includes the system calculating a voting prize only preceding the proposal A voter with the correct vote will receive the reward, other voters with the correct vote will withdraw the deposit, Set in advance by the system, awards for voter v The calculation formula is as follows: Where beta is a value in the range of 0, 1, for controlling the effect of equity on rewards, set in advance by the system, Is the amount of wager submitted with the vote, Is the reputation of each voter; the correct verifier of the vote has the reward, and the reward of verifier c The calculation formula is: wherein Is the total amount stored in the bonus pool, Is the amount of wager submitted by verifier c, Is the sum of all verifier bets given the correct outcome for the outcome Is unknown's proposal, and voters and verifiers have no rewards.

Description

Block chain predictor consensus method based on reputation and voting Technical Field The invention discloses a block chain predictor consensus method based on reputation and voting, belonging to the block chain technology. Background Blockchain technology brings great potential and opportunities in the fields of finance, supply chain management, internet of things and the like. However, interoperability issues between different blockchain networks become an important factor limiting their development and application. Current blockchain networks are often isolated and cannot be directly subjected to cross-chain operations and data exchanges. This means that asset transfer, information exchange and intelligent contract execution on different chains becomes difficult or even impossible, resulting in value islanding of the blockchain. Therefore, solving the blockchain interoperability problem becomes critical to achieving a truly decentralised and globally interconnected blockchain ecosystem. The prophetic-based cross-chain operating mechanism serves as an emerging solution that can effectively address challenges faced by existing cross-chain techniques. Prophetic is a tool that introduces real world data into a blockchain network that can capture and verify external data and translate it into information available on the blockchain. The cross-chain operation mechanism based on the prophetic machine utilizes the data acquisition and verification capability of the prophetic machine to realize the intercommunication and exchange of data on different chains. In the prior art, a data transmission predictor is defined by two core dimensions of a transmission direction and a data stream source by Milberg et al, but the method can only be used for acquiring data outside a block chain and cannot be directly applied to a cross-chain data interaction scene. In the second prior art, a data migration mechanism opens a secure channel between two blockchains to allow secure data migration, and the mechanism is only applicable to default data migration between two blockchains, and cannot verify the validity of a cross-chain request. Disclosure of Invention In view of this, the invention proposes a block chain predictor consensus method based on reputation and voting, aiming at ensuring the credibility, consistency and safety of block chain data cross-chain transmission. The invention relates to participation roles and names: it is proposed that the data that is intended to be transmitted across the chain may be legal or spurious. The presenter, the user who issues the proposal, has to pay a so-called award to add the proposal to the system, which is a flat fee that will be used to reward voters and verifiers who participate in the verification process. Voter-user randomly selected to vote on proposal, if the voter considers the proposal to be a valid statement, then "TRUE" must be voted, otherwise "FALSE" must be voted. Verifier, when the reputation of voter exceeds a threshold value, the voter can be upgraded into verifier, and the verifier can select proposal to be processed to make voteOr (b))。 The method comprises the steps of 1, submitting a proposal stage, submitting a new proposal and award, wherein the proposal is added to an available proposal list and can be used for voting, 2, a mortgage stage, once the proposal is submitted, a group of N voters are randomly selected to participate in the voting stage, the voters can invest a certain number of deposits, a verifier can select the proposal and invest the deposits, 3, the voting stage, the voters check the proposal and then vote, 4, the verification stage, the verifier select the proposal and submit the vote and the deposit, 5, a revealing stage, the intelligent contract verifies the votes submitted by the voters and the verifier and then discloses voting contents, 6, an ending stage, after the voting result of one proposal is disclosed, the proposal is moved from the available proposal list to a closed proposal list, the voting result of the proposal is calculated, the correct user is rewarded for voting according to the proposal result, and the reputation of each user is updated. Further, the step 2 mortgage stage includes: a group of N voters is randomly selected to participate in the voting phase, the voters must cast an amount within a defined range of amounts (0, M) for which the verifier must cast an amount (y, z) above the voters, y > M, which if cast correctly will be withdrawn along with the reward, with each person having more deposit and a higher resultant reward. Further, the voting stage in the step 3 includes: When voting, the voter examines the content of the proposal and indicates that the proposal is Or is alsoWhen the proposal obtainsThe voting phase ends when the vote, and the intelligent contract receives the vote. To prevent the following votes from others, the voting results are not transmitted in the clear, but rather summaries of the votes ar