| At present,blockchain technology is widely used in finance,Internet of things,public services and other fields,and its security problems are increasingly concerned.In the blockchain system represented by Bitcoin,which takes the Proof-of-Work mechanism as the consensus mechanism,the participants(miners)of the system will spend computing power to calculate and generate effective blocks,and make them part of the main chain by spreading their own blocks,and thus gain benefits.As miners are self-interested,some miners may launch malicious attacks in order to improve their own profits in the mining process.The classic attack models include double-flower attack,block withholding attack,selfish mining attack,eclipse attack,etc.The additional revenue gained through the attack reduces the revenue of other miners in the system,undermines the equitable distribution of the benefits of the blockchain system,and may ultimately lead to a crisis of confidence in the entire system.In order to avoid these potential threats,it is of great theminingtical value and practical significance to study the attack and defense models and relative mechanism in the blockchain system.The research content and innovation of this paper are as follows:(1)This paper combines block withholding attack and eclipse attack and proposes a new mining attack model,namely,eclipse withholding attack(EWH).In the eclipse withholding attack,on the basis of block withholding attack and combined with the eclipse attack,the attacker penetrates the target mining pool and isolates some miners in the target mining pool through the eclipse attack and abandons all the effective information transmitted by the target mining pool,thus increasing the proportion of the effective information of the attacker’s own infiltration computing power in the target mining pool and improving the attacker’s infiltration computing power income.The experimental results show that the lower limit of eclipse withholding attack is the profit value of block withholding attack,and increases with the number of miners in the target mine pool intercepted by the attacker.Within the range of effective computing power,the same state can gain up to 30% more benefits than block withholding attacks,which further worsens the benefits of other miners in the system,indicating that eclipse withholding attacks are more threatening than block withholding attacks.(2)In view of the block withholding attack existing in the current block chain system,this paper proposes a block chain model,discount factor model(DF model),which can effectively inhibit block withholding attack.In this model,the discount factor and withdrawal threshold are introduced to make it difficult for the attacker to extract penetration revenue by weakening revenue and limiting withdrawals.When the attacker reaches the withdrawal threshold to extract revenue,the target mining pool will further weaken its revenue by using the number of rounds of revenue accumulated by the attacker.The experimental results show that,in the discount model,the attacker gains much less from launching attacks than from honest mining using the same computing power.Compared with the original model,within the range of effective computing power,with the same computing power can make the attacker lose 28% of the revenue at most,and it also has a good inhibition effect on the type of block withholding attacks. |