Eric Foster vor 6 Jahren
Ursprung
Commit
1935abb439

+ 103
- 143
.idea/workspace.xml Datei anzeigen

@@ -27,13 +27,7 @@
27 27
   </component>
28 28
   <component name="FileEditorManager">
29 29
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
30
-<<<<<<< HEAD
31
-      <file leaf-file-name="TransactionAndWalletTest.java" pinned="false" current-in-tab="false">
32
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
33
-          <provider selected="true" editor-type-id="text-editor">
34
-            <state relative-caret-position="91">
35
-              <caret line="15" selection-start-line="15" selection-end-line="15" />
36
-=======
30
+
37 31
       <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
38 32
         <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
39 33
           <provider selected="true" editor-type-id="text-editor">
@@ -62,47 +56,35 @@
62 56
                 <element signature="e#1170#1171#0" expanded="true" />
63 57
                 <element signature="e#1209#1210#0" expanded="true" />
64 58
               </folding>
65
->>>>>>> dev
66 59
             </state>
67 60
           </provider>
68 61
         </entry>
69 62
       </file>
70
-<<<<<<< HEAD
71
-      <file leaf-file-name="PersistenceConfiguration.java" pinned="false" current-in-tab="true">
72
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java">
73
-          <provider selected="true" editor-type-id="text-editor">
74
-            <state relative-caret-position="90">
75
-              <caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
76
-=======
63
+
77 64
       <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
78 65
         <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties">
79 66
           <provider selected="true" editor-type-id="text-editor">
80 67
             <state relative-caret-position="45">
81 68
               <caret line="3" selection-start-line="3" selection-end-line="3" />
82
->>>>>>> dev
83 69
             </state>
84 70
           </provider>
85 71
         </entry>
86 72
       </file>
87
-      <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
88
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java">
73
+      <file leaf-file-name="BlockLoader.java" pinned="false" current-in-tab="false">
74
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/BlockLoader.java">
89 75
           <provider selected="true" editor-type-id="text-editor">
90
-<<<<<<< HEAD
91
-            <state>
92
-              <caret column="1" selection-start-column="1" selection-end-column="1" />
93
-=======
76
+
94 77
             <state relative-caret-position="232">
95 78
               <caret line="34" column="27" selection-start-line="34" selection-start-column="27" selection-end-line="34" selection-end-column="27" />
96
->>>>>>> dev
97 79
             </state>
98 80
           </provider>
99 81
         </entry>
100 82
       </file>
101
-      <file leaf-file-name="Miner.java" pinned="false" current-in-tab="false">
102
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/Miner.java">
83
+      <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
84
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java">
103 85
           <provider selected="true" editor-type-id="text-editor">
104
-            <state relative-caret-position="60">
105
-              <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
86
+            <state relative-caret-position="135">
87
+              <caret line="15" column="21" selection-start-line="15" selection-start-column="12" selection-end-line="15" selection-end-column="21" />
106 88
             </state>
107 89
           </provider>
108 90
         </entry>
@@ -110,17 +92,31 @@
110 92
       <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
111 93
         <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/pom.xml">
112 94
           <provider selected="true" editor-type-id="text-editor">
113
-            <state relative-caret-position="-80">
95
+            <state relative-caret-position="465">
114 96
               <caret line="31" column="21" selection-start-line="31" selection-start-column="21" selection-end-line="31" selection-end-column="21" />
115 97
             </state>
116 98
           </provider>
117 99
         </entry>
118 100
       </file>
119
-      <file leaf-file-name="WalletLoader.java" pinned="false" current-in-tab="true">
101
+      <file leaf-file-name="WalletLoader.java" pinned="false" current-in-tab="false">
120 102
         <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java">
121 103
           <provider selected="true" editor-type-id="text-editor">
122
-            <state relative-caret-position="60">
123
-              <caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" />
104
+            <state relative-caret-position="305">
105
+              <caret line="23" column="41" lean-forward="true" selection-start-line="23" selection-start-column="41" selection-end-line="23" selection-end-column="41" />
106
+              <folding>
107
+                <element signature="imports" expanded="true" />
108
+                <element signature="e#523#524#0" expanded="true" />
109
+                <element signature="e#579#580#0" expanded="true" />
110
+              </folding>
111
+            </state>
112
+          </provider>
113
+        </entry>
114
+      </file>
115
+      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="false">
116
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/TransactionController.java">
117
+          <provider selected="true" editor-type-id="text-editor">
118
+            <state relative-caret-position="105">
119
+              <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
124 120
             </state>
125 121
           </provider>
126 122
         </entry>
@@ -143,11 +139,11 @@
143 139
           </provider>
144 140
         </entry>
145 141
       </file>
146
-      <file leaf-file-name="WalletRepository.java" pinned="false" current-in-tab="false">
147
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/WalletRepository.java">
142
+      <file leaf-file-name="WalletController.java" pinned="false" current-in-tab="false">
143
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java">
148 144
           <provider selected="true" editor-type-id="text-editor">
149
-            <state relative-caret-position="150">
150
-              <caret line="15" column="27" selection-start-line="15" selection-start-column="27" selection-end-line="15" selection-end-column="27" />
145
+            <state relative-caret-position="405">
146
+              <caret line="36" column="35" selection-start-line="36" selection-start-column="35" selection-end-line="36" selection-end-column="35" />
151 147
             </state>
152 148
           </provider>
153 149
         </entry>
@@ -194,7 +190,6 @@
194 190
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java" />
195 191
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/StringUtil.java" />
196 192
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java" />
197
-        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java" />
198 193
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_wallet.sql" />
199 194
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V3__create_wallet.sql" />
200 195
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java" />
@@ -202,6 +197,8 @@
202 197
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql" />
203 198
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties" />
204 199
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/pom.xml" />
200
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java" />
201
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java" />
205 202
       </list>
206 203
     </option>
207 204
   </component>
@@ -234,16 +231,8 @@
234 231
   </component>
235 232
   <component name="ProjectFrameBounds">
236 233
     <option name="y" value="23" />
237
-<<<<<<< HEAD
238
-    <option name="width" value="1280" />
239
-    <option name="height" value="702" />
240
-  </component>
241
-  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
242
-    <ConfirmationsSetting value="2" id="Add" />
243
-=======
244 234
     <option name="width" value="1426" />
245 235
     <option name="height" value="804" />
246
->>>>>>> dev
247 236
   </component>
248 237
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
249 238
   <component name="ProjectView">
@@ -251,11 +240,8 @@
251 240
       <foldersAlwaysOnTop value="true" />
252 241
     </navigator>
253 242
     <panes>
254
-<<<<<<< HEAD
255
-      <pane id="PackagesPane" />
256
-=======
243
+
257 244
       <pane id="AndroidView" />
258
->>>>>>> dev
259 245
       <pane id="ProjectPane">
260 246
         <subPane>
261 247
           <expand>
@@ -266,6 +252,11 @@
266 252
             <path>
267 253
               <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
268 254
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
255
+              <item name=".idea" type="462c0819:PsiDirectoryNode" />
256
+            </path>
257
+            <path>
258
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
259
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
269 260
               <item name="src" type="462c0819:PsiDirectoryNode" />
270 261
             </path>
271 262
             <path>
@@ -298,17 +289,49 @@
298 289
               <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
299 290
               <item name="config" type="462c0819:PsiDirectoryNode" />
300 291
             </path>
