Research Article

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

Algorithm 1

Creation of blockchain on CR users.
(1)Input: A group of N primary node network.
(2)Blockchain consists of One Primary Node P and N − 1 secondary user node from S1 to S{k−1}.
(3)Output: Blocks are formed on various nodes of the cognitive network.
(4)for j = 1 to N
(5)if authorized user then
(6) Primary block
(7)else
(8) Secondary node S{k−2}
(9)end if
(10)end for