Browse Source

added mining to package

Tennessee Gibbs 6 years ago
parent
commit
fa697eb8b2

+ 633
- 103
.idea/workspace.xml View File

2
 <project version="4">
2
 <project version="4">
3
   <component name="ChangeListManager">
3
   <component name="ChangeListManager">
4
     <list default="true" id="f30b8007-194d-46df-895d-6576c24c3628" name="Default" comment="">
4
     <list default="true" id="f30b8007-194d-46df-895d-6576c24c3628" name="Default" comment="">
5
-      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java" afterDir="false" />
5
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Mining.java" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/mining/.idea/compiler.xml" beforeDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/mining/.idea/misc.xml" beforeDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/mining/.idea/workspace.xml" beforeDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/mining/mining.iml" beforeDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/mining/pom.xml" beforeDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/mining/src/main/java/Mining.java" beforeDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/mining/target/classes/Mining.class" beforeDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
6
     </list>
15
     </list>
7
     <ignored path="$PROJECT_DIR$/target/" />
16
     <ignored path="$PROJECT_DIR$/target/" />
8
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
17
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
13
     <option name="LAST_RESOLUTION" value="IGNORE" />
22
     <option name="LAST_RESOLUTION" value="IGNORE" />
14
   </component>
23
   </component>
15
   <component name="FileEditorManager">
24
   <component name="FileEditorManager">
16
-    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
25
+    <leaf>
17
       <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
26
       <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
18
         <entry file="file://$PROJECT_DIR$/pom.xml">
27
         <entry file="file://$PROJECT_DIR$/pom.xml">
19
           <provider selected="true" editor-type-id="text-editor">
28
           <provider selected="true" editor-type-id="text-editor">
20
-            <state relative-caret-position="675">
21
-              <caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
29
+            <state relative-caret-position="465">
30
+              <caret line="31" selection-start-line="31" selection-end-line="31" />
22
             </state>
31
             </state>
23
           </provider>
32
           </provider>
24
         </entry>
33
         </entry>
39
               <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
48
               <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
40
               <folding>
49
               <folding>
41
                 <element signature="imports" expanded="true" />
50
                 <element signature="imports" expanded="true" />
42
-                <element signature="e#509#510#0" expanded="true" />
43
-                <element signature="e#536#537#0" expanded="true" />
51
+                <element signature="e#559#560#0" expanded="true" />
52
+                <element signature="e#586#587#0" expanded="true" />
53
+                <element signature="e#625#626#0" expanded="true" />
54
+                <element signature="e#660#661#0" expanded="true" />
55
+                <element signature="e#691#692#0" expanded="true" />
56
+                <element signature="e#718#719#0" expanded="true" />
57
+                <element signature="e#752#753#0" expanded="true" />
58
+                <element signature="e#784#785#0" expanded="true" />
44
               </folding>
59
               </folding>
45
             </state>
60
             </state>
46
           </provider>
61
           </provider>
47
         </entry>
62
         </entry>
48
       </file>
63
       </file>
49
-      <file leaf-file-name="TestBlock.java" pinned="false" current-in-tab="false">
50
-        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
51
-          <provider selected="true" editor-type-id="text-editor">
52
-            <state relative-caret-position="270">
53
-              <caret line="19" column="46" selection-start-line="19" selection-start-column="46" selection-end-line="19" selection-end-column="46" />
54
-              <folding>
55
-                <element signature="imports" expanded="true" />
56
-              </folding>
57
-            </state>
58
-          </provider>
59
-        </entry>
60
-      </file>
61
-      <file leaf-file-name="Blockchain.java" pinned="false" current-in-tab="true">
62
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
64
+      <file leaf-file-name="workspace.xml" pinned="false" current-in-tab="false">
65
+        <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
63
           <provider selected="true" editor-type-id="text-editor">
66
           <provider selected="true" editor-type-id="text-editor">
64
-            <state relative-caret-position="315">
65
-              <caret line="23" column="5" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
66
-              <folding>
67
-                <element signature="imports" expanded="true" />
68
-                <element signature="e#449#450#0" expanded="true" />
69
-                <element signature="e#482#483#0" expanded="true" />
70
-              </folding>
67
+            <state relative-caret-position="18960">
68
+              <caret line="1282" column="13" selection-start-line="1282" selection-start-column="13" selection-end-line="1282" selection-end-column="13" />
71
             </state>
69
             </state>
72
           </provider>
70
           </provider>
73
         </entry>
71
         </entry>
74
       </file>
72
       </file>
75
-      <file leaf-file-name="TestBlockchain.java" pinned="false" current-in-tab="false">
76
-        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
73
+      <file leaf-file-name="TestBlock.java" pinned="false" current-in-tab="false">
74
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
77
           <provider selected="true" editor-type-id="text-editor">
75
           <provider selected="true" editor-type-id="text-editor">
78
-            <state relative-caret-position="390">
79
-              <caret line="26" column="8" selection-start-line="26" selection-start-column="8" selection-end-line="26" selection-end-column="8" />
76
+            <state>
77
+              <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
80
               <folding>
78
               <folding>
81
                 <element signature="imports" expanded="true" />
79
                 <element signature="imports" expanded="true" />
82
               </folding>
80
               </folding>
88
         <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java">
86
         <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java">
89
           <provider selected="true" editor-type-id="text-editor">
87
           <provider selected="true" editor-type-id="text-editor">
90
             <state relative-caret-position="330">
88
             <state relative-caret-position="330">
91
-              <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
89
+              <caret line="22" selection-start-line="22" selection-end-line="22" />
92
               <folding>
90
               <folding>
93
                 <element signature="imports" expanded="true" />
91
                 <element signature="imports" expanded="true" />
94
                 <element signature="e#428#429#0" expanded="true" />
92
                 <element signature="e#428#429#0" expanded="true" />
104
           </provider>
102
           </provider>
105
         </entry>
103
         </entry>
106
       </file>
104
       </file>
107
-      <file leaf-file-name="Encryption.java" pinned="false" current-in-tab="false">
108
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/utility/Encryption.java">
105
+      <file leaf-file-name="Blockchain.java" pinned="false" current-in-tab="false">
106
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
109
           <provider selected="true" editor-type-id="text-editor">
107
           <provider selected="true" editor-type-id="text-editor">
110
-            <state relative-caret-position="60">
111
-              <caret line="6" column="25" selection-start-line="6" selection-start-column="25" selection-end-line="6" selection-end-column="25" />
108
+            <state relative-caret-position="255">
109
+              <caret line="17" column="5" selection-start-line="17" selection-start-column="5" selection-end-line="17" selection-end-column="5" />
110
+              <folding>
111
+                <element signature="imports" expanded="true" />
112
+                <element signature="e#549#550#0" expanded="true" />
113
+                <element signature="e#582#583#0" expanded="true" />
114
+                <element signature="e#637#638#0" expanded="true" />
115
+                <element signature="e#674#675#0" expanded="true" />
116
+                <element signature="e#726#727#0" expanded="true" />
117
+                <element signature="e#766#767#0" expanded="true" />
118
+                <element signature="e#806#807#0" expanded="true" />
119
+                <element signature="e#846#847#0" expanded="true" />
120
+              </folding>
121
+            </state>
122
+          </provider>
123
+        </entry>
124
+      </file>
125
+      <file leaf-file-name="Mining.java" pinned="false" current-in-tab="true">
126
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Mining.java">
127
+          <provider selected="true" editor-type-id="text-editor">
128
+            <state relative-caret-position="405">
129
+              <caret line="27" column="13" lean-forward="true" selection-start-line="27" selection-start-column="13" selection-end-line="27" selection-end-column="13" />
130
+            </state>
131
+          </provider>
132
+        </entry>
133
+      </file>
134
+      <file leaf-file-name="TestBlockchain.java" pinned="false" current-in-tab="false">
135
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
136
+          <provider selected="true" editor-type-id="text-editor">
137
+            <state>
138
+              <caret line="19" selection-start-line="19" selection-end-line="19" />
112
               <folding>
139
               <folding>
113
                 <element signature="imports" expanded="true" />
140
                 <element signature="imports" expanded="true" />
114
               </folding>
141
               </folding>
135
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/utility/Encryption.java" />
162
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/utility/Encryption.java" />
136
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java" />
163
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java" />
137
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java" />
164
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java" />
138
-        <option value="$PROJECT_DIR$/pom.xml" />
139
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java" />
165
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java" />
140
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java" />
166
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java" />
141
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java" />
167
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java" />
168
+        <option value="$PROJECT_DIR$/pom.xml" />
169
+        <option value="$PROJECT_DIR$/mining/src/main/java/Mining.java" />
170
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Mining.java" />
142
       </list>
171
       </list>
143
     </option>
172
     </option>
144
   </component>
173
   </component>
155
       </MavenImportingSettings>
184
       </MavenImportingSettings>
156
     </option>
185
     </option>
157
   </component>
186
   </component>
