コード例 #1
0
 public byte[] CreateTreeNode(string nodeName)
 {
     if (blockchain.NumOfLeafs >= 12)
     {
         return(null);
     }
     Console.WriteLine(nodeName + " Added to the BlockChain");
     return(blockchain.AddLeaf(nodeName));
 }