Преглед изворни кода

working final editionMerge branch 'master' of https://git.zipcode.rocks/shiv-365/ZipCoin-RED

Shivam Patel пре 6 година
родитељ
комит
e98622295c

+ 687
- 0
.idea/workspace.xml Прегледај датотеку

@@ -0,0 +1,687 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="f54e258d-da71-464b-8271-7897ae55d27f" name="Default" comment="">
5
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
+    </list>
7
+    <ignored path="$PROJECT_DIR$/target/" />
8
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+    <option name="TRACKING_ENABLED" value="true" />
10
+    <option name="SHOW_DIALOG" value="false" />
11
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+    <option name="LAST_RESOLUTION" value="IGNORE" />
14
+  </component>
15
+  <component name="DatabaseView">
16
+    <option name="SHOW_INTERMEDIATE" value="true" />
17
+    <option name="GROUP_DATA_SOURCES" value="true" />
18
+    <option name="GROUP_SCHEMA" value="true" />
19
+    <option name="GROUP_CONTENTS" value="false" />
20
+    <option name="SORT_POSITIONED" value="false" />
21
+    <option name="SHOW_EMPTY_GROUPS" value="false" />
22
+    <option name="AUTO_SCROLL_FROM_SOURCE" value="false" />
23
+    <option name="HIDDEN_KINDS">
24
+      <set />
25
+    </option>
26
+    <expand />
27
+    <select />
28
+  </component>
29
+  <component name="FileEditorManager">
30
+    <leaf>
31
+      <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
32
+        <entry file="file://$PROJECT_DIR$/README.md">
33
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
34
+            <state split_layout="SPLIT">
35
+              <first_editor />
36
+              <second_editor />
37
+            </state>
38
+          </provider>
39
+        </entry>
40
+      </file>
41
+      <file leaf-file-name="Block.java" pinned="false" current-in-tab="false">
42
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Block.java">
43
+          <provider selected="true" editor-type-id="text-editor">
44
+            <state relative-caret-position="75">
45
+              <caret line="7" column="14" selection-start-line="7" selection-start-column="14" selection-end-line="7" selection-end-column="14" />
46
+            </state>
47
+          </provider>
48
+        </entry>
49
+      </file>
50
+      <file leaf-file-name="Miner.java" pinned="false" current-in-tab="false">
51
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Miner.java">
52
+          <provider selected="true" editor-type-id="text-editor" />
53
+        </entry>
54
+      </file>
55
+      <file leaf-file-name="BlockController.java" pinned="false" current-in-tab="false">
56
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/BlockController.java">
57
+          <provider selected="true" editor-type-id="text-editor" />
58
+        </entry>
59
+      </file>
60
+      <file leaf-file-name="HomeController.java" pinned="false" current-in-tab="false">
61
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/HomeController.java">
62
+          <provider selected="true" editor-type-id="text-editor">
63
+            <state relative-caret-position="45">
64
+              <caret line="4" column="15" lean-forward="true" selection-start-line="4" selection-start-column="15" selection-end-line="4" selection-end-column="15" />
65
+            </state>
66
+          </provider>
67
+        </entry>
68
+      </file>
69
+      <file leaf-file-name="BlockRepository.java" pinned="false" current-in-tab="true">
70
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/BlockRepository.java">
71
+          <provider selected="true" editor-type-id="text-editor">
72
+            <state relative-caret-position="30">
73
+              <caret line="3" column="61" lean-forward="true" selection-start-line="3" selection-start-column="61" selection-end-line="3" selection-end-column="61" />
74
+            </state>
75
+          </provider>
76
+        </entry>
77
+      </file>
78
+    </leaf>
79
+  </component>
80
+  <component name="FileTemplateManagerImpl">
81
+    <option name="RECENT_TEMPLATES">
82
+      <list>
83
+        <option value="Class" />
84
+      </list>
85
+    </option>
86
+  </component>
87
+  <component name="Git.Settings">
88
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
89
+  </component>
90
+  <component name="IdeDocumentHistory">
91
+    <option name="CHANGED_PATHS">
92
+      <list>
93
+        <option value="$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
94
+        <option value="$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
95
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/minerTest/minerTest.java" />
96
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfig.java" />
97
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java" />
98
+        <option value="$PROJECT_DIR$/src/main/resources/db.migration/V2__create_block.sql" />
99
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java" />
100
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java" />
101
+        <option value="$PROJECT_DIR$/src/main/resources/application.properties" />
102
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
103
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controllers/BlockController.java" />
104
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java" />
105
+        <option value="$PROJECT_DIR$/pom.xml" />
106
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Miner.java" />
107
+        <option value="$PROJECT_DIR$/src/test/java/redCoin/Miner/minerTest.java" />
108
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java" />
109
+      </list>
110
+    </option>
111
+  </component>
112
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
113
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
114
+  <component name="JsGulpfileManager">
115
+    <detection-done>true</detection-done>
116
+    <sorting>DEFINITION_ORDER</sorting>
117
+  </component>
118
+  <component name="MavenImportPreferences">
119
+    <option name="importingSettings">
120
+      <MavenImportingSettings>
121
+        <option name="importAutomatically" value="true" />
122
+      </MavenImportingSettings>
123
+    </option>
124
+  </component>
125
+  <component name="MavenProjectNavigator">
126
+    <treeState>
127
+      <expand />
128
+      <select />
129
+    </treeState>
130
+  </component>
131
+  <component name="NodePackageJsonFileManager">
132
+    <packageJsonPaths />
133
+  </component>
134
+  <component name="ProjectFrameBounds" fullScreen="true">
135
+    <option name="y" value="23" />
136
+    <option name="width" value="1280" />
137
+    <option name="height" value="716" />
138
+  </component>
139
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
140
+    <ConfirmationsSetting value="2" id="Add" />
141
+  </component>
142
+  <component name="ProjectView">
143
+    <navigator proportions="" version="1">
144
+      <foldersAlwaysOnTop value="true" />
145
+    </navigator>
146
+    <panes>
147
+      <pane id="ProjectPane">
148
+        <subPane>
149
+          <expand>
150
+            <path>
151
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
152
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
153
+            </path>
154
+            <path>
155
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
156
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
157
+              <item name="src" type="462c0819:PsiDirectoryNode" />
158
+            </path>
159
+            <path>
160
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
161
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
162
+              <item name="src" type="462c0819:PsiDirectoryNode" />
163
+              <item name="main" type="462c0819:PsiDirectoryNode" />
164
+            </path>
165
+            <path>
166
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
167
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
168
+              <item name="src" type="462c0819:PsiDirectoryNode" />
169
+              <item name="main" type="462c0819:PsiDirectoryNode" />
170
+              <item name="java" type="462c0819:PsiDirectoryNode" />
171
+            </path>
172
+            <path>
173
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
174
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
175
+              <item name="src" type="462c0819:PsiDirectoryNode" />
176
+              <item name="main" type="462c0819:PsiDirectoryNode" />
177
+              <item name="java" type="462c0819:PsiDirectoryNode" />
178
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
179
+            </path>
180
+            <path>
181
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
182
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
183
+              <item name="src" type="462c0819:PsiDirectoryNode" />
184
+              <item name="main" type="462c0819:PsiDirectoryNode" />
185
+              <item name="java" type="462c0819:PsiDirectoryNode" />
186
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
187
+              <item name="controller" type="462c0819:PsiDirectoryNode" />
188
+            </path>
189
+            <path>
190
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
191
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
192
+              <item name="src" type="462c0819:PsiDirectoryNode" />
193
+              <item name="main" type="462c0819:PsiDirectoryNode" />
194
+              <item name="java" type="462c0819:PsiDirectoryNode" />
195
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
196
+              <item name="model" type="462c0819:PsiDirectoryNode" />
197
+            </path>
198
+            <path>
199
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
200
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
201
+              <item name="src" type="462c0819:PsiDirectoryNode" />
202
+              <item name="main" type="462c0819:PsiDirectoryNode" />
203
+              <item name="resources" type="462c0819:PsiDirectoryNode" />
204
+            </path>
205
+            <path>
206
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
207
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
208
+              <item name="src" type="462c0819:PsiDirectoryNode" />
209
+              <item name="test" type="462c0819:PsiDirectoryNode" />
210
+            </path>
211
+            <path>
212
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
213
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
214
+              <item name="src" type="462c0819:PsiDirectoryNode" />
215
+              <item name="test" type="462c0819:PsiDirectoryNode" />
216
+              <item name="java" type="462c0819:PsiDirectoryNode" />
217
+            </path>
218
+            <path>
219
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
220
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
221
+              <item name="src" type="462c0819:PsiDirectoryNode" />
222
+              <item name="test" type="462c0819:PsiDirectoryNode" />
223
+              <item name="java" type="462c0819:PsiDirectoryNode" />
224
+              <item name="redCoin" type="462c0819:PsiDirectoryNode" />
225
+            </path>
226
+            <path>
227
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
228
+              <item name="ZipCoin-RED" type="462c0819:PsiDirectoryNode" />
229
+              <item name="src" type="462c0819:PsiDirectoryNode" />
230
+              <item name="test" type="462c0819:PsiDirectoryNode" />
231
+              <item name="java" type="462c0819:PsiDirectoryNode" />
232
+              <item name="redCoin" type="462c0819:PsiDirectoryNode" />
233
+              <item name="test" type="462c0819:PsiDirectoryNode" />
234
+            </path>
235
+          </expand>
236
+          <select />
237
+        </subPane>
238
+      </pane>
239
+      <pane id="PackagesPane" />
240
+      <pane id="AndroidView" />
241
+      <pane id="Scope" />
242
+    </panes>
243
+  </component>
244
+  <component name="PropertiesComponent">
245
+    <property name="RequestMappingsPanelOrder0" value="0" />
246
+    <property name="RequestMappingsPanelOrder1" value="1" />
247
+    <property name="RequestMappingsPanelOrder2" value="2" />
248
+    <property name="RequestMappingsPanelWidth0" value="75" />
249
+    <property name="RequestMappingsPanelWidth1" value="75" />
250
+    <property name="RequestMappingsPanelWidth2" value="75" />
251
+    <property name="WebServerToolWindowFactoryState" value="false" />
252
+    <property name="aspect.path.notification.shown" value="true" />
253
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
254
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
255
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
256
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
257
+    <property name="project.structure.last.edited" value="Modules" />
258
+    <property name="project.structure.proportion" value="0.15" />
259
+    <property name="project.structure.side.proportion" value="0.2" />
260
+  </component>
261
+  <component name="RecentsManager">
262
+    <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
263
+      <recent name="com.zipcoin" />
264
+    </key>
265
+    <key name="MoveFile.RECENT_KEYS">
266
+      <recent name="$PROJECT_DIR$/src/main/resources/db/migration" />
267
+    </key>
268
+  </component>
269
+  <component name="RunDashboard">
270
+    <option name="ruleStates">
271
+      <list>
272
+        <RuleState>
273
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
274
+        </RuleState>
275
+        <RuleState>
276
+          <option name="name" value="StatusDashboardGroupingRule" />
277
+        </RuleState>
278
+      </list>
279
+    </option>
280
+  </component>
281
+  <component name="RunManager" selected="Spring Boot.ZipCoinApp">
282
+    <configuration default="true" type="Application" factoryName="Application">
283
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
284
+    </configuration>
285
+    <configuration default="true" type="JUnit" factoryName="JUnit">
286
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
287
+      <option name="ALTERNATIVE_JRE_PATH" />
288
+      <option name="PACKAGE_NAME" />
289
+      <option name="MAIN_CLASS_NAME" />
290
+      <option name="METHOD_NAME" />
291
+      <option name="TEST_OBJECT" value="class" />
292
+      <option name="VM_PARAMETERS" value="-ea" />
293
+      <option name="PARAMETERS" />
294
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
295
+      <option name="PASS_PARENT_ENVS" value="true" />
296
+      <option name="TEST_SEARCH_SCOPE">
297
+        <value defaultName="singleModule" />
298
+      </option>
299
+      <patterns />
300
+    </configuration>
301
+    <configuration name="java in ZipCoin-RED" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
302
+      <module name="ZipCoin-RED" />
303
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
304
+      <option name="ALTERNATIVE_JRE_PATH" />
305
+      <option name="PACKAGE_NAME" />
306
+      <option name="MAIN_CLASS_NAME" />
307
+      <option name="METHOD_NAME" />
308
+      <option name="TEST_OBJECT" value="directory" />
309
+      <option name="VM_PARAMETERS" value="-ea" />
310
+      <option name="PARAMETERS" />
311
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
312
+      <option name="PASS_PARENT_ENVS" value="true" />
313
+      <option name="TEST_SEARCH_SCOPE">
314
+        <value defaultName="singleModule" />
315
+      </option>
316
+      <dir value="$PROJECT_DIR$/src/test/java" />
317
+      <patterns />
318
+    </configuration>
319
+    <configuration name="minerTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
320
+      <module name="ZipCoin-RED" />
321
+      <extension name="coverage">
322
+        <pattern>
323
+          <option name="PATTERN" value="com.zipcoin.redCoin.miner.test.*" />
324
+          <option name="ENABLED" value="true" />
325
+        </pattern>
326
+      </extension>
327
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
328
+      <option name="ALTERNATIVE_JRE_PATH" />
329
+      <option name="PACKAGE_NAME" value="com.zipcoin.redCoin.miner.test" />
330
+      <option name="MAIN_CLASS_NAME" value="com.zipcoin.redCoin.miner.test.minerTest" />
331
+      <option name="METHOD_NAME" />
332
+      <option name="TEST_OBJECT" value="class" />
333
+      <option name="VM_PARAMETERS" value="-ea" />
334
+      <option name="PARAMETERS" />
335
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
336
+      <option name="PASS_PARENT_ENVS" value="true" />
337
+      <option name="TEST_SEARCH_SCOPE">
338
+        <value defaultName="singleModule" />
339
+      </option>
340
+      <patterns />
341
+    </configuration>
342
+    <configuration name="testMain.test" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
343
+      <module name="ZipCoin-RED" />
344
+      <extension name="coverage">
345
+        <pattern>
346
+          <option name="PATTERN" value="redCoin.*" />
347
+          <option name="ENABLED" value="true" />
348
+        </pattern>
349
+      </extension>
350
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
351
+      <option name="ALTERNATIVE_JRE_PATH" />
352
+      <option name="PACKAGE_NAME" value="redCoin" />
353
+      <option name="MAIN_CLASS_NAME" value="redCoin.testMain" />
354
+      <option name="METHOD_NAME" value="test" />
355
+      <option name="TEST_OBJECT" value="method" />
356
+      <option name="VM_PARAMETERS" value="-ea" />
357
+      <option name="PARAMETERS" />
358
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
359
+      <option name="PASS_PARENT_ENVS" value="true" />
360
+      <option name="TEST_SEARCH_SCOPE">
361
+        <value defaultName="singleModule" />
362
+      </option>
363
+      <patterns />
364
+    </configuration>
365
+    <configuration name="ZipCoinApp" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" temporary="true" nameIsGenerated="true">
366
+      <module name="ZipCoin-RED" />
367
+      <extension name="coverage">
368
+        <pattern>
369
+          <option name="PATTERN" value="com.zipcoin.*" />
370
+          <option name="ENABLED" value="true" />
371
+        </pattern>
372
+      </extension>
373
+      <option name="SPRING_BOOT_MAIN_CLASS" value="com.zipcoin.ZipCoinApp" />
374
+    </configuration>
375
+    <configuration default="true" type="TestNG" factoryName="TestNG">
376
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
377
+      <option name="ALTERNATIVE_JRE_PATH" />
378
+      <option name="SUITE_NAME" />
379
+      <option name="PACKAGE_NAME" />
380
+      <option name="MAIN_CLASS_NAME" />
381
+      <option name="METHOD_NAME" />
382
+      <option name="GROUP_NAME" />
383
+      <option name="TEST_OBJECT" value="CLASS" />
384
+      <option name="VM_PARAMETERS" value="-ea" />
385
+      <option name="PARAMETERS" />
386
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
387
+      <option name="OUTPUT_DIRECTORY" />
388
+      <option name="PASS_PARENT_ENVS" value="true" />
389
+      <option name="TEST_SEARCH_SCOPE">
390
+        <value defaultName="singleModule" />
391
+      </option>
392
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
393
+      <option name="PROPERTIES_FILE" />
394
+      <properties />
395
+      <listeners />
396
+    </configuration>
397
+    <list>
398
+      <item itemvalue="JUnit.testMain.test" />
399
+      <item itemvalue="Spring Boot.ZipCoinApp" />
400
+      <item itemvalue="JUnit.java in ZipCoin-RED" />
401
+      <item itemvalue="JUnit.minerTest" />
402
+    </list>
403
+    <recent_temporary>
404
+      <list>
405
+        <item itemvalue="Spring Boot.ZipCoinApp" />
406
+        <item itemvalue="JUnit.java in ZipCoin-RED" />
407
+        <item itemvalue="JUnit.minerTest" />
408
+        <item itemvalue="JUnit.testMain.test" />
409
+      </list>
410
+    </recent_temporary>
411
+  </component>
412
+  <component name="SvnConfiguration">
413
+    <configuration />
414
+  </component>
415
+  <component name="TaskManager">
416
+    <task active="true" id="Default" summary="Default task">
417
+      <changelist id="f54e258d-da71-464b-8271-7897ae55d27f" name="Default" comment="" />
418
+      <created>1531343031636</created>
419
+      <option name="number" value="Default" />
420
+      <option name="presentableId" value="Default" />
421
+      <updated>1531343031636</updated>
422
+      <workItem from="1531343033550" duration="411000" />
423
+      <workItem from="1531419813805" duration="2054000" />
424
+      <workItem from="1531772346214" duration="3133000" />
425
+      <workItem from="1531775595883" duration="5604000" />
426
+      <workItem from="1531837614306" duration="20000" />
427
+      <workItem from="1533220890005" duration="420000" />
428
+    </task>
429
+    <servers />
430
+  </component>
431
+  <component name="TestHistory">
432
+    <history-entry file="testMain_test - 2018.07.12 at 16h 28m 57s.xml">
433
+      <configuration name="testMain.test" configurationId="JUnit" />
434
+    </history-entry>
435
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 16h 44m 25s.xml">
436
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
437
+    </history-entry>
438
+    <history-entry file="minerTest - 2018.07.16 at 16h 49m 37s.xml">
439
+      <configuration name="minerTest" configurationId="JUnit" />
440
+    </history-entry>
441
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 16h 50m 59s.xml">
442
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
443
+    </history-entry>
444
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 16h 51m 40s.xml">
445
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
446
+    </history-entry>
447
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 16h 57m 51s.xml">
448
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
449
+    </history-entry>
450
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 16h 59m 51s.xml">
451
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
452
+    </history-entry>
453
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 17h 00m 23s.xml">
454
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
455
+    </history-entry>
456
+    <history-entry file="java_in_ZipCoin-RED - 2018.07.16 at 18h 43m 44s.xml">
457
+      <configuration name="java in ZipCoin-RED" configurationId="JUnit" />
458
+    </history-entry>
459
+  </component>
460
+  <component name="TimeTrackingManager">
461
+    <option name="totallyTimeSpent" value="14741000" />
462
+  </component>
463
+  <component name="ToolWindowManager">
464
+    <frame x="0" y="0" width="1280" height="800" extended-state="0" />
465
+    <layout>
466
+      <window_info anchor="right" id="Palette" order="3" />
467
+      <window_info anchor="bottom" id="TODO" order="6" />
468
+      <window_info anchor="right" id="Palette&#9;" order="3" />
469
+      <window_info id="Image Layers" order="2" />
470
+      <window_info anchor="right" id="Capture Analysis" order="3" />
471
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
472
+      <window_info anchor="right" id="Maven Projects" order="3" visible="true" weight="0.32956383" />
473
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
474
+      <window_info anchor="bottom" id="Run" order="2" weight="0.19586207" />
475
+      <window_info anchor="bottom" id="Version Control" order="7" />
476
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32954547" />
477
+      <window_info id="Capture Tool" order="2" />
478
+      <window_info id="Designer" order="2" />
479
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.26898223" />
480
+      <window_info anchor="right" id="Database" order="3" />
481
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
482
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
483
+      <window_info id="UI Designer" order="2" />
484
+      <window_info anchor="right" id="Theme Preview" order="3" />
485
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
486
+      <window_info id="Favorites" order="2" side_tool="true" />
487
+      <window_info id="Web" order="4" side_tool="true" />
488
+      <window_info anchor="bottom" id="Spring" order="9" />
489
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
490
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
491
+      <window_info anchor="bottom" id="Find" order="1" weight="0.32954547" />
492
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
493
+      <window_info anchor="bottom" id="Messages" order="9" weight="0.3298969" />
494
+      <window_info anchor="bottom" id="Message" order="0" />
495
+      <window_info anchor="right" id="Bean Validation" order="4" />
496
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
497
+      <window_info anchor="bottom" id="Java Enterprise" order="8" />
498
+    </layout>
499
+  </component>
500
+  <component name="TypeScriptGeneratedFilesManager">
501
+    <option name="version" value="1" />
502
+  </component>
503
+  <component name="VcsContentAnnotationSettings">
504
+    <option name="myLimit" value="2678400000" />
505
+  </component>
506
+  <component name="editorHistoryManager">
507
+    <entry file="file://$PROJECT_DIR$/.idea/ZipCoin-RED.iml" />
508
+    <entry file="file://$PROJECT_DIR$/pom.xml" />
509
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
510
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
511
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
512
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
513
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
514
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
515
+    <entry file="file://$PROJECT_DIR$/pom.xml" />
516
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
517
+    <entry file="file://$PROJECT_DIR$/ZipCoin-RED.iml" />
518
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockControllerTest.java" />
519
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
520
+      <provider selected="true" editor-type-id="text-editor">
521
+        <state relative-caret-position="438">
522
+          <caret line="461" column="19" selection-start-line="461" selection-start-column="19" selection-end-line="461" selection-end-column="19" />
523
+        </state>
524
+      </provider>
525
+    </entry>
526
+    <entry file="file://$PROJECT_DIR$/pom.xml" />
527
+    <entry file="file://$PROJECT_DIR$/src/main/java/Main.java" />
528
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
529
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
530
+    <entry file="file://$PROJECT_DIR$/pom.xml" />
531
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/minerTest.java" />
532
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
533
+      <provider selected="true" editor-type-id="text-editor">
534
+        <state relative-caret-position="-4617">
535
+          <caret line="124" column="19" selection-start-line="124" selection-start-column="19" selection-end-line="124" selection-end-column="19" />
536
+        </state>
537
+      </provider>
538
+    </entry>
539
+    <entry file="file://$PROJECT_DIR$/.idea/ZipCoin-RED.iml" />
540
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
541
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
542
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
543
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
544
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
545
+    <entry file="file://$PROJECT_DIR$/src/test/java/mainTest.java" />
546
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
547
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db.migration/mine_block.sql" />
548
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db.migration/V2__mine_block.sql" />
549
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Miner/Miner.java" />
550
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java" />
551
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java" />
552
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
553
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java" />
554
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java" />
555
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/ZipCoinApp.java" />
556
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db/migration/V2__create_block.sql" />
557
+    <entry file="file://$PROJECT_DIR$/pom.xml" />
558
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties" />
559
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java" />
560
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/Miner/minerTest.java" />
561
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Miner.java" />
562
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java" />
563
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java" />
564
+    <entry file="file://$PROJECT_DIR$/README.md">
565
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
566
+        <state split_layout="SPLIT">
567
+          <first_editor />
568
+          <second_editor />
569
+        </state>
570
+      </provider>
571
+    </entry>
572
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Block.java">
573
+      <provider selected="true" editor-type-id="text-editor">
574
+        <state relative-caret-position="75">
575
+          <caret line="7" column="14" selection-start-line="7" selection-start-column="14" selection-end-line="7" selection-end-column="14" />
576
+        </state>
577
+      </provider>
578
+    </entry>
579
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Miner.java">
580
+      <provider selected="true" editor-type-id="text-editor" />
581
+    </entry>
582
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/BlockController.java">
583
+      <provider selected="true" editor-type-id="text-editor" />
584
+    </entry>
585
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/HomeController.java">
586
+      <provider selected="true" editor-type-id="text-editor">
587
+        <state relative-caret-position="45">
588
+          <caret line="4" column="15" lean-forward="true" selection-start-line="4" selection-start-column="15" selection-end-line="4" selection-end-column="15" />
589
+        </state>
590
+      </provider>
591
+    </entry>
592
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/BlockRepository.java">
593
+      <provider selected="true" editor-type-id="text-editor">
594
+        <state relative-caret-position="30">
595
+          <caret line="3" column="61" lean-forward="true" selection-start-line="3" selection-start-column="61" selection-end-line="3" selection-end-column="61" />
596
+        </state>
597
+      </provider>
598
+    </entry>
599
+  </component>
600
+  <component name="masterDetails">
601
+    <states>
602
+      <state key="ArtifactsStructureConfigurable.UI">
603
+        <settings>
604
+          <artifact-editor />
605
+          <splitter-proportions>
606
+            <option name="proportions">
607
+              <list>
608
+                <option value="0.2" />
609
+              </list>
610
+            </option>
611
+          </splitter-proportions>
612
+        </settings>
613
+      </state>
614
+      <state key="FacetStructureConfigurable.UI">
615
+        <settings>
616
+          <last-edited />
617
+          <splitter-proportions>
618
+            <option name="proportions">
619
+              <list>
620
+                <option value="0.2" />
621
+              </list>
622
+            </option>
623
+          </splitter-proportions>
624
+        </settings>
625
+      </state>
626
+      <state key="GlobalLibrariesConfigurable.UI">
627
+        <settings>
628
+          <splitter-proportions>
629
+            <option name="proportions">
630
+              <list>
631
+                <option value="0.2" />
632
+              </list>
633
+            </option>
634
+          </splitter-proportions>
635
+        </settings>
636
+      </state>
637
+      <state key="JdkListConfigurable.UI">
638
+        <settings>
639
+          <last-edited>1.8</last-edited>
640
+          <splitter-proportions>
641
+            <option name="proportions">
642
+              <list>
643
+                <option value="0.2" />
644
+              </list>
645
+            </option>
646
+          </splitter-proportions>
647
+        </settings>
648
+      </state>
649
+      <state key="ModuleStructureConfigurable.UI">
650
+        <settings>
651
+          <last-edited>ZipCoin-RED</last-edited>
652
+          <splitter-proportions>
653
+            <option name="proportions">
654
+              <list>
655
+                <option value="0.2" />
656
+              </list>
657
+            </option>
658
+          </splitter-proportions>
659
+        </settings>
660
+      </state>
661
+      <state key="ProjectJDKs.UI">
662
+        <settings>
663
+          <last-edited>1.8</last-edited>
664
+          <splitter-proportions>
665
+            <option name="proportions">
666
+              <list>
667
+                <option value="0.2" />
668
+              </list>
669
+            </option>
670
+          </splitter-proportions>
671
+        </settings>
672
+      </state>
673
+      <state key="ProjectLibrariesConfigurable.UI">
674
+        <settings>
675
+          <last-edited />
676
+          <splitter-proportions>
677
+            <option name="proportions">
678
+              <list>
679
+                <option value="0.2" />
680
+              </list>
681
+            </option>
682
+          </splitter-proportions>
683
+        </settings>
684
+      </state>
685
+    </states>
686
+  </component>
687
+</project>