187
+  <component name="MavenProjectNavigator">
188
+    <treeState>
189
+      <expand>
190
+        <path>
191
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
192
+          <item name="blueCoin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
193
+        </path>
194
+        <path>
195
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
196
+          <item name="blueCoin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
197
+          <item name="Dependencies" type="f4be9f2a:MavenProjectsStructure$DependenciesNode" />
198
+        </path>
199
+      </expand>
200
+      <select />
201
+    </treeState>
202
+  </component>
158
   <component name="NodePackageJsonFileManager">
203
   <component name="NodePackageJsonFileManager">
159
     <packageJsonPaths />
204
     <packageJsonPaths />
160
   </component>
205
   </component>
161
-  <component name="ProjectFrameBounds">
162
-    <option name="x" value="-213" />
163
-    <option name="y" value="-1057" />
164
-    <option name="width" value="1720" />
165
-    <option name="height" value="1006" />
206
+  <component name="ProjectFrameBounds" fullScreen="true">
207
+    <option name="width" value="1920" />
208
+    <option name="height" value="1080" />
166
   </component>
209
   </component>
167
   <component name="ProjectLevelVcsManager" settingsEditedManually="true">
210
   <component name="ProjectLevelVcsManager" settingsEditedManually="true">
168
     <ConfirmationsSetting value="2" id="Add" />
211
     <ConfirmationsSetting value="2" id="Add" />
173
     </navigator>
216
     </navigator>
174
     <panes>
217
     <panes>
175
       <pane id="PackagesPane" />
218
       <pane id="PackagesPane" />
219
+      <pane id="Scope" />
220
+      <pane id="AndroidView" />
176
       <pane id="ProjectPane">
221
       <pane id="ProjectPane">
177
         <subPane>
222
         <subPane>
178
           <expand>
223
           <expand>
224
               <item name="blue_coin_application" type="462c0819:PsiDirectoryNode" />
269
               <item name="blue_coin_application" type="462c0819:PsiDirectoryNode" />
225
               <item name="utility" type="462c0819:PsiDirectoryNode" />
270
               <item name="utility" type="462c0819:PsiDirectoryNode" />
226
             </path>
271
             </path>
272
+            <path>
273
+              <item name="blueCoin" type="b2602c69:ProjectViewProjectNode" />
274
+              <item name="blueCoin" type="462c0819:PsiDirectoryNode" />
275
+              <item name="src" type="462c0819:PsiDirectoryNode" />
276
+              <item name="test" type="462c0819:PsiDirectoryNode" />
277
+            </path>
278
+            <path>
279
+              <item name="blueCoin" type="b2602c69:ProjectViewProjectNode" />
280
+              <item name="blueCoin" type="462c0819:PsiDirectoryNode" />
281
+              <item name="src" type="462c0819:PsiDirectoryNode" />
282
+              <item name="test" type="462c0819:PsiDirectoryNode" />
283
+              <item name="java" type="462c0819:PsiDirectoryNode" />
284
+            </path>
285
+            <path>
286
+              <item name="blueCoin" type="b2602c69:ProjectViewProjectNode" />
287
+              <item name="blueCoin" type="462c0819:PsiDirectoryNode" />
288
+              <item name="src" type="462c0819:PsiDirectoryNode" />
289
+              <item name="test" type="462c0819:PsiDirectoryNode" />
290
+              <item name="java" type="462c0819:PsiDirectoryNode" />
291
+              <item name="blue_coin_application" type="462c0819:PsiDirectoryNode" />
292
+            </path>
227
           </expand>
293
           </expand>
228
           <select />
294
           <select />
229
         </subPane>
295
         </subPane>
230
       </pane>
296
       </pane>
231
-      <pane id="AndroidView" />
232
-      <pane id="Scope" />
233
     </panes>
297
     </panes>
234
   </component>
298
   </component>
235
   <component name="PropertiesComponent">
299
   <component name="PropertiesComponent">
236
     <property name="WebServerToolWindowFactoryState" value="false" />
300
     <property name="WebServerToolWindowFactoryState" value="false" />
237
     <property name="aspect.path.notification.shown" value="true" />
301
     <property name="aspect.path.notification.shown" value="true" />
302
+    <property name="full.screen.before.presentation.mode" value="false" />
238
     <property name="last_opened_file_path" value="$PROJECT_DIR$" />
303
     <property name="last_opened_file_path" value="$PROJECT_DIR$" />
239
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
304
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
240
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
305
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
254
       </list>
319
       </list>
255
     </option>
320
     </option>
256
   </component>
321
   </component>
257
-  <component name="RunManager" selected="JUnit.TestBlockchain.testIsChainValid">
322
+  <component name="RunManager" selected="Application.Mining">
323
+    <configuration name="Mining" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
324
+      <option name="MAIN_CLASS_NAME" value="Mining" />
325
+      <module name="blueCoin" />
326
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
327
+    </configuration>
258
     <configuration default="true" type="Application" factoryName="Application">
328
     <configuration default="true" type="Application" factoryName="Application">
259
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
329
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
260
     </configuration>
330
     </configuration>
304
       </option>
374
       </option>
305
       <patterns />
375
       <patterns />
306
     </configuration>
376
     </configuration>
307
-    <configuration name="TestBlockchain.testAddBlockToChain" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
377
+    <configuration name="TestBlock.testGetHash" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
308
       <module name="blueCoin" />
378
       <module name="blueCoin" />
309
       <extension name="coverage">
379
       <extension name="coverage">
310
         <pattern>
380
         <pattern>
315
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
385
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
316
       <option name="ALTERNATIVE_JRE_PATH" />
386
       <option name="ALTERNATIVE_JRE_PATH" />
317
       <option name="PACKAGE_NAME" value="io.zipcoder.blue_coin_application" />
387
       <option name="PACKAGE_NAME" value="io.zipcoder.blue_coin_application" />
318
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.blue_coin_application.TestBlockchain" />
319
-      <option name="METHOD_NAME" value="testAddBlockToChain" />
388
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.blue_coin_application.TestBlock" />
389
+      <option name="METHOD_NAME" value="testGetHash" />
320
       <option name="TEST_OBJECT" value="method" />
390
       <option name="TEST_OBJECT" value="method" />
321
       <option name="VM_PARAMETERS" value="-ea" />
391
       <option name="VM_PARAMETERS" value="-ea" />
322
       <option name="PARAMETERS" />
392
       <option name="PARAMETERS" />
327
       </option>
397
       </option>
328
       <patterns />
398
       <patterns />
329
     </configuration>
399
     </configuration>
330
-    <configuration name="TestBlockchain.testIsChainValid" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
400
+    <configuration name="TestBlockchain" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
331
       <module name="blueCoin" />
401
       <module name="blueCoin" />
332
       <extension name="coverage">
402
       <extension name="coverage">
333
         <pattern>
403
         <pattern>
339
       <option name="ALTERNATIVE_JRE_PATH" />
409
       <option name="ALTERNATIVE_JRE_PATH" />
340
       <option name="PACKAGE_NAME" value="io.zipcoder.blue_coin_application" />
410
       <option name="PACKAGE_NAME" value="io.zipcoder.blue_coin_application" />
341
       <option name="MAIN_CLASS_NAME" value="io.zipcoder.blue_coin_application.TestBlockchain" />
411
       <option name="MAIN_CLASS_NAME" value="io.zipcoder.blue_coin_application.TestBlockchain" />
342
-      <option name="METHOD_NAME" value="testIsChainValid" />
343
-      <option name="TEST_OBJECT" value="method" />
412
+      <option name="METHOD_NAME" />
413
+      <option name="TEST_OBJECT" value="class" />
344
       <option name="VM_PARAMETERS" value="-ea" />
414
       <option name="VM_PARAMETERS" value="-ea" />
345
       <option name="PARAMETERS" />
415
       <option name="PARAMETERS" />
346
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
416
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
366
       </option>
436
       </option>
367
       <patterns />
437
       <patterns />
368
     </configuration>
438
     </configuration>
369
-    <configuration name="utility in blueCoin" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
370
-      <module name="blueCoin" />
371
-      <extension name="coverage">
372
-        <pattern>
373
-          <option name="PATTERN" value="utility.*" />
374
-          <option name="ENABLED" value="true" />
375
-        </pattern>
376
-      </extension>
377
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
378
-      <option name="ALTERNATIVE_JRE_PATH" />
379
-      <option name="PACKAGE_NAME" value="utility" />
380
-      <option name="MAIN_CLASS_NAME" />
381
-      <option name="METHOD_NAME" />
382
-      <option name="TEST_OBJECT" value="package" />
383
-      <option name="VM_PARAMETERS" value="-ea" />
384
-      <option name="PARAMETERS" />
385
-      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
386
-      <option name="PASS_PARENT_ENVS" value="true" />
387
-      <option name="TEST_SEARCH_SCOPE">
388
-        <value defaultName="singleModule" />
389
-      </option>
390
-      <patterns />
391
-    </configuration>
392
     <configuration default="true" type="TestNG" factoryName="TestNG">
439
     <configuration default="true" type="TestNG" factoryName="TestNG">
393
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
440
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
394
       <option name="ALTERNATIVE_JRE_PATH" />
441
       <option name="ALTERNATIVE_JRE_PATH" />
