CN-121984827-A - Block chain multi-signature management method and device, electronic equipment and readable medium
Abstract
The embodiment of the disclosure provides a block chain multi-signature management method, a device, electronic equipment and a readable medium. The multi-label management method specifically comprises the steps of receiving a multi-label management proposal by a transaction verification module, setting the state of the multi-label management proposal to be a first state after a creator signature of the multi-label management proposal is verified to pass, determining a proposal type identifier of the multi-label management proposal, triggering a group of voting execution rules corresponding to the proposal type identifier, starting an on-chain voting process according to the voting execution rules, updating the state of the multi-label management proposal to be a second state when the on-chain voting process meets the conditions specified by the voting execution rules, and executing corresponding on-chain operations based on-chain operation data to be executed in response to the fact that the on-chain management contract is updated to the second state. The embodiment of the disclosure reduces the centralization risk and eliminates the single-point fault problem based on the multi-signature treatment mechanism, realizes the flexible configuration of the treatment rules, and improves the treatment efficiency.
Inventors
- Mu changchun
- DI GANG
- LV YUAN
- CHEN QINGJIE
- HE MENGWEI
- ZHAO PENG
Assignees
- 中国人民银行数字货币研究所
Dates
- Publication Date
- 20260505
- Application Date
- 20251212
Claims (11)
- 1. A blockchain multi-signature remediation method, the method comprising: The transaction verification module receives a multi-signature treatment proposal and sets the state of the multi-signature treatment proposal as a first state after verifying that a creator signature of the multi-signature treatment proposal passes, wherein the multi-signature treatment proposal comprises on-chain operation data to be executed; The multi-vote management contract determines a proposal type identifier of the multi-vote treatment proposal, triggers a group of voting execution rules corresponding to the proposal type identifier, and starts an on-chain voting process according to the voting execution rules; And the on-chain governance contract responds to the monitoring that the multi-signature governance proposal is updated to a second state, and corresponding on-chain operation is executed based on the on-chain operation data to be executed.
- 2. The method of claim 1, wherein the multi-sign administration proposal further comprises an independent domain identification, wherein the multi-sign administration contract determines a proposal type identification of the multi-sign administration proposal, wherein triggering a set of voting enforcement rules corresponding to the proposal type identification comprises: After the multi-sign management contract determines the proposal type identifier of the multi-sign governance proposal, a group of voting execution rules are determined and triggered together according to the proposal type identifier and the independent domain identifier.
- 3. The method according to claim 1 or 2, characterized in that at least one mapping relation is pre-stored for associating the proposal type identification with the voting execution rule or associating the proposal type identification and the independent domain identification with the voting execution rule, the multi-sign management contract implementing a dynamic triggering of the voting execution rule based on the mapping relation.
- 4. A method according to claim 3, wherein the voting execution rules comprise a set of selectable values and a selected current value, the triggering of the voting execution rules being dependent on the selected outcome of the current value.
- 5. A method according to claim 3, wherein the voting enforcement rules comprise a multi-sign verification threshold; and when the multi-signature management contract executes the voting flow on the chain, verifying whether the total signature number or total signature weight of the voting participants with the administrator authority reaches the multi-signature verification threshold.
- 6. The method of claim 5, wherein the total signature weight of the voting participants with administrator rights is calculated from the signature weight of each administrator, wherein the signature weight of each administrator is determined by one or more of the following factors in combination: the administrator is delegated by other administrators weight proportion, historical liveness score, operation execution accuracy, average response time to abatement events.
- 7. The method of claim 5, wherein the voting execution rules further comprise a time lock delay parameter; and after the multi-signature management method approximately detects that the voting period exceeds the time lock delay parameter, modifying the state of the multi-signature management proposal to be a third state.
- 8. The method of claim 1, wherein the multi-sign management contract determines a proposal type identification, comprising: The multi-signature governance proposal comprises the proposal type identifier, the proposal type identifier is designated by a proposal creator when the proposal is created, and the multi-signature management contract receives the multi-signature governance proposal and extracts the proposal type identifier; And/or; and the multi-signature management contract analyzes the operation data on the chain to be executed and determines the corresponding proposal type identifier.
- 9. A block chain multi-signature management device is characterized by comprising a transaction verification module, a multi-signature management contract and an on-chain management contract, wherein: The transaction verification module is configured to receive a multi-signature governance proposal and set a state of the multi-signature governance proposal as a first state after verification of a creator signature of the multi-signature governance proposal passes, wherein the multi-signature governance proposal comprises on-chain operation data to be executed; A multi-sign management contract configured to determine a proposal type identifier of the multi-sign treatment proposal, trigger a group of voting execution rules corresponding to the proposal type identifier, and start an on-chain voting process according to the voting execution rules; And the on-chain governance contract is configured to respond to the update of the multi-signature governance proposal to a second state and execute corresponding on-chain operation based on the on-chain operation data to be executed.
- 10. An electronic device, comprising: One or more processors; a storage device communicatively coupled to the one or more processors for storing one or more programs, The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods of claims 1-8.
- 11. A computer readable medium on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to claims 1-8.
Description
Block chain multi-signature management method and device, electronic equipment and readable medium Technical Field The disclosure relates to the technical field of blockchains, in particular to a blockchain multi-signature management method, a device, electronic equipment and a readable medium. Background With the continued development of blockchain technology, federated chains have gained widespread attention in enterprise-level applications as a solution that allows authorized nodes to join a network, forming distributed trust within a particular community. Stable operation of the federated chain relies on an efficient on-chain governance mechanism. In the traditional alliance chain management practice, a centralized management mechanism of a super administrator mode is adopted for improving decision efficiency. Under this mechanism, a single supermanager account is given the highest authority and critical operations including, but not limited to, consensus parameter adjustment, node admission control, etc., can be performed independently. The centralized governance mechanism has inherent design defects that firstly, the authority is excessively centralized to cause the governance centralized risk, secondly, a super administrator account becomes a systematic single point fault source, once the private key is revealed or maliciously attacked, the whole network is subjected to disastrous influence, and furthermore, the trust model of a single entity is relied on to weaken the trust removing property of a alliance chain, so that the trust cost of a participant is increased. To overcome the drawbacks of the supermanager mode, a multiple signature based solution may be employed, i.e. rights management and risk dispersion are achieved by requiring a fixed number of manager (e.g. M-of-N mode) co-authorizers to perform the abatement operations. However, the existing on-chain multi-signature scheme treatment strategy is single in solidification, cannot be dynamically adjusted according to the nature, the influence range and the emergency degree of treatment matters, and is difficult to meet the complex treatment requirements of the alliance chain. Disclosure of Invention The embodiment of the disclosure provides a block chain multi-signature treatment method, a device, electronic equipment and a readable medium, which are based on a multi-signature treatment mechanism to reduce centralized risk, eliminate single-point fault problems, realize flexible configuration of treatment rules and improve treatment efficiency. In order to achieve the technical purpose, the embodiment of the disclosure adopts the following technical scheme: in a first aspect, an embodiment of the present disclosure provides a blockchain multi-signature remediation method, the method comprising: The transaction verification module receives a multi-signature treatment proposal and sets the state of the multi-signature treatment proposal as a first state after verifying that a creator signature of the multi-signature treatment proposal passes, wherein the multi-signature treatment proposal comprises on-chain operation data to be executed; The multi-label management contract determines a proposal type identifier of the multi-label management proposal, triggers a group of voting execution rules corresponding to the proposal type identifier, and starts an on-chain voting process according to the voting execution rules; In response to monitoring that the multi-signature governance proposal is updated to the second state, the on-chain governance contract performs a corresponding on-chain operation based on-chain operation data to be performed. In some possible embodiments, the multi-sign administration proposal further includes an independent domain identifier, the multi-sign administration contract determining a proposal type identifier of the multi-sign administration proposal, triggering a set of voting enforcement rules corresponding to the proposal type identifier, comprising: after the multi-signature management contract determines the proposal type identifier of the multi-signature governance proposal, a group of voting execution rules are determined and triggered together according to the proposal type identifier and the independent domain identifier. In some possible embodiments, at least one mapping relationship is pre-stored, and the mapping relationship is used for associating the proposal type identifier with the voting execution rule, or associating the proposal type identifier with the independent domain identifier with the voting execution rule, and the multi-sign management contract realizes dynamic triggering of the voting execution rule based on the mapping relationship. In some possible implementations, the voting enforcement rule includes a set of selectable values and a selected current value, and the triggering of the voting enforcement rule depends on the selected result of the current value. In some possible implementations,