Research Article

Enhance the Probability of Detection of Cooperative Spectrum Sensing in Cognitive Radio Networks Using Blockchain Technology

Algorithm 2

Proposed flexible threshold spectrum energy detection algorithm using blockchain.
(1)Input: Think about the secondary user spectrum and the primary user spectrum. Here, the PU and SU channel types are distinguished.
(2)Output: A suggested flexible threshold spectrum energy detection algorithm helps to produce sensing outcomes. Channel Sense
(3)if , then
(4) Primary Users
(5)else
(6), then
(7) Secondary Users
(8)end if