412
       <listeners />
459
       <listeners />
413
     </configuration>
460
     </configuration>
414
     <list>
461
     <list>
415
-      <item itemvalue="JUnit.utility in blueCoin" />
416
       <item itemvalue="JUnit.TestBlock.testCalculateHash" />
462
       <item itemvalue="JUnit.TestBlock.testCalculateHash" />
417
       <item itemvalue="JUnit.TestBlock" />
463
       <item itemvalue="JUnit.TestBlock" />
418
-      <item itemvalue="JUnit.TestBlockchain.testAddBlockToChain" />
419
-      <item itemvalue="JUnit.TestBlockchain.testIsChainValid" />
464
+      <item itemvalue="JUnit.TestBlock.testGetHash" />
465
+      <item itemvalue="JUnit.TestBlockchain" />
466
+      <item itemvalue="Application.Mining" />
420
     </list>
467
     </list>
421
     <recent_temporary>
468
     <recent_temporary>
422
       <list>
469
       <list>
423
-        <item itemvalue="JUnit.TestBlockchain.testIsChainValid" />
424
-        <item itemvalue="JUnit.TestBlockchain.testAddBlockToChain" />
425
-        <item itemvalue="JUnit.TestBlock" />
470
+        <item itemvalue="Application.Mining" />
471
+        <item itemvalue="JUnit.TestBlockchain" />
472
+        <item itemvalue="JUnit.TestBlock.testGetHash" />
426
         <item itemvalue="JUnit.TestBlock.testCalculateHash" />
473
         <item itemvalue="JUnit.TestBlock.testCalculateHash" />
427
-        <item itemvalue="JUnit.utility in blueCoin" />
474
+        <item itemvalue="JUnit.TestBlock" />
428
       </list>
475
       </list>
429
     </recent_temporary>
476
     </recent_temporary>
430
   </component>
477
   </component>
456
     <history-entry file="TestBlockchain_testAddBlockToChain - 2018.07.13 at 10h 47m 16s.xml">
503
     <history-entry file="TestBlockchain_testAddBlockToChain - 2018.07.13 at 10h 47m 16s.xml">
457
       <configuration name="TestBlockchain.testAddBlockToChain" configurationId="JUnit" />
504
       <configuration name="TestBlockchain.testAddBlockToChain" configurationId="JUnit" />
458
     </history-entry>
505
     </history-entry>
506
+    <history-entry file="TestBlockchain_testIsChainValid - 2018.07.18 at 10h 40m 08s.xml">
507
+      <configuration name="TestBlockchain.testIsChainValid" configurationId="JUnit" />
508
+    </history-entry>
509
+    <history-entry file="TestBlock - 2018.07.18 at 10h 41m 26s.xml">
510
+      <configuration name="TestBlock" configurationId="JUnit" />
511
+    </history-entry>
512
+    <history-entry file="TestBlock_testCalculateHash - 2018.07.18 at 10h 41m 30s.xml">
513
+      <configuration name="TestBlock.testCalculateHash" configurationId="JUnit" />
514
+    </history-entry>
515
+    <history-entry file="TestBlock_testGetHash - 2018.07.18 at 10h 41m 33s.xml">
516
+      <configuration name="TestBlock.testGetHash" configurationId="JUnit" />
517
+    </history-entry>
518
+    <history-entry file="TestBlockchain - 2018.07.18 at 10h 41m 39s.xml">
519
+      <configuration name="TestBlockchain" configurationId="JUnit" />
520
+    </history-entry>
459
   </component>
521
   </component>
460
   <component name="TimeTrackingManager">
522
   <component name="TimeTrackingManager">
461
-    <option name="totallyTimeSpent" value="6146000" />
523
+    <option name="totallyTimeSpent" value="9402000" />
462
   </component>
524
   </component>
463
   <component name="ToolWindowManager">
525
   <component name="ToolWindowManager">
464
-    <frame x="-213" y="-1057" width="1720" height="1006" extended-state="0" />
526
+    <frame x="0" y="0" width="1440" height="900" extended-state="0" />
465
     <editor active="true" />
527
     <editor active="true" />
466
     <layout>
528
     <layout>
467
       <window_info anchor="right" id="Palette" order="3" />
529
       <window_info anchor="right" id="Palette" order="3" />
468
       <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
530
       <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
469
-      <window_info anchor="right" id="Maven Projects" order="3" />
531
+      <window_info anchor="right" id="Maven Projects" order="3" weight="0.3297568" />
470
       <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
532
       <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
471
       <window_info id="Capture Tool" order="2" />
533
       <window_info id="Capture Tool" order="2" />
472
       <window_info id="Designer" order="2" />
534
       <window_info id="Designer" order="2" />
476
       <window_info id="UI Designer" order="2" />
538
       <window_info id="UI Designer" order="2" />
477
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
539
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
478
       <window_info anchor="bottom" id="TODO" order="6" />
540
       <window_info anchor="bottom" id="TODO" order="6" />
541
+      <window_info anchor="bottom" id="Messages" order="10" weight="0.32907802" />
479
       <window_info anchor="right" id="Palette&#9;" order="3" />
542
       <window_info anchor="right" id="Palette&#9;" order="3" />
480
       <window_info id="Image Layers" order="2" />
543
       <window_info id="Image Layers" order="2" />
481
       <window_info anchor="bottom" id="Java Enterprise" order="7" />
544
       <window_info anchor="bottom" id="Java Enterprise" order="7" />
482
       <window_info anchor="right" id="Capture Analysis" order="3" />
545
       <window_info anchor="right" id="Capture Analysis" order="3" />
483
-      <window_info anchor="bottom" id="Run" order="2" weight="0.32916668" />
484
       <window_info anchor="bottom" id="Version Control" order="7" />
546
       <window_info anchor="bottom" id="Version Control" order="7" />
547
+      <window_info anchor="bottom" id="Run" order="2" weight="0.40274313" />
485
       <window_info anchor="bottom" id="Spring" order="7" />
548
       <window_info anchor="bottom" id="Spring" order="7" />
486
-      <window_info anchor="bottom" id="Terminal" order="7" />
487
-      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.28247914" />
549
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32907802" />
550
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.29470673" />
488
       <window_info anchor="right" id="Bean Validation" order="3" />
551
       <window_info anchor="right" id="Bean Validation" order="3" />
489
       <window_info id="Web" order="2" side_tool="true" />
552
       <window_info id="Web" order="2" side_tool="true" />
490
       <window_info anchor="right" id="Theme Preview" order="3" />
553
       <window_info anchor="right" id="Theme Preview" order="3" />
491
       <window_info id="Favorites" order="2" side_tool="true" />
554
       <window_info id="Favorites" order="2" side_tool="true" />
555
+      <window_info anchor="bottom" id="Message" order="0" />
556
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32916668" />
557
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
558
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.28247914" />
559
+      <window_info id="Favorites" order="2" side_tool="true" />
560
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
561
+      <window_info anchor="bottom" id="Java Enterprise" order="7" />
562
+      <window_info anchor="right" id="Theme Preview" order="3" />
563
+      <window_info anchor="bottom" id="Terminal" order="7" />
564
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
565
+      <window_info anchor="right" id="Palette" order="3" />
566
+      <window_info anchor="right" id="Palette&#9;" order="3" />
567
+      <window_info anchor="right" id="Maven Projects" order="3" />
568
+      <window_info id="Web" order="2" side_tool="true" />
569
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
570
+      <window_info anchor="bottom" id="Spring" order="7" />
571
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
572
+      <window_info id="Image Layers" order="2" />
573
+      <window_info anchor="right" id="Bean Validation" order="3" />
574
+      <window_info anchor="right" id="Database" order="3" />
575
+      <window_info id="Capture Tool" order="2" />
576
+      <window_info anchor="bottom" id="Version Control" order="7" />
577
+      <window_info anchor="right" id="Capture Analysis" order="3" />
578
+      <window_info anchor="bottom" id="TODO" order="6" />
492
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
579
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
493
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
494
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
580
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
581
+      <window_info id="UI Designer" order="2" />
582
+      <window_info anchor="bottom" id="Find" order="1" />
583
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
495
       <window_info anchor="bottom" id="Messages" order="7" />
584
       <window_info anchor="bottom" id="Messages" order="7" />
496
-      <window_info anchor="bottom" id="Message" order="0" />
585
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
586
+      <window_info id="Designer" order="2" />
587
+    </layout>
588
+    <layout-to-restore>
589
+      <window_info id="Designer" order="2" />
590
+      <window_info anchor="right" id="Palette" order="3" />
591
+      <window_info anchor="bottom" id="Spring" order="7" />
592
+      <window_info id="Image Layers" order="3" />
593
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32916668" />
594
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
595
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
596
+      <window_info id="UI Designer" order="4" />
597
+      <window_info id="Favorites" order="5" side_tool="true" />
598
+      <window_info anchor="bottom" id="Terminal" order="8" />
599
+      <window_info id="Capture Tool" order="6" />
600
+      <window_info anchor="right" id="Capture Analysis" order="4" />
601
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
602
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
603
+      <window_info anchor="bottom" id="Messages" order="10" />
604
+      <window_info anchor="bottom" id="TODO" order="6" />
497
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
605
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
606
+      <window_info anchor="bottom" id="Java Enterprise" order="11" />
607
+      <window_info anchor="bottom" id="Database Changes" order="12" show_stripe_button="false" />
608
+      <window_info anchor="bottom" id="Version Control" order="13" />
609
+      <window_info anchor="right" id="Maven Projects" order="5" />
498
       <window_info anchor="bottom" id="Find" order="1" />