292
+            <path>
293
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
294
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
295
+              <item name="src" type="462c0819:PsiDirectoryNode" />
296
+              <item name="main" type="462c0819:PsiDirectoryNode" />
297
+              <item name="java" type="462c0819:PsiDirectoryNode" />
298
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
299
+              <item name="controller" type="462c0819:PsiDirectoryNode" />
300
+            </path>
301
+            <path>
302
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
303
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
304
+              <item name="src" type="462c0819:PsiDirectoryNode" />
305
+              <item name="main" type="462c0819:PsiDirectoryNode" />
306
+              <item name="java" type="462c0819:PsiDirectoryNode" />
307
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
308
+              <item name="model" type="462c0819:PsiDirectoryNode" />
309
+            </path>
310
+            <path>
311
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
312
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
313
+              <item name="src" type="462c0819:PsiDirectoryNode" />
314
+              <item name="main" type="462c0819:PsiDirectoryNode" />
315
+              <item name="java" type="462c0819:PsiDirectoryNode" />
316
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
317
+              <item name="repository" type="462c0819:PsiDirectoryNode" />
318
+            </path>
319
+            <path>
320
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
321
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
322
+              <item name="src" type="462c0819:PsiDirectoryNode" />
323
+              <item name="main" type="462c0819:PsiDirectoryNode" />
324
+              <item name="resources" type="462c0819:PsiDirectoryNode" />
325
+            </path>
301 326
           </expand>
302 327
           <select />
303 328
         </subPane>
304 329
       </pane>
305
-<<<<<<< HEAD
330
+
306 331
       <pane id="Scope" />
307 332
       <pane id="AndroidView" />
308
-=======
309
-      <pane id="PackagesPane" />
310 333
       <pane id="Scope" />
311
->>>>>>> dev
334
+
312 335
       <pane id="Course" />
313 336
     </panes>
314 337
   </component>
@@ -511,14 +534,11 @@
511 534
       <workItem from="1531837614306" duration="20000" />
512 535
       <workItem from="1532024920972" duration="1933000" />
513 536
       <workItem from="1532095197895" duration="1931000" />
514
-<<<<<<< HEAD
515
-      <workItem from="1532704326578" duration="306000" />
516
-=======
537
+
517 538
       <workItem from="1532460873998" duration="385000" />
518 539
       <workItem from="1532523890378" duration="1028000" />
519 540
       <workItem from="1532528099328" duration="14938000" />
520 541
       <workItem from="1532701223355" duration="2106000" />
521
->>>>>>> dev
522 542
     </task>
523 543
     <servers />
524 544
   </component>
@@ -552,18 +572,12 @@
552 572
     </history-entry>
553 573
   </component>
554 574
   <component name="TimeTrackingManager">
555
-<<<<<<< HEAD
556
-    <option name="totallyTimeSpent" value="18491000" />
557
-  </component>
558
-  <component name="ToolWindowManager">
559
-    <frame x="0" y="23" width="1280" height="702" extended-state="0" />
560
-=======
575
+
561 576
     <option name="totallyTimeSpent" value="40895000" />
562 577
   </component>
563 578
   <component name="ToolWindowManager">
564 579
     <frame x="0" y="23" width="1426" height="804" extended-state="0" />
565 580
     <editor active="true" />
566
->>>>>>> dev
567 581
     <layout>
568 582
       <window_info anchor="right" id="Palette" order="3" />
569 583
       <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
@@ -572,36 +586,24 @@
572 586
       <window_info id="Capture Tool" order="2" />
573 587
       <window_info id="Designer" order="2" />
574 588
       <window_info anchor="right" id="Database" order="3" />
575
-<<<<<<< HEAD
576
-      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
577
-      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
578
-      <window_info id="UI Designer" order="2" />
579
-      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
580
-      <window_info anchor="bottom" id="TODO" order="6" />
581
-=======
589
+
582 590
       <window_info id="Structure" order="1" sideWeight="0.17450981" side_tool="true" visible="true" weight="0.2550578" />
583 591
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
584 592
       <window_info id="UI Designer" order="2" />
585 593
       <window_info anchor="bottom" id="Debug" order="3" weight="0.39886847" />
586 594
       <window_info anchor="bottom" id="TODO" order="6" />
587 595
       <window_info anchor="bottom" id="Messages" order="9" weight="0.3289256" />
588
->>>>>>> dev
589 596
       <window_info anchor="right" id="Palette&#9;" order="3" />
590 597
       <window_info id="Image Layers" order="2" />
591 598
       <window_info anchor="bottom" id="Java Enterprise" order="8" />
592 599
       <window_info anchor="right" id="Capture Analysis" order="3" />
600
+
593 601
       <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
594
-<<<<<<< HEAD
595
-      <window_info anchor="bottom" id="Run" order="2" weight="0.0" />
596
-      <window_info anchor="bottom" id="Spring" order="9" />
597
-      <window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.4" />
598
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.28109854" />
599
-=======
600 602
       <window_info anchor="bottom" id="Run" order="2" weight="0.3493635" />
603
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
601 604
       <window_info anchor="bottom" id="Spring" order="9" weight="0.32956153" />
602 605
       <window_info anchor="bottom" id="Terminal" order="7" visible="true" weight="0.27864215" />
603 606
       <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.8254902" visible="true" weight="0.2550578" />
604
->>>>>>> dev
605 607
       <window_info anchor="right" id="Bean Validation" order="4" />
606 608
       <window_info id="Web" order="4" side_tool="true" />
607 609
       <window_info anchor="right" id="Theme Preview" order="3" />
@@ -610,23 +612,16 @@
610 612
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
611 613
       <window_info anchor="bottom" id="Message" order="0" />
612 614
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
613
-<<<<<<< HEAD
614
-      <window_info anchor="bottom" id="Messages" order="9" weight="0.3298969" />
615
-=======
616
->>>>>>> dev
615
+
617 616
       <window_info id="Learn" order="5" />
618 617
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
619 618
       <window_info anchor="bottom" id="Find" order="1" weight="0.32954547" />
620 619
     </layout>
621 620
     <layout-to-restore>
622 621
       <window_info anchor="right" id="Palette" order="3" />
623
-<<<<<<< HEAD
624
-      <window_info anchor="bottom" id="Find" order="1" />
625
-=======
626
->>>>>>> dev
622
+
627 623
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
628 624
       <window_info anchor="right" id="Capture Analysis" order="4" />
629
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
630 625
       <window_info anchor="bottom" id="Run" order="2" />
631 626
       <window_info anchor="right" id="Theme Preview" order="5" />
632 627
       <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2358643" />
@@ -634,22 +629,16 @@
634 629
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
635 630
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
636 631
       <window_info anchor="bottom" id="TODO" order="6" />
637
-      <window_info anchor="bottom" id="Version Control" order="10" />
638 632
       <window_info id="Image Layers" order="2" />
639 633
       <window_info id="Designer" order="3" />
640 634
       <window_info id="UI Designer" order="4" />
641
-      <window_info anchor="bottom" id="Find" order="1" />
635
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
642 636
       <window_info anchor="right" id="Database" order="6" />
643 637
       <window_info anchor="right" id="Palette&#9;" order="7" />
644 638
       <window_info anchor="bottom" id="Terminal" order="8" sideWeight="0.49919224" weight="0.65384614" />
645 639
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
646
-<<<<<<< HEAD
647
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
648
-      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
649
-=======
650 640
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
651 641
       <window_info anchor="bottom" id="Version Control" order="10" />
652
->>>>>>> dev
653 642
       <window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50080776" side_tool="true" weight="0.30936456" />
654 643
       <window_info id="Capture Tool" order="5" />
655 644
       <window_info anchor="bottom" id="Message" order="0" />
@@ -710,9 +699,6 @@
710 699
         </state>
711 700
       </provider>
712 701
     </entry>
713
-<<<<<<< HEAD
714
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/chain/test/chainTest.java">
715
-=======
716 702
     <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.3.1.RELEASE/spring-boot-1.3.1.RELEASE.jar!/org/springframework/boot/SpringApplication.class">
