## 5 Evaluation
### Performance Analysis
[30], wherein 1 malicious user is set for every 20 users. These malicious peers disseminate distorted information within the network at a specific frequency. The results of the malicious behavior resistance test for the first set of experiments are depicted in Figure 8. Discerning the presence of malicious peers is challenging during the initial network startup phase due to the absence of transactions between peers. Consequently, the social mechanism requires a certain timeframe for the transaction data collection phase to become gradually effective. Based on the aforementioned premise, this experiment considers the initial 10 blocks of transaction propagation as the transaction data collection phase. Subsequently, upon the conclusion of the collection phase, the social value is formally employed to activate malicious blocking. Consequently, in Figure 7(a), the number of distorted transactions in the network is identical when the social mechanism is activated and when it is not activated, at 10 blocks. Subsequently, it becomes evident that the activation of the social mechanism exerts a substantial defensive and preemptive effect against malicious behavior. In the absence of the enabled social mechanism, the number of distorted transactions attained by malicious peers in the network will rapidly escalate, thereby severely impeding the normal network operation. Enabling the social mechanism in DC-SoC reduces the number of distorted transactions in the network to approximately 21% of the original count after 50 blocks of propagation. Conversely, within the same network structure, the number of missed distorted transactions under the malicious peer detection mechanism employed in BlockP2P-EP is up to three times greater than that of DC-SoC. Additionally, as depicted in Figure 7(b), DC-SoC consistently maintains the incomplete propagation rate at approximately 3% when confronted with malicious attacks. Conversely, the incomplete propagation rate of BlockP2P-EP exhibits an upward trend with the transactions, occasionally exceeding 10%. This discrepancy arises due to BlockP2P-EP's deficiency in effective measures to counter conspiracy attacks, leading to erroneous identification of certain normal peers as malicious ones and subsequent interception and failure of numerous secure transactions. Figure 8: Comparison of malicious behavior resistance as the number of blocks rises. When the ratio of malicious peers is low, most of the methods effectively detect and mitigate malicious behavior, thereby ensuring minimal impact on the overall network. Consequently, the second set of experiments employs the malicious peer ratio as the independent variable to assess whether the methods can maintain network availability as the malicious ratio increases. The results of the malicious behavior resistance test for the second set of experiments are depicted in Figure 9. This group of experiments considers the propagation of 30 blocks as a complete transaction process. Analysis of Figure (a)a reveals that in the absence of the enabled social mechanism, the number of distorted transactions accelerates as the proportion of malicious peers in the network gradually increases, with the count exceeding 1000 when the malice proportion reaches 25%. Conversely, DC-SoC effectively limits the count to 200, with a success rate of 85.9% in intercepting malicious attacks. While Figure (a)a reveals that BlockP2P-EP demonstrates greater effectiveness in controlling distorted transactions, its performance deteriorates rapidly as the ratio increases. However, Figure (b)b reveals that BlockP2P-EP lacks resilience against conspiracy attacks. As the malicious ratio surpasses 20%, the absence of countermeasures results in a breakdown of transaction relationships across the blockchain network. When the malicious ratio reaches 25%, all but five transactions are unable to conclude due to the lack of a robust defense mechanism. In contrast, DC-SoC demonstrates greater stability and reliability as the proportion of malicious nodes increases.