610
       <window_info anchor="bottom" id="Find" order="1" />
499
-    </layout>
611
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.28247914" />
612
+      <window_info anchor="right" id="Database" order="6" />
613
+      <window_info anchor="bottom" id="Message" order="0" />
614
+      <window_info id="Web" order="7" side_tool="true" />
615
+      <window_info anchor="right" id="Palette&#9;" order="7" />
616
+      <window_info anchor="right" id="Theme Preview" order="8" />
617
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
618
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
619
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
620
+      <window_info anchor="right" id="Bean Validation" order="9" />
621
+    </layout-to-restore>
500
   </component>
622
   </component>
501
   <component name="TypeScriptGeneratedFilesManager">
623
   <component name="TypeScriptGeneratedFilesManager">
502
     <option name="version" value="1" />
624
     <option name="version" value="1" />
512
   <component name="editorHistoryManager">
634
   <component name="editorHistoryManager">
513
     <entry file="file://$PROJECT_DIR$/pom.xml">
635
     <entry file="file://$PROJECT_DIR$/pom.xml">
514
       <provider selected="true" editor-type-id="text-editor">
636
       <provider selected="true" editor-type-id="text-editor">
637
+        <state relative-caret-position="384">
638
+          <caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
639
+        </state>
640
+      </provider>
641
+    </entry>
642
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
643
+      <provider selected="true" editor-type-id="text-editor">
644
+        <state relative-caret-position="285">
645
+          <caret line="19" column="46" selection-start-line="19" selection-start-column="46" selection-end-line="19" selection-end-column="46" />
646
+          <folding>
647
+            <element signature="imports" expanded="true" />
648
+          </folding>
649
+        </state>
650
+      </provider>
651
+    </entry>
652
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java">
653
+      <provider selected="true" editor-type-id="text-editor">
654
+        <state relative-caret-position="30">
655
+          <caret line="2" column="60" lean-forward="true" selection-start-line="2" selection-start-column="60" selection-end-line="2" selection-end-column="60" />
656
+          <folding>
657
+            <element signature="imports" expanded="true" />
658
+            <element signature="e#559#560#0" expanded="true" />
659
+            <element signature="e#586#587#0" expanded="true" />
660
+            <element signature="e#625#626#0" expanded="true" />
661
+            <element signature="e#660#661#0" expanded="true" />
662
+            <element signature="e#691#692#0" expanded="true" />
663
+            <element signature="e#718#719#0" expanded="true" />
664
+            <element signature="e#752#753#0" expanded="true" />
665
+            <element signature="e#784#785#0" expanded="true" />
666
+          </folding>
667
+        </state>
668
+      </provider>
669
+    </entry>
670
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
671
+      <provider selected="true" editor-type-id="text-editor">
672
+        <state relative-caret-position="345">
673
+          <caret line="23" column="5" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
674
+          <folding>
675
+            <element signature="imports" expanded="true" />
676
+            <element signature="e#549#550#0" expanded="true" />
677
+            <element signature="e#582#583#0" expanded="true" />
678
+            <element signature="e#637#638#0" expanded="true" />
679
+            <element signature="e#674#675#0" expanded="true" />
680
+            <element signature="e#726#727#0" expanded="true" />
681
+            <element signature="e#766#767#0" expanded="true" />
682
+            <element signature="e#806#807#0" expanded="true" />
683
+            <element signature="e#846#847#0" expanded="true" />
684
+          </folding>
685
+        </state>
686
+      </provider>
687
+    </entry>
688
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
689
+      <provider selected="true" editor-type-id="text-editor">
690
+        <state relative-caret-position="450">
691
+          <caret line="30" column="1" selection-start-line="30" selection-start-column="1" selection-end-line="30" selection-end-column="1" />
692
+          <folding>
693
+            <element signature="imports" expanded="true" />
694
+          </folding>
695
+        </state>
696
+      </provider>
697
+    </entry>
698
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/BlueCoinApplication.java">
699
+      <provider selected="true" editor-type-id="text-editor">
700
+        <state relative-caret-position="30">
701
+          <caret line="2" column="34" selection-start-line="2" selection-start-column="34" selection-end-line="2" selection-end-column="34" />
702
+        </state>
703
+      </provider>
704
+    </entry>
705
+    <entry file="file://$PROJECT_DIR$/pom.xml">
706
+      <provider selected="true" editor-type-id="text-editor">
707
+        <state relative-caret-position="675">
708
+          <caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
709
+        </state>
710
+      </provider>
711
+    </entry>
712
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
713
+      <provider selected="true" editor-type-id="text-editor">
714
+        <state relative-caret-position="253">
715
+          <caret line="17" column="5" lean-forward="true" selection-start-line="17" selection-start-column="5" selection-end-line="17" selection-end-column="5" />
716
+          <folding>
717
+            <element signature="imports" expanded="true" />
718
+            <element signature="e#549#550#0" expanded="true" />
719
+            <element signature="e#582#583#0" expanded="true" />
720
+            <element signature="e#637#638#0" expanded="true" />
721
+            <element signature="e#674#675#0" expanded="true" />
722
+            <element signature="e#726#727#0" expanded="true" />
723
+            <element signature="e#766#767#0" expanded="true" />
724
+            <element signature="e#806#807#0" expanded="true" />
725
+            <element signature="e#846#847#0" expanded="true" />
726
+          </folding>
727
+        </state>
728
+      </provider>
729
+    </entry>
730
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java">
731
+      <provider selected="true" editor-type-id="text-editor">
732
+        <state relative-caret-position="409">
733
+          <caret line="55" column="1" lean-forward="true" selection-start-line="55" selection-start-column="1" selection-end-line="55" selection-end-column="1" />
734
+          <folding>
735
+            <element signature="imports" expanded="true" />
736
+            <element signature="e#559#560#0" expanded="true" />
737
+            <element signature="e#586#587#0" expanded="true" />
738
+            <element signature="e#625#626#0" expanded="true" />
739
+            <element signature="e#660#661#0" expanded="true" />
740
+            <element signature="e#691#692#0" expanded="true" />
741
+            <element signature="e#718#719#0" expanded="true" />
742
+            <element signature="e#752#753#0" expanded="true" />
743
+            <element signature="e#784#785#0" expanded="true" />
744
+          </folding>
745
+        </state>
746
+      </provider>
747
+    </entry>
748
+    <entry file="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/19.0/guava-19.0.jar!/com/google/common/hash/AbstractHasher.class">
749
+      <provider selected="true" editor-type-id="text-editor">
750
+        <state relative-caret-position="120">
751
+          <caret line="11" selection-start-line="11" selection-end-line="11" />
752
+        </state>
753
+      </provider>
754
+    </entry>
755
+    <entry file="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/19.0/guava-19.0.jar!/com/google/common/hash/AbstractByteHasher.class">
756
+      <provider selected="true" editor-type-id="text-editor">
757
+        <state relative-caret-position="150">
758
+          <caret line="15" selection-start-line="15" selection-end-line="15" />
759
+        </state>
760
+      </provider>
761
+    </entry>
762
+    <entry file="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/19.0/guava-19.0.jar!/com/google/common/hash/MessageDigestHashFunction.class">
763
+      <provider selected="true" editor-type-id="text-editor">
764
+        <state relative-caret-position="163">
765
+          <caret line="84" selection-start-line="84" selection-end-line="84" />
766
+        </state>
767
+      </provider>
768
+    </entry>
769
+    <entry file="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/19.0/guava-19.0.jar!/com/google/common/hash/AbstractStreamingHashFunction.class">
770
+      <provider selected="true" editor-type-id="text-editor">
771
+        <state relative-caret-position="255">
772
+          <caret line="25" selection-start-line="25" selection-end-line="25" />
773
+        </state>
774
+      </provider>
775
+    </entry>
776
+    <entry file="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/19.0/guava-19.0.jar!/com/google/common/hash/Hashing.class">
777
+      <provider selected="true" editor-type-id="text-editor">
778
+        <state relative-caret-position="134">
779
+          <caret line="79" selection-start-line="79" selection-end-line="79" />
780
+        </state>
781
+      </provider>
782
+    </entry>
783
+    <entry file="file://$PROJECT_DIR$/mining/target/classes/Mining.class">
784
+      <provider selected="true" editor-type-id="text-editor">
785
+        <state relative-caret-position="300">
786
+          <caret line="37" lean-forward="true" selection-start-line="37" selection-end-line="37" />
787
+        </state>
788
+      </provider>
789
+    </entry>
790
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/utility/Encryption.java">
791
+      <provider selected="true" editor-type-id="text-editor">
792
+        <state relative-caret-position="60">
793
+          <caret line="6" column="25" selection-start-line="6" selection-start-column="25" selection-end-line="6" selection-end-column="25" />
794
+          <folding>
795
+            <element signature="imports" expanded="true" />
796
+          </folding>
797
+        </state>
798
+      </provider>
799
+    </entry>
800
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
801
+      <provider selected="true" editor-type-id="text-editor">
802
+        <state relative-caret-position="75">
803
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
804
+          <folding>
805
+            <element signature="imports" expanded="true" />
806
+          </folding>
807
+        </state>
808
+      </provider>
809
+    </entry>
810
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
811
+      <provider selected="true" editor-type-id="text-editor">
812
+        <state relative-caret-position="330">
813
+          <caret line="29" column="8" selection-start-line="29" selection-start-column="8" selection-end-line="29" selection-end-column="8" />
814
+          <folding>
815
+            <element signature="imports" expanded="true" />
816
+          </folding>
817
+        </state>
818
+      </provider>
819
+    </entry>
820
+    <entry file="file://$PROJECT_DIR$/pom.xml">
821
+      <provider selected="true" editor-type-id="text-editor">
515
         <state relative-caret-position="675">