717 703
       <provider selected="true" editor-type-id="text-editor">
718 704
         <state>
@@ -721,7 +707,6 @@
721 707
       </provider>
722 708
     </entry>
723 709
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java">
724
->>>>>>> dev
725 710
       <provider selected="true" editor-type-id="text-editor">
726 711
         <state relative-caret-position="308">
727 712
           <caret line="32" column="5" selection-start-line="32" selection-start-column="5" selection-end-line="32" selection-end-column="5" />
@@ -775,19 +760,10 @@
775 760
       <provider selected="true" editor-type-id="text-editor">
776 761
         <state relative-caret-position="120">
777 762
           <caret line="9" selection-start-line="9" selection-end-line="9" />
778
-          <folding>
779
-            <element signature="e#296#297#0" expanded="true" />
780
-          </folding>
781
-        </state>
782
-      </provider>
783
-    </entry>
784
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql">
785
-      <provider selected="true" editor-type-id="text-editor">
786
-        <state relative-caret-position="210">
787
-          <caret line="14" column="5" selection-start-line="14" selection-start-column="5" selection-end-line="14" selection-end-column="5" />
788 763
         </state>
789 764
       </provider>
790 765
     </entry>
766
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql" />
791 767
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
792 768
       <provider selected="true" editor-type-id="text-editor">
793 769
         <state relative-caret-position="105">
@@ -795,21 +771,10 @@
795 771
         </state>
796 772
       </provider>
797 773
     </entry>
798
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java">
799
-      <provider selected="true" editor-type-id="text-editor">
800
-        <state relative-caret-position="270">
801
-          <caret line="27" column="95" selection-start-line="27" selection-start-column="95" selection-end-line="27" selection-end-column="95" />
802
-        </state>
803
-      </provider>
804
-    </entry>
805 774
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/StringUtil.java">
806 775
       <provider selected="true" editor-type-id="text-editor">
807 776
         <state relative-caret-position="525">
808 777
           <caret line="35" column="5" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
809
-          <folding>
810
-            <element signature="e#1170#1171#0" expanded="true" />
811
-            <element signature="e#1209#1210#0" expanded="true" />
812
-          </folding>
813 778
         </state>
814 779
       </provider>
815 780
     </entry>
@@ -843,22 +808,16 @@
843 808
     </entry>
844 809
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java">
845 810
       <provider selected="true" editor-type-id="text-editor">
846
-<<<<<<< HEAD
847
-        <state>
848
-          <caret column="1" selection-start-column="1" selection-end-column="1" />
849
-=======
811
+
850 812
         <state relative-caret-position="232">
851 813
           <caret line="34" column="27" selection-start-line="34" selection-start-column="27" selection-end-line="34" selection-end-column="27" />
852
->>>>>>> dev
853 814
         </state>
854 815
       </provider>
855 816
     </entry>
856
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
817
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
818
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/pom.xml">
857 819
       <provider selected="true" editor-type-id="text-editor">
858
-<<<<<<< HEAD
859
-        <state relative-caret-position="91">
860
-          <caret line="15" selection-start-line="15" selection-end-line="15" />
861
-=======
820
+
862 821
         <state relative-caret-position="285">
863 822
           <caret line="19" column="29" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="29" />
864 823
           <folding>
@@ -871,40 +830,41 @@
871 830
             <element signature="e#622#623#0" expanded="true" />
872 831
             <element signature="e#664#665#0" expanded="true" />
873 832
           </folding>
874
->>>>>>> dev
833
+
875 834
         </state>
876 835
       </provider>
877 836
     </entry>
878
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java">
837
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties">
879 838
       <provider selected="true" editor-type-id="text-editor">
880
-<<<<<<< HEAD
881
-        <state relative-caret-position="90">
882
-          <caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
883
-=======
839
+
884 840
         <state relative-caret-position="270">
885 841
           <caret line="18" column="23" selection-start-line="18" selection-start-column="23" selection-end-line="18" selection-end-column="23" />
886 842
         </state>
887 843
       </provider>
888 844
     </entry>
889
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties">
845
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java">
890 846
       <provider selected="true" editor-type-id="text-editor">
891
-        <state relative-caret-position="45">
892
-          <caret line="3" selection-start-line="3" selection-end-line="3" />
847
+        <state relative-caret-position="405">
848
+          <caret line="36" column="35" selection-start-line="36" selection-start-column="35" selection-end-line="36" selection-end-column="35" />
893 849
         </state>
894 850
       </provider>
895 851
     </entry>
896
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/pom.xml">
852
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java">
897 853
       <provider selected="true" editor-type-id="text-editor">
898
-        <state relative-caret-position="-80">
899
-          <caret line="31" column="21" selection-start-line="31" selection-start-column="21" selection-end-line="31" selection-end-column="21" />
854
+        <state relative-caret-position="305">
855
+          <caret line="23" column="41" lean-forward="true" selection-start-line="23" selection-start-column="41" selection-end-line="23" selection-end-column="41" />
856
+          <folding>
857
+            <element signature="imports" expanded="true" />
858
+            <element signature="e#523#524#0" expanded="true" />
859
+            <element signature="e#579#580#0" expanded="true" />
860
+          </folding>
900 861
         </state>
901 862
       </provider>
902 863
     </entry>
903
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java">
864
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
904 865
       <provider selected="true" editor-type-id="text-editor">
905 866
         <state relative-caret-position="60">
906 867
           <caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" />
907
->>>>>>> dev
908 868
         </state>
909 869
       </provider>
910 870
     </entry>

+ 1
- 1
ZipCoinRedIonicClient/.sourcemaps/main.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 2
ZipCoinRedIonicClient/ionic.config.json Datei anzeigen

@@ -1,5 +1,6 @@
1 1
 {
2 2
   "name": "ZipCoinRed",
3 3
   "integrations": {},
4
-  "type": "ionic-angular"
5
-}
4
+  "type": "ionic-angular",
5
+  "app_id": ""
6
+}

+ 6
- 6
ZipCoinRedIonicClient/src/pages/wallet/wallet.html Datei anzeigen

@@ -20,8 +20,8 @@
20 20
   <ion-item>
21 21
       <ion-label>Name</ion-label>
22 22
       <ion-select [(ngModel)]="name">
23
-        <ion-option value="navya">navya</ion-option>
24
-        <ion-option value="aleena">aleena</ion-option>
23
+        <ion-option value="ann">Ann</ion-option>
24
+        <ion-option value="sen">Sen</ion-option>
25 25
       </ion-select>
26 26
      </ion-item>
27 27
      <ion-item>
@@ -40,15 +40,15 @@
40 40
        <ion-item>
41 41
           <ion-label>From</ion-label>
42 42
           <ion-select [(ngModel)]="name">
43
-            <ion-option value="navya">navya</ion-option>
44
-            <ion-option value="aleena">aleena</ion-option>
43
+            <ion-option value="ann">Ann</ion-option>
44
+            <ion-option value="sen">Sen</ion-option>
45 45
           </ion-select>
46 46
          </ion-item>
47 47
          <ion-item>
48 48
             <ion-label>To</ion-label>
49 49
             <ion-select [(ngModel)]="to">
50
-              <ion-option value="navya">navya</ion-option>
51
-              <ion-option value="aleena">aleena</ion-option>
50
+              <ion-option value="ann">Ann</ion-option>
51
+              <ion-option value="sen">Sen</ion-option>
52 52
             </ion-select>
53 53
            </ion-item>
54 54
       

+ 1
- 1
ZipCoinRedIonicClient/www/build/0.js Datei anzeigen

@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPageModule", function() { return WalletPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(104);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(103);
12 12
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__ = __webpack_require__(50);
13 13
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
14 14
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