+ 3
- 0
ZipCoinRedIonicClient/.vscode/settings.json Прегледај датотеку

@@ -0,0 +1,3 @@
1
+{
2
+    "git.ignoreLimitWarning": true
3
+}

+ 49
- 0
ZipCoinRedIonicClient/www/index.html Прегледај датотеку

@@ -0,0 +1,49 @@
1
+<!DOCTYPE html>
2
+<html lang="en" dir="ltr">
3
+<head>
4
+  <meta charset="UTF-8">
5
+  <title>Ionic App</title>
6
+  <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
7
+  <meta name="format-detection" content="telephone=no">
8
+  <meta name="msapplication-tap-highlight" content="no">
9
+
10
+  <link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
11
+  <link rel="manifest" href="manifest.json">
12
+  <meta name="theme-color" content="#4e8ef7">
13
+
14
+  <!-- add to homescreen for ios -->
15
+  <meta name="apple-mobile-web-app-capable" content="yes">
16
+  <meta name="apple-mobile-web-app-status-bar-style" content="black">
17
+
18
+  <!-- cordova.js required for cordova apps (remove if not needed) -->
19
+  <script src="cordova.js"></script>
20
+
21
+  <!-- un-comment this code to enable service worker
22
+  <script>
23
+    if ('serviceWorker' in navigator) {
24
+      navigator.serviceWorker.register('service-worker.js')
25
+        .then(() => console.log('service worker installed'))
26
+        .catch(err => console.error('Error', err));
27
+    }
28
+  </script>-->
29
+
30
+  <link href="build/main.css" rel="stylesheet">
31
+
32
+</head>
33
+<body>
34
+
35
+  <!-- Ionic's root component and where the app will load -->
36
+  <ion-app></ion-app>
37
+
38
+  <!-- The polyfills js is generated during the build process -->
39
+  <script src="build/polyfills.js"></script>
40
+
41
+  <!-- The vendor js is generated during the build process
42
+       It contains all of the dependencies in node_modules -->
43
+  <script src="build/vendor.js"></script>
44
+
45
+  <!-- The main bundle js is generated during the build process -->
46
+  <script src="build/main.js"></script>
47
+
48
+</body>
49
+</html>

+ 16
- 0
ZipCoinRedJavaServer/.idea/compiler.xml Прегледај датотеку

@@ -0,0 +1,16 @@
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="ZipCoin-RED" />
10
+      </profile>
11
+    </annotationProcessing>
12
+    <bytecodeTargetLevel>
13
+      <module name="ZipCoin-RED" target="1.5" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 17
- 0
ZipCoinRedJavaServer/ZipCoin-RED.iml Прегледај датотеку

@@ -0,0 +1,17 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module version="4">
3
+  <component name="FacetManager">
4
+    <facet type="Spring" name="Spring">
5
+      <configuration />
6
+    </facet>
7
+    <facet type="web" name="Web">
8
+      <configuration>
9
+        <webroots />
10
+        <sourceRoots>
11
+          <root url="file://$MODULE_DIR$/src/main/java" />
12
+          <root url="file://$MODULE_DIR$/src/main/resources" />
13
+        </sourceRoots>
14
+      </configuration>
15
+    </facet>
16
+  </component>
17
+</module>