822
         <state relative-caret-position="675">
516
           <caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
823
           <caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
517
         </state>
824
         </state>
530
           <caret line="2" column="60" lean-forward="true" selection-start-line="2" selection-start-column="60" selection-end-line="2" selection-end-column="60" />
837
           <caret line="2" column="60" lean-forward="true" selection-start-line="2" selection-start-column="60" selection-end-line="2" selection-end-column="60" />
531
           <folding>
838
           <folding>
532
             <element signature="imports" expanded="true" />
839
             <element signature="imports" expanded="true" />
533
-            <element signature="e#509#510#0" expanded="true" />
534
-            <element signature="e#536#537#0" expanded="true" />
840
+            <element signature="e#559#560#0" expanded="true" />
841
+            <element signature="e#586#587#0" expanded="true" />
842
+            <element signature="e#625#626#0" expanded="true" />
843
+            <element signature="e#660#661#0" expanded="true" />
844
+            <element signature="e#691#692#0" expanded="true" />
845
+            <element signature="e#718#719#0" expanded="true" />
846
+            <element signature="e#752#753#0" expanded="true" />
847
+            <element signature="e#784#785#0" expanded="true" />
535
           </folding>
848
           </folding>
536
         </state>
849
         </state>
537
       </provider>
850
       </provider>
552
           <caret line="23" column="5" lean-forward="true" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
865
           <caret line="23" column="5" lean-forward="true" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
553
           <folding>
866
           <folding>
554
             <element signature="imports" expanded="true" />
867
             <element signature="imports" expanded="true" />
555
-            <element signature="e#449#450#0" expanded="true" />
556
-            <element signature="e#482#483#0" expanded="true" />
868
+            <element signature="e#549#550#0" expanded="true" />
869
+            <element signature="e#582#583#0" expanded="true" />
870
+            <element signature="e#637#638#0" expanded="true" />
871
+            <element signature="e#674#675#0" expanded="true" />
872
+            <element signature="e#726#727#0" expanded="true" />
873
+            <element signature="e#766#767#0" expanded="true" />
874
+            <element signature="e#806#807#0" expanded="true" />
875
+            <element signature="e#846#847#0" expanded="true" />
557
           </folding>
876
           </folding>
558
         </state>
877
         </state>
559
       </provider>
878
       </provider>
604
     </entry>
923
     </entry>
605
     <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
924
     <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
606
       <provider selected="true" editor-type-id="text-editor">
925
       <provider selected="true" editor-type-id="text-editor">
926
+        <state relative-caret-position="75">
927
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
928
+          <folding>
929
+            <element signature="imports" expanded="true" />
930
+          </folding>
931
+        </state>
932
+      </provider>
933
+    </entry>
934
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
935
+      <provider selected="true" editor-type-id="text-editor">
936
+        <state relative-caret-position="273">
937
+          <caret line="26" column="8" selection-start-line="26" selection-start-column="8" selection-end-line="26" selection-end-column="8" />
938
+          <folding>
939
+            <element signature="imports" expanded="true" />
940
+          </folding>
941
+        </state>
942
+      </provider>
943
+    </entry>
944
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java">
945
+      <provider selected="true" editor-type-id="text-editor">
946
+        <state relative-caret-position="330">
947
+          <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
948
+          <folding>
949
+            <element signature="imports" expanded="true" />
950
+            <element signature="e#428#429#0" expanded="true" />
951
+            <element signature="e#457#458#0" expanded="true" />
952
+            <element signature="e#499#500#0" expanded="true" />
953
+            <element signature="e#535#536#0" expanded="true" />
954
+            <element signature="e#650#651#0" expanded="true" />
955
+            <element signature="e#692#693#0" expanded="true" />
956
+            <element signature="e#803#804#0" expanded="true" />
957
+            <element signature="e#843#844#0" expanded="true" />
958
+          </folding>
959
+        </state>
960
+      </provider>
961
+    </entry>
962
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
963
+      <provider selected="true" editor-type-id="text-editor">
964
+        <state relative-caret-position="223">
965
+          <caret line="15" column="5" lean-forward="true" selection-start-line="15" selection-start-column="5" selection-end-line="15" selection-end-column="5" />
966
+          <folding>
967
+            <element signature="imports" expanded="true" />
968
+            <element signature="e#549#550#0" expanded="true" />
969
+            <element signature="e#582#583#0" expanded="true" />
970
+            <element signature="e#637#638#0" expanded="true" />
971
+            <element signature="e#674#675#0" expanded="true" />
972
+            <element signature="e#726#727#0" expanded="true" />
973
+            <element signature="e#766#767#0" expanded="true" />
974
+            <element signature="e#806#807#0" expanded="true" />
975
+            <element signature="e#846#847#0" expanded="true" />
976
+          </folding>
977
+        </state>
978
+      </provider>
979
+    </entry>
980
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java">
981
+      <provider selected="true" editor-type-id="text-editor">
982
+        <state relative-caret-position="90">
983
+          <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
984
+          <folding>
985
+            <element signature="imports" expanded="true" />
986
+            <element signature="e#559#560#0" expanded="true" />
987
+            <element signature="e#586#587#0" expanded="true" />
988
+            <element signature="e#625#626#0" expanded="true" />
989
+            <element signature="e#660#661#0" expanded="true" />
990
+            <element signature="e#691#692#0" expanded="true" />
991
+            <element signature="e#718#719#0" expanded="true" />
992
+            <element signature="e#752#753#0" expanded="true" />
993
+            <element signature="e#784#785#0" expanded="true" />
994
+          </folding>
995
+        </state>
996
+      </provider>
997
+    </entry>
998
+    <entry file="file://$PROJECT_DIR$/pom.xml">
999
+      <provider selected="true" editor-type-id="text-editor">
1000
+        <state relative-caret-position="675">
1001
+          <caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
1002
+        </state>
1003
+      </provider>
1004
+    </entry>
1005
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/BlueCoinApplication.java">
1006
+      <provider selected="true" editor-type-id="text-editor">
1007
+        <state relative-caret-position="30">
1008
+          <caret line="2" column="34" selection-start-line="2" selection-start-column="34" selection-end-line="2" selection-end-column="34" />
1009
+        </state>
1010
+      </provider>
1011
+    </entry>
1012
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java">
1013
+      <provider selected="true" editor-type-id="text-editor">
1014
+        <state relative-caret-position="30">
1015
+          <caret line="2" column="60" lean-forward="true" selection-start-line="2" selection-start-column="60" selection-end-line="2" selection-end-column="60" />
1016
+          <folding>
1017
+            <element signature="imports" expanded="true" />
1018
+            <element signature="e#559#560#0" expanded="true" />
1019
+            <element signature="e#586#587#0" expanded="true" />
1020
+            <element signature="e#625#626#0" expanded="true" />
1021
+            <element signature="e#660#661#0" expanded="true" />
1022
+            <element signature="e#691#692#0" expanded="true" />
1023
+            <element signature="e#718#719#0" expanded="true" />
1024
+            <element signature="e#752#753#0" expanded="true" />
1025
+            <element signature="e#784#785#0" expanded="true" />
1026
+          </folding>
1027
+        </state>
1028
+      </provider>
1029
+    </entry>
1030
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
1031
+      <provider selected="true" editor-type-id="text-editor">
607
         <state relative-caret-position="270">
1032
         <state relative-caret-position="270">
608
           <caret line="19" column="46" selection-start-line="19" selection-start-column="46" selection-end-line="19" selection-end-column="46" />
1033
           <caret line="19" column="46" selection-start-line="19" selection-start-column="46" selection-end-line="19" selection-end-column="46" />
609
           <folding>
1034
           <folding>
612
         </state>
1037
         </state>
613
       </provider>
1038
       </provider>
614
     </entry>
1039
     </entry>