+ 2
- 2
ZipCoinRedIonicClient/www/build/1.js Datei anzeigen

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([1],{
2 2
 
3
-/***/ 281:
3
+/***/ 282:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransactionPageModule", function() { return TransactionPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__transaction__ = __webpack_require__(102);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__transaction__ = __webpack_require__(104);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 2
- 2
ZipCoinRedIonicClient/www/build/2.js Datei anzeigen

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([2],{
2 2
 
3
-/***/ 282:
3
+/***/ 281:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TabsPageModule", function() { return TabsPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tabs__ = __webpack_require__(103);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tabs__ = __webpack_require__(102);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 81
- 33
ZipCoinRedIonicClient/www/build/main.js Datei anzeigen

@@ -34,7 +34,7 @@ var Tab4Page = /** @class */ (function () {
34 34
     };
35 35
     Tab4Page = __decorate([
36 36
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
37
-            selector: 'page-tab4',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
37
+            selector: 'page-tab4',template:/*ion-inline-start:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
38 38
         }),
39 39
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
40 40
     ], Tab4Page);
@@ -49,6 +49,54 @@ var Tab4Page = /** @class */ (function () {
49 49
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
50 50
 
51 51
 "use strict";
52
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tab4Page; });
53
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
54
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(159);
55
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(103);
56
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(104);
57
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(101);
58
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
59
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
60
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
61
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
62
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
63
+};
64
+var __metadata = (this && this.__metadata) || function (k, v) {
65
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
66
+};
67
+
68
+
69
+/**
70
+ * Generated class for the Tab4Page page.
71
+ *
72
+ * See https://ionicframework.com/docs/components/#navigation for more info on
73
+ * Ionic pages and navigation.
74
+ */
75
+var Tab4Page = /** @class */ (function () {
76
+    function Tab4Page(navCtrl, navParams) {
77
+        this.navCtrl = navCtrl;
78
+        this.navParams = navParams;
79
+    }
80
+    Tab4Page.prototype.ionViewDidLoad = function () {
81
+        console.log('ionViewDidLoad Tab4Page');
82
+    };
83
+    Tab4Page = __decorate([
84
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
85
+            selector: 'page-tabs',template:/*ion-inline-start:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/'<ion-tabs>\n  <ion-tab [root]="homePage" tabTitle="ZipCoin-BlockChain" tabIcon="link"></ion-tab>\n  <ion-tab [root]="walletPage" tabTitle="ZipCoin Wallet" tabIcon="cash"></ion-tab>\n  <ion-tab [root]="transactionPage" tabTitle="ZipCoin Transactions" tabIcon="contacts"></ion-tab>\n  <ion-tab [root]="tab4" tabTitle="Ziptab" tabIcon="star"></ion-tab>\n\n</ion-tabs>'/*ion-inline-end:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/,
86
+        }),
87
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
88
+    ], Tab4Page);
89
+    return Tab4Page;
90
+}());
91
+
92
+//# sourceMappingURL=tab4.js.map
93
+
94
+/***/ }),
95
+
96
+/***/ 103:
97
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
98
+
99
+"use strict";
52 100
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
53 101
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
54 102
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
@@ -71,37 +119,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
71 119
  * See https://ionicframework.com/docs/components/#navigation for more info on
72 120
  * Ionic pages and navigation.
73 121
  */
74
-var TransactionPage = /** @class */ (function () {
75
-    function TransactionPage(navCtrl, navParams, transactionService) {
122
+var WalletPage = /** @class */ (function () {
123
+    function WalletPage(navCtrl, navParams, transactionService) {
76 124
         this.navCtrl = navCtrl;
77 125
         this.navParams = navParams;
78 126
         this.transactionService = transactionService;
79
-        this.getAllTransactions;
80 127
     }
81 128
     TransactionPage.prototype.ionViewDidLoad = function () {
82 129
         console.log('ionViewDidLoad TransactionPage');
83 130
     };
84
-    TransactionPage.prototype.getAllTransactions = function () {
85
-        var _this = this;
86
-        this.transactionService.getAllTransactions().subscribe(function (transactions) {
87
-            _this.transactions = transactions;
88
-        });
131
+    WalletPage.prototype.createTransaction = function () {
132
+        this.transactionService.createTransaction(this.transaction);
89 133
     };
90
-    TransactionPage = __decorate([
134
+    WalletPage = __decorate([
91 135
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
92
-            selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n    <ion-list>\n        <ion-item-sliding *ngFor="let transaction of transactions">\n          <ion-item>\n            <ion-card>\n                <ion-card-header>\n                  Transaction #: {{transaction.transactionId}}\n                </ion-card-header>\n                <ion-card-content>\n                  <div>Sender: {{ transaction.sender }}</div>\n                  <div>Recipient: {{ block.recipient }}</div>\n                  <div>Amount: {{ block.amount }}</div>\n                </ion-card-content>\n            </ion-card>\n          </ion-item>\n        </ion-item-sliding>\n      </ion-list>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
136
+            selector: 'page-wallet',template:/*ion-inline-start:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/'<!--\n  Generated template for the WalletPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Wallet</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n\n  \n  <ion-item>\n      <ion-label>Name</ion-label>\n      <ion-select [(ngModel)]="name">\n        <ion-option value="ann">Ann</ion-option>\n        <ion-option value="sen">Sen</ion-option>\n      </ion-select>\n     </ion-item>\n     <ion-item>\n        <ion-label>current balance</ion-label>\n        <ion-input></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label>Public Key</ion-label>\n          <ion-input></ion-input>\n        </ion-item>\n      <br>\n      <br>\n      <div class = "bar bar-subheader bar-assertive">\n          <h2 class = "title">Payment</h2>\n       </div>\n       <ion-item>\n          <ion-label>From</ion-label>\n          <ion-select [(ngModel)]="name">\n            <ion-option value="ann">Ann</ion-option>\n            <ion-option value="sen">Sen</ion-option>\n          </ion-select>\n         </ion-item>\n         <ion-item>\n            <ion-label>To</ion-label>\n            <ion-select [(ngModel)]="to">\n              <ion-option value="ann">Ann</ion-option>\n              <ion-option value="sen">Sen</ion-option>\n            </ion-select>\n           </ion-item>\n      \n          <ion-item>\n              <ion-label>Amount</ion-label>\n              <ion-input></ion-input>\n            </ion-item>\n            <br>\n            <button ion-button>Pay</button>\n</ion-content>\n'/*ion-inline-end:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
93 137
         }),
94
-        __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]) === "function" && _c || Object])
95
-    ], TransactionPage);
96
-    return TransactionPage;
97
-    var _a, _b, _c;
138
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
139
+    ], WalletPage);
140
+    return WalletPage;
98 141
 }());
99 142
 
100 143
 //# sourceMappingURL=transaction.js.map
101 144
 
102 145
 /***/ }),
103 146
 
104
-/***/ 103:
147
+/***/ 104:
105 148
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
106 149
 
107 150
 "use strict";
@@ -171,25 +214,30 @@ var __metadata = (this && this.__metadata) || function (k, v) {
171 214
  * See https://ionicframework.com/docs/components/#navigation for more info on
172 215
  * Ionic pages and navigation.
173 216
  */
174
-var WalletPage = /** @class */ (function () {
175
-    function WalletPage(navCtrl, navParams, transactionService) {
217
+var TransactionPage = /** @class */ (function () {
218
+    function TransactionPage(navCtrl, navParams, transactionService) {
176 219
         this.navCtrl = navCtrl;
177 220
         this.navParams = navParams;
178 221
         this.transactionService = transactionService;
222
+        this.getAllTransactions;
179 223
     }
180 224
     WalletPage.prototype.ionViewDidLoad = function () {
181 225
         console.log('ionViewDidLoad WalletPage');
182 226
     };
183
-    WalletPage.prototype.createTransaction = function () {
184
-        this.transactionService.createTransaction(this.transaction);
227
+    TransactionPage.prototype.getAllTransactions = function () {
228
+        var _this = this;
229
+        this.transactionService.getAllTransactions().subscribe(function (transactions) {
230
+            _this.transactions = transactions;
231
+        });
185 232
     };
186
-    WalletPage = __decorate([
233
+    TransactionPage = __decorate([
187 234
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
188
-            selector: 'page-wallet',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/'<!--\n  Generated template for the WalletPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Wallet</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n\n  \n  <ion-item>\n      <ion-label>Name</ion-label>\n      <ion-select [(ngModel)]="name">\n        <ion-option value="navya">navya</ion-option>\n        <ion-option value="aleena">aleena</ion-option>\n      </ion-select>\n     </ion-item>\n     <ion-item>\n        <ion-label>current balance</ion-label>\n        <ion-input></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label>Public Key</ion-label>\n          <ion-input></ion-input>\n        </ion-item>\n      <br>\n      <br>\n      <div class = "bar bar-subheader bar-assertive">\n          <h2 class = "title">Payment</h2>\n       </div>\n       <ion-item>\n          <ion-label>From</ion-label>\n          <ion-select [(ngModel)]="name">\n            <ion-option value="navya">navya</ion-option>\n            <ion-option value="aleena">aleena</ion-option>\n          </ion-select>\n         </ion-item>\n         <ion-item>\n            <ion-label>To</ion-label>\n            <ion-select [(ngModel)]="to">\n              <ion-option value="navya">navya</ion-option>\n              <ion-option value="aleena">aleena</ion-option>\n            </ion-select>\n           </ion-item>\n      \n          <ion-item>\n              <ion-label>Amount</ion-label>\n              <ion-input></ion-input>\n            </ion-item>\n            <br>\n            <button ion-button>Pay</button>\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
235
+            selector: 'page-transaction',template:/*ion-inline-start:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n    <ion-list>\n        <ion-item-sliding *ngFor="let transaction of transactions">\n          <ion-item>\n            <ion-card>\n                <ion-card-header>\n                  Transaction #: {{transaction.transactionId}}\n                </ion-card-header>\n                <ion-card-content>\n                  <div>Sender: {{ transaction.sender }}</div>\n                  <div>Recipient: {{ block.recipient }}</div>\n                  <div>Amount: {{ block.amount }}</div>\n                </ion-card-content>\n            </ion-card>\n          </ion-item>\n        </ion-item-sliding>\n      </ion-list>\n\n</ion-content>\n'/*ion-inline-end:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
189 236
         }),
190
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
191
-    ], WalletPage);
192
-    return WalletPage;
237
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
238
+            __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
239
+    ], TransactionPage);
240
+    return TransactionPage;
193 241
 }());
194 242
 
195 243
 //# sourceMappingURL=wallet.js.map
@@ -222,11 +270,11 @@ var map = {
222 270
 		3
223 271
 	],
224 272
 	"../pages/tabs/tabs.module": [
225
-		282,
273
+		281,
226 274
 		2
227 275
 	],
228 276
 	"../pages/transaction/transaction.module": [
229
-		281,
277
+		282,
230 278
 		1
231 279
 	],
232 280
 	"../pages/wallet/wallet.module": [
@@ -297,7 +345,7 @@ var HomePage = /** @class */ (function () {
297 345
     };
298 346
     HomePage = __decorate([
299 347
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
300
-            selector: 'page-home',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
348
+            selector: 'page-home',template:/*ion-inline-start:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
301 349
         }),
302 350
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
303 351
     ], HomePage);
@@ -386,9 +434,9 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
386 434
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(78);
387 435
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(160);
388 436
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(159);
389
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(104);
390
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(102);
391
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(103);
437
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(103);
438
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(104);
439
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(102);
392 440
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(101);
393 441
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__ = __webpack_require__(50);
394 442
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
@@ -470,7 +518,7 @@ var AppModule = /** @class */ (function () {
470 518
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
471 519
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(203);
472 520
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
473
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(103);
521
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(102);
474 522
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
475 523
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
476 524
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -496,7 +544,7 @@ var MyApp = /** @class */ (function () {
496 544
         });
497 545
     }
498 546
     MyApp = __decorate([
499
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
547
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/AleenaRM/Labi/zipcoin/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
500 548
         }),
501 549
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
502 550
     ], MyApp);

+ 1
- 1
ZipCoinRedIonicClient/www/build/main.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1
- 1
ZipCoinRedIonicClient/www/build/vendor.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 471
- 26
ZipCoinRedJavaServer/.idea/workspace.xml Datei anzeigen

@@ -10,12 +10,147 @@
10 10
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11 11
     <option name="LAST_RESOLUTION" value="IGNORE" />
12 12
   </component>
13
+  <component name="FileEditorManager">
14
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
15
+      <file leaf-file-name="Block.java" pinned="false" current-in-tab="false">
16
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java">
17
+          <provider selected="true" editor-type-id="text-editor">
18
+            <state relative-caret-position="930">
19
+              <caret line="82" column="4" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="4" />
20
+              <folding>
21
+                <element signature="imports" expanded="true" />
22
+              </folding>
23
+            </state>
24
+          </provider>
25
+        </entry>
26
+      </file>
27
+      <file leaf-file-name="BlockController.java" pinned="false" current-in-tab="false">
28
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
29
+          <provider selected="true" editor-type-id="text-editor">
30
+            <state relative-caret-position="105">
31
+              <caret line="7" column="15" selection-start-line="7" selection-start-column="15" selection-end-line="7" selection-end-column="15" />
32
+              <folding>
33
+                <element signature="e#645#646#0" expanded="true" />
34
+                <element signature="e#703#704#0" expanded="true" />
35
+                <element signature="e#863#864#0" expanded="true" />
36
+                <element signature="e#913#914#0" expanded="true" />
37
+                <element signature="e#1032#1033#0" expanded="true" />
38
+                <element signature="e#1080#1081#0" expanded="true" />
39
+              </folding>
40
+            </state>
41
+          </provider>
42
+        </entry>
43
+      </file>
44
+      <file leaf-file-name="HomeController.java" pinned="false" current-in-tab="false">
45
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java">
46
+          <provider selected="true" editor-type-id="text-editor">
47
+            <state relative-caret-position="90">
48
+              <caret line="9" column="5" selection-start-line="9" selection-start-column="5" selection-end-line="9" selection-end-column="5" />
49
+            </state>
50
+          </provider>
51
+        </entry>
52
+      </file>
53
+      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="false">
54
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
55
+          <provider selected="true" editor-type-id="text-editor">
56
+            <state relative-caret-position="525">
57
+              <caret line="42" selection-start-line="42" selection-end-line="42" />
58
+            </state>
59
+          </provider>
60
+        </entry>
61
+      </file>
62
+      <file leaf-file-name="WalletController.java" pinned="false" current-in-tab="false">
63
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
64
+          <provider selected="true" editor-type-id="text-editor">
65
+            <state relative-caret-position="66">
66
+              <caret line="14" column="13" selection-start-line="14" selection-start-column="13" selection-end-line="14" selection-end-column="13" />
67
+            </state>
68
+          </provider>
69
+        </entry>
70
+      </file>
71
+      <file leaf-file-name="WalletLoader.java" pinned="false" current-in-tab="true">
72
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
73
+          <provider selected="true" editor-type-id="text-editor">
74
+            <state relative-caret-position="480">
75
+              <caret line="32" selection-start-line="32" selection-end-line="32" />
76
+            </state>
77
+          </provider>
78
+        </entry>
79
+      </file>
80
+      <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
81
+        <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
82
+          <provider selected="true" editor-type-id="text-editor">
83
+            <state relative-caret-position="60">
84
+              <caret line="4" selection-start-line="4" selection-end-line="4" />
85
+            </state>
86
+          </provider>
87
+        </entry>
88
+      </file>
89
+      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
90
+        <entry file="file://$PROJECT_DIR$/pom.xml">
91
+          <provider selected="true" editor-type-id="text-editor">
92
+            <state relative-caret-position="135">
93
+              <caret line="9" selection-start-line="9" selection-end-line="9" />
94
+            </state>
95
+          </provider>
96
+        </entry>
97
+      </file>
98
+      <file leaf-file-name="ZipCoinApp.java" pinned="false" current-in-tab="false">
99
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/ZipCoinApp.java">
100
+          <provider selected="true" editor-type-id="text-editor">
101
+            <state relative-caret-position="75">
102
+              <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
103
+              <folding>
104
+                <element signature="imports" expanded="true" />
105
+              </folding>
106
+            </state>
107
+          </provider>
108
+        </entry>
109
+      </file>
110
+      <file leaf-file-name="minerTest.java" pinned="false" current-in-tab="false">
111
+        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java">
112
+          <provider selected="true" editor-type-id="text-editor">
113
+            <state relative-caret-position="135">
114
+              <caret line="12" column="9" selection-start-line="12" selection-start-column="9" selection-end-line="12" selection-end-column="9" />
115
+              <folding>
116
+                <element signature="imports" expanded="true" />
117
+              </folding>
118
+            </state>
119
+          </provider>
120
+        </entry>
121
+      </file>
122
+    </leaf>
123
+  </component>
124
+  <component name="IdeDocumentHistory">
125
+    <option name="CHANGED_PATHS">
126
+      <list>
127
+        <option value="$PROJECT_DIR$/pom.xml" />
128
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java" />
129
+      </list>
130
+    </option>
131
+  </component>
13 132
   <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
14 133
   <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
15 134
   <component name="JsGulpfileManager">
16 135
     <detection-done>true</detection-done>
17 136
     <sorting>DEFINITION_ORDER</sorting>
18 137
   </component>
138
+  <component name="MavenProjectNavigator">
139
+    <treeState>
140
+      <expand>
141
+        <path>
142
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
143
+          <item name="zip-coin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
144
+        </path>
145
+        <path>
146
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
147
+          <item name="zip-coin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
148
+          <item name="Lifecycle" type="58874e2:MavenProjectsStructure$LifecycleNode" />
149
+        </path>
150
+      </expand>
151
+      <select />
152
+    </treeState>
153
+  </component>
19 154
   <component name="NodePackageJsonFileManager">
20 155
     <packageJsonPaths />
21 156
   </component>
@@ -24,18 +159,108 @@
24 159
     <option name="width" value="1280" />
25 160
     <option name="height" value="713" />
26 161
   </component>
162
+  <component name="ProjectLevelVcsManager">
163
+    <ConfirmationsSetting value="2" id="Add" />
164
+  </component>
27 165
   <component name="ProjectView">
28 166
     <navigator proportions="" version="1">
29 167
       <foldersAlwaysOnTop value="true" />
30 168
     </navigator>
31 169
     <panes>
32 170
       <pane id="Scope" />
33
-      <pane id="AndroidView" />
34 171
       <pane id="PackagesPane" />
35
-      <pane id="ProjectPane" />
172
+      <pane id="ProjectPane">
173
+        <subPane>
174
+          <expand>
175
+            <path>
176
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
177
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
178
+            </path>
179
+            <path>
180
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
181
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
182
+              <item name="src" type="462c0819:PsiDirectoryNode" />
183
+            </path>
184
+            <path>
185
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
186
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
187
+              <item name="src" type="462c0819:PsiDirectoryNode" />
188
+              <item name="main" type="462c0819:PsiDirectoryNode" />
189
+            </path>
190
+            <path>
191
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
192
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
193
+              <item name="src" type="462c0819:PsiDirectoryNode" />
194
+              <item name="main" type="462c0819:PsiDirectoryNode" />
195
+              <item name="java" type="462c0819:PsiDirectoryNode" />
196
+            </path>
197
+            <path>
198
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
199
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
200
+              <item name="src" type="462c0819:PsiDirectoryNode" />
201
+              <item name="main" type="462c0819:PsiDirectoryNode" />
202
+              <item name="java" type="462c0819:PsiDirectoryNode" />
203
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
204
+            </path>
205
+            <path>
206
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
207
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
208
+              <item name="src" type="462c0819:PsiDirectoryNode" />
209
+              <item name="main" type="462c0819:PsiDirectoryNode" />
210
+              <item name="java" type="462c0819:PsiDirectoryNode" />
211
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
212
+              <item name="config" type="462c0819:PsiDirectoryNode" />
213
+            </path>
214
+            <path>
215
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
216
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
217
+              <item name="src" type="462c0819:PsiDirectoryNode" />
218
+              <item name="main" type="462c0819:PsiDirectoryNode" />
219
+              <item name="java" type="462c0819:PsiDirectoryNode" />
220
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
221
+              <item name="controller" type="462c0819:PsiDirectoryNode" />
222
+            </path>
223
+            <path>
224
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
225
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
226
+              <item name="src" type="462c0819:PsiDirectoryNode" />
227
+              <item name="main" type="462c0819:PsiDirectoryNode" />
228
+              <item name="java" type="462c0819:PsiDirectoryNode" />
229
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
230
+              <item name="model" type="462c0819:PsiDirectoryNode" />
231
+            </path>
232
+            <path>
233
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
234
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
235
+              <item name="src" type="462c0819:PsiDirectoryNode" />
236
+              <item name="main" type="462c0819:PsiDirectoryNode" />
237
+              <item name="java" type="462c0819:PsiDirectoryNode" />
238
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
239
+              <item name="repository" type="462c0819:PsiDirectoryNode" />
240
+            </path>
241
+            <path>
242
+              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
243
+              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
244
+              <item name="src" type="462c0819:PsiDirectoryNode" />
245
+              <item name="main" type="462c0819:PsiDirectoryNode" />
246
+              <item name="java" type="462c0819:PsiDirectoryNode" />
247
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
248
+              <item name="utilities" type="462c0819:PsiDirectoryNode" />
249
+            </path>
250
+          </expand>
251
+          <select />
252
+        </subPane>
253
+      </pane>
254
+      <pane id="AndroidView" />
36 255
     </panes>
37 256
   </component>
38 257
   <component name="PropertiesComponent">
258
+    <property name="RequestMappingsPanelOrder0" value="0" />
259
+    <property name="RequestMappingsPanelOrder1" value="1" />
260
+    <property name="RequestMappingsPanelOrder2" value="2" />
261
+    <property name="RequestMappingsPanelWidth0" value="75" />
262
+    <property name="RequestMappingsPanelWidth1" value="75" />
263
+    <property name="RequestMappingsPanelWidth2" value="75" />
39 264
     <property name="WebServerToolWindowFactoryState" value="false" />
40 265
     <property name="aspect.path.notification.shown" value="true" />
41 266
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
@@ -130,42 +355,69 @@
130 355
     <servers />
131 356
   </component>
132 357
   <component name="TimeTrackingManager">
133
-    <option name="totallyTimeSpent" value="17000" />
358
+    <option name="totallyTimeSpent" value="1539000" />
134 359
   </component>
135 360
   <component name="ToolWindowManager">
136
-    <frame x="0" y="23" width="1280" height="713" extended-state="0" />
361
+    <frame x="39" y="23" width="1203" height="713" extended-state="0" />
137 362
     <layout>
138
-      <window_info anchor="right" id="Palette" />
139
-      <window_info anchor="bottom" id="Event Log" side_tool="true" />
140
-      <window_info anchor="right" id="Maven Projects" />
141
-      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
142
-      <window_info id="Capture Tool" />
143
-      <window_info id="Designer" />
144
-      <window_info anchor="right" id="Database" />
363
+      <window_info anchor="right" id="Palette" order="3" />
364
+      <window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.2601206" side_tool="true" visible="true" weight="0.30032468" />
365
+      <window_info anchor="right" id="Maven Projects" order="3" weight="0.32988802" />
366
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
367
+      <window_info id="Capture Tool" order="2" />
368
+      <window_info id="Designer" order="2" />
369
+      <window_info anchor="right" id="Database" order="3" />
145 370
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
146 371
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
147
-      <window_info id="UI Designer" />
372
+      <window_info id="UI Designer" order="2" />
148 373
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
149 374
       <window_info anchor="bottom" id="TODO" order="6" />
150
-      <window_info anchor="right" id="Palette&#9;" />
151
-      <window_info id="Image Layers" />
152
-      <window_info anchor="bottom" id="Java Enterprise" />
153
-      <window_info anchor="right" id="Capture Analysis" />
375
+      <window_info anchor="bottom" id="Messages" order="9" weight="0.3298969" />
376
+      <window_info anchor="right" id="Palette&#9;" order="3" />
377
+      <window_info id="Image Layers" order="2" />
378
+      <window_info anchor="bottom" id="Java Enterprise" order="8" />
379
+      <window_info anchor="right" id="Capture Analysis" order="3" />
380
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
381
+      <window_info anchor="bottom" id="Run" order="2" sideWeight="0.87510765" weight="0.4318182" />
382
+      <window_info anchor="bottom" id="Spring" order="10" />
383
+      <window_info active="true" anchor="bottom" id="Terminal" order="7" sideWeight="0.7398794" visible="true" weight="0.30032468" />
384
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2868217" />
385
+      <window_info anchor="right" id="Bean Validation" order="5" />
386
+      <window_info id="Web" order="4" side_tool="true" />
387
+      <window_info anchor="right" id="Theme Preview" order="3" />
388
+      <window_info id="Favorites" order="2" side_tool="true" />
389
+      <window_info anchor="bottom" id="Message" order="0" />
154 390
       <window_info anchor="bottom" id="Run" order="2" />
155
-      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
156
-      <window_info anchor="bottom" id="Spring" />
157
-      <window_info anchor="bottom" id="Terminal" />
391
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
158 392
       <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24959612" />
159
-      <window_info anchor="right" id="Bean Validation" />
160
-      <window_info id="Web" side_tool="true" />
161
-      <window_info anchor="right" id="Theme Preview" />
162
-      <window_info id="Favorites" side_tool="true" />
393
+      <window_info id="Favorites" order="5" side_tool="true" />
394
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
395
+      <window_info anchor="bottom" id="Java Enterprise" order="8" />
396
+      <window_info anchor="bottom" id="Terminal" order="10" />
397
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
398
+      <window_info anchor="right" id="Palette" order="5" />
399
+      <window_info anchor="right" id="Palette&#9;" order="5" />
400
+      <window_info anchor="right" id="Maven Projects" order="5" />
401
+      <window_info id="Web" order="5" side_tool="true" />
402
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
403
+      <window_info anchor="bottom" id="Spring" order="10" />
404
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
405
+      <window_info id="Image Layers" order="5" />
406
+      <window_info anchor="right" id="Theme Preview" order="5" />
407
+      <window_info anchor="right" id="Database" order="5" />
408
+      <window_info id="Capture Tool" order="5" />
409
+      <window_info anchor="bottom" id="Version Control" order="10" show_stripe_button="false" />
410
+      <window_info anchor="right" id="Capture Analysis" order="5" />
411
+      <window_info anchor="bottom" id="TODO" order="6" />
163 412
       <window_info anchor="bottom" id="Find" order="1" />
164
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
165 413
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
166
-      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
167
-      <window_info anchor="bottom" id="Message" order="0" />
168 414
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
415
+      <window_info id="UI Designer" order="5" />
416
+      <window_info anchor="right" id="Bean Validation" order="5" />
417
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
418
+      <window_info anchor="bottom" id="Messages" order="9" weight="0.3298969" />
419
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
420
+      <window_info id="Designer" order="5" />
169 421
     </layout>
170 422
   </component>
171 423
   <component name="TypeScriptGeneratedFilesManager">
@@ -174,6 +426,199 @@
174 426
   <component name="VcsContentAnnotationSettings">
175 427
     <option name="myLimit" value="2678400000" />
176 428
   </component>
429
+  <component name="editorHistoryManager">
430
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/minerTest.java" />
431
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
432
+      <provider selected="true" editor-type-id="text-editor">
433
+        <state relative-caret-position="405">
434
+          <caret line="27" selection-start-line="27" selection-end-line="27" selection-end-column="12" />
435
+        </state>
436
+      </provider>
437
+    </entry>
438
+    <entry file="file://$PROJECT_DIR$/.idea/ZipCoin-RED.iml" />
439
+    <entry file="file://$PROJECT_DIR$/pom.xml">
440
+      <provider selected="true" editor-type-id="text-editor">
441
+        <state relative-caret-position="270">
442
+          <caret line="18" column="10" lean-forward="true" selection-start-line="18" selection-start-column="10" selection-end-line="18" selection-end-column="10" />
443
+        </state>
444
+      </provider>
445
+    </entry>
446
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
447
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
448
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
449
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
450
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
451
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
452
+    <entry file="file://$PROJECT_DIR$/pom.xml">
453
+      <provider selected="true" editor-type-id="text-editor">
454
+        <state relative-caret-position="90">
455
+          <caret line="6" column="20" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="20" />
456
+        </state>
457
+      </provider>
458
+    </entry>
459
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
460
+    <entry file="file://$PROJECT_DIR$/ZipCoin-RED.iml" />
461
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockControllerTest.java">
462
+      <provider selected="true" editor-type-id="text-editor">
463
+        <state relative-caret-position="30">
464
+          <caret line="2" column="32" selection-start-line="2" selection-start-column="32" selection-end-line="2" selection-end-column="32" />
465
+        </state>
466
+      </provider>
467
+    </entry>
468
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
469
+      <provider selected="true" editor-type-id="text-editor">
470
+        <state relative-caret-position="438">
471
+          <caret line="461" column="19" selection-start-line="461" selection-start-column="19" selection-end-line="461" selection-end-column="19" />
472
+        </state>
473
+      </provider>
474
+    </entry>
475
+    <entry file="file://$PROJECT_DIR$/pom.xml">
476
+      <provider selected="true" editor-type-id="text-editor">
477
+        <state relative-caret-position="60">
478
+          <caret line="4" column="30" selection-start-line="4" selection-start-column="30" selection-end-line="4" selection-end-column="30" />
479
+        </state>
480
+      </provider>
481
+    </entry>
482
+    <entry file="file://$PROJECT_DIR$/src/main/java/Main.java" />
483
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
484
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
485
+    <entry file="file://$PROJECT_DIR$/pom.xml">
486
+      <provider selected="true" editor-type-id="text-editor">
487
+        <state relative-caret-position="165">
488
+          <caret line="11" column="10" lean-forward="true" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
489
+        </state>
490
+      </provider>
491
+    </entry>
492
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/minerTest.java" />
493
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
494
+      <provider selected="true" editor-type-id="text-editor">
495
+        <state relative-caret-position="-4617">
496
+          <caret line="124" column="19" selection-start-line="124" selection-start-column="19" selection-end-line="124" selection-end-column="19" />
497
+        </state>
498
+      </provider>
499
+    </entry>
500
+    <entry file="file://$PROJECT_DIR$/.idea/ZipCoin-RED.iml" />
501
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
502
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
503
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
504
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
505
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
506
+    <entry file="file://$PROJECT_DIR$/src/test/java/mainTest.java" />
507
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
508
+    <entry file="file://$PROJECT_DIR$/README.md" />
509
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db.migration/mine_block.sql" />
510
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db.migration/V2__mine_block.sql" />
511
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Miner/Miner.java" />
512
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java">
513
+      <provider selected="true" editor-type-id="text-editor">
514
+        <state relative-caret-position="449">
515
+          <caret line="78" lean-forward="true" selection-start-line="78" selection-end-line="78" />
516
+        </state>
517
+      </provider>
518
+    </entry>
519
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java" />
520
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
521
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java">
522
+      <provider selected="true" editor-type-id="text-editor">
523
+        <state relative-caret-position="75">
524
+          <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
525
+          <folding>
526
+            <element signature="imports" expanded="true" />
527
+          </folding>
528
+        </state>
529
+      </provider>
530
+    </entry>
531
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/ZipCoinApp.java">
532
+      <provider selected="true" editor-type-id="text-editor">
533
+        <state relative-caret-position="75">
534
+          <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
535
+          <folding>
536
+            <element signature="imports" expanded="true" />
537
+          </folding>
538
+        </state>
539
+      </provider>
540
+    </entry>
541
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db/migration/V2__create_block.sql" />
542
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
543
+      <provider selected="true" editor-type-id="text-editor">
544
+        <state relative-caret-position="60">
545
+          <caret line="4" selection-start-line="4" selection-end-line="4" />
546
+        </state>
547
+      </provider>
548
+    </entry>
549
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/Miner/minerTest.java" />
550
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Miner.java" />
551
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java">
552
+      <provider selected="true" editor-type-id="text-editor">
553
+        <state relative-caret-position="135">
554
+          <caret line="12" column="9" selection-start-line="12" selection-start-column="9" selection-end-line="12" selection-end-column="9" />
555
+          <folding>
556
+            <element signature="imports" expanded="true" />
557
+          </folding>
558
+        </state>
559
+      </provider>
560
+    </entry>
561
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java">
562
+      <provider selected="true" editor-type-id="text-editor">
563
+        <state relative-caret-position="930">
564
+          <caret line="82" column="4" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="4" />
565
+          <folding>
566
+            <element signature="imports" expanded="true" />
567
+          </folding>
568
+        </state>
569
+      </provider>
570
+    </entry>
571
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
572
+      <provider selected="true" editor-type-id="text-editor">
573
+        <state relative-caret-position="105">
574
+          <caret line="7" column="15" selection-start-line="7" selection-start-column="15" selection-end-line="7" selection-end-column="15" />
575
+          <folding>
576
+            <element signature="e#645#646#0" expanded="true" />
577
+            <element signature="e#703#704#0" expanded="true" />
578
+            <element signature="e#863#864#0" expanded="true" />
579
+            <element signature="e#913#914#0" expanded="true" />
580
+            <element signature="e#1032#1033#0" expanded="true" />
581
+            <element signature="e#1080#1081#0" expanded="true" />
582
+          </folding>
583
+        </state>
584
+      </provider>
585
+    </entry>
586
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java">
587
+      <provider selected="true" editor-type-id="text-editor">
588
+        <state relative-caret-position="90">
589
+          <caret line="9" column="5" selection-start-line="9" selection-start-column="5" selection-end-line="9" selection-end-column="5" />
590
+        </state>
591
+      </provider>
592
+    </entry>
593
+    <entry file="file://$PROJECT_DIR$/pom.xml">
594
+      <provider selected="true" editor-type-id="text-editor">
595
+        <state relative-caret-position="135">
596
+          <caret line="9" selection-start-line="9" selection-end-line="9" />
597
+        </state>
598
+      </provider>
599
+    </entry>
600
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
601
+      <provider selected="true" editor-type-id="text-editor">
602
+        <state relative-caret-position="525">
603
+          <caret line="42" selection-start-line="42" selection-end-line="42" />
604
+        </state>
605
+      </provider>
606
+    </entry>
607
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
608
+      <provider selected="true" editor-type-id="text-editor">
609
+        <state relative-caret-position="66">
610
+          <caret line="14" column="13" selection-start-line="14" selection-start-column="13" selection-end-line="14" selection-end-column="13" />
611
+        </state>
612
+      </provider>
613
+    </entry>
614
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
615
+      <provider selected="true" editor-type-id="text-editor">
616
+        <state relative-caret-position="480">
617
+          <caret line="32" selection-start-line="32" selection-end-line="32" />
618
+        </state>
619
+      </provider>
620
+    </entry>
621
+  </component>
177 622
   <component name="masterDetails">
178 623
     <states>
179 624
       <state key="GlobalLibrariesConfigurable.UI">

+ 1
- 1
ZipCoinRedJavaServer/pom.xml Datei anzeigen

@@ -11,7 +11,7 @@
11 11
     <parent>
12 12
         <groupId>org.springframework.boot</groupId>
13 13
         <artifactId>spring-boot-starter-parent</artifactId>
14
-        <version>1.3.1.RELEASE</version>
14
+        <version>1.3.2.RELEASE</version>
15 15
     </parent>
16 16
 
17 17
     <name>zip-coin</name>

+ 23
- 0
ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java Datei anzeigen

@@ -1,5 +1,8 @@
1 1
 package com.zipcoin.config;
2 2
 
3
+import com.zipcoin.model.Wallet;
4
+import com.zipcoin.repository.WalletRepository;
5
+import org.springframework.beans.factory.annotation.Autowired;
3 6
 import org.springframework.boot.ApplicationArguments;
4 7
 import org.springframework.boot.ApplicationRunner;
5 8
 import org.springframework.stereotype.Component;
@@ -7,8 +10,28 @@ import org.springframework.stereotype.Component;
7 10
 @Component
8 11
 public class WalletLoader implements ApplicationRunner {
9 12
 
13
+    private WalletRepository walletRepository;
14
+
15
+    @Autowired
16
+    public WalletLoader(WalletRepository walletRepository)
17
+    {
18
+        this.walletRepository = walletRepository;
19
+    }
10 20
     @Override
11 21
     public void run(ApplicationArguments applicationArguments) throws Exception {
22
+        Wallet[] wallets = new Wallet[]
23
+                {
24
+                        new Wallet("ann","34",80),
25
+                        new Wallet("sen","3564",8)
26
+
27
+
28
+                };
29
+        for(Wallet wallet :wallets)
30
+        {
31
+            this.walletRepository.save(wallet);
32
+        }
33
+
12 34
 
13 35
     }
14 36
 }
37
+

+ 6
- 1
ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java Datei anzeigen

@@ -12,7 +12,6 @@ import java.util.Random;
12 12
 @Entity
13 13
 public class Wallet {
14 14
 
15
-
16 15
     @Id
17 16
     @GeneratedValue(strategy = GenerationType.AUTO)
18 17
     private int id;
@@ -42,6 +41,12 @@ public class Wallet {
42 41
         generateKeyPair();
43 42
 
44 43
     }
44
+    public Wallet(String name,String publickey,double amount)
45
+    {
46
+        this.name=name;
47
+        this.publickey=publickey;
48
+        this.amount=amount;
49
+    }
45 50
 
46 51
     public Double getAmount()
47 52
     {

BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/config/WalletLoader.class Datei anzeigen


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/model/Wallet.class Datei anzeigen