示例#1
0
 internal static bool Validate(CBlock b)
 {
     throw new System.NotImplementedException();
 }
示例#2
0
 internal static void Add(CBlock b)
 {
     throw new System.NotImplementedException();
 }
示例#3
0
        /// <summary>
        /// Carica l'ultimo blocco della blockchain.
        /// </summary>
        private void Load()
        {
            StreamReader file = new StreamReader("blockchain.txt");

            mLastBlock = CBlock.Deserialize(file.ReadLine());
        }