1040
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
1041
+      <provider selected="true" editor-type-id="text-editor">
1042
+        <state relative-caret-position="240">
1043
+          <caret line="23" column="5" lean-forward="true" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
1044
+          <folding>
1045
+            <element signature="imports" expanded="true" />
1046
+            <element signature="e#549#550#0" expanded="true" />
1047
+            <element signature="e#582#583#0" expanded="true" />
1048
+            <element signature="e#637#638#0" expanded="true" />
1049
+            <element signature="e#674#675#0" expanded="true" />
1050
+            <element signature="e#726#727#0" expanded="true" />
1051
+            <element signature="e#766#767#0" expanded="true" />
1052
+            <element signature="e#806#807#0" expanded="true" />
1053
+            <element signature="e#846#847#0" expanded="true" />
1054
+          </folding>
1055
+        </state>
1056
+      </provider>
1057
+    </entry>
1058
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/utility/Encryption.java">
1059
+      <provider selected="true" editor-type-id="text-editor">
1060
+        <state relative-caret-position="60">
1061
+          <caret line="6" column="25" selection-start-line="6" selection-start-column="25" selection-end-line="6" selection-end-column="25" />
1062
+          <folding>
1063
+            <element signature="imports" expanded="true" />
1064
+          </folding>
1065
+        </state>
1066
+      </provider>
1067
+    </entry>
615
     <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
1068
     <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
616
       <provider selected="true" editor-type-id="text-editor">
1069
       <provider selected="true" editor-type-id="text-editor">
617
-        <state relative-caret-position="390">
1070
+        <state relative-caret-position="330">
618
           <caret line="26" column="8" selection-start-line="26" selection-start-column="8" selection-end-line="26" selection-end-column="8" />
1071
           <caret line="26" column="8" selection-start-line="26" selection-start-column="8" selection-end-line="26" selection-end-column="8" />
619
           <folding>
1072
           <folding>
620
             <element signature="imports" expanded="true" />
1073
             <element signature="imports" expanded="true" />
622
         </state>
1075
         </state>
623
       </provider>
1076
       </provider>
624
     </entry>
1077
     </entry>
1078
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/utility/Encryption.java">
1079
+      <provider selected="true" editor-type-id="text-editor">
1080
+        <state>
1081
+          <caret line="6" column="25" selection-start-line="6" selection-start-column="25" selection-end-line="6" selection-end-column="25" />
1082
+          <folding>
1083
+            <element signature="imports" expanded="true" />
1084
+          </folding>
1085
+        </state>
1086
+      </provider>
1087
+    </entry>
1088
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlockchain.java">
1089
+      <provider selected="true" editor-type-id="text-editor">
1090
+        <state>
1091
+          <caret line="19" selection-start-line="19" selection-end-line="19" />
1092
+          <folding>
1093
+            <element signature="imports" expanded="true" />
1094
+          </folding>
1095
+        </state>
1096
+      </provider>
1097
+    </entry>
1098
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/blue_coin_application/TestBlock.java">
1099
+      <provider selected="true" editor-type-id="text-editor">
1100
+        <state>
1101
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
1102
+          <folding>
1103
+            <element signature="imports" expanded="true" />
1104
+          </folding>
1105
+        </state>
1106
+      </provider>
1107
+    </entry>
1108
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
1109
+      <provider selected="true" editor-type-id="text-editor">
1110
+        <state relative-caret-position="18960">
1111
+          <caret line="1282" column="13" selection-start-line="1282" selection-start-column="13" selection-end-line="1282" selection-end-column="13" />
1112
+        </state>
1113
+      </provider>
1114
+    </entry>
625
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java">
1115
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Block.java">
626
       <provider selected="true" editor-type-id="text-editor">
1116
       <provider selected="true" editor-type-id="text-editor">
627
         <state relative-caret-position="90">
1117
         <state relative-caret-position="90">
628
           <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
1118
           <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
629
           <folding>
1119
           <folding>
630
             <element signature="imports" expanded="true" />
1120
             <element signature="imports" expanded="true" />
631
-            <element signature="e#509#510#0" expanded="true" />
632
-            <element signature="e#536#537#0" expanded="true" />
1121
+            <element signature="e#559#560#0" expanded="true" />
1122
+            <element signature="e#586#587#0" expanded="true" />
1123
+            <element signature="e#625#626#0" expanded="true" />
1124
+            <element signature="e#660#661#0" expanded="true" />
1125
+            <element signature="e#691#692#0" expanded="true" />
1126
+            <element signature="e#718#719#0" expanded="true" />
1127
+            <element signature="e#752#753#0" expanded="true" />
1128
+            <element signature="e#784#785#0" expanded="true" />
633
           </folding>
1129
           </folding>
634
         </state>
1130
         </state>
635
       </provider>
1131
       </provider>
636
     </entry>
1132
     </entry>
1133
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/BlueCoinApplication.java">
1134
+      <provider selected="true" editor-type-id="text-editor">
1135
+        <state relative-caret-position="30">
1136
+          <caret line="2" column="34" selection-start-line="2" selection-start-column="34" selection-end-line="2" selection-end-column="34" />
1137
+        </state>
1138
+      </provider>
1139
+    </entry>
1140
+    <entry file="file://$PROJECT_DIR$/pom.xml">
1141
+      <provider selected="true" editor-type-id="text-editor">
1142
+        <state relative-caret-position="465">
1143
+          <caret line="31" selection-start-line="31" selection-end-line="31" />
1144
+        </state>
1145
+      </provider>
1146
+    </entry>
637
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java">
1147
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Wallet.java">
638
       <provider selected="true" editor-type-id="text-editor">
1148
       <provider selected="true" editor-type-id="text-editor">
639
         <state relative-caret-position="330">
1149
         <state relative-caret-position="330">
640
-          <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
1150
+          <caret line="22" selection-start-line="22" selection-end-line="22" />
641
           <folding>
1151
           <folding>
642
             <element signature="imports" expanded="true" />
1152
             <element signature="imports" expanded="true" />
643
             <element signature="e#428#429#0" expanded="true" />
1153
             <element signature="e#428#429#0" expanded="true" />
654
     </entry>
1164
     </entry>
655
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
1165
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Blockchain.java">
656
       <provider selected="true" editor-type-id="text-editor">
1166
       <provider selected="true" editor-type-id="text-editor">
657
-        <state relative-caret-position="315">
658
-          <caret line="23" column="5" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
1167
+        <state relative-caret-position="255">
1168
+          <caret line="17" column="5" selection-start-line="17" selection-start-column="5" selection-end-line="17" selection-end-column="5" />
659
           <folding>
1169
           <folding>
660
             <element signature="imports" expanded="true" />
1170
             <element signature="imports" expanded="true" />
661
-            <element signature="e#449#450#0" expanded="true" />
662
-            <element signature="e#482#483#0" expanded="true" />
1171
+            <element signature="e#549#550#0" expanded="true" />
1172
+            <element signature="e#582#583#0" expanded="true" />
1173
+            <element signature="e#637#638#0" expanded="true" />
1174
+            <element signature="e#674#675#0" expanded="true" />
1175
+            <element signature="e#726#727#0" expanded="true" />
1176
+            <element signature="e#766#767#0" expanded="true" />
1177
+            <element signature="e#806#807#0" expanded="true" />
1178
+            <element signature="e#846#847#0" expanded="true" />
663
           </folding>
1179
           </folding>
664
         </state>
1180
         </state>
665
       </provider>
1181
       </provider>
666
     </entry>
1182
     </entry>
1183
+    <entry file="file://$PROJECT_DIR$/mining/src/main/java/Mining.java">
1184
+      <provider selected="true" editor-type-id="text-editor">
1185
+        <state>
1186
+          <caret selection-end-line="31" />
1187
+        </state>
1188
+      </provider>
1189
+    </entry>
1190
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/blue_coin_application/model/Mining.java">
1191
+      <provider selected="true" editor-type-id="text-editor">
1192
+        <state relative-caret-position="405">
1193
+          <caret line="27" column="13" lean-forward="true" selection-start-line="27" selection-start-column="13" selection-end-line="27" selection-end-column="13" />
1194
+        </state>
1195
+      </provider>
1196
+    </entry>
667
   </component>
1197
   </component>
668
   <component name="masterDetails">
1198
   <component name="masterDetails">
669
     <states>
1199
     <states>
753
       </state>
1283
       </state>
754
     </states>
1284
     </states>
755
   </component>
1285
   </component>
756
-</project>
1286
+</project>

+ 0
- 13
mining/.idea/compiler.xml View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="CompilerConfiguration">
4
-    <annotationProcessing>
5
-      <profile name="Maven default annotation processors profile" enabled="true">
6
-        <sourceOutputDir name="target/generated-sources/annotations" />
7
-        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
-        <outputRelativeToContentRoot value="true" />
9
-        <module name="mining" />
10
-      </profile>
11
-    </annotationProcessing>
12
-  </component>
13
-</project>

