Browse Source

Rename: rename thread loading class

Herman Schoenfeld 7 years ago
parent
commit
0a3e99f2bf
1 changed files with 6 additions and 5 deletions
  1. 6 5
      Units/Forms/UUserInterface.pas

+ 6 - 5
Units/Forms/UUserInterface.pas

@@ -13,7 +13,8 @@ uses
 
 
 type
 type
   { Forward Declarations }
   { Forward Declarations }
-  TLoadSafeBoxThread = class;
+
+  TLoadDatabaseThread = class;
 
 
   { TMinerPrivateKey }
   { TMinerPrivateKey }
 
 
@@ -128,7 +129,7 @@ type
 
 
   { TLoadSafeBoxThread }
   { TLoadSafeBoxThread }
 
 
-  TLoadSafeBoxThread = Class(TPCThread)
+  TLoadDatabaseThread = Class(TPCThread)
   protected
   protected
     procedure BCExecute; override;
     procedure BCExecute; override;
   End;
   End;
@@ -233,7 +234,7 @@ begin
     TFileStorage(FNode.Bank.Storage).Initialize;
     TFileStorage(FNode.Bank.Storage).Initialize;
 
 
     // Reading database
     // Reading database
-    TLoadSafeBoxThread.Create(false).FreeOnTerminate := true;
+    TLoadDatabaseThread.Create(false).FreeOnTerminate := true;
 
 
     // Init
     // Init
     TNetData.NetData.OnReceivedHelloMessage := OnReceivedHelloMessage;
     TNetData.NetData.OnReceivedHelloMessage := OnReceivedHelloMessage;
@@ -1060,9 +1061,9 @@ end;
 
 
 {%endregion}
 {%endregion}
 
 
-{ TLoadSafeBoxThread }
+{ TLoadDatabaseThread }
 
 
-procedure TLoadSafeBoxThread.BCExecute;
+procedure TLoadDatabaseThread.BCExecute;
 begin
 begin
   // Read Operations saved from disk
   // Read Operations saved from disk
   TNode.Node.Bank.DiskRestoreFromOperations(CT_MaxBlock);
   TNode.Node.Bank.DiskRestoreFromOperations(CT_MaxBlock);