+ 0
- 14
mining/.idea/misc.xml View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="ExternalStorageConfigurationManager" enabled="true" />
4
-  <component name="MavenProjectsManager">
5
-    <option name="originalFiles">
6
-      <list>
7
-        <option value="$PROJECT_DIR$/pom.xml" />
8
-      </list>
9
-    </option>
10
-  </component>
11
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
12
-    <output url="file://$PROJECT_DIR$/out" />
13
-  </component>
14
-</project>

+ 0
- 377
mining/.idea/workspace.xml View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="ChangeListManager">
4
-    <list default="true" id="9dee7dd1-4209-4991-b597-a5fc9df5d2fd" name="Default" comment="" />
5
-    <ignored path="$PROJECT_DIR$/out/" />
6
-    <ignored path="$PROJECT_DIR$/target/" />
7
-    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
-    <option name="TRACKING_ENABLED" value="true" />
9
-    <option name="SHOW_DIALOG" value="false" />
10
-    <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
-    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
-    <option name="LAST_RESOLUTION" value="IGNORE" />
13
-  </component>
14
-  <component name="FileEditorManager">
15
-    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
16
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
17
-        <entry file="file://$PROJECT_DIR$/pom.xml">
18
-          <provider selected="true" editor-type-id="text-editor">
19
-            <state relative-caret-position="255">
20
-              <caret line="17" column="19" selection-start-line="17" selection-start-column="19" selection-end-line="17" selection-end-column="19" />
21
-            </state>
22
-          </provider>
23
-        </entry>
24
-      </file>
25
-      <file leaf-file-name="Mining.java" pinned="false" current-in-tab="true">
26
-        <entry file="file://$PROJECT_DIR$/src/main/java/Mining.java">
27
-          <provider selected="true" editor-type-id="text-editor">
28
-            <state relative-caret-position="211">
29
-              <caret line="28" selection-start-line="28" selection-end-line="28" />
30
-            </state>
31
-          </provider>
32
-        </entry>
33
-      </file>
34
-    </leaf>
35
-  </component>
36
-  <component name="FileTemplateManagerImpl">
37
-    <option name="RECENT_TEMPLATES">
38
-      <list>
39
-        <option value="Class" />
40
-      </list>
41
-    </option>
42
-  </component>
43
-  <component name="FindInProjectRecents">
44
-    <findStrings>
45
-      <find>0000</find>
46
-    </findStrings>
47
-  </component>
48
-  <component name="GradleLocalSettings">
49
-    <option name="projectSyncType">
50
-      <map>
51
-        <entry key="$USER_HOME$/Labs/alphavantage4j" value="PREVIEW" />
52
-      </map>
53
-    </option>
54
-  </component>
55
-  <component name="IdeDocumentHistory">
56
-    <option name="CHANGED_PATHS">
57
-      <list>
58
-        <option value="$PROJECT_DIR$/pom.xml" />
59
-        <option value="$PROJECT_DIR$/src/main/java/Mining.java" />
60
-      </list>
61
-    </option>
62
-  </component>
63
-  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
64
-  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
65
-  <component name="JsGulpfileManager">
66
-    <detection-done>true</detection-done>
67
-    <sorting>DEFINITION_ORDER</sorting>
68
-  </component>
69
-  <component name="MavenImportPreferences">
70
-    <option name="importingSettings">
71
-      <MavenImportingSettings>
72
-        <option name="importAutomatically" value="true" />
73
-      </MavenImportingSettings>
74
-    </option>
75
-  </component>
76
-  <component name="NodePackageJsonFileManager">
77
-    <packageJsonPaths />
78
-  </component>
79
-  <component name="ProjectFrameBounds" extendedState="6">
80
-    <option name="y" value="23" />
81
-    <option name="width" value="1905" />
82
-    <option name="height" value="985" />
83
-  </component>
84
-  <component name="ProjectView">
85
-    <navigator proportions="" version="1">
86
-      <foldersAlwaysOnTop value="true" />
87
-    </navigator>
88
-    <panes>
89
-      <pane id="Scope" />
90
-      <pane id="PackagesPane" />
91
-      <pane id="AndroidView" />
92
-      <pane id="ProjectPane">
93
-        <subPane>
94
-          <expand>
95
-            <path>
96
-              <item name="mining" type="b2602c69:ProjectViewProjectNode" />
97
-              <item name="mining" type="462c0819:PsiDirectoryNode" />
98
-            </path>
99
-            <path>
100
-              <item name="mining" type="b2602c69:ProjectViewProjectNode" />
101
-              <item name="mining" type="462c0819:PsiDirectoryNode" />
102
-              <item name="src" type="462c0819:PsiDirectoryNode" />
103
-            </path>
104
-            <path>
105
-              <item name="mining" type="b2602c69:ProjectViewProjectNode" />
106
-              <item name="mining" type="462c0819:PsiDirectoryNode" />
107
-              <item name="src" type="462c0819:PsiDirectoryNode" />
108
-              <item name="main" type="462c0819:PsiDirectoryNode" />
109
-            </path>
110
-            <path>
111
-              <item name="mining" type="b2602c69:ProjectViewProjectNode" />
112
-              <item name="mining" type="462c0819:PsiDirectoryNode" />
113
-              <item name="src" type="462c0819:PsiDirectoryNode" />
114
-              <item name="main" type="462c0819:PsiDirectoryNode" />
115
-              <item name="java" type="462c0819:PsiDirectoryNode" />
116
-            </path>
117
-          </expand>
118
-          <select />
119
-        </subPane>
120
-      </pane>
121
-    </panes>
122
-  </component>
123
-  <component name="PropertiesComponent">
124
-    <property name="WebServerToolWindowFactoryState" value="false" />
125
-    <property name="aspect.path.notification.shown" value="true" />
126
-    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
127
-    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
128
-    <property name="project.structure.last.edited" value="Modules" />
129
-    <property name="project.structure.proportion" value="0.0" />
130
-    <property name="project.structure.side.proportion" value="0.0" />
131
-    <property name="settings.editor.selected.configurable" value="editor.preferences.gutterIcons" />
132
-  </component>
133
-  <component name="RunDashboard">
134
-    <option name="ruleStates">
135
-      <list>
136
-        <RuleState>
137
-          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
138
-        </RuleState>
139
-        <RuleState>
140
-          <option name="name" value="StatusDashboardGroupingRule" />
141
-        </RuleState>
142
-      </list>
143
-    </option>
144
-  </component>
145
-  <component name="RunManager">
146
-    <configuration name="Mining" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
147
-      <option name="MAIN_CLASS_NAME" value="Mining" />
148
-      <module name="mining" />
149
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
150
-    </configuration>
151
-    <configuration default="true" type="Application" factoryName="Application">
152
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
153
-    </configuration>
154
-    <configuration default="true" type="JUnit" factoryName="JUnit">
155
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
156
-      <option name="ALTERNATIVE_JRE_PATH" />
157
-      <option name="PACKAGE_NAME" />
158
-      <option name="MAIN_CLASS_NAME" />
159
-      <option name="METHOD_NAME" />
160
-      <option name="TEST_OBJECT" value="class" />
161
-      <option name="VM_PARAMETERS" value="-ea" />
162
-      <option name="PARAMETERS" />
163
-      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
164
-      <option name="PASS_PARENT_ENVS" value="true" />
165
-      <option name="TEST_SEARCH_SCOPE">
166
-        <value defaultName="singleModule" />
167
-      </option>
168
-      <patterns />
169
-    </configuration>
170
-    <configuration default="true" type="TestNG" factoryName="TestNG">
171
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
172
-      <option name="ALTERNATIVE_JRE_PATH" />
173
-      <option name="SUITE_NAME" />
174
-      <option name="PACKAGE_NAME" />
175
-      <option name="MAIN_CLASS_NAME" />
176
-      <option name="METHOD_NAME" />
177
-      <option name="GROUP_NAME" />
178
-      <option name="TEST_OBJECT" value="CLASS" />
179
-      <option name="VM_PARAMETERS" value="-ea" />
180
-      <option name="PARAMETERS" />
181
-      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
182
-      <option name="OUTPUT_DIRECTORY" />
183
-      <option name="PASS_PARENT_ENVS" value="true" />
184
-      <option name="TEST_SEARCH_SCOPE">
185
-        <value defaultName="singleModule" />
186
-      </option>
187
-      <option name="USE_DEFAULT_REPORTERS" value="false" />
188
-      <option name="PROPERTIES_FILE" />
189
-      <properties />
190
-      <listeners />
191
-    </configuration>
192
-    <recent_temporary>
193
-      <list>
194
-        <item itemvalue="Application.Mining" />
195
-      </list>
196
-    </recent_temporary>
197
-  </component>
198
-  <component name="SvnConfiguration">
199
-    <configuration />
200
-  </component>
201
-  <component name="TaskManager">
202
-    <task active="true" id="Default" summary="Default task">
203
-      <changelist id="9dee7dd1-4209-4991-b597-a5fc9df5d2fd" name="Default" comment="" />
204
-      <created>1531406760597</created>
205
-      <option name="number" value="Default" />
206
-      <option name="presentableId" value="Default" />
207
-      <updated>1531406760597</updated>
208
-      <workItem from="1531406765675" duration="5494000" />
209
-      <workItem from="1531424831661" duration="2107000" />
210
-    </task>
211
-    <servers />
212
-  </component>
213
-  <component name="TimeTrackingManager">
214
-    <option name="totallyTimeSpent" value="7601000" />
215
-  </component>
216
-  <component name="ToolWindowManager">
217
-    <frame x="0" y="23" width="1280" height="705" extended-state="6" />
218
-    <layout>
219
-      <window_info anchor="right" id="Palette" order="3" />
220
-      <window_info anchor="bottom" id="TODO" order="6" />
221
-      <window_info anchor="bottom" id="Messages" order="7" weight="0.32716763" />
222
-      <window_info anchor="right" id="Palette&#9;" order="3" />
223
-      <window_info id="Image Layers" order="2" />
224
-      <window_info anchor="right" id="Capture Analysis" order="3" />
225
-      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
226
-      <window_info anchor="right" id="Maven Projects" order="3" />
227
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
228
-      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.32820514" />
229
-      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
230
-      <window_info anchor="bottom" id="Terminal" order="7" />
231
-      <window_info id="Capture Tool" order="2" />
232
-      <window_info id="Designer" order="2" />
233
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2536349" />
234
-      <window_info anchor="right" id="Database" order="3" />
235
-      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
236
-      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
237
-      <window_info id="UI Designer" order="2" />
238
-      <window_info anchor="right" id="Theme Preview" order="3" />
239
-      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
240
-      <window_info id="Favorites" order="2" side_tool="true" />
241
-      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
242
-      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
243
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
244
-      <window_info anchor="bottom" id="Message" order="0" />
245
-      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
246
-      <window_info anchor="bottom" id="Find" order="1" />
247
-    </layout>
248
-  </component>
249
-  <component name="TypeScriptGeneratedFilesManager">
250
-    <option name="version" value="1" />
251
-  </component>
252
-  <component name="VcsContentAnnotationSettings">
253
-    <option name="myLimit" value="2678400000" />
254
-  </component>
255
-  <component name="XDebuggerManager">
256
-    <breakpoint-manager>
257
-      <option name="time" value="1" />
258
-    </breakpoint-manager>
259
-  </component>
260
-  <component name="editorHistoryManager">
261
-    <entry file="file://$PROJECT_DIR$/pom.xml">
262
-      <provider selected="true" editor-type-id="text-editor">
263
-        <state relative-caret-position="255">
264
-          <caret line="17" column="19" selection-start-line="17" selection-start-column="19" selection-end-line="17" selection-end-column="19" />
265
-        </state>
266
-      </provider>
267
-    </entry>
268
-    <entry file="file://$PROJECT_DIR$/src/main/java/Mining.java">
269
-      <provider selected="true" editor-type-id="text-editor">
270
-        <state relative-caret-position="315">
271
-          <caret line="21" column="39" selection-start-line="21" selection-start-column="39" selection-end-line="21" selection-end-column="39" />
272
-        </state>
273
-      </provider>
274
-    </entry>
275
-    <entry file="file://$PROJECT_DIR$/pom.xml">
276
-      <provider selected="true" editor-type-id="text-editor">
277
-        <state relative-caret-position="255">
278
-          <caret line="17" column="19" selection-start-line="17" selection-start-column="19" selection-end-line="17" selection-end-column="19" />
279
-        </state>
280
-      </provider>
281
-    </entry>
282
-    <entry file="file://$PROJECT_DIR$/src/main/java/Mining.java">
283
-      <provider selected="true" editor-type-id="text-editor">
284
-        <state relative-caret-position="211">
285
-          <caret line="28" selection-start-line="28" selection-end-line="28" />
286
-        </state>
287
-      </provider>
288
-    </entry>
289
-  </component>
290
-  <component name="masterDetails">
291
-    <states>
292
-      <state key="ArtifactsStructureConfigurable.UI">
293
-        <settings>
294
-          <artifact-editor />
295
-          <splitter-proportions>
296
-            <option name="proportions">
297
-              <list>
298
-                <option value="0.2" />
299
-              </list>
300
-            </option>
301
-          </splitter-proportions>
302
-        </settings>
303
-      </state>
304
-      <state key="FacetStructureConfigurable.UI">
305
-        <settings>
306
-          <last-edited>No facets are configured</last-edited>
307
-          <splitter-proportions>
308
-            <option name="proportions">
309
-              <list>
310
-                <option value="0.2" />
311
-              </list>
312
-            </option>
313
-          </splitter-proportions>
314
-        </settings>
315
-      </state>
316
-      <state key="GlobalLibrariesConfigurable.UI">
317
-        <settings>
318
-          <splitter-proportions>
319
-            <option name="proportions">
320
-              <list>
321
-                <option value="0.2" />
322
-              </list>
323
-            </option>
324
-          </splitter-proportions>
325
-        </settings>
326
-      </state>
327
-      <state key="JdkListConfigurable.UI">
328
-        <settings>
329
-          <last-edited>1.8</last-edited>
330
-          <splitter-proportions>
331
-            <option name="proportions">
332
-              <list>
333
-                <option value="0.2" />
334
-              </list>
335
-            </option>
336
-          </splitter-proportions>
337
-        </settings>
338
-      </state>
339
-      <state key="ModuleStructureConfigurable.UI">
340
-        <settings>
341
-          <last-edited>mining</last-edited>
342
-          <splitter-proportions>
343
-            <option name="proportions">
344
-              <list>
345
-                <option value="0.2" />
346
-                <option value="0.6" />
347
-              </list>
348
-            </option>
349
-          </splitter-proportions>
350
-        </settings>
351
-      </state>
352
-      <state key="ProjectJDKs.UI">
353
-        <settings>
354
-          <last-edited>1.8</last-edited>
355
-          <splitter-proportions>
356
-            <option name="proportions">
357
-              <list>
358
-                <option value="0.2" />
359
-              </list>
360
-            </option>
361
-          </splitter-proportions>
362
-        </settings>
363
-      </state>
364
-      <state key="ProjectLibrariesConfigurable.UI">
365
-        <settings>
366
-          <splitter-proportions>
367
-            <option name="proportions">
368
-              <list>
369
-                <option value="0.2" />
370
-              </list>
371
-            </option>
372
-          </splitter-proportions>
373
-        </settings>
374
-      </state>
375
-    </states>
376
-  </component>
377
-</project>

+ 0
- 2
mining/mining.iml View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<module type="JAVA_MODULE" version="4" />

+ 0
- 21
mining/pom.xml View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project xmlns="http://maven.apache.org/POM/4.0.0"
3
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
-    <modelVersion>4.0.0</modelVersion>
6
-
7
-    <groupId>mining</groupId>
8
-    <artifactId>mining</artifactId>
9
-    <version>1.0-SNAPSHOT</version>
10
-
11
-
12
-    <dependencies>
13
-        <dependency>
14
-            <groupId>commons-codec</groupId>
15
-            <artifactId>commons-codec</artifactId>
16
-            <version>1.4</version>
17
-        </dependency>
18
-    </dependencies>
19
-
20
-
21
-</project>

BIN
mining/target/classes/Mining.class View File


+ 7
- 0
pom.xml View File

23
             <groupId>org.springframework.boot</groupId>
23
             <groupId>org.springframework.boot</groupId>
24
             <artifactId>spring-boot-starter-web</artifactId>
24
             <artifactId>spring-boot-starter-web</artifactId>
25
         </dependency>
25
         </dependency>
26
+        <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
27
+        <dependency>
28
+            <groupId>commons-codec</groupId>
29
+            <artifactId>commons-codec</artifactId>
30
+            <version>1.4</version>
31
+        </dependency>
32
+
26
         <dependency>
33
         <dependency>
27
             <groupId>org.springframework.boot</groupId>
34
             <groupId>org.springframework.boot</groupId>
28
             <artifactId>spring-boot-starter-data-jpa</artifactId>
35
             <artifactId>spring-boot-starter-data-jpa</artifactId>

mining/src/main/java/Mining.java → src/main/java/io/zipcoder/blue_coin_application/model/Mining.java View File

1
+package io.zipcoder.blue_coin_application.model;
2
+
1
 public class Mining {
3
 public class Mining {
2
 
4
 
3
     public static void main(String[] args) {
5
     public static void main(String[] args) {
4
         String prevHash = "a27f5c79ec375f7754e2c7096ea5b85bc76bed83a822d138d3877269e2687ae0";
6
         String prevHash = "a27f5c79ec375f7754e2c7096ea5b85bc76bed83a822d138d3877269e2687ae0";
5
         String block = "8";
7
         String block = "8";
6
-        String data = "vince -> mexi 54566, clem -> vince 0948533";
8
+        String data = "vince -> mexi 54567, clem -> vince 0948533";
7
         Mining test = new Mining();
9
         Mining test = new Mining();
8
         test.mine(prevHash, block, data);
10
         test.mine(prevHash, block, data);
9
     }
11
     }
29
 
31
 
30
     }
32
     }
31
 }
33
 }
34
+

BIN
target/classes/Mining.class View File


BIN
target/classes/io/zipcoder/blue_coin_application/model/Wallet.class View File