81 Commits

Author SHA1 Message Date
  Khalil Malik Saboor 186d07f0cb Merge branch 'dev' of https://git.zipcode.rocks/shiv-365/ZipCoin-RED into button 6 years ago
  Shivam Patel 8b1e22a5a0 ignore this 6 years ago
  Shivam Patel cf9f0d7b13 maven 6 years ago
  Shivam Patel 2651e115d1 main 6 years ago
  Shivam Patel 0054066738 main 6 years ago
  Eric Foster b891d7d804 transaction list, block list, and removed payment from dropdown 6 years ago
  Eric Foster cb407969c3 fixed spelling of recipient 6 years ago
  Eric Foster 1935abb439 mainjsbuild 6 years ago
  Eric Foster a75a299aad build folder 6 years ago
  Aleena Rose-Mathew ddbad1e6a0 wallet loader 6 years ago
  Aleena Rose-Mathew 2cb2a5d1fe ok 6 years ago
  Aleena Rose-Mathew c5af445008 wallet loader 6 years ago
  Aleena Rose-Mathew 4526155930 Merge branch 'dev' of https://git.zipcode.rocks/shiv-365/ZipCoin-RED into wallet2 6 years ago
  Eric Foster 5e26e88444 rebuilt maven project 6 years ago
  Eric Foster cbe9b2966f merging with transaction list 6 years ago
  Navya Sanal 6f8a41d8a6 conflics 6 years ago
  Eric Foster 2de039e93c asdf 6 years ago
  Eric Foster b83fa2acae Merge branch 'dev' of https://git.zipcode.rocks/shiv-365/ZipCoin-RED into dev 6 years ago
  Eric Foster 55094f943d workspacexml 6 years ago
  Navya Sanal 026721cab6 build files 6 years ago
  Navya Sanal fac06a3d0a wallet server commit 6 years ago
  Arin Turpin 5793360dd7 resolve conflicts 6 years ago
  Arin Turpin 1d55742c5d merging 6 years ago
  Arin Turpin 6ae07502b4 Block stuff 6 years ago
  Arin Turpin be01e8ad70 working2 6 years ago
  Eric Foster 05a33c28a2 asdf 6 years ago
  Arin Turpin da32ea534a working 6 years ago
  Eric Foster 5c3391f9a2 transaction list on front end 6 years ago
  Eric Foster 29f49e3225 changing branches 6 years ago
  Eric Foster 0acd0b0399 fix merge results 6 years ago
  Eric Foster 7730d48da0 asdf 6 years ago
  Eric Foster d5969f6320 added transaction list to front end 6 years ago
  Shivam Patel 3356113acd workspace 6 years ago
  Shivam Patel c21b74173b ok 6 years ago
  Shivam Patel 108935a76b a 6 years ago
  Shivam Patel aed4fa9306 a 6 years ago
  Shivam Patel 4ffb64dcac transaction loader 6 years ago
  Shivam Patel d8d32af705 done tables 6 years ago
  Arin Turpin 37e754843d BlockLoader... 6 years ago
  Arin Turpin 13d9ad2da9 kjd 6 years ago
  Shivam Patel 7fd4e7062d fixed 6 years ago
  Shivam Patel e775066826 javasc 6 years ago
  Shivam Patel 4d2c4232cc shit js 6 years ago
  Eric Foster a48d2c9e8d merge with dev 6 years ago
  Navya Sanal ee93afe452 fixed conflicts 6 years ago
  Navya Sanal 5a5dcf37dd js 6 years ago
  Navya Sanal 24ee864453 js 6 years ago
  Eric Foster 6ba6ba97e2 deleted h2 files 6 years ago
  Navya Sanal 84202ba0f2 ok 6 years ago
  Navya Sanal db90cb5743 a 6 years ago
  Navya Sanal c8434ad762 a 6 years ago
  Eric Foster da722bda1f workspace.xml 6 years ago
  Navya Sanal 313b89a0f4 conflicts 6 years ago
  Navya Sanal d321330b2b committing 6 years ago
  Shivam Patel 8a3bb5fcd3 fix 6 years ago
  Shivam Patel 5ed4c05542 added loaders in config 6 years ago
  Shivam Patel 50bf31edfc work 6 years ago
  Shivam Patel 7bef4817d8 ok 6 years ago
  Shivam Patel 87844b2bc9 conflicts fixed 6 years ago
  Shivam Patel 294de8beff Merge branch 'dev' of https://git.zipcode.rocks/shiv-365/ZipCoin-RED into dev 6 years ago
  Shivam Patel eecead2a48 a 6 years ago
  Shivam Patel 4badc20193 errors 6 years ago
  Eric Foster 219e7c9e3b asdf 6 years ago
  Eric Foster 0bd0636280 Asdf 6 years ago
  Eric Foster 0ea939d2e8 fixed merge conflicts 6 years ago
  Eric Foster 0d895da5fb asdf 6 years ago
  Navya Sanal 617c8dea6a a 6 years ago
  Navya Sanal 9e06a36ed2 commit 6 years ago
  Eric Foster 2e8f3e32ea deleted workspace.fml 6 years ago
  Shivam Patel 4df2480c97 dwgaifk 6 years ago
  Shivam Patel c832639312 wdasbhwelkfab 6 years ago
  Shivam Patel 1731c60f80 fffff 6 years ago
  Shivam Patel cce61b4a49 broken stuff 6 years ago
  Shivam Patel d84357e21d a 6 years ago
  Shivam Patel d53ae9d272 a 6 years ago
  Shivam Patel e99b84a35e test 6 years ago
  Shivam Patel b9e86a6466 errors 6 years ago
  Shivam Patel db9f1a2a10 test mine 6 years ago
  Shivam Patel 180abf7216 stuff 6 years ago
  Shivam Patel 12e5059e18 fixed 6 years ago
  Shivam Patel 59ed920649 uhoh 6 years ago
78 changed files with 19136 additions and 13518 deletions
  1. 0
    13
      .idea/libraries/Maven__com_h2database_h2_1_4_190.xml
  2. 13
    0
      .idea/libraries/Maven__mysql_mysql_connector_java_5_1_38.xml
  3. 0
    13
      .idea/libraries/Maven__org_flywaydb_flyway_core_3_2_1.xml
  4. 308
    116
      .idea/workspace.xml
  5. 1
    1
      ZipCoinRedIonicClient/.sourcemaps/0.js.map
  6. 5
    1
      ZipCoinRedIonicClient/.sourcemaps/main.js.map
  7. 3
    4
      ZipCoinRedIonicClient/ionic.config.json
  8. 3
    0
      ZipCoinRedIonicClient/src/app/app.component.ts
  9. 2
    0
      ZipCoinRedIonicClient/src/app/app.module.ts
  10. 8
    0
      ZipCoinRedIonicClient/src/model/transaction.ts
  11. 0
    1
      ZipCoinRedIonicClient/src/pages/home/home.ts
  12. 23
    1
      ZipCoinRedIonicClient/src/pages/transaction/transaction.html
  13. 21
    0
      ZipCoinRedIonicClient/src/pages/transaction/transaction.ts
  14. 43
    0
      ZipCoinRedIonicClient/src/pages/wallet/wallet.html
  15. 3
    1
      ZipCoinRedIonicClient/src/pages/wallet/wallet.module.ts
  16. 11
    1
      ZipCoinRedIonicClient/src/pages/wallet/wallet.ts
  17. 22
    0
      ZipCoinRedIonicClient/src/providers/transaction-service.ts
  18. 9
    2
      ZipCoinRedIonicClient/www/build/0.js
  19. 1
    1
      ZipCoinRedIonicClient/www/build/0.js.map
  20. 4
    0
      ZipCoinRedIonicClient/www/build/1.js
  21. 5
    1
      ZipCoinRedIonicClient/www/build/2.js
  22. 5
    1
      ZipCoinRedIonicClient/www/build/3.js
  23. 283
    22
      ZipCoinRedIonicClient/www/build/main.js
  24. 5
    1
      ZipCoinRedIonicClient/www/build/main.js.map
  25. 17522
    12643
      ZipCoinRedIonicClient/www/build/vendor.js
  26. 5
    1
      ZipCoinRedIonicClient/www/build/vendor.js.map
  27. 1
    0
      ZipCoinRedJavaServer/.idea/.name
  28. 0
    1
      ZipCoinRedJavaServer/.idea/compiler.xml
  29. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_4.xml
  30. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_6_4.xml
  31. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_6_4.xml
  32. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__com_h2database_h2_1_4_190.xml
  33. 13
    0
      ZipCoinRedJavaServer/.idea/libraries/Maven__mysql_mysql_connector_java_5_1_38.xml
  34. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_8_7.xml
  35. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_flywaydb_flyway_core_3_2_1.xml
  36. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_1_3_1_RELEASE.xml
  37. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_3_1_RELEASE.xml
  38. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_3_1_RELEASE.xml
  39. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_1_3_1_RELEASE.xml
  40. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_1_3_1_RELEASE.xml
  41. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_1_3_1_RELEASE.xml
  42. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_3_1_RELEASE.xml
  43. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_3_1_RELEASE.xml
  44. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_3_1_RELEASE.xml
  45. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_1_3_1_RELEASE.xml
  46. 0
    13
      ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_3_1_RELEASE.xml
  47. 2
    1
      ZipCoinRedJavaServer/.idea/libraries/Spring_4_3_18_RELEASE.xml
  48. 3
    10
      ZipCoinRedJavaServer/.idea/misc.xml
  49. 0
    9
      ZipCoinRedJavaServer/.idea/modules.xml
  50. 0
    124
      ZipCoinRedJavaServer/.idea/uiDesigner.xml
  51. 403
    47
      ZipCoinRedJavaServer/.idea/workspace.xml
  52. 0
    96
      ZipCoinRedJavaServer/ZipCoin-RED.iml
  53. 7
    10
      ZipCoinRedJavaServer/pom.xml
  54. 24
    0
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/ZipCoinApp.java
  55. 42
    0
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/BlockLoader.java
  56. 0
    28
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java
  57. 43
    0
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/TransactionLoader.java
  58. 37
    0
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java
  59. 8
    1
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java
  60. 44
    40
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java
  61. 61
    20
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java
  62. 2
    0
      ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/Miner.java
  63. 3
    25
      ZipCoinRedJavaServer/src/main/resources/application.properties
  64. 0
    8
      ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql
  65. 50
    20
      ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java
  66. 3
    25
      ZipCoinRedJavaServer/target/classes/application.properties
  67. BIN
      ZipCoinRedJavaServer/target/classes/com/boot/config/PersistenceConfiguration.class
  68. BIN
      ZipCoinRedJavaServer/target/classes/com/zipcoin/config/BlockLoader.class
  69. BIN
      ZipCoinRedJavaServer/target/classes/com/zipcoin/config/TransactionLoader.class
  70. BIN
      ZipCoinRedJavaServer/target/classes/com/zipcoin/config/WalletLoader.class
  71. BIN
      ZipCoinRedJavaServer/target/classes/com/zipcoin/controller/WalletController.class
  72. BIN
      ZipCoinRedJavaServer/target/classes/com/zipcoin/model/Transaction.class
  73. BIN
      ZipCoinRedJavaServer/target/classes/com/zipcoin/model/Wallet.class
  74. 0
    8
      ZipCoinRedJavaServer/target/classes/db/migration/V2__create_block.sql
  75. BIN
      ZipCoinRedJavaServer/target/test-classes/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.class
  76. 51
    0
      src/main/java/redCoin/Main.java
  77. 34
    0
      src/test/java/redCoin/testMain.java
  78. BIN
      target/test-classes/redCoin/testMain.class

+ 0
- 13
.idea/libraries/Maven__com_h2database_h2_1_4_190.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: com.h2database:h2:1.4.190">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/com/h2database/h2/1.4.190/h2-1.4.190.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/com/h2database/h2/1.4.190/h2-1.4.190-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/com/h2database/h2/1.4.190/h2-1.4.190-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 13
- 0
.idea/libraries/Maven__mysql_mysql_connector_java_5_1_38.xml View File

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: mysql:mysql-connector-java:5.1.38">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 0
- 13
.idea/libraries/Maven__org_flywaydb_flyway_core_3_2_1.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.flywaydb:flyway-core:3.2.1">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/flywaydb/flyway-core/3.2.1/flyway-core-3.2.1.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/flywaydb/flyway-core/3.2.1/flyway-core-3.2.1-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/flywaydb/flyway-core/3.2.1/flyway-core-3.2.1-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 308
- 116
.idea/workspace.xml View File

@@ -27,11 +27,55 @@
27 27
   </component>
28 28
   <component name="FileEditorManager">
29 29
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
30
-      <file leaf-file-name="TransactionAndWalletTest.java" pinned="false" current-in-tab="true">
31
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
30
+
31
+      <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
32
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
33
+          <provider selected="true" editor-type-id="text-editor">
34
+            <state relative-caret-position="285">
35
+              <caret line="19" column="29" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="29" />
36
+              <folding>
37
+                <element signature="imports" expanded="true" />
38
+                <element signature="e#432#433#0" expanded="true" />
39
+                <element signature="e#472#473#0" expanded="true" />
40
+                <element signature="e#504#505#0" expanded="true" />
41
+                <element signature="e#540#541#0" expanded="true" />
42
+                <element signature="e#572#573#0" expanded="true" />
43
+                <element signature="e#622#623#0" expanded="true" />
44
+                <element signature="e#664#665#0" expanded="true" />
45
+              </folding>
46
+            </state>
47
+          </provider>
48
+        </entry>
49
+      </file>
50
+      <file leaf-file-name="StringUtil.java" pinned="false" current-in-tab="false">
51
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/StringUtil.java">
32 52
           <provider selected="true" editor-type-id="text-editor">
33
-            <state relative-caret-position="91">
34
-              <caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" />
53
+            <state relative-caret-position="525">
54
+              <caret line="35" column="5" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
55
+              <folding>
56
+                <element signature="e#1170#1171#0" expanded="true" />
57
+                <element signature="e#1209#1210#0" expanded="true" />
58
+              </folding>
59
+            </state>
60
+          </provider>
61
+        </entry>
62
+      </file>
63
+
64
+      <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
65
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties">
66
+          <provider selected="true" editor-type-id="text-editor">
67
+            <state relative-caret-position="45">
68
+              <caret line="3" selection-start-line="3" selection-end-line="3" />
69
+            </state>
70
+          </provider>
71
+        </entry>
72
+      </file>
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">
75
+          <provider selected="true" editor-type-id="text-editor">
76
+
77
+            <state relative-caret-position="232">
78
+              <caret line="34" column="27" selection-start-line="34" selection-start-column="27" selection-end-line="34" selection-end-column="27" />
35 79
             </state>
36 80
           </provider>
37 81
         </entry>
@@ -39,17 +83,67 @@
39 83
       <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
40 84
         <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java">
41 85
           <provider selected="true" editor-type-id="text-editor">
42
-            <state relative-caret-position="-483">
43
-              <caret column="1" lean-forward="true" selection-start-column="1" selection-end-column="1" />
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" />
44 88
             </state>
45 89
           </provider>
46 90
         </entry>
47 91
       </file>
48
-      <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
49
-        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
92
+      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
93
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/pom.xml">
94
+          <provider selected="true" editor-type-id="text-editor">
95
+            <state relative-caret-position="465">
96
+              <caret line="31" column="21" selection-start-line="31" selection-start-column="21" selection-end-line="31" selection-end-column="21" />
97
+            </state>
98
+          </provider>
99
+        </entry>
100
+      </file>
101
+      <file leaf-file-name="WalletLoader.java" pinned="false" current-in-tab="false">
102
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java">
103
+          <provider selected="true" editor-type-id="text-editor">
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" />
120
+            </state>
121
+          </provider>
122
+        </entry>
123
+      </file>
124
+      <file leaf-file-name="BlockRepository.java" pinned="false" current-in-tab="false">
125
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/BlockRepository.java">
126
+          <provider selected="true" editor-type-id="text-editor">
127
+            <state relative-caret-position="60">
128
+              <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
129
+            </state>
130
+          </provider>
131
+        </entry>
132
+      </file>
133
+      <file leaf-file-name="TransactionRepository.java" pinned="false" current-in-tab="false">
134
+        <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/TransactionRepository.java">
50 135
           <provider selected="true" editor-type-id="text-editor">
51 136
             <state relative-caret-position="60">
52
-              <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
137
+              <caret line="9" column="17" selection-start-line="9" selection-start-column="17" selection-end-line="9" selection-end-column="17" />
138
+            </state>
139
+          </provider>
140
+        </entry>
141
+      </file>
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">
144
+          <provider selected="true" editor-type-id="text-editor">
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" />
53 147
             </state>
54 148
           </provider>
55 149
         </entry>
@@ -63,6 +157,11 @@
63 157
       </list>
64 158
     </option>
65 159
   </component>
160
+  <component name="FindInProjectRecents">
161
+    <findStrings>
162
+      <find>ddl-</find>
163
+    </findStrings>
164
+  </component>
66 165
   <component name="Git.Settings">
67 166
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
68 167
   </component>
@@ -87,8 +186,19 @@
87 186
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java" />
88 187
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/chain/test/chainTest.java" />
89 188
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/BlockController.java" />
90
-        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java" />
91 189
         <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Chain.java" />
190
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java" />
191
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/StringUtil.java" />
192
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java" />
193
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_wallet.sql" />
194
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V3__create_wallet.sql" />
195
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java" />
196
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
197
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql" />
198
+        <option value="$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties" />
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" />
92 202
       </list>
93 203
     </option>
94 204
   </component>
@@ -107,7 +217,12 @@
107 217
   </component>
108 218
   <component name="MavenProjectNavigator">
109 219
     <treeState>
110
-      <expand />
220
+      <expand>
221
+        <path>
222
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
223
+          <item name="zip-coin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
224
+        </path>
225
+      </expand>
111 226
       <select />
112 227
     </treeState>
113 228
   </component>
@@ -115,20 +230,18 @@
115 230
     <packageJsonPaths />
116 231
   </component>
117 232
   <component name="ProjectFrameBounds">
118
-    <option name="y" value="22" />
119
-    <option name="width" value="1280" />
120
-    <option name="height" value="702" />
121
-  </component>
122
-  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
123
-    <ConfirmationsSetting value="2" id="Add" />
233
+    <option name="y" value="23" />
234
+    <option name="width" value="1426" />
235
+    <option name="height" value="804" />
124 236
   </component>
237
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
125 238
   <component name="ProjectView">
126 239
     <navigator proportions="" version="1">
127 240
       <foldersAlwaysOnTop value="true" />
128 241
     </navigator>
129 242
     <panes>
130
-      <pane id="PackagesPane" />
131
-      <pane id="Scope" />
243
+
244
+      <pane id="AndroidView" />
132 245
       <pane id="ProjectPane">
133 246
         <subPane>
134 247
           <expand>
@@ -139,6 +252,11 @@
139 252
             <path>
140 253
               <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
141 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" />
142 260
               <item name="src" type="462c0819:PsiDirectoryNode" />
143 261
             </path>
144 262
             <path>
@@ -169,43 +287,51 @@
169 287
               <item name="main" type="462c0819:PsiDirectoryNode" />
170 288
               <item name="java" type="462c0819:PsiDirectoryNode" />
171 289
               <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
172
-              <item name="model" type="462c0819:PsiDirectoryNode" />
290
+              <item name="config" type="462c0819:PsiDirectoryNode" />
173 291
             </path>
174 292
             <path>
175 293
               <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
176 294
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
177 295
               <item name="src" type="462c0819:PsiDirectoryNode" />
178
-              <item name="test" 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" />
179 300
             </path>
180 301
             <path>
181 302
               <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
182 303
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
183 304
               <item name="src" type="462c0819:PsiDirectoryNode" />
184
-              <item name="test" type="462c0819:PsiDirectoryNode" />
305
+              <item name="main" type="462c0819:PsiDirectoryNode" />
185 306
               <item name="java" type="462c0819:PsiDirectoryNode" />
307
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
308
+              <item name="model" type="462c0819:PsiDirectoryNode" />
186 309
             </path>
187 310
             <path>
188 311
               <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
189 312
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
190 313
               <item name="src" type="462c0819:PsiDirectoryNode" />
191
-              <item name="test" type="462c0819:PsiDirectoryNode" />
314
+              <item name="main" type="462c0819:PsiDirectoryNode" />
192 315
               <item name="java" type="462c0819:PsiDirectoryNode" />
193
-              <item name="redCoin" type="462c0819:PsiDirectoryNode" />
316
+              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
317
+              <item name="repository" type="462c0819:PsiDirectoryNode" />
194 318
             </path>
195 319
             <path>
196 320
               <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
197 321
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
198 322
               <item name="src" type="462c0819:PsiDirectoryNode" />
199
-              <item name="test" type="462c0819:PsiDirectoryNode" />
200
-              <item name="java" type="462c0819:PsiDirectoryNode" />
201
-              <item name="redCoin" type="462c0819:PsiDirectoryNode" />
202
-              <item name="TransactionAndWallet" type="462c0819:PsiDirectoryNode" />
323
+              <item name="main" type="462c0819:PsiDirectoryNode" />
324
+              <item name="resources" type="462c0819:PsiDirectoryNode" />
203 325
             </path>
204 326
           </expand>
205 327
           <select />
206 328
         </subPane>
207 329
       </pane>
330
+
331
+      <pane id="Scope" />
208 332
       <pane id="AndroidView" />
333
+      <pane id="Scope" />
334
+
209 335
       <pane id="Course" />
210 336
     </panes>
211 337
   </component>
@@ -246,7 +372,7 @@
246 372
       </list>
247 373
     </option>
248 374
   </component>
249
-  <component name="RunManager" selected="Application.TransactionAndWalletTest">
375
+  <component name="RunManager" selected="Application.ZipCoinApp">
250 376
     <configuration name="TransactionAndWalletTest" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
251 377
       <option name="MAIN_CLASS_NAME" value="com.zipcoin.redCoin.TransactionAndWallet.TransactionAndWalletTest" />
252 378
       <module name="ZipCoin-RED" />
@@ -383,8 +509,8 @@
383 509
     </list>
384 510
     <recent_temporary>
385 511
       <list>
386
-        <item itemvalue="Application.TransactionAndWalletTest" />
387 512
         <item itemvalue="Application.ZipCoinApp" />
513
+        <item itemvalue="Application.TransactionAndWalletTest" />
388 514
         <item itemvalue="JUnit.java in ZipCoin-RED" />
389 515
         <item itemvalue="JUnit.minerTest" />
390 516
         <item itemvalue="JUnit.testMain.test" />
@@ -408,6 +534,11 @@
408 534
       <workItem from="1531837614306" duration="20000" />
409 535
       <workItem from="1532024920972" duration="1933000" />
410 536
       <workItem from="1532095197895" duration="1931000" />
537
+
538
+      <workItem from="1532460873998" duration="385000" />
539
+      <workItem from="1532523890378" duration="1028000" />
540
+      <workItem from="1532528099328" duration="14938000" />
541
+      <workItem from="1532701223355" duration="2106000" />
411 542
     </task>
412 543
     <servers />
413 544
   </component>
@@ -441,54 +572,58 @@
441 572
     </history-entry>
442 573
   </component>
443 574
   <component name="TimeTrackingManager">
444
-    <option name="totallyTimeSpent" value="18185000" />
575
+
576
+    <option name="totallyTimeSpent" value="40895000" />
445 577
   </component>
446 578
   <component name="ToolWindowManager">
447
-    <frame x="0" y="22" width="1280" height="702" extended-state="6" />
579
+    <frame x="0" y="23" width="1426" height="804" extended-state="0" />
448 580
     <editor active="true" />
449 581
     <layout>
450 582
       <window_info anchor="right" id="Palette" order="3" />
451
-      <window_info anchor="bottom" id="TODO" order="6" />
452
-      <window_info anchor="bottom" id="Messages" order="9" weight="0.3298969" />
453
-      <window_info anchor="right" id="Palette&#9;" order="3" />
454
-      <window_info id="Image Layers" order="2" />
455
-      <window_info anchor="right" id="Capture Analysis" order="3" />
456 583
       <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
457 584
       <window_info anchor="right" id="Maven Projects" order="3" weight="0.32956383" />
458
-      <window_info anchor="bottom" id="Run" order="2" weight="0.0" />
459
-      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
460
-      <window_info anchor="bottom" id="Terminal" order="7" visible="true" weight="0.009917355" />
585
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
461 586
       <window_info id="Capture Tool" order="2" />
462 587
       <window_info id="Designer" order="2" />
463
-      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.27705976" />
464
-      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
588
+      <window_info anchor="right" id="Database" order="3" />
589
+
590
+      <window_info id="Structure" order="1" sideWeight="0.17450981" side_tool="true" visible="true" weight="0.2550578" />
465 591
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
466 592
       <window_info id="UI Designer" order="2" />
593
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.39886847" />
594
+      <window_info anchor="bottom" id="TODO" order="6" />
595
+      <window_info anchor="bottom" id="Messages" order="9" weight="0.3289256" />
596
+      <window_info anchor="right" id="Palette&#9;" order="3" />
597
+      <window_info id="Image Layers" order="2" />
598
+      <window_info anchor="bottom" id="Java Enterprise" order="8" />
599
+      <window_info anchor="right" id="Capture Analysis" order="3" />
600
+
601
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
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" />
604
+      <window_info anchor="bottom" id="Spring" order="9" weight="0.32956153" />
605
+      <window_info anchor="bottom" id="Terminal" order="7" visible="true" weight="0.27864215" />
606
+      <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.8254902" visible="true" weight="0.2550578" />
607
+      <window_info anchor="right" id="Bean Validation" order="4" />
608
+      <window_info id="Web" order="4" side_tool="true" />
467 609
       <window_info anchor="right" id="Theme Preview" order="3" />
468
-      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
469 610
       <window_info id="Favorites" order="2" side_tool="true" />
470
-      <window_info anchor="bottom" id="Spring" order="9" />
471 611
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
472 612
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
473 613
       <window_info anchor="bottom" id="Message" order="0" />
474
-      <window_info anchor="bottom" id="Find" order="1" weight="0.32954547" />
475 614
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
476
-      <window_info id="Web" order="4" side_tool="true" />
615
+
477 616
       <window_info id="Learn" order="5" />
478
-      <window_info anchor="right" id="Bean Validation" order="4" />
479
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
480 617
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
481
-      <window_info anchor="bottom" id="Java Enterprise" order="8" />
482
-      <window_info anchor="right" id="Database" order="3" />
618
+      <window_info anchor="bottom" id="Find" order="1" weight="0.32954547" />
483 619
     </layout>
484 620
     <layout-to-restore>
485 621
       <window_info anchor="right" id="Palette" order="3" />
486
-      <window_info anchor="bottom" id="Message" order="0" />
622
+
487 623
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
488 624
       <window_info anchor="right" id="Capture Analysis" order="4" />
489 625
       <window_info anchor="bottom" id="Run" order="2" />
490 626
       <window_info anchor="right" id="Theme Preview" order="5" />
491
-      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
492 627
       <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2358643" />
493 628
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
494 629
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
@@ -497,16 +632,16 @@
497 632
       <window_info id="Image Layers" order="2" />
498 633
       <window_info id="Designer" order="3" />
499 634
       <window_info id="UI Designer" order="4" />
500
-      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
635
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
501 636
       <window_info anchor="right" id="Database" order="6" />
502 637
       <window_info anchor="right" id="Palette&#9;" order="7" />
503 638
       <window_info anchor="bottom" id="Terminal" order="8" sideWeight="0.49919224" weight="0.65384614" />
504 639
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
505
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
640
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
506 641
       <window_info anchor="bottom" id="Version Control" order="10" />
507 642
       <window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50080776" side_tool="true" weight="0.30936456" />
508 643
       <window_info id="Capture Tool" order="5" />
509
-      <window_info anchor="bottom" id="Find" order="1" />
644
+      <window_info anchor="bottom" id="Message" order="0" />
510 645
       <window_info anchor="bottom" id="Messages" order="11" weight="0.32674298" />
511 646
       <window_info anchor="right" id="Maven Projects" order="8" weight="0.32956383" />
512 647
       <window_info id="Favorites" order="6" side_tool="true" />
@@ -524,28 +659,6 @@
524 659
     </breakpoint-manager>
525 660
   </component>
526 661
   <component name="editorHistoryManager">
527
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockControllerTest.java" />
528
-    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
529
-      <provider selected="true" editor-type-id="text-editor">
530
-        <state relative-caret-position="438">
531
-          <caret line="461" column="19" selection-start-line="461" selection-start-column="19" selection-end-line="461" selection-end-column="19" />
532
-        </state>
533
-      </provider>
534
-    </entry>
535
-    <entry file="file://$PROJECT_DIR$/pom.xml" />
536
-    <entry file="file://$PROJECT_DIR$/src/main/java/Main.java" />
537
-    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
538
-    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
539
-    <entry file="file://$PROJECT_DIR$/pom.xml" />
540
-    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/minerTest.java" />
541
-    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
542
-      <provider selected="true" editor-type-id="text-editor">
543
-        <state relative-caret-position="-4617">
544
-          <caret line="124" column="19" selection-start-line="124" selection-start-column="19" selection-end-line="124" selection-end-column="19" />
545
-        </state>
546
-      </provider>
547
-    </entry>
548
-    <entry file="file://$PROJECT_DIR$/.idea/ZipCoin-RED.iml" />
549 662
     <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
550 663
     <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
551 664
     <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
@@ -579,100 +692,179 @@
579 692
       </provider>
580 693
     </entry>
581 694
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Miner.java" />
582
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/BlockRepository.java">
695
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/chain/test/chainTest.java">
583 696
       <provider selected="true" editor-type-id="text-editor">
584
-        <state relative-caret-position="92">
585
-          <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
697
+        <state relative-caret-position="90">
698
+          <caret line="6" column="22" selection-start-line="6" selection-start-column="22" selection-end-line="6" selection-end-column="22" />
586 699
         </state>
587 700
       </provider>
588 701
     </entry>
589
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java">
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">
590 703
       <provider selected="true" editor-type-id="text-editor">
591
-        <state relative-caret-position="138">
592
-          <caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
704
+        <state>
705
+          <caret line="692" selection-start-line="692" selection-end-line="692" />
593 706
         </state>
594 707
       </provider>
595 708
     </entry>
596
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/chain/test/chainTest.java">
709
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java">
597 710
       <provider selected="true" editor-type-id="text-editor">
598
-        <state relative-caret-position="90">
599
-          <caret line="6" column="22" selection-start-line="6" selection-start-column="22" selection-end-line="6" selection-end-column="22" />
711
+        <state relative-caret-position="308">
712
+          <caret line="32" column="5" selection-start-line="32" selection-start-column="5" selection-end-line="32" selection-end-column="5" />
713
+        </state>
714
+      </provider>
715
+    </entry>
716
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Chain.java">
717
+      <provider selected="true" editor-type-id="text-editor">
718
+        <state relative-caret-position="60">
719
+          <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
720
+        </state>
721
+      </provider>
722
+    </entry>
723
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Block.java">
724
+      <provider selected="true" editor-type-id="text-editor">
725
+        <state relative-caret-position="75">
726
+          <caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
727
+        </state>
728
+      </provider>
729
+    </entry>
730
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/HomeController.java">
731
+      <provider selected="true" editor-type-id="text-editor">
732
+        <state relative-caret-position="60">
733
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
600 734
         </state>
601 735
       </provider>
602 736
     </entry>
603 737
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/BlockController.java">
604 738
       <provider selected="true" editor-type-id="text-editor">
605
-        <state relative-caret-position="690">
739
+        <state relative-caret-position="412">
606 740
           <caret line="53" lean-forward="true" selection-start-line="53" selection-end-line="53" />
607 741
         </state>
608 742
       </provider>
609 743
     </entry>
744
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/TransactionController.java">
745
+      <provider selected="true" editor-type-id="text-editor">
746
+        <state relative-caret-position="105">
747
+          <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
748
+        </state>
749
+      </provider>
750
+    </entry>
751
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java">
752
+      <provider selected="true" editor-type-id="text-editor">
753
+        <state relative-caret-position="60">
754
+          <caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
755
+        </state>
756
+      </provider>
757
+    </entry>
758
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V3__create_wallet.sql" />
610 759
     <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/ZipCoinApp.java">
611 760
       <provider selected="true" editor-type-id="text-editor">
612
-        <state relative-caret-position="32">
761
+        <state relative-caret-position="120">
613 762
           <caret line="9" selection-start-line="9" selection-end-line="9" />
614 763
         </state>
615 764
       </provider>
616 765
     </entry>
617
-    <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">
766
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql" />
767
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
618 768
       <provider selected="true" editor-type-id="text-editor">
619
-        <state>
620
-          <caret line="692" selection-start-line="692" selection-end-line="692" />
769
+        <state relative-caret-position="105">
770
+          <caret line="7" column="48" selection-start-line="7" selection-start-column="48" selection-end-line="7" selection-end-column="48" />
621 771
         </state>
622 772
       </provider>
623 773
     </entry>
624
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/pom.xml">
625
-      <provider selected="true" editor-type-id="text-editor" />
774
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/StringUtil.java">
775
+      <provider selected="true" editor-type-id="text-editor">
776
+        <state relative-caret-position="525">
777
+          <caret line="35" column="5" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
778
+        </state>
779
+      </provider>
626 780
     </entry>
627
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties">
781
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/Miner.java">
628 782
       <provider selected="true" editor-type-id="text-editor">
629
-        <state relative-caret-position="240">
630
-          <caret line="16" column="28" lean-forward="true" selection-start-line="16" selection-start-column="28" selection-end-line="16" selection-end-column="28" />
783
+        <state relative-caret-position="225">
784
+          <caret line="15" column="29" selection-start-line="15" selection-start-column="29" selection-end-line="15" selection-end-column="29" />
631 785
         </state>
632 786
       </provider>
633 787
     </entry>
634
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Chain.java">
788
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/WalletRepository.java">
635 789
       <provider selected="true" editor-type-id="text-editor">
636
-        <state relative-caret-position="315">
637
-          <caret line="21" column="5" selection-start-line="21" selection-start-column="5" selection-end-line="21" selection-end-column="5" />
790
+        <state relative-caret-position="150">
791
+          <caret line="15" column="27" selection-start-line="15" selection-start-column="27" selection-end-line="15" selection-end-column="27" />
638 792
         </state>
639 793
       </provider>
640 794
     </entry>
641
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
795
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/TransactionRepository.java">
642 796
       <provider selected="true" editor-type-id="text-editor">
643 797
         <state relative-caret-position="60">
644
-          <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
798
+          <caret line="9" column="17" selection-start-line="9" selection-start-column="17" selection-end-line="9" selection-end-column="17" />
645 799
         </state>
646 800
       </provider>
647 801
     </entry>
648
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql">
649
-      <provider selected="true" editor-type-id="text-editor" />
802
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/repository/BlockRepository.java">
803
+      <provider selected="true" editor-type-id="text-editor">
804
+        <state relative-caret-position="60">
805
+          <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
806
+        </state>
807
+      </provider>
650 808
     </entry>
651
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java">
809
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java">
652 810
       <provider selected="true" editor-type-id="text-editor">
653
-        <state relative-caret-position="308">
654
-          <caret line="32" column="5" selection-start-line="32" selection-start-column="5" selection-end-line="32" selection-end-column="5" />
811
+
812
+        <state relative-caret-position="232">
813
+          <caret line="34" column="27" selection-start-line="34" selection-start-column="27" selection-end-line="34" selection-end-column="27" />
655 814
         </state>
656 815
       </provider>
657 816
     </entry>
658
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Block.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">
659 819
       <provider selected="true" editor-type-id="text-editor">
660
-        <state relative-caret-position="75">
661
-          <caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
820
+
821
+        <state relative-caret-position="285">
822
+          <caret line="19" column="29" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="29" />
823
+          <folding>
824
+            <element signature="imports" expanded="true" />
825
+            <element signature="e#432#433#0" expanded="true" />
826
+            <element signature="e#472#473#0" expanded="true" />
827
+            <element signature="e#504#505#0" expanded="true" />
828
+            <element signature="e#540#541#0" expanded="true" />
829
+            <element signature="e#572#573#0" expanded="true" />
830
+            <element signature="e#622#623#0" expanded="true" />
831
+            <element signature="e#664#665#0" expanded="true" />
832
+          </folding>
833
+
662 834
         </state>
663 835
       </provider>
664 836
     </entry>
665
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java">
837
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/resources/application.properties">
666 838
       <provider selected="true" editor-type-id="text-editor">
667
-        <state relative-caret-position="-483">
668
-          <caret column="1" lean-forward="true" selection-start-column="1" selection-end-column="1" />
839
+
840
+        <state relative-caret-position="270">
841
+          <caret line="18" column="23" selection-start-line="18" selection-start-column="23" selection-end-line="18" selection-end-column="23" />
669 842
         </state>
670 843
       </provider>
671 844
     </entry>
672
-    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
845
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java">
846
+      <provider selected="true" editor-type-id="text-editor">
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" />
849
+        </state>
850
+      </provider>
851
+    </entry>
852
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java">
673 853
       <provider selected="true" editor-type-id="text-editor">
674
-        <state relative-caret-position="91">
675
-          <caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" />
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>
861
+        </state>
862
+      </provider>
863
+    </entry>
864
+    <entry file="file://$PROJECT_DIR$/ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java">
865
+      <provider selected="true" editor-type-id="text-editor">
866
+        <state relative-caret-position="60">
867
+          <caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" />
676 868
         </state>
677 869
       </provider>
678 870
     </entry>
@@ -764,4 +956,4 @@
764 956
       </state>
765 957
     </states>
766 958
   </component>
767
-</project>
959
+</project>

+ 1
- 1
ZipCoinRedIonicClient/.sourcemaps/0.js.map View File

@@ -1 +1 @@
1
-{"version":3,"sources":["../../src/pages/wallet/wallet.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACV;AAUtC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,2DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,2DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { WalletPage } from './wallet';\n\n@NgModule({\n  declarations: [\n    WalletPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(WalletPage),\n  ],\n})\nexport class WalletPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/wallet/wallet.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/wallet/wallet.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACV;AACmC;AAWzE;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAT5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,2DAAU;aACX;YACD,OAAO,EAAE;gBACP,0FAAkB;gBAClB,sEAAe,CAAC,QAAQ,CAAC,2DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { WalletPage } from './wallet';\nimport { TransactionService } from '../../providers/transaction-service';\n\n@NgModule({\n  declarations: [\n    WalletPage,\n  ],\n  imports: [\n    TransactionService,\n    IonicPageModule.forChild(WalletPage),\n  ]\n})\nexport class WalletPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/wallet/wallet.module.ts"],"sourceRoot":""}

+ 5
- 1
ZipCoinRedIonicClient/.sourcemaps/main.js.map
File diff suppressed because it is too large
View File


+ 3
- 4
ZipCoinRedIonicClient/ionic.config.json View File

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

+ 3
- 0
ZipCoinRedIonicClient/src/app/app.component.ts View File

@@ -2,7 +2,10 @@ import { Component } from '@angular/core';
2 2
 import { Platform } from 'ionic-angular';
3 3
 import { StatusBar } from '@ionic-native/status-bar';
4 4
 import { SplashScreen } from '@ionic-native/splash-screen';
5
+<<<<<<< HEAD
5 6
 import { HomePage } from '../pages/home/home';
7
+=======
8
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
6 9
 import { TabsPage } from '../pages/tabs/tabs';
7 10
 @Component({
8 11
   templateUrl: 'app.html'

+ 2
- 0
ZipCoinRedIonicClient/src/app/app.module.ts View File

@@ -12,6 +12,7 @@ import { WalletPage } from '../pages/wallet/wallet';
12 12
 import { TransactionPage } from '../pages/transaction/transaction';
13 13
 import { TabsPage } from '../pages/tabs/tabs';
14 14
 import { Tab4Page } from '../pages/tab4/tab4';
15
+import { TransactionService } from '../providers/transaction-service';
15 16
 
16 17
 @NgModule({
17 18
   declarations: [
@@ -40,6 +41,7 @@ import { Tab4Page } from '../pages/tab4/tab4';
40 41
     StatusBar,
41 42
     SplashScreen,
42 43
     BlockService,
44
+    TransactionService,
43 45
     {provide: ErrorHandler, useClass: IonicErrorHandler}
44 46
   ]
45 47
 })

+ 8
- 0
ZipCoinRedIonicClient/src/model/transaction.ts View File

@@ -0,0 +1,8 @@
1
+export class Transaction{
2
+    constructor(
3
+        public transactionId : string,
4
+        public sender : string,
5
+        public recipient : string,
6
+        public value : number,
7
+    ){}
8
+ }

+ 0
- 1
ZipCoinRedIonicClient/src/pages/home/home.ts View File

@@ -1,7 +1,6 @@
1 1
 import { Component } from '@angular/core';
2 2
 import { NavController } from 'ionic-angular';
3 3
 import { BlockService } from '../../providers/block-service';
4
-import { WalletPage } from '../wallet/wallet';
5 4
 @Component({
6 5
   selector: 'page-home',
7 6
   templateUrl: 'home.html'

+ 23
- 1
ZipCoinRedIonicClient/src/pages/transaction/transaction.html View File

@@ -6,6 +6,7 @@
6 6
 
7 7
 </ion-header>
8 8
 <ion-content padding>
9
+<<<<<<< HEAD
9 10
   <ion-list>
10 11
       <ion-item-sliding *ngFor="let block of blocks">
11 12
         <ion-item>
@@ -17,4 +18,25 @@
17 18
         </ion-item>
18 19
       </ion-item-sliding>
19 20
     </ion-list>
20
-</ion-content>
21
+</ion-content>
22
+=======
23
+
24
+    <ion-list>
25
+        <ion-item-sliding *ngFor="let transaction of transactions">
26
+          <ion-item>
27
+            <ion-card>
28
+                <ion-card-header>
29
+                  Transaction #: {{transaction.transactionId}}
30
+                </ion-card-header>
31
+                <ion-card-content>
32
+                  <div>Sender: {{ transaction.sender }}</div>
33
+                  <div>Recipient: {{ transaction.recipient }}</div>
34
+                  <div>Amount: {{ transaction.amount }}</div>
35
+                </ion-card-content>
36
+            </ion-card>
37
+          </ion-item>
38
+        </ion-item-sliding>
39
+      </ion-list>
40
+
41
+</ion-content>
42
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254

+ 21
- 0
ZipCoinRedIonicClient/src/pages/transaction/transaction.ts View File

@@ -1,7 +1,11 @@
1 1
 import { Component } from '@angular/core';
2 2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+<<<<<<< HEAD
3 4
 import { BlockService } from '../../providers/block-service';
4 5
 
6
+=======
7
+import { TransactionService } from '../../providers/transaction-service';
8
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
5 9
 
6 10
 /**
7 11
  * Generated class for the TransactionPage page.
@@ -19,15 +23,24 @@ export class TransactionPage {
19 23
   private block : any = {};
20 24
   private blocks : Array<any>;
21 25
 
26
+<<<<<<< HEAD
22 27
   constructor(public navCtrl: NavController, public navParams: NavParams, public blockService: BlockService) {
23 28
     this.getMinedBlock('block');
24 29
   
30
+=======
31
+  private transactions : Array<any>;
32
+
33
+  constructor(public navCtrl: NavController, public navParams: NavParams,
34
+  public transactionService: TransactionService){
35
+    this.getAllTransactions();
36
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
25 37
   }
26 38
 
27 39
   ionViewDidLoad() {
28 40
     console.log('ionViewDidLoad TransactionPage');
29 41
   }
30 42
 
43
+<<<<<<< HEAD
31 44
   getBlock(id) {
32 45
     this.blockService.getBlock(id).subscribe(block => {
33 46
       this.block = block;
@@ -40,4 +53,12 @@ export class TransactionPage {
40 53
   })
41 54
   }
42 55
 
56
+=======
57
+  getAllTransactions() {
58
+    this.transactionService.getAllTransactions().subscribe(transactions => {
59
+      this.transactions = transactions;
60
+    })
61
+  }
62
+
63
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
43 64
 }

+ 43
- 0
ZipCoinRedIonicClient/src/pages/wallet/wallet.html View File

@@ -15,4 +15,47 @@
15 15
 
16 16
 <ion-content padding>
17 17
 
18
+
19
+  
20
+  <ion-item>
21
+      <ion-label>Name</ion-label>
22
+      <ion-select [(ngModel)]="name">
23
+        <ion-option value="ann">Ann</ion-option>
24
+        <ion-option value="sen">Sen</ion-option>
25
+      </ion-select>
26
+     </ion-item>
27
+     <ion-item>
28
+        <ion-label>current balance</ion-label>
29
+        <ion-input></ion-input>
30
+      </ion-item>
31
+      <ion-item>
32
+          <ion-label>Public Key</ion-label>
33
+          <ion-input></ion-input>
34
+        </ion-item>
35
+      <br>
36
+      <br>
37
+      <div class = "bar bar-subheader bar-assertive">
38
+          <h2 class = "title">Payment</h2>
39
+       </div>
40
+       <!-- <ion-item>
41
+          <ion-label>From</ion-label>
42
+          <ion-select [(ngModel)]="name">
43
+            <ion-option value="ann">Ann</ion-option>
44
+            <ion-option value="sen">Sen</ion-option>
45
+          </ion-select>
46
+         </ion-item> -->
47
+         <ion-item>
48
+            <ion-label>To</ion-label>
49
+            <ion-select [(ngModel)]="to">
50
+              <ion-option value="ann">Ann</ion-option>
51
+              <ion-option value="sen">Sen</ion-option>
52
+            </ion-select>
53
+           </ion-item>
54
+      
55
+          <ion-item>
56
+              <ion-label>Amount</ion-label>
57
+              <ion-input></ion-input>
58
+            </ion-item>
59
+            <br>
60
+            <button ion-button>Pay</button>
18 61
 </ion-content>

+ 3
- 1
ZipCoinRedIonicClient/src/pages/wallet/wallet.module.ts View File

@@ -1,13 +1,15 @@
1 1
 import { NgModule } from '@angular/core';
2 2
 import { IonicPageModule } from 'ionic-angular';
3 3
 import { WalletPage } from './wallet';
4
+import { TransactionService } from '../../providers/transaction-service';
4 5
 
5 6
 @NgModule({
6 7
   declarations: [
7 8
     WalletPage,
8 9
   ],
9 10
   imports: [
11
+    TransactionService,
10 12
     IonicPageModule.forChild(WalletPage),
11
-  ],
13
+  ]
12 14
 })
13 15
 export class WalletPageModule {}

+ 11
- 1
ZipCoinRedIonicClient/src/pages/wallet/wallet.ts View File

@@ -1,5 +1,8 @@
1 1
 import { Component } from '@angular/core';
2 2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+import { TransactionService } from '../../providers/transaction-service';
4
+import { Transaction } from '../../model/transaction';
5
+import { FormGroup } from '@angular/forms';
3 6
 
4 7
 /**
5 8
  * Generated class for the WalletPage page.
@@ -15,11 +18,18 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
15 18
 })
16 19
 export class WalletPage {
17 20
 
18
-  constructor(public navCtrl: NavController, public navParams: NavParams) {
21
+  transactionForm : FormGroup;
22
+  transaction : Transaction;
23
+
24
+  constructor(public navCtrl: NavController, public navParams: NavParams, public transactionService: TransactionService) {
19 25
   }
20 26
 
21 27
   ionViewDidLoad() {
22 28
     console.log('ionViewDidLoad WalletPage');
23 29
   }
24 30
 
31
+  createTransaction(){
32
+    this.transactionService.createTransaction(this.transaction);
33
+  }
34
+
25 35
 }

+ 22
- 0
ZipCoinRedIonicClient/src/providers/transaction-service.ts View File

@@ -0,0 +1,22 @@
1
+import { Injectable } from "@angular/core";
2
+import { HttpClient } from "@angular/common/http";
3
+import { Observable } from "rxjs/Observable";
4
+import { Transaction } from "../model/transaction";
5
+
6
+@Injectable()
7
+export class TransactionService{
8
+ public API = 'http://localhost:8080/api/v1';
9
+ public TRANSACTION_API = this.API + '/transactions';
10
+ 
11
+ constructor(public http: HttpClient) {
12
+ }
13
+
14
+ createTransaction(transaction: Transaction) : Observable<Transaction> {
15
+     return this.http.post<Transaction>(this.TRANSACTION_API, transaction);
16
+ }
17
+
18
+ getAllTransactions() : Observable<any> {
19
+    return this.http.get(this.TRANSACTION_API)
20
+  }
21
+
22
+}

+ 9
- 2
ZipCoinRedIonicClient/www/build/0.js View File

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([0],{
2 2
 
3
-/***/ 282:
3
+/***/ 283:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,12 @@ 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
+<<<<<<< HEAD
11 12
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(102);
13
+=======
14
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(104);
15
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__ = __webpack_require__(50);
16
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
12 17
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 18
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 19
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -18,6 +23,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18 23
 
19 24
 
20 25
 
26
+
21 27
 var WalletPageModule = /** @class */ (function () {
22 28
     function WalletPageModule() {
23 29
     }
@@ -27,8 +33,9 @@ var WalletPageModule = /** @class */ (function () {
27 33
                 __WEBPACK_IMPORTED_MODULE_2__wallet__["a" /* WalletPage */],
28 34
             ],
29 35
             imports: [
36
+                __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__["a" /* TransactionService */],
30 37
                 __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__wallet__["a" /* WalletPage */]),
31
-            ],
38
+            ]
32 39
         })
33 40
     ], WalletPageModule);
34 41
     return WalletPageModule;

+ 1
- 1
ZipCoinRedIonicClient/www/build/0.js.map View File

@@ -1 +1 @@
1
-{"version":3,"sources":["../../src/pages/wallet/wallet.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACV;AAUtC;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAR5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,2DAAU;aACX;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,2DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { WalletPage } from './wallet';\n\n@NgModule({\n  declarations: [\n    WalletPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(WalletPage),\n  ],\n})\nexport class WalletPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/wallet/wallet.module.ts"],"sourceRoot":""}
1
+{"version":3,"sources":["../../src/pages/wallet/wallet.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACV;AACmC;AAWzE;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAT5B,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,2DAAU;aACX;YACD,OAAO,EAAE;gBACP,0FAAkB;gBAClB,sEAAe,CAAC,QAAQ,CAAC,2DAAU,CAAC;aACrC;SACF,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAA;AAAH","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { WalletPage } from './wallet';\nimport { TransactionService } from '../../providers/transaction-service';\n\n@NgModule({\n  declarations: [\n    WalletPage,\n  ],\n  imports: [\n    TransactionService,\n    IonicPageModule.forChild(WalletPage),\n  ]\n})\nexport class WalletPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/wallet/wallet.module.ts"],"sourceRoot":""}

+ 4
- 0
ZipCoinRedIonicClient/www/build/1.js View File

@@ -8,7 +8,11 @@ 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
+<<<<<<< HEAD
11 12
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__transaction__ = __webpack_require__(103);
13
+=======
14
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__transaction__ = __webpack_require__(102);
15
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
12 16
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 17
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 18
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 5
- 1
ZipCoinRedIonicClient/www/build/2.js View File

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([2],{
2 2
 
3
-/***/ 280:
3
+/***/ 282:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,11 @@ 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
+<<<<<<< HEAD
11 12
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tabs__ = __webpack_require__(101);
13
+=======
14
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tabs__ = __webpack_require__(103);
15
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
12 16
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 17
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 18
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 5
- 1
ZipCoinRedIonicClient/www/build/3.js View File

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([3],{
2 2
 
3
-/***/ 279:
3
+/***/ 280:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
@@ -8,7 +8,11 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tab4PageModule", function() { return Tab4PageModule; });
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
+<<<<<<< HEAD
11 12
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tab4__ = __webpack_require__(100);
13
+=======
14
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tab4__ = __webpack_require__(101);
15
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
12 16
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 17
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 18
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 283
- 22
ZipCoinRedIonicClient/www/build/main.js View File

@@ -1,10 +1,11 @@
1 1
 webpackJsonp([4],{
2 2
 
3
-/***/ 100:
3
+/***/ 101:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
7 7
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tab4Page; });
8
+<<<<<<< HEAD
8 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9 10
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
10 11
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
@@ -94,6 +95,8 @@ var TabsPage = /** @class */ (function () {
94 95
 
95 96
 "use strict";
96 97
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
98
+=======
99
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
97 100
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
98 101
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
99 102
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
@@ -108,40 +111,48 @@ var __metadata = (this && this.__metadata) || function (k, v) {
108 111
 
109 112
 
110 113
 /**
111
- * Generated class for the WalletPage page.
114
+ * Generated class for the Tab4Page page.
112 115
  *
113 116
  * See https://ionicframework.com/docs/components/#navigation for more info on
114 117
  * Ionic pages and navigation.
115 118
  */
116
-var WalletPage = /** @class */ (function () {
117
-    function WalletPage(navCtrl, navParams) {
119
+var Tab4Page = /** @class */ (function () {
120
+    function Tab4Page(navCtrl, navParams) {
118 121
         this.navCtrl = navCtrl;
119 122
         this.navParams = navParams;
120 123
     }
121
-    WalletPage.prototype.ionViewDidLoad = function () {
122
-        console.log('ionViewDidLoad WalletPage');
124
+    Tab4Page.prototype.ionViewDidLoad = function () {
125
+        console.log('ionViewDidLoad Tab4Page');
123 126
     };
124
-    WalletPage = __decorate([
127
+    Tab4Page = __decorate([
125 128
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
126
-            selector: 'page-wallet',template:/*ion-inline-start:"/Users/khalils/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</ion-content>\n'/*ion-inline-end:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
129
+            selector: 'page-tab4',template:/*ion-inline-start:"/Users/shivamp/labs/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/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
127 130
         }),
128 131
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
129
-    ], WalletPage);
130
-    return WalletPage;
132
+    ], Tab4Page);
133
+    return Tab4Page;
131 134
 }());
132 135
 
133
-//# sourceMappingURL=wallet.js.map
136
+//# sourceMappingURL=tab4.js.map
134 137
 
135 138
 /***/ }),
136 139
 
140
+<<<<<<< HEAD
137 141
 /***/ 103:
142
+=======
143
+/***/ 102:
144
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
138 145
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
139 146
 
140 147
 "use strict";
141 148
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
142 149
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
143 150
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
151
+<<<<<<< HEAD
144 152
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(77);
153
+=======
154
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
155
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
145 156
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
146 157
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
147 158
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -161,16 +172,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
161 172
  * Ionic pages and navigation.
162 173
  */
163 174
 var TransactionPage = /** @class */ (function () {
175
+<<<<<<< HEAD
164 176
     function TransactionPage(navCtrl, navParams, blockService) {
165 177
         this.navCtrl = navCtrl;
166 178
         this.navParams = navParams;
167 179
         this.blockService = blockService;
168 180
         this.block = {};
169 181
         this.getMinedBlock('block');
182
+=======
183
+    function TransactionPage(navCtrl, navParams, transactionService) {
184
+        this.navCtrl = navCtrl;
185
+        this.navParams = navParams;
186
+        this.transactionService = transactionService;
187
+        this.getAllTransactions;
188
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
170 189
     }
171 190
     TransactionPage.prototype.ionViewDidLoad = function () {
172 191
         console.log('ionViewDidLoad TransactionPage');
173 192
     };
193
+<<<<<<< HEAD
174 194
     TransactionPage.prototype.getBlock = function (id) {
175 195
         var _this = this;
176 196
         this.blockService.getBlock(id).subscribe(function (block) {
@@ -181,13 +201,26 @@ var TransactionPage = /** @class */ (function () {
181 201
         var _this = this;
182 202
         this.blockService.getMinedBlock(id).subscribe(function (minedBlock) {
183 203
             _this.block = minedBlock;
204
+=======
205
+    TransactionPage.prototype.getAllTransactions = function () {
206
+        var _this = this;
207
+        this.transactionService.getAllTransactions().subscribe(function (transactions) {
208
+            _this.transactions = transactions;
209
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
184 210
         });
185 211
     };
186 212
     TransactionPage = __decorate([
187 213
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
214
+<<<<<<< HEAD
188 215
             selector: 'page-transaction',template:/*ion-inline-start:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n<ion-content padding>\n  <ion-list>\n      <ion-item-sliding *ngFor="let block of blocks">\n        <ion-item>\n          <ion-card>\n              <ion-card-content>\n                <div>Data: {{ block.transactionList }}</div>\n              </ion-card-content>\n          </ion-card>\n        </ion-item>\n      </ion-item-sliding>\n    </ion-list>\n</ion-content>'/*ion-inline-end:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
189 216
         }),
190 217
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
218
+=======
219
+            selector: 'page-transaction',template:/*ion-inline-start:"/Users/shivamp/labs/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: {{ transaction.recipient }}</div>\n                  <div>Amount: {{ transaction.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/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
220
+        }),
221
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
222
+            __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
223
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
191 224
     ], TransactionPage);
192 225
     return TransactionPage;
193 226
 }());
@@ -196,7 +229,106 @@ var TransactionPage = /** @class */ (function () {
196 229
 
197 230
 /***/ }),
198 231
 
232
+<<<<<<< HEAD
199 233
 /***/ 115:
234
+=======
235
+/***/ 103:
236
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
237
+
238
+"use strict";
239
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
240
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
241
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(159);
242
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(104);
243
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(102);
244
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(101);
245
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
246
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
247
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
248
+    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;
249
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
250
+};
251
+var __metadata = (this && this.__metadata) || function (k, v) {
252
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
253
+};
254
+
255
+
256
+
257
+
258
+
259
+var TabsPage = /** @class */ (function () {
260
+    function TabsPage() {
261
+        this.homePage = __WEBPACK_IMPORTED_MODULE_1__home_home__["a" /* HomePage */];
262
+        this.walletPage = __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__["a" /* WalletPage */];
263
+        this.transactionPage = __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__["a" /* TransactionPage */];
264
+        this.tab4 = __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__["a" /* Tab4Page */];
265
+    }
266
+    TabsPage = __decorate([
267
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
268
+            selector: 'page-tabs',template:/*ion-inline-start:"/Users/shivamp/labs/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/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/,
269
+        }),
270
+        __metadata("design:paramtypes", [])
271
+    ], TabsPage);
272
+    return TabsPage;
273
+}());
274
+
275
+//# sourceMappingURL=tabs.js.map
276
+
277
+/***/ }),
278
+
279
+/***/ 104:
280
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
281
+
282
+"use strict";
283
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
284
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
285
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
286
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
287
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
288
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
289
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
290
+    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;
291
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
292
+};
293
+var __metadata = (this && this.__metadata) || function (k, v) {
294
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
295
+};
296
+
297
+
298
+
299
+/**
300
+ * Generated class for the WalletPage page.
301
+ *
302
+ * See https://ionicframework.com/docs/components/#navigation for more info on
303
+ * Ionic pages and navigation.
304
+ */
305
+var WalletPage = /** @class */ (function () {
306
+    function WalletPage(navCtrl, navParams, transactionService) {
307
+        this.navCtrl = navCtrl;
308
+        this.navParams = navParams;
309
+        this.transactionService = transactionService;
310
+    }
311
+    WalletPage.prototype.ionViewDidLoad = function () {
312
+        console.log('ionViewDidLoad WalletPage');
313
+    };
314
+    WalletPage.prototype.createTransaction = function () {
315
+        this.transactionService.createTransaction(this.transaction);
316
+    };
317
+    WalletPage = __decorate([
318
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
319
+            selector: 'page-wallet',template:/*ion-inline-start:"/Users/shivamp/labs/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/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
320
+        }),
321
+        __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 */]])
322
+    ], WalletPage);
323
+    return WalletPage;
324
+}());
325
+
326
+//# sourceMappingURL=wallet.js.map
327
+
328
+/***/ }),
329
+
330
+/***/ 116:
331
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
200 332
 /***/ (function(module, exports) {
201 333
 
202 334
 function webpackEmptyAsyncContext(req) {
@@ -209,20 +341,28 @@ function webpackEmptyAsyncContext(req) {
209 341
 webpackEmptyAsyncContext.keys = function() { return []; };
210 342
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
211 343
 module.exports = webpackEmptyAsyncContext;
344
+<<<<<<< HEAD
212 345
 webpackEmptyAsyncContext.id = 115;
213 346
 
214 347
 /***/ }),
215 348
 
216 349
 /***/ 157:
350
+=======
351
+webpackEmptyAsyncContext.id = 116;
352
+
353
+/***/ }),
354
+
355
+/***/ 158:
356
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
217 357
 /***/ (function(module, exports, __webpack_require__) {
218 358
 
219 359
 var map = {
220 360
 	"../pages/tab4/tab4.module": [
221
-		279,
361
+		280,
222 362
 		3
223 363
 	],
224 364
 	"../pages/tabs/tabs.module": [
225
-		280,
365
+		282,
226 366
 		2
227 367
 	],
228 368
 	"../pages/transaction/transaction.module": [
@@ -230,7 +370,7 @@ var map = {
230 370
 		1
231 371
 	],
232 372
 	"../pages/wallet/wallet.module": [
233
-		282,
373
+		283,
234 374
 		0
235 375
 	]
236 376
 };
@@ -245,19 +385,31 @@ function webpackAsyncContext(req) {
245 385
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
246 386
 	return Object.keys(map);
247 387
 };
388
+<<<<<<< HEAD
248 389
 webpackAsyncContext.id = 157;
390
+=======
391
+webpackAsyncContext.id = 158;
392
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
249 393
 module.exports = webpackAsyncContext;
250 394
 
251 395
 /***/ }),
252 396
 
397
+<<<<<<< HEAD
253 398
 /***/ 158:
399
+=======
400
+/***/ 159:
401
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
254 402
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
255 403
 
256 404
 "use strict";
257 405
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
258 406
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
259 407
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
408
+<<<<<<< HEAD
260 409
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(77);
410
+=======
411
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(160);
412
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
261 413
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
262 414
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
263 415
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -297,7 +449,7 @@ var HomePage = /** @class */ (function () {
297 449
     };
298 450
     HomePage = __decorate([
299 451
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
300
-            selector: 'page-home',template:/*ion-inline-start:"/Users/khalils/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/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
452
+            selector: 'page-home',template:/*ion-inline-start:"/Users/shivamp/labs/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/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
301 453
         }),
302 454
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
303 455
     ], HomePage);
@@ -314,13 +466,61 @@ var HomePage = /** @class */ (function () {
314 466
 
315 467
 /***/ }),
316 468
 
469
+<<<<<<< HEAD
317 470
 /***/ 203:
471
+=======
472
+/***/ 160:
473
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
474
+
475
+"use strict";
476
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockService; });
477
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
478
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
479
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
480
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
481
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
482
+    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;
483
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
484
+};
485
+var __metadata = (this && this.__metadata) || function (k, v) {
486
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
487
+};
488
+
489
+
490
+var BlockService = /** @class */ (function () {
491
+    function BlockService(http) {
492
+        this.http = http;
493
+        this.API = 'http://localhost:8080/api/v1';
494
+        this.BLOCK_API = this.API + '/blocks';
495
+    }
496
+    BlockService.prototype.getBlock = function (id) {
497
+        return this.http.get(this.BLOCK_API + '/' + id);
498
+    };
499
+    BlockService.prototype.getMinedBlock = function (id) {
500
+        return this.http.get(this.BLOCK_API + '/' + id + '/' + 'mine');
501
+    };
502
+    BlockService.prototype.getAllBlocks = function () {
503
+        return this.http.get(this.BLOCK_API);
504
+    };
505
+    BlockService = __decorate([
506
+        Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
507
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
508
+    ], BlockService);
509
+    return BlockService;
510
+}());
511
+
512
+//# sourceMappingURL=block-service.js.map
513
+
514
+/***/ }),
515
+
516
+/***/ 204:
517
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
318 518
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
319 519
 
320 520
 "use strict";
321 521
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
322
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(204);
323
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(224);
522
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(205);
523
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(225);
324 524
 
325 525
 
326 526
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
@@ -328,7 +528,7 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
328 528
 
329 529
 /***/ }),
330 530
 
331
-/***/ 224:
531
+/***/ 225:
332 532
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
333 533
 
334 534
 "use strict";
@@ -336,6 +536,7 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
336 536
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
337 537
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
338 538
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(28);
539
+<<<<<<< HEAD
339 540
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
340 541
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(202);
341 542
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(278);
@@ -346,6 +547,19 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
346 547
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(103);
347 548
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(101);
348 549
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(100);
550
+=======
551
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
552
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(203);
553
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(279);
554
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(78);
555
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(160);
556
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(159);
557
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(104);
558
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(102);
559
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(103);
560
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(101);
561
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__ = __webpack_require__(50);
562
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
349 563
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
350 564
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
351 565
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -365,6 +579,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
365 579
 
366 580
 
367 581
 
582
+<<<<<<< HEAD
583
+=======
584
+
585
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
368 586
 var AppModule = /** @class */ (function () {
369 587
     function AppModule() {
370 588
     }
@@ -384,8 +602,8 @@ var AppModule = /** @class */ (function () {
384 602
                 __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */], {}, {
385 603
                     links: [
386 604
                         { loadChildren: '../pages/tab4/tab4.module#Tab4PageModule', name: 'Tab4Page', segment: 'tab4', priority: 'low', defaultHistory: [] },
387
-                        { loadChildren: '../pages/tabs/tabs.module#TabsPageModule', name: 'TabsPage', segment: 'tabs', priority: 'low', defaultHistory: [] },
388 605
                         { loadChildren: '../pages/transaction/transaction.module#TransactionPageModule', name: 'TransactionPage', segment: 'transaction', priority: 'low', defaultHistory: [] },
606
+                        { loadChildren: '../pages/tabs/tabs.module#TabsPageModule', name: 'TabsPage', segment: 'tabs', priority: 'low', defaultHistory: [] },
389 607
                         { loadChildren: '../pages/wallet/wallet.module#WalletPageModule', name: 'WalletPage', segment: 'wallet', priority: 'low', defaultHistory: [] }
390 608
                     ]
391 609
                 })
@@ -403,6 +621,10 @@ var AppModule = /** @class */ (function () {
403 621
                 __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */],
404 622
                 __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */],
405 623
                 __WEBPACK_IMPORTED_MODULE_7__providers_block_service__["a" /* BlockService */],
624
+<<<<<<< HEAD
625
+=======
626
+                __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__["a" /* TransactionService */],
627
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
406 628
                 { provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] }
407 629
             ]
408 630
         })
@@ -414,16 +636,22 @@ var AppModule = /** @class */ (function () {
414 636
 
415 637
 /***/ }),
416 638
 
417
-/***/ 278:
639
+/***/ 279:
418 640
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
419 641
 
420 642
 "use strict";
421 643
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
422 644
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
423 645
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
646
+<<<<<<< HEAD
424 647
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
425 648
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
426 649
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(101);
650
+=======
651
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(203);
652
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
653
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(103);
654
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
427 655
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
428 656
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
429 657
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -449,7 +677,7 @@ var MyApp = /** @class */ (function () {
449 677
         });
450 678
     }
451 679
     MyApp = __decorate([
452
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
680
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/shivamp/labs/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
453 681
         }),
454 682
         __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 */]])
455 683
     ], MyApp);
@@ -460,6 +688,7 @@ var MyApp = /** @class */ (function () {
460 688
 
461 689
 /***/ }),
462 690
 
691
+<<<<<<< HEAD
463 692
 /***/ 77:
464 693
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
465 694
 
@@ -467,6 +696,15 @@ var MyApp = /** @class */ (function () {
467 696
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockService; });
468 697
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(159);
469 698
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
699
+=======
700
+/***/ 50:
701
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
702
+
703
+"use strict";
704
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionService; });
705
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
706
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(78);
707
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
470 708
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
471 709
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
472 710
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -478,6 +716,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
478 716
 };
479 717
 
480 718
 
719
+<<<<<<< HEAD
481 720
 var BlockService = /** @class */ (function () {
482 721
     function BlockService(http) {
483 722
         this.http = http;
@@ -501,8 +740,30 @@ var BlockService = /** @class */ (function () {
501 740
 }());
502 741
 
503 742
 //# sourceMappingURL=block-service.js.map
743
+=======
744
+var TransactionService = /** @class */ (function () {
745
+    function TransactionService(http) {
746
+        this.http = http;
747
+        this.API = 'http://localhost:8080/api/v1';
748
+        this.TRANSACTION_API = this.API + '/transactions';
749
+    }
750
+    TransactionService.prototype.createTransaction = function (transaction) {
751
+        return this.http.post(this.TRANSACTION_API, transaction);
752
+    };
753
+    TransactionService.prototype.getAllTransactions = function () {
754
+        return this.http.get(this.TRANSACTION_API);
755
+    };
756
+    TransactionService = __decorate([
757
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
758
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
759
+    ], TransactionService);
760
+    return TransactionService;
761
+}());
762
+
763
+//# sourceMappingURL=transaction-service.js.map
764
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
504 765
 
505 766
 /***/ })
506 767
 
507
-},[203]);
768
+},[204]);
508 769
 //# sourceMappingURL=main.js.map

+ 5
- 1
ZipCoinRedIonicClient/www/build/main.js.map
File diff suppressed because it is too large
View File


+ 17522
- 12643
ZipCoinRedIonicClient/www/build/vendor.js
File diff suppressed because it is too large
View File


+ 5
- 1
ZipCoinRedIonicClient/www/build/vendor.js.map
File diff suppressed because it is too large
View File


+ 1
- 0
ZipCoinRedJavaServer/.idea/.name View File

@@ -0,0 +1 @@
1
+ZipCoin-RED

+ 0
- 1
ZipCoinRedJavaServer/.idea/compiler.xml View File

@@ -6,7 +6,6 @@
6 6
         <sourceOutputDir name="target/generated-sources/annotations" />
7 7
         <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8 8
         <outputRelativeToContentRoot value="true" />
9
-        <module name="ZipCoin-RED" />
10 9
       </profile>
11 10
     </annotationProcessing>
12 11
     <bytecodeTargetLevel>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_4.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.6.4">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_6_4.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: com.fasterxml.jackson.core:jackson-core:2.6.4">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_6_4.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.6.4">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__com_h2database_h2_1_4_190.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: com.h2database:h2:1.4.190">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/com/h2database/h2/1.4.190/h2-1.4.190.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/com/h2database/h2/1.4.190/h2-1.4.190-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/com/h2database/h2/1.4.190/h2-1.4.190-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 13
- 0
ZipCoinRedJavaServer/.idea/libraries/Maven__mysql_mysql_connector_java_5_1_38.xml View File

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: mysql:mysql-connector-java:5.1.38">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_8_7.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.aspectj:aspectjweaver:1.8.7">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.7/aspectjweaver-1.8.7.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.7/aspectjweaver-1.8.7-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.7/aspectjweaver-1.8.7-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_flywaydb_flyway_core_3_2_1.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.flywaydb:flyway-core:3.2.1">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/flywaydb/flyway-core/3.2.1/flyway-core-3.2.1.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/flywaydb/flyway-core/3.2.1/flyway-core-3.2.1-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/flywaydb/flyway-core/3.2.1/flyway-core-3.2.1-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.3.1.RELEASE/spring-boot-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.3.1.RELEASE/spring-boot-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.3.1.RELEASE/spring-boot-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.3.1.RELEASE/spring-boot-autoconfigure-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.3.1.RELEASE/spring-boot-autoconfigure-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.3.1.RELEASE/spring-boot-autoconfigure-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.3.1.RELEASE/spring-boot-starter-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.3.1.RELEASE/spring-boot-starter-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.3.1.RELEASE/spring-boot-starter-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-aop:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-aop/1.3.1.RELEASE/spring-boot-starter-aop-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-aop/1.3.1.RELEASE/spring-boot-starter-aop-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-aop/1.3.1.RELEASE/spring-boot-starter-aop-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-data-jpa:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-data-jpa/1.3.1.RELEASE/spring-boot-starter-data-jpa-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-data-jpa/1.3.1.RELEASE/spring-boot-starter-data-jpa-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-data-jpa/1.3.1.RELEASE/spring-boot-starter-data-jpa-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.3.1.RELEASE/spring-boot-starter-jdbc-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.3.1.RELEASE/spring-boot-starter-jdbc-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.3.1.RELEASE/spring-boot-starter-jdbc-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-logging:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.3.1.RELEASE/spring-boot-starter-logging-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.3.1.RELEASE/spring-boot-starter-logging-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.3.1.RELEASE/spring-boot-starter-logging-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-test:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/1.3.1.RELEASE/spring-boot-starter-test-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/1.3.1.RELEASE/spring-boot-starter-test-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/1.3.1.RELEASE/spring-boot-starter-test-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-tomcat/1.3.1.RELEASE/spring-boot-starter-tomcat-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-tomcat/1.3.1.RELEASE/spring-boot-starter-tomcat-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-tomcat/1.3.1.RELEASE/spring-boot-starter-tomcat-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-validation:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-validation/1.3.1.RELEASE/spring-boot-starter-validation-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-validation/1.3.1.RELEASE/spring-boot-starter-validation-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-validation/1.3.1.RELEASE/spring-boot-starter-validation-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 0
- 13
ZipCoinRedJavaServer/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_3_1_RELEASE.xml View File

@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
-  <library name="Maven: org.springframework.boot:spring-boot-starter-web:1.3.1.RELEASE">
3
-    <CLASSES>
4
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/1.3.1.RELEASE/spring-boot-starter-web-1.3.1.RELEASE.jar!/" />
5
-    </CLASSES>
6
-    <JAVADOC>
7
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/1.3.1.RELEASE/spring-boot-starter-web-1.3.1.RELEASE-javadoc.jar!/" />
8
-    </JAVADOC>
9
-    <SOURCES>
10
-      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/1.3.1.RELEASE/spring-boot-starter-web-1.3.1.RELEASE-sources.jar!/" />
11
-    </SOURCES>
12
-  </library>
13
-</component>

+ 2
- 1
ZipCoinRedJavaServer/.idea/libraries/Spring_4_3_18_RELEASE.xml View File

@@ -1,5 +1,6 @@
1 1
 <component name="libraryTable">
2
-  <library name="Spring-4.3.18.RELEASE">
2
+  <library name="Spring-4.3.18.RELEASE" type="spring">
3
+    <properties version="4.3.18.RELEASE" />
3 4
     <CLASSES>
4 5
       <root url="jar://$PROJECT_DIR$/lib/spring-aspects-4.3.18.RELEASE.jar!/" />
5 6
       <root url="jar://$PROJECT_DIR$/lib/spring-context-support-4.3.18.RELEASE.jar!/" />

+ 3
- 10
ZipCoinRedJavaServer/.idea/misc.xml View File

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

+ 0
- 9
ZipCoinRedJavaServer/.idea/modules.xml View File

@@ -1,9 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-<component name="ProjectModuleManager">
4
-    <modules>
5
-        <module fileurl="file://$PROJECT_DIR$/ZipCoin-RED.iml" filepath="$PROJECT_DIR$/ZipCoin-RED.iml" />
6
-
7
-    </modules>
8
-</component>
9
-</project>

+ 0
- 124
ZipCoinRedJavaServer/.idea/uiDesigner.xml View File

@@ -1,124 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="Palette2">
4
-    <group name="Swing">
5
-      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
6
-        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
7
-      </item>
8
-      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
9
-        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
10
-      </item>
11
-      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
12
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
13
-      </item>
14
-      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
15
-        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
16
-      </item>
17
-      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
18
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
19
-        <initial-values>
20
-          <property name="text" value="Button" />
21
-        </initial-values>
22
-      </item>
23
-      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
24
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
25
-        <initial-values>
26
-          <property name="text" value="RadioButton" />
27
-        </initial-values>
28
-      </item>
29
-      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
30
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
31
-        <initial-values>
32
-          <property name="text" value="CheckBox" />
33
-        </initial-values>
34
-      </item>
35
-      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
36
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
37
-        <initial-values>
38
-          <property name="text" value="Label" />
39
-        </initial-values>
40
-      </item>
41
-      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
42
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
43
-          <preferred-size width="150" height="-1" />
44
-        </default-constraints>
45
-      </item>
46
-      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
47
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
48
-          <preferred-size width="150" height="-1" />
49
-        </default-constraints>
50
-      </item>
51
-      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
52
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
53
-          <preferred-size width="150" height="-1" />
54
-        </default-constraints>
55
-      </item>
56
-      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
57
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
58
-          <preferred-size width="150" height="50" />
59
-        </default-constraints>
60
-      </item>
61
-      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
62
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
63
-          <preferred-size width="150" height="50" />
64
-        </default-constraints>
65
-      </item>
66
-      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
67
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
68
-          <preferred-size width="150" height="50" />
69
-        </default-constraints>
70
-      </item>
71
-      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
72
-        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
73
-      </item>
74
-      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
75
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
76
-          <preferred-size width="150" height="50" />
77
-        </default-constraints>
78
-      </item>
79
-      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
80
-        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
81
-          <preferred-size width="150" height="50" />
82
-        </default-constraints>
83
-      </item>
84
-      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
85
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
86
-          <preferred-size width="150" height="50" />
87
-        </default-constraints>
88
-      </item>
89
-      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
90
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
91
-          <preferred-size width="200" height="200" />
92
-        </default-constraints>
93
-      </item>
94
-      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
95
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
96
-          <preferred-size width="200" height="200" />
97
-        </default-constraints>
98
-      </item>
99
-      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
100
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
101
-      </item>
102
-      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
103
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
104
-      </item>
105
-      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
106
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
107
-      </item>
108
-      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
109
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
110
-      </item>
111
-      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
112
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
113
-          <preferred-size width="-1" height="20" />
114
-        </default-constraints>
115
-      </item>
116
-      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
117
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
118
-      </item>
119
-      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
120
-        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
121
-      </item>
122
-    </group>
123
-  </component>
124
-</project>

+ 403
- 47
ZipCoinRedJavaServer/.idea/workspace.xml View File

@@ -1,6 +1,7 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4
+<<<<<<< HEAD
4 5
     <list default="true" id="f54e258d-da71-464b-8271-7897ae55d27f" name="Default" comment="">
5 6
       <change beforePath="$PROJECT_DIR$/../ZipCoinRedIonicClient/.sourcemaps/main.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/../ZipCoinRedIonicClient/.sourcemaps/main.js.map" afterDir="false" />
6 7
       <change beforePath="$PROJECT_DIR$/../ZipCoinRedIonicClient/src/app/app.component.ts" beforeDir="false" afterPath="$PROJECT_DIR$/../ZipCoinRedIonicClient/src/app/app.component.ts" afterDir="false" />
@@ -19,6 +20,9 @@
19 20
       <change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
20 21
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
21 22
     </list>
23
+=======
24
+    <list default="true" id="56c18b2c-8142-4688-b878-d487ac8e7cdb" name="Default" comment="" />
25
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
22 26
     <ignored path="$PROJECT_DIR$/target/" />
23 27
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
24 28
     <option name="SHOW_DIALOG" value="false" />
@@ -68,6 +72,7 @@
68 72
   </component>
69 73
   <component name="FileEditorManager">
70 74
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
75
+<<<<<<< HEAD
71 76
       <file pinned="false" current-in-tab="true">
72 77
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
73 78
           <provider selected="true" editor-type-id="text-editor">
@@ -76,10 +81,18 @@
76 81
               <folding>
77 82
                 <element signature="imports" expanded="true" />
78 83
               </folding>
84
+=======
85
+      <file leaf-file-name="BlockLoader.java" pinned="false" current-in-tab="false">
86
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/BlockLoader.java">
87
+          <provider selected="true" editor-type-id="text-editor">
88
+            <state relative-caret-position="75">
89
+              <caret line="10" column="17" selection-start-line="10" selection-start-column="17" selection-end-line="10" selection-end-column="17" />
90
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
79 91
             </state>
80 92
           </provider>
81 93
         </entry>
82 94
       </file>
95
+<<<<<<< HEAD
83 96
       <file pinned="false" current-in-tab="false">
84 97
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Chain.java">
85 98
           <provider selected="true" editor-type-id="text-editor">
@@ -106,28 +119,52 @@
106 119
           <provider selected="true" editor-type-id="text-editor">
107 120
             <state relative-caret-position="161">
108 121
               <caret line="12" column="36" selection-start-line="12" selection-start-column="36" selection-end-line="12" selection-end-column="36" />
122
+=======
123
+      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="false">
124
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
125
+          <provider selected="true" editor-type-id="text-editor">
126
+            <state relative-caret-position="105">
127
+              <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
128
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
109 129
             </state>
110 130
           </provider>
111 131
         </entry>
112 132
       </file>
133
+<<<<<<< HEAD
113 134
       <file pinned="false" current-in-tab="false">
114 135
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
115 136
           <provider selected="true" editor-type-id="text-editor">
116 137
             <state relative-caret-position="138">
117 138
               <caret line="11" column="46" selection-start-line="11" selection-start-column="46" selection-end-line="11" selection-end-column="46" />
139
+=======
140
+      <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
141
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
142
+          <provider selected="true" editor-type-id="text-editor">
143
+            <state relative-caret-position="130">
144
+              <caret line="13" column="20" selection-start-line="13" selection-start-column="20" selection-end-line="13" selection-end-column="20" />
145
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
118 146
             </state>
119 147
           </provider>
120 148
         </entry>
121 149
       </file>
150
+<<<<<<< HEAD
122 151
       <file pinned="false" current-in-tab="false">
123 152
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java">
124 153
           <provider selected="true" editor-type-id="text-editor">
125 154
             <state relative-caret-position="138">
126 155
               <caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
156
+=======
157
+      <file leaf-file-name="Chain.java" pinned="false" current-in-tab="false">
158
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Chain.java">
159
+          <provider selected="true" editor-type-id="text-editor">
160
+            <state relative-caret-position="150">
161
+              <caret line="10" selection-start-line="10" selection-end-line="10" />
162
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
127 163
             </state>
128 164
           </provider>
129 165
         </entry>
130 166
       </file>
167
+<<<<<<< HEAD
131 168
       <file pinned="false" current-in-tab="false">
132 169
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/ZipCoinApp.java">
133 170
           <provider selected="true" editor-type-id="text-editor">
@@ -136,56 +173,58 @@
136 173
               <folding>
137 174
                 <element signature="imports" expanded="true" />
138 175
               </folding>
176
+=======
177
+      <file leaf-file-name="workspace.xml" pinned="false" current-in-tab="false">
178
+        <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
179
+          <provider selected="true" editor-type-id="text-editor">
180
+            <state relative-caret-position="990">
181
+              <caret line="66" column="20" selection-start-line="66" selection-start-column="20" selection-end-line="66" selection-end-column="20" />
182
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
139 183
             </state>
140 184
           </provider>
141 185
         </entry>
142 186
       </file>
187
+<<<<<<< HEAD
143 188
       <file pinned="false" current-in-tab="false">
144 189
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/utilities/Miner.java">
145 190
           <provider selected="true" editor-type-id="text-editor">
146 191
             <state relative-caret-position="92">
147 192
               <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
193
+=======
194
+      <file leaf-file-name="TransactionLoader.java" pinned="false" current-in-tab="false">
195
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/TransactionLoader.java">
196
+          <provider selected="true" editor-type-id="text-editor">
197
+            <state relative-caret-position="75">
198
+              <caret line="10" column="13" selection-start-line="10" selection-start-column="13" selection-end-line="10" selection-end-column="13" />
199
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
148 200
             </state>
149 201
           </provider>
150 202
         </entry>
151 203
       </file>
204
+<<<<<<< HEAD
152 205
       <file pinned="false" current-in-tab="false">
153 206
         <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
154 207
           <provider selected="true" editor-type-id="text-editor">
155 208
             <state relative-caret-position="276">
156 209
               <caret line="12" column="9" selection-start-line="12" selection-start-column="9" selection-end-line="12" selection-end-column="9" />
210
+=======
211
+      <file leaf-file-name="WalletLoader.java" pinned="false" current-in-tab="true">
212
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
213
+          <provider selected="true" editor-type-id="text-editor">
214
+            <state relative-caret-position="284">
215
+              <caret line="34" column="5" selection-start-line="34" selection-start-column="5" selection-end-line="34" selection-end-column="5" />
216
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
157 217
             </state>
158 218
           </provider>
159 219
         </entry>
160 220
       </file>
161 221
     </leaf>
162 222
   </component>
163
-  <component name="FileTemplateManagerImpl">
164
-    <option name="RECENT_TEMPLATES">
165
-      <list>
166
-        <option value="Class" />
167
-      </list>
168
-    </option>
169
-  </component>
170
-  <component name="Git.Settings">
171
-    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
172
-  </component>
173 223
   <component name="IdeDocumentHistory">
174 224
     <option name="CHANGED_PATHS">
175 225
       <list>
176
-        <option value="$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
177
-        <option value="$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
178
-        <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/minerTest/minerTest.java" />
179
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfig.java" />
180
-        <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java" />
181
-        <option value="$PROJECT_DIR$/src/main/resources/db.migration/V2__create_block.sql" />
182
-        <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java" />
183
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java" />
184
-        <option value="$PROJECT_DIR$/src/main/resources/application.properties" />
185
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
186
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controllers/BlockController.java" />
187
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java" />
188 226
         <option value="$PROJECT_DIR$/pom.xml" />
227
+<<<<<<< HEAD
189 228
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Miner.java" />
190 229
         <option value="$PROJECT_DIR$/src/test/java/redCoin/Miner/minerTest.java" />
191 230
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/utilities/Wallet.java" />
@@ -197,6 +236,9 @@
197 236
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/repository/WalletRepository.java" />
198 237
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java" />
199 238
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java" />
239
+=======
240
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java" />
241
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
200 242
       </list>
201 243
     </option>
202 244
   </component>
@@ -215,7 +257,17 @@
215 257
   </component>
216 258
   <component name="MavenProjectNavigator">
217 259
     <treeState>
218
-      <expand />
260
+      <expand>
261
+        <path>
262
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
263
+          <item name="zip-coin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
264
+        </path>
265
+        <path>
266
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
267
+          <item name="zip-coin" type="9519ce18:MavenProjectsStructure$ProjectNode" />
268
+          <item name="Lifecycle" type="58874e2:MavenProjectsStructure$LifecycleNode" />
269
+        </path>
270
+      </expand>
219 271
       <select />
220 272
     </treeState>
221 273
   </component>
@@ -223,42 +275,50 @@
223 275
     <option name="width" value="1280" />
224 276
     <option name="height" value="800" />
225 277
   </component>
226
-  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
278
+  <component name="ProjectFrameBounds">
279
+    <option name="y" value="23" />
280
+    <option name="width" value="1280" />
281
+    <option name="height" value="713" />
282
+  </component>
227 283
   <component name="ProjectView">
228 284
     <navigator proportions="" version="1">
229 285
       <foldersAlwaysOnTop value="true" />
230 286
     </navigator>
231 287
     <panes>
288
+<<<<<<< HEAD
232 289
       <pane id="AndroidView" />
233 290
       <pane id="Scope" />
234 291
       <pane id="Course" />
292
+=======
293
+      <pane id="PackagesPane" />
294
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
235 295
       <pane id="ProjectPane">
236 296
         <subPane>
237 297
           <expand>
238 298
             <path>
239
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
299
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
240 300
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
241 301
             </path>
242 302
             <path>
243
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
303
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
244 304
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
245 305
               <item name="src" type="462c0819:PsiDirectoryNode" />
246 306
             </path>
247 307
             <path>
248
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
308
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
249 309
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
250 310
               <item name="src" type="462c0819:PsiDirectoryNode" />
251 311
               <item name="main" type="462c0819:PsiDirectoryNode" />
252 312
             </path>
253 313
             <path>
254
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
314
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
255 315
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
256 316
               <item name="src" type="462c0819:PsiDirectoryNode" />
257 317
               <item name="main" type="462c0819:PsiDirectoryNode" />
258 318
               <item name="java" type="462c0819:PsiDirectoryNode" />
259 319
             </path>
260 320
             <path>
261
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
321
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
262 322
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
263 323
               <item name="src" type="462c0819:PsiDirectoryNode" />
264 324
               <item name="main" type="462c0819:PsiDirectoryNode" />
@@ -266,7 +326,7 @@
266 326
               <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
267 327
             </path>
268 328
             <path>
269
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
329
+              <item name="ZipCoin-RED" type="b2602c69:ProjectViewProjectNode" />
270 330
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
271 331
               <item name="src" type="462c0819:PsiDirectoryNode" />
272 332
               <item name="main" type="462c0819:PsiDirectoryNode" />
@@ -274,6 +334,7 @@
274 334
               <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
275 335
               <item name="config" type="462c0819:PsiDirectoryNode" />
276 336
             </path>
337
+<<<<<<< HEAD
277 338
             <path>
278 339
               <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
279 340
               <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
@@ -325,11 +386,18 @@
325 386
               <item name="resources" type="462c0819:PsiDirectoryNode" />
326 387
               <item name="migration" type="462c0819:PsiDirectoryNode" />
327 388
             </path>
389
+=======
390
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
328 391
           </expand>
329 392
           <select />
330 393
         </subPane>
331 394
       </pane>
395
+<<<<<<< HEAD
332 396
       <pane id="PackagesPane" />
397
+=======
398
+      <pane id="AndroidView" />
399
+      <pane id="Scope" />
400
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
333 401
     </panes>
334 402
   </component>
335 403
   <component name="PropertiesComponent">
@@ -341,14 +409,18 @@
341 409
     <property name="RequestMappingsPanelWidth2" value="75" />
342 410
     <property name="WebServerToolWindowFactoryState" value="false" />
343 411
     <property name="aspect.path.notification.shown" value="true" />
412
+<<<<<<< HEAD
344 413
     <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1533240696915" />
345 414
     <property name="jdk.selected.JAVA_MODULE" value="1.8" />
346 415
     <property name="last_opened_file_path" value="$PROJECT_DIR$" />
416
+=======
417
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
347 418
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
348 419
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
349
-    <property name="project.structure.last.edited" value="Modules" />
350
-    <property name="project.structure.proportion" value="0.15" />
351
-    <property name="project.structure.side.proportion" value="0.2" />
420
+    <property name="project.structure.last.edited" value="Project" />
421
+    <property name="project.structure.proportion" value="0.0" />
422
+    <property name="project.structure.side.proportion" value="0.0" />
423
+    <property name="settings.editor.selected.configurable" value="project.propVCSSupport.Mappings" />
352 424
   </component>
353 425
   <component name="RunDashboard">
354 426
     <option name="ruleStates">
@@ -362,7 +434,7 @@
362 434
       </list>
363 435
     </option>
364 436
   </component>
365
-  <component name="RunManager" selected="Spring Boot.ZipCoinApp">
437
+  <component name="RunManager">
366 438
     <configuration default="true" type="Application" factoryName="Application">
367 439
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
368 440
       <method v="2">
@@ -375,6 +447,7 @@
375 447
         <option name="Make" enabled="true" />
376 448
       </method>
377 449
     </configuration>
450
+<<<<<<< HEAD
378 451
     <configuration name="java in ZipCoin-RED" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
379 452
       <module name="ZipCoin-RED" />
380 453
       <option name="TEST_OBJECT" value="directory" />
@@ -416,6 +489,8 @@
416 489
         <option name="Make" enabled="true" />
417 490
       </method>
418 491
     </configuration>
492
+=======
493
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
419 494
     <configuration name="ZipCoinApp" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" temporary="true" nameIsGenerated="true">
420 495
       <module name="ZipCoin-RED" />
421 496
       <extension name="coverage">
@@ -437,18 +512,9 @@
437 512
         <option name="Make" enabled="true" />
438 513
       </method>
439 514
     </configuration>
440
-    <list>
441
-      <item itemvalue="JUnit.testMain.test" />
442
-      <item itemvalue="Spring Boot.ZipCoinApp" />
443
-      <item itemvalue="JUnit.java in ZipCoin-RED" />
444
-      <item itemvalue="JUnit.minerTest" />
445
-    </list>
446 515
     <recent_temporary>
447 516
       <list>
448 517
         <item itemvalue="Spring Boot.ZipCoinApp" />
449
-        <item itemvalue="JUnit.java in ZipCoin-RED" />
450
-        <item itemvalue="JUnit.minerTest" />
451
-        <item itemvalue="JUnit.testMain.test" />
452 518
       </list>
453 519
     </recent_temporary>
454 520
   </component>
@@ -457,10 +523,11 @@
457 523
   </component>
458 524
   <component name="TaskManager">
459 525
     <task active="true" id="Default" summary="Default task">
460
-      <changelist id="f54e258d-da71-464b-8271-7897ae55d27f" name="Default" comment="" />
461
-      <created>1531343031636</created>
526
+      <changelist id="56c18b2c-8142-4688-b878-d487ac8e7cdb" name="Default" comment="" />
527
+      <created>1533221514750</created>
462 528
       <option name="number" value="Default" />
463 529
       <option name="presentableId" value="Default" />
530
+<<<<<<< HEAD
464 531
       <updated>1531343031636</updated>
465 532
       <workItem from="1531343033550" duration="411000" />
466 533
       <workItem from="1531419813805" duration="2054000" />
@@ -473,10 +540,15 @@
473 540
       <workItem from="1532693771749" duration="2295000" />
474 541
       <workItem from="1533222096708" duration="184000" />
475 542
       <workItem from="1533239417825" duration="900000" />
543
+=======
544
+      <updated>1533221514750</updated>
545
+      <workItem from="1533221516219" duration="17000" />
546
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
476 547
     </task>
477 548
     <servers />
478 549
   </component>
479 550
   <component name="TimeTrackingManager">
551
+<<<<<<< HEAD
480 552
     <option name="totallyTimeSpent" value="25887000" />
481 553
   </component>
482 554
   <component name="ToolWindowManager">
@@ -495,10 +567,28 @@
495 567
       <window_info anchor="bottom" id="Message" order="0" />
496 568
       <window_info anchor="bottom" id="Find" order="1" weight="0.32954547" />
497 569
       <window_info anchor="bottom" id="Run" order="2" weight="0.58356166" />
570
+=======
571
+    <option name="totallyTimeSpent" value="1589000" />
572
+  </component>
573
+  <component name="ToolWindowManager">
574
+    <frame x="0" y="0" width="1280" height="800" extended-state="0" />
575
+    <layout>
576
+      <window_info anchor="right" id="Palette" order="3" />
577
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
578
+      <window_info anchor="right" id="Maven Projects" order="3" />
579
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
580
+      <window_info id="Capture Tool" order="2" />
581
+      <window_info id="Designer" order="2" />
582
+      <window_info anchor="right" id="Database" order="3" />
583
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
584
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
585
+      <window_info id="UI Designer" order="2" />
586
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
498 587
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
499 588
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
500 589
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
501 590
       <window_info anchor="bottom" id="TODO" order="6" />
591
+<<<<<<< HEAD
502 592
       <window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.32739726" />
503 593
       <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" weight="0.32876712" />
504 594
       <window_info anchor="bottom" id="Database Changes" order="9" show_stripe_button="false" />
@@ -516,6 +606,53 @@
516 606
       <window_info anchor="right" id="Palette&#9;" order="7" />
517 607
       <window_info anchor="right" id="Theme Preview" order="8" />
518 608
       <window_info anchor="right" id="Bean Validation" order="9" />
609
+=======
610
+      <window_info anchor="bottom" id="Messages" order="7" />
611
+      <window_info anchor="right" id="Palette&#9;" order="3" />
612
+      <window_info id="Image Layers" order="2" />
613
+      <window_info anchor="bottom" id="Java Enterprise" order="7" />
614
+      <window_info anchor="right" id="Capture Analysis" order="3" />
615
+      <window_info active="true" anchor="bottom" id="Run Dashboard" order="7" visible="true" weight="0.47310343" />
616
+      <window_info anchor="bottom" id="Run" order="2" weight="0.12012987" />
617
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
618
+      <window_info anchor="bottom" id="Spring" order="7" />
619
+      <window_info anchor="bottom" id="Terminal" order="7" />
620
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2536349" />
621
+      <window_info anchor="right" id="Bean Validation" order="3" />
622
+      <window_info id="Web" order="2" side_tool="true" />
623
+      <window_info anchor="right" id="Theme Preview" order="3" />
624
+      <window_info id="Favorites" order="2" side_tool="true" />
625
+      <window_info anchor="bottom" id="Message" order="0" />
626
+      <window_info anchor="bottom" id="Run" order="2" />
627
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
628
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24959612" />
629
+      <window_info id="Favorites" order="5" side_tool="true" />
630
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
631
+      <window_info anchor="right" id="Theme Preview" order="5" />
632
+      <window_info anchor="bottom" id="Terminal" order="10" />
633
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
634
+      <window_info anchor="right" id="Palette" order="5" />
635
+      <window_info anchor="right" id="Palette&#9;" order="5" />
636
+      <window_info anchor="right" id="Maven Projects" order="5" />
637
+      <window_info id="Web" order="5" side_tool="true" />
638
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
639
+      <window_info anchor="bottom" id="Run Dashboard" order="7" visible="true" weight="0.060064934" />
640
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
641
+      <window_info id="Image Layers" order="5" />
642
+      <window_info anchor="right" id="Database" order="5" />
643
+      <window_info id="Capture Tool" order="5" />
644
+      <window_info anchor="bottom" id="Version Control" order="10" show_stripe_button="false" />
645
+      <window_info anchor="right" id="Capture Analysis" order="5" />
646
+      <window_info anchor="bottom" id="TODO" order="6" />
647
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
648
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
649
+      <window_info id="UI Designer" order="5" />
650
+      <window_info anchor="bottom" id="Find" order="1" />
651
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
652
+      <window_info anchor="bottom" id="Messages" order="9" weight="0.3298969" />
653
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
654
+      <window_info id="Designer" order="5" />
655
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
519 656
     </layout>
520 657
   </component>
521 658
   <component name="TypeScriptGeneratedFilesManager">
@@ -525,14 +662,71 @@
525 662
     <option name="myLimit" value="2678400000" />
526 663
   </component>
527 664
   <component name="editorHistoryManager">
665
+<<<<<<< HEAD
528 666
     <entry file="file://$PROJECT_DIR$/ZipCoin-RED.iml" />
529 667
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockControllerTest.java" />
530 668
     <entry file="file://$PROJECT_DIR$/src/main/java/Main.java" />
669
+=======
670
+    <entry file="file://$PROJECT_DIR$/.idea/ZipCoin-RED.iml" />
671
+    <entry file="file://$PROJECT_DIR$/pom.xml">
672
+      <provider selected="true" editor-type-id="text-editor">
673
+        <state relative-caret-position="270">
674
+          <caret line="18" column="10" lean-forward="true" selection-start-line="18" selection-start-column="10" selection-end-line="18" selection-end-column="10" />
675
+        </state>
676
+      </provider>
677
+    </entry>
678
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
679
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
680
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
681
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
682
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
683
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/testMain.java" />
684
+    <entry file="file://$PROJECT_DIR$/pom.xml">
685
+      <provider selected="true" editor-type-id="text-editor">
686
+        <state relative-caret-position="90">
687
+          <caret line="6" column="20" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="20" />
688
+        </state>
689
+      </provider>
690
+    </entry>
691
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/redCoin/Main.java" />
692
+    <entry file="file://$PROJECT_DIR$/ZipCoin-RED.iml" />
693
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockControllerTest.java">
694
+      <provider selected="true" editor-type-id="text-editor">
695
+        <state relative-caret-position="30">
696
+          <caret line="2" column="32" selection-start-line="2" selection-start-column="32" selection-end-line="2" selection-end-column="32" />
697
+        </state>
698
+      </provider>
699
+    </entry>
700
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
701
+      <provider selected="true" editor-type-id="text-editor">
702
+        <state relative-caret-position="438">
703
+          <caret line="461" column="19" selection-start-line="461" selection-start-column="19" selection-end-line="461" selection-end-column="19" />
704
+        </state>
705
+      </provider>
706
+    </entry>
707
+    <entry file="file://$PROJECT_DIR$/pom.xml">
708
+      <provider selected="true" editor-type-id="text-editor">
709
+        <state relative-caret-position="60">
710
+          <caret line="4" column="30" selection-start-line="4" selection-start-column="30" selection-end-line="4" selection-end-column="30" />
711
+        </state>
712
+      </provider>
713
+    </entry>
714
+    <entry file="file://$PROJECT_DIR$/src/main/java/Main.java" />
715
+    <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Main.java" />
716
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/testMain.java" />
717
+    <entry file="file://$PROJECT_DIR$/pom.xml">
718
+      <provider selected="true" editor-type-id="text-editor">
719
+        <state relative-caret-position="165">
720
+          <caret line="11" column="10" lean-forward="true" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
721
+        </state>
722
+      </provider>
723
+    </entry>
724
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
531 725
     <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/minerTest.java" />
532 726
     <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
533 727
       <provider selected="true" editor-type-id="text-editor">
534
-        <state relative-caret-position="539">
535
-          <caret line="813" column="10" selection-start-line="813" selection-start-column="10" selection-end-line="813" selection-end-column="10" />
728
+        <state relative-caret-position="990">
729
+          <caret line="66" column="20" selection-start-line="66" selection-start-column="20" selection-end-line="66" selection-end-column="20" />
536 730
         </state>
537 731
       </provider>
538 732
     </entry>
@@ -546,6 +740,7 @@
546 740
     <entry file="file://$PROJECT_DIR$/src/main/resources/db.migration/mine_block.sql" />
547 741
     <entry file="file://$PROJECT_DIR$/src/main/resources/db.migration/V2__mine_block.sql" />
548 742
     <entry file="file://$PROJECT_DIR$/src/main/java/redCoin/Miner/Miner.java" />
743
+<<<<<<< HEAD
549 744
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java" />
550 745
     <entry file="file://$PROJECT_DIR$/src/main/resources/db/migration/V2__create_block.sql">
551 746
       <provider selected="true" editor-type-id="text-editor">
@@ -714,8 +909,169 @@
714 909
           <folding>
715 910
             <element signature="imports" expanded="true" />
716 911
           </folding>
912
+=======
913
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/block/test/BlockTest.java">
914
+      <provider selected="true" editor-type-id="text-editor">
915
+        <state relative-caret-position="449">
916
+          <caret line="78" lean-forward="true" selection-start-line="78" selection-end-line="78" />
917
+        </state>
918
+      </provider>
919
+    </entry>
920
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
921
+      <provider selected="true" editor-type-id="text-editor">
922
+        <state relative-caret-position="130">
923
+          <caret line="13" column="20" selection-start-line="13" selection-start-column="20" selection-end-line="13" selection-end-column="20" />
924
+        </state>
925
+      </provider>
926
+    </entry>
927
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java" />
928
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java">
929
+      <provider selected="true" editor-type-id="text-editor">
930
+        <state relative-caret-position="75">
931
+          <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
717 932
         </state>
718 933
       </provider>
719 934
     </entry>
935
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/ZipCoinApp.java">
936
+      <provider selected="true" editor-type-id="text-editor">
937
+        <state relative-caret-position="75">
938
+          <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
939
+          <folding>
940
+            <element signature="imports" expanded="true" />
941
+          </folding>
942
+        </state>
943
+      </provider>
944
+    </entry>
945
+    <entry file="file://$PROJECT_DIR$/src/main/resources/db/migration/V2__create_block.sql" />
946
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
947
+      <provider selected="true" editor-type-id="text-editor">
948
+        <state relative-caret-position="60">
949
+          <caret line="4" selection-start-line="4" selection-end-line="4" />
950
+        </state>
951
+      </provider>
952
+    </entry>
953
+    <entry file="file://$PROJECT_DIR$/src/test/java/redCoin/Miner/minerTest.java" />
954
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Miner.java" />
955
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/miner/test/minerTest.java">
956
+      <provider selected="true" editor-type-id="text-editor">
957
+        <state relative-caret-position="135">
958
+          <caret line="12" column="9" selection-start-line="12" selection-start-column="9" selection-end-line="12" selection-end-column="9" />
959
+        </state>
960
+      </provider>
961
+    </entry>
962
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java">
963
+      <provider selected="true" editor-type-id="text-editor">
964
+        <state relative-caret-position="930">
965
+          <caret line="82" column="4" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="4" />
966
+        </state>
967
+      </provider>
968
+    </entry>
969
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
970
+      <provider selected="true" editor-type-id="text-editor">
971
+        <state relative-caret-position="105">
972
+          <caret line="7" column="15" selection-start-line="7" selection-start-column="15" selection-end-line="7" selection-end-column="15" />
973
+        </state>
974
+      </provider>
975
+    </entry>
976
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java">
977
+      <provider selected="true" editor-type-id="text-editor">
978
+        <state relative-caret-position="90">
979
+          <caret line="9" column="5" selection-start-line="9" selection-start-column="5" selection-end-line="9" selection-end-column="5" />
980
+        </state>
981
+      </provider>
982
+    </entry>
983
+    <entry file="file://$PROJECT_DIR$/pom.xml">
984
+      <provider selected="true" editor-type-id="text-editor">
985
+        <state relative-caret-position="135">
986
+          <caret line="9" selection-start-line="9" selection-end-line="9" />
987
+        </state>
988
+      </provider>
989
+    </entry>
990
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
991
+      <provider selected="true" editor-type-id="text-editor">
992
+        <state relative-caret-position="105">
993
+          <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
994
+        </state>
995
+      </provider>
996
+    </entry>
997
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
998
+      <provider selected="true" editor-type-id="text-editor">
999
+        <state relative-caret-position="66">
1000
+          <caret line="14" column="13" selection-start-line="14" selection-start-column="13" selection-end-line="14" selection-end-column="13" />
1001
+        </state>
1002
+      </provider>
1003
+    </entry>
1004
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/BlockLoader.java">
1005
+      <provider selected="true" editor-type-id="text-editor">
1006
+        <state relative-caret-position="75">
1007
+          <caret line="10" column="17" selection-start-line="10" selection-start-column="17" selection-end-line="10" selection-end-column="17" />
1008
+        </state>
1009
+      </provider>
1010
+    </entry>
1011
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/TransactionLoader.java">
1012
+      <provider selected="true" editor-type-id="text-editor">
1013
+        <state relative-caret-position="75">
1014
+          <caret line="10" column="13" selection-start-line="10" selection-start-column="13" selection-end-line="10" selection-end-column="13" />
1015
+        </state>
1016
+      </provider>
1017
+    </entry>
1018
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
1019
+      <provider selected="true" editor-type-id="text-editor">
1020
+        <state relative-caret-position="284">
1021
+          <caret line="34" column="5" selection-start-line="34" selection-start-column="5" selection-end-line="34" selection-end-column="5" />
1022
+>>>>>>> 8b1e22a5a0caf7af0d9105c89403f7d2bcc4b254
1023
+        </state>
1024
+      </provider>
1025
+    </entry>
1026
+  </component>
1027
+  <component name="masterDetails">
1028
+    <states>
1029
+      <state key="GlobalLibrariesConfigurable.UI">
1030
+        <settings>
1031
+          <splitter-proportions>
1032
+            <option name="proportions">
1033
+              <list>
1034
+                <option value="0.2" />
1035
+              </list>
1036
+            </option>
1037
+          </splitter-proportions>
1038
+        </settings>
1039
+      </state>
1040
+      <state key="JdkListConfigurable.UI">
1041
+        <settings>
1042
+          <last-edited>1.8</last-edited>
1043
+          <splitter-proportions>
1044
+            <option name="proportions">
1045
+              <list>
1046
+                <option value="0.2" />
1047
+              </list>
1048
+            </option>
1049
+          </splitter-proportions>
1050
+        </settings>
1051
+      </state>
1052
+      <state key="ProjectJDKs.UI">
1053
+        <settings>
1054
+          <last-edited>1.8</last-edited>
1055
+          <splitter-proportions>
1056
+            <option name="proportions">
1057
+              <list>
1058
+                <option value="0.2" />
1059
+              </list>
1060
+            </option>
1061
+          </splitter-proportions>
1062
+        </settings>
1063
+      </state>
1064
+      <state key="ProjectLibrariesConfigurable.UI">
1065
+        <settings>
1066
+          <splitter-proportions>
1067
+            <option name="proportions">
1068
+              <list>
1069
+                <option value="0.2" />
1070
+              </list>
1071
+            </option>
1072
+          </splitter-proportions>
1073
+        </settings>
1074
+      </state>
1075
+    </states>
720 1076
   </component>
721 1077
 </project>

+ 0
- 96
ZipCoinRedJavaServer/ZipCoin-RED.iml View File

@@ -1,96 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
-  <component name="FacetManager">
4
-    <facet type="Spring" name="Spring">
5
-      <configuration />
6
-    </facet>
7
-    <facet type="web" name="Web">
8
-      <configuration>
9
-        <webroots />
10
-        <sourceRoots>
11
-          <root url="file://$MODULE_DIR$/src/main/java" />
12
-          <root url="file://$MODULE_DIR$/src/main/resources" />
13
-        </sourceRoots>
14
-      </configuration>
15
-    </facet>
16
-  </component>
17
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6">
18
-    <output url="file://$MODULE_DIR$/target/classes" />
19
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
20
-    <content url="file://$MODULE_DIR$">
21
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
22
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
23
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
24
-      <sourceFolder url="file://$MODULE_DIR$/target/generated-test-sources/redCoin" isTestSource="true" generated="true" />
25
-      <excludeFolder url="file://$MODULE_DIR$/target" />
26
-    </content>
27
-    <orderEntry type="inheritedJdk" />
28
-    <orderEntry type="sourceFolder" forTests="false" />
29
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.3.1.RELEASE" level="project" />
30
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.3.1.RELEASE" level="project" />
31
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.3.1.RELEASE" level="project" />
32
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.3.1.RELEASE" level="project" />
33
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.3.1.RELEASE" level="project" />
34
-    <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
35
-    <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
36
-    <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.13" level="project" />
37
-    <orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.13" level="project" />
38
-    <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.16" level="project" />
39
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.3.1.RELEASE" level="project" />
40
-    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.0.30" level="project" />
41
-    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.0.30" level="project" />
42
-    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-logging-juli:8.0.30" level="project" />
43
-    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.0.30" level="project" />
44
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-validation:1.3.1.RELEASE" level="project" />
45
-    <orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.2.2.Final" level="project" />
46
-    <orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
47
-    <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.1.0" level="project" />
48
-    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.6.4" level="project" />
49
-    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.6.4" level="project" />
50
-    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.6.4" level="project" />
51
-    <orderEntry type="library" name="Maven: org.springframework:spring-web:4.2.4.RELEASE" level="project" />
52
-    <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.2.4.RELEASE" level="project" />
53
-    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
54
-    <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.2.4.RELEASE" level="project" />
55
-    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.2.4.RELEASE" level="project" />
56
-    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.2.4.RELEASE" level="project" />
57
-    <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.2.4.RELEASE" level="project" />
58
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-jpa:1.3.1.RELEASE" level="project" />
59
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:1.3.1.RELEASE" level="project" />
60
-    <orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.7" level="project" />
61
-    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.3.1.RELEASE" level="project" />
62
-    <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.0.30" level="project" />
63
-    <orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.0.30" level="project" />
64
-    <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.2.4.RELEASE" level="project" />
65
-    <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:4.3.11.Final" level="project" />
66
-    <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.0.Final" level="project" />
67
-    <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1" level="project" />
68
-    <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:4.3.11.Final" level="project" />
69
-    <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
70
-    <orderEntry type="library" name="Maven: org.jboss:jandex:1.1.0.Final" level="project" />
71
-    <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
72
-    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" />
73
-    <orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.5.Final" level="project" />
74
-    <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final" level="project" />
75
-    <orderEntry type="library" name="Maven: org.javassist:javassist:3.18.1-GA" level="project" />
76
-    <orderEntry type="library" name="Maven: javax.transaction:javax.transaction-api:1.2" level="project" />
77
-    <orderEntry type="library" name="Maven: org.springframework.data:spring-data-jpa:1.9.2.RELEASE" level="project" />
78
-    <orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:1.11.2.RELEASE" level="project" />
79
-    <orderEntry type="library" name="Maven: org.springframework:spring-orm:4.2.4.RELEASE" level="project" />
80
-    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.2.4.RELEASE" level="project" />
81
-    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.13" level="project" />
82
-    <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.13" level="project" />
83
-    <orderEntry type="library" name="Maven: org.springframework:spring-aspects:4.2.4.RELEASE" level="project" />
84
-    <orderEntry type="library" name="Maven: com.h2database:h2:1.4.190" level="project" />
85
-    <orderEntry type="library" name="Maven: org.flywaydb:flyway-core:3.2.1" level="project" />
86
-    <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:1.3.1.RELEASE" level="project" />
87
-    <orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:1.10.19" level="project" />
88
-    <orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:2.1" level="project" />
89
-    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
90
-    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
91
-    <orderEntry type="library" name="Maven: org.springframework:spring-core:4.2.4.RELEASE" level="project" />
92
-    <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:4.2.4.RELEASE" level="project" />
93
-    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
94
-    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
95
-  </component>
96
-</module>

+ 7
- 10
ZipCoinRedJavaServer/pom.xml View File

@@ -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>
@@ -31,14 +31,6 @@
31 31
             <artifactId>spring-boot-starter-data-jpa</artifactId>
32 32
         </dependency>
33 33
         <dependency>
34
-            <groupId>com.h2database</groupId>
35
-            <artifactId>h2</artifactId>
36
-        </dependency>
37
-        <dependency>
38
-            <groupId>org.flywaydb</groupId>
39
-            <artifactId>flyway-core</artifactId>
40
-        </dependency>
41
-        <dependency>
42 34
             <groupId>org.springframework.boot</groupId>
43 35
             <artifactId>spring-boot-starter-test</artifactId>
44 36
             <scope>test</scope>
@@ -55,9 +47,14 @@
55 47
             <scope>test</scope>
56 48
         </dependency>
57 49
 
58
-    </dependencies>
50
+        <dependency>
51
+            <groupId>mysql</groupId>
52
+            <artifactId>mysql-connector-java</artifactId>
53
+            <scope>runtime</scope>
54
+        </dependency>
59 55
 
60 56
 
57
+    </dependencies>
61 58
 
62 59
 
63 60
 </project>

+ 24
- 0
ZipCoinRedJavaServer/src/main/java/com/zipcoin/ZipCoinApp.java View File

@@ -11,3 +11,27 @@ public class ZipCoinApp {
11 11
     }
12 12
 
13 13
 }
14
+
15
+
16
+
17
+/*
18
+*
19
+*
20
+*
21
+* figure out how to send serialized coins
22
+* tabbed interface
23
+* :payment,wallet, transaction
24
+* :blocks - show all blocks on chain
25
+* LocalDate for transactions, /wallet/getID
26
+* coin ONLY, coin objects, hashcoded. talk to yauheni about this.
27
+* List<Coin> of coins
28
+*
29
+*
30
+*
31
+* springboot run on hiroku ************
32
+*
33
+*
34
+*
35
+* @return coin with serialized number
36
+*
37
+* */

+ 42
- 0
ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/BlockLoader.java View File

@@ -0,0 +1,42 @@
1
+package com.zipcoin.config;
2
+
3
+import com.zipcoin.model.Block;
4
+import com.zipcoin.repository.BlockRepository;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.boot.ApplicationArguments;
7
+import org.springframework.boot.ApplicationRunner;
8
+import org.springframework.stereotype.Component;
9
+
10
+    @Component
11
+    public class BlockLoader implements ApplicationRunner {
12
+        private BlockRepository block;
13
+
14
+        @Autowired
15
+        public BlockLoader(BlockRepository block) {
16
+            this.block = block;
17
+        }
18
+
19
+//Testing merge...
20
+//
21
+        //
22
+        //
23
+        //
24
+        //
25
+
26
+        public void run(ApplicationArguments args) {
27
+
28
+            Block[] blocks = new Block[]{
29
+                    new Block(0, "0000aboivsnd9878"),
30
+                    new Block(867, "SuperCrew"),
31
+                    new Block(459, "LoA Team"),
32
+                    new Block(123, "HF Team"),
33
+                    new Block(55555, "Ω≈≈≈≈"),
34
+                    new Block(97, "˙˙˙˙˙˙˙"),
35
+            };
36
+
37
+            for (Block x : blocks)
38
+                this.block.save(x);
39
+
40
+        }
41
+    }
42
+

+ 0
- 28
ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/PersistenceConfiguration.java View File

@@ -1,28 +0,0 @@
1
-package com.boot.config;
2
-
3
-import org.springframework.boot.autoconfigure.flyway.FlywayDataSource;
4
-import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder;
5
-import org.springframework.boot.context.properties.ConfigurationProperties;
6
-import org.springframework.context.annotation.Bean;
7
-import org.springframework.context.annotation.Configuration;
8
-import org.springframework.context.annotation.Primary;
9
-
10
-import javax.sql.DataSource;
11
-
12
-
13
-@Configuration
14
-public class PersistenceConfiguration {
15
-    @Bean
16
-    @ConfigurationProperties(prefix="spring.datasource")
17
-    @Primary
18
-    public DataSource dataSource(){
19
-        return DataSourceBuilder.create().build();
20
-    }
21
-
22
-    @Bean
23
-    @ConfigurationProperties(prefix="datasource.flyway")
24
-    @FlywayDataSource
25
-    public DataSource flywayDataSource() {
26
-        return DataSourceBuilder.create().build();
27
-    }
28
-}

+ 43
- 0
ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/TransactionLoader.java View File

@@ -0,0 +1,43 @@
1
+package com.zipcoin.config;
2
+
3
+import com.zipcoin.model.Transaction;
4
+import com.zipcoin.repository.TransactionRepository;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.boot.ApplicationArguments;
7
+import org.springframework.boot.ApplicationRunner;
8
+import org.springframework.stereotype.Component;
9
+
10
+@Component
11
+public class TransactionLoader implements ApplicationRunner {
12
+
13
+  private TransactionRepository repo;
14
+
15
+  @Autowired
16
+  public TransactionLoader(TransactionRepository repo){
17
+      this.repo = repo;
18
+  }
19
+
20
+
21
+    @Override
22
+    public void run(ApplicationArguments applicationArguments){
23
+
24
+        Transaction[] transactions = new Transaction[]{
25
+
26
+                new Transaction("shivam", "khalil", 10),
27
+                new Transaction("eric", "shivam", 100),
28
+                new Transaction("khalil", "eric", (float)30.22),
29
+                new Transaction("aleena", "navya", (float)43.32),
30
+                new Transaction("shivam", "ken", 1)
31
+        };
32
+
33
+
34
+
35
+
36
+        for(Transaction t : transactions){
37
+            this.repo.save(t);
38
+        }
39
+
40
+
41
+
42
+    }
43
+}

+ 37
- 0
ZipCoinRedJavaServer/src/main/java/com/zipcoin/config/WalletLoader.java View File

@@ -0,0 +1,37 @@
1
+package com.zipcoin.config;
2
+
3
+import com.zipcoin.model.Wallet;
4
+import com.zipcoin.repository.WalletRepository;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.boot.ApplicationArguments;
7
+import org.springframework.boot.ApplicationRunner;
8
+import org.springframework.stereotype.Component;
9
+
10
+@Component
11
+public class WalletLoader implements ApplicationRunner {
12
+
13
+    private WalletRepository walletRepository;
14
+
15
+    @Autowired
16
+    public WalletLoader(WalletRepository walletRepository)
17
+    {
18
+        this.walletRepository = walletRepository;
19
+    }
20
+    @Override
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
+
34
+
35
+    }
36
+}
37
+

+ 8
- 1
ZipCoinRedJavaServer/src/main/java/com/zipcoin/controller/WalletController.java View File

@@ -3,6 +3,8 @@ package com.zipcoin.controller;
3 3
 import com.zipcoin.model.Wallet;
4 4
 import com.zipcoin.repository.WalletRepository;
5 5
 import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.http.HttpStatus;
7
+import org.springframework.http.ResponseEntity;
6 8
 import org.springframework.web.bind.annotation.*;
7 9
 
8 10
 import java.util.List;
@@ -18,7 +20,12 @@ public class WalletController {
18 20
     //CREATE A WALLET
19 21
     @RequestMapping(value = "wallets", method = RequestMethod.POST)
20 22
     public Wallet create(@RequestBody Wallet wallet){
21
-        return walletRepository.saveAndFlush(wallet);
23
+        return walletRepository.save(wallet);
24
+    }
25
+
26
+    @RequestMapping(value = "wallets", method = RequestMethod.GET)
27
+    public ResponseEntity<Iterable<Wallet>> index() {
28
+        return new ResponseEntity<Iterable<Wallet>>(walletRepository.findAll(), HttpStatus.OK);
22 29
     }
23 30
 
24 31
 //    //READ A WALLET FROM PUBLIC KEY

+ 44
- 40
ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java View File

@@ -1,75 +1,78 @@
1 1
 package com.zipcoin.model;
2 2
 
3
-import com.zipcoin.utilities.StringUtil;
4 3
 import org.apache.commons.codec.digest.DigestUtils;
5 4
 
6
-import javax.persistence.Entity;
7
-import javax.persistence.GeneratedValue;
8
-import javax.persistence.GenerationType;
9
-import javax.persistence.Id;
10
-import java.security.*;
5
+import javax.persistence.*;
6
+
11 7
 
12 8
 @Entity
13 9
 public class Transaction {
14
-
15 10
     @Id
16
-    private String transactionId; // this is also the hash of the transaction.
17
-    private PublicKey sender; // senders address/public key.
18
-    private PublicKey reciepient; // Recipients address/public key.
19
-    private float value;
20
-//    public Signature signature;// this is to prevent anybody else from spending funds in our wallet.
11
+    @GeneratedValue(strategy = GenerationType.AUTO)
12
+    private Long transactionId;
21 13
 
22
-    public String getTransactionId() {
23
-        return transactionId;
24
-    }
14
+    private String sender;
15
+    private String recipient;
16
+    private float amount;
25 17
 
26
-    public void setTransactionId(String transactionId) {
27
-        this.transactionId = transactionId;
28
-    }
18
+    //@OneToMany
19
+  /*  private List<Integer> coins;*/
20
+
21
+
22
+
23
+    //public Signature signature;
24
+    public Transaction()
25
+    {
29 26
 
30
-    public PublicKey getSender() {
31
-        return sender;
32 27
     }
33 28
 
34
-    public void setSender(PublicKey sender) {
35
-        this.sender = sender;
29
+    public Transaction(String from, String to, float amount/*List<Integer> coins*/) {
30
+        this.sender = from;
31
+        this.recipient = to;
32
+        this.amount = amount;
33
+        //this.coins=coins;
34
+
36 35
     }
37 36
 
38
-    public PublicKey getReciepient() {
39
-        return reciepient;
37
+    public Long getTransactionId() {
38
+        return transactionId;
40 39
     }
41 40
 
42
-    public void setReciepient(PublicKey reciepient) {
43
-        this.reciepient = reciepient;
41
+    public void setTransactionId(Long transactionId) {
42
+        this.transactionId = transactionId;
44 43
     }
45 44
 
46
-    public float getValue() {
47
-        return value;
45
+    public String getSender() {
46
+        return sender;
48 47
     }
49 48
 
50
-    public void setValue(float value) {
51
-        this.value = value;
49
+    public void setSender(String sender) {
50
+        this.sender = sender;
52 51
     }
53 52
 
53
+    public String getRecipient() {
54
+        return recipient;
55
+    }
54 56
 
57
+    public void setRecipient(String recipient) {
58
+        this.recipient = recipient;
59
+    }
55 60
 
61
+    public float getAmount() { return amount; }
56 62
 
63
+    public void setAmount(float amount) { this.amount = amount; }
57 64
 
58
-    // Constructor:
59
-    public Transaction(PublicKey from, PublicKey to, float value) {
60
-        this.sender = from;
61
-        this.reciepient = to;
62
-        this.value = value;
65
+    /*public List<Integer> getCoins() { return coins; }
63 66
 
64
-    }
67
+    public void setCoins(List<Integer> coins) { this.coins = coins; }*/
65 68
 
66
-    // This Calculates the transaction hash (which will be used as its Id)
67 69
     private String calulateHash() {
68 70
 
69 71
         return DigestUtils.sha256Hex(
70
-                StringUtil.getStringFromKey(sender) +
71
-                        StringUtil.getStringFromKey(reciepient) +
72
-                        Float.toString(value)
72
+                sender +
73
+                        (recipient) +
74
+
75
+                        Float.toString(amount)
73 76
         );
74 77
     }
75 78
 //    public void generateSignature(PrivateKey privateKey) throws NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException {
@@ -82,4 +85,5 @@ public class Transaction {
82 85
     // String data = StringUtil.getStringFromKey(sender) + StringUtil.getStringFromKey(reciepient) + Float.toString(value)    ;
83 86
     // return StringUtil.verifyECDSASig(sender, data, this.signature);
84 87
     //}
88
+
85 89
 }

+ 61
- 20
ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Wallet.java View File

@@ -1,51 +1,92 @@
1 1
 package com.zipcoin.model;
2 2
 
3
+import com.zipcoin.utilities.StringUtil;
4
+
3 5
 import javax.persistence.Entity;
4 6
 import javax.persistence.GeneratedValue;
5 7
 import javax.persistence.GenerationType;
6 8
 import javax.persistence.Id;
7 9
 import java.security.*;
10
+import java.util.Random;
8 11
 
9 12
 @Entity
10 13
 public class Wallet {
11 14
 
12 15
     @Id
13
-    private PublicKey publicKey;
14
-    private PrivateKey privateKey;
16
+    @GeneratedValue(strategy = GenerationType.AUTO)
17
+    private int id;
15 18
 
16
-    public PrivateKey getPrivateKey() {
17
-        return privateKey;
19
+    public String getName() {
20
+        return name;
18 21
     }
19 22
 
23
+    public void setName(String name) {
24
+        this.name = name;
25
+    }
20 26
 
21
-    public PublicKey getPublicKey() {
22
-        return publicKey;
27
+    public String getPublickey() {
28
+        return publickey;
23 29
     }
24 30
 
31
+    public void setPublickey(String publickey) {
32
+        this.publickey = publickey;
33
+    }
25 34
 
35
+    private String name;
36
+    private String publickey;
37
+    private Double amount;
26 38
 
27
-    public Wallet() {
39
+    public Wallet()
40
+    {
28 41
         generateKeyPair();
42
+
43
+    }
44
+    public Wallet(String name,String publickey,double amount)
45
+    {
46
+        this.name=name;
47
+        this.publickey=publickey;
48
+        this.amount=amount;
29 49
     }
30 50
 
31
-    public void generateKeyPair() {
32
-        try {
33
-            KeyPairGenerator keyGen = KeyPairGenerator.getInstance( "DSA","SUN");
51
+    public Double getAmount()
52
+    {
53
+        return amount;
54
+    }
34 55
 
35
-            SecureRandom random = SecureRandom.getInstance("SHA1PRNG","SUN");
56
+    public void setAmount(Double amount)
57
+    {
58
+        this.amount = amount;
59
+    }
36 60
 
37
-            // Initialize the key generator and generate a KeyPair
38
-            keyGen.initialize(1024, random);   //256 bytes provides an acceptable security level
39
-            KeyPair keyPair = keyGen.generateKeyPair();
40
-            // Set the public and private keys from the keyPair
41
-            privateKey = keyPair.getPrivate();
42
-            publicKey = keyPair.getPublic();
43 61
 
62
+    public String getPublicKey()
63
+    {
64
+        return publickey;
65
+    }
44 66
 
45 67
 
46
-        } catch (Exception e) {
47
-            throw new RuntimeException(e);
48
-        }
68
+    public void generateKeyPair() {
69
+//        try {
70
+//
71
+//            KeyPairGenerator keyGen = KeyPairGenerator.getInstance( "DSA","SUN");
72
+//
73
+//            SecureRandom random = SecureRandom.getInstance("SHA1PRNG","SUN");
74
+//
75
+//            // Initialize the key generator and generate a KeyPair
76
+//            keyGen.initialize(1024, random);   //256 bytes provides an acceptable security level
77
+//            KeyPair keyPair = keyGen.generateKeyPair();
78
+//            // Set the public and private keys from the keyPair
79
+//            privateKey = keyPair.getPrivate();
80
+//            publicKey = keyPair.getPublic();
81
+//
82
+//
83
+//
84
+//        } catch (Exception e) {
85
+//            throw new RuntimeException(e);
86
+//        }
87
+        Random random =new SecureRandom();
88
+        Integer random10digit= random.nextInt(10);
89
+        publickey=random10digit.toString();
49 90
     }
50 91
 
51 92
 }

+ 2
- 0
ZipCoinRedJavaServer/src/main/java/com/zipcoin/utilities/Miner.java View File

@@ -21,4 +21,6 @@ public class Miner {
21 21
         this.hashCodeCheck = hashCodeCheck;
22 22
     }
23 23
 
24
+    //Testing...
25
+
24 26
 }

+ 3
- 25
ZipCoinRedJavaServer/src/main/resources/application.properties View File

@@ -1,26 +1,4 @@
1
-logging.level.org.springframework.web=DEBUG
2 1
 
3
-server.port=8080
4
-
5
-spring.h2.console.enabled=true
6
-spring.h2.console.path=/h2
7
-
8
-spring.datasource.url=jdbc:h2:file:~/zipcoin
9
-spring.datasource.username=sa
10
-spring.datasource.password=
11
-spring.datasource.driver-class-name=org.h2.Driver
12
-
13
-spring.datasource.max-active=10
14
-spring.datasource.max-idle=8
15
-spring.datasource.max-wait=10000
16
-spring.datasource.min-evictable-idle-time-millis=1000
17
-spring.datasource.min-idle=8
18
-spring.datasource.time-between-eviction-runs-millis=1
19
-
20
-flyway.baseline-on-migrate=true
21
-spring.jpa.hibernate.ddl-auto=false;
22
-
23
-datasource.flyway.url=jdbc:h2:file:~/zipcoin
24
-datasource.flyway.username=sa
25
-datasource.flyway.password=
26
-datasource.flyway.driver-class-name=org.h2.Driver
2
+spring.jpa.hibernate.ddl-auto=create-drop
3
+spring.datasource.url=jdbc:mysql://localhost:3306/zipcoin?useSSL=false
4
+spring.datasource.username=root

+ 0
- 8
ZipCoinRedJavaServer/src/main/resources/db/migration/V2__create_block.sql View File

@@ -1,8 +0,0 @@
1
-CREATE TABLE BLOCK(
2
-	ID INT AUTO_INCREMENT,
3
-	BLOCK_NUMBER INT,
4
-	PREVIOUS_HASH VARCHAR(255),
5
-	NONCE INT,
6
-	CURRENT_HASH VARCHAR(255),
7
-	TRANSACTION_LIST VARCHAR(2000)
8
-);

+ 50
- 20
ZipCoinRedJavaServer/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java View File

@@ -1,19 +1,19 @@
1
-package com.zipcoin.redCoin.TransactionAndWallet;
2
-
3
-import com.zipcoin.model.Block;
4
-import com.zipcoin.model.Transaction;
5
-import com.zipcoin.model.Wallet;
6
-
7
-import java.security.InvalidKeyException;
8
-import java.security.NoSuchAlgorithmException;
9
-import java.security.NoSuchProviderException;
10
-import java.util.ArrayList;
11
-
12
-public class TransactionAndWalletTest {
1
+//package com.zipcoin.redCoin.TransactionAndWallet;
2
+//
3
+//import com.zipcoin.model.Block;
4
+//import com.zipcoin.model.Transaction;
5
+//import com.zipcoin.model.Wallet;
6
+//
7
+//import java.security.InvalidKeyException;
8
+//import java.security.NoSuchAlgorithmException;
9
+//import java.security.NoSuchProviderException;
10
+//import java.util.ArrayList;
11
+//
12
+//public class TransactionAndWalletTest {
13 13
 //    public static ArrayList<Block> blockchain = new ArrayList<Block>();
14 14
 //    public static int difficulty = 5;
15
-
16
-
15
+//
16
+//
17 17
 //    public static void main(String[] args) throws NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException {
18 18
 //        //Setup Bouncey castle as a Security Provider
19 19
 //        //Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
@@ -32,15 +32,45 @@ public class TransactionAndWalletTest {
32 32
 //        System.out.println("private key :wallet 2");
33 33
 //        System.out.println(walletB.getPrivateKey().toString());
34 34
 //        //Create a test transaction from WalletA to walletB
35
-//        Transaction transaction = new Transaction(walletA.getPublicKey(), walletB.getPublicKey(), 5);
36
-//        transaction.generateSignature(walletA.getPrivateKey());
35
+////
37 36
 //        //Verify the signature works and verify it from the public key
38 37
 //
39 38
 //
40 39
 //        System.out.println("Is signature verified");
41 40
 //        // System.out.println(transaction.verifiySignature());
42 41
 //    }
43
-
44
-
45
-
46
-}
42
+//
43
+////    public static ArrayList<Block> blockchain = new ArrayList<Block>();
44
+////    public static int difficulty = 5;
45
+//
46
+//
47
+////    public static void main(String[] args) throws NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException {
48
+////        //Setup Bouncey castle as a Security Provider
49
+////        //Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
50
+////        //Create the new wallets
51
+////        Wallet walletA = new Wallet();
52
+////        Wallet walletB = new Wallet();
53
+////        //Test public and private keys
54
+////        System.out.println("utilities 1");
55
+////        System.out.println("private key :wallet 1");
56
+////        System.out.println(walletA.getPrivateKey().toString());
57
+////        System.out.println("public key :wallet 1");
58
+////        System.out.println(walletA.getPublicKey().toString());
59
+////        System.out.println("\n\nWallet2");
60
+////        System.out.println("public key :wallet 2");
61
+////        System.out.println(walletB.getPublicKey().toString());
62
+////        System.out.println("private key :wallet 2");
63
+////        System.out.println(walletB.getPrivateKey().toString());
64
+////        //Create a test transaction from WalletA to walletB
65
+////        Transaction transaction = new Transaction(walletA.getPublicKey(), walletB.getPublicKey(), 5);
66
+////        transaction.generateSignature(walletA.getPrivateKey());
67
+////        //Verify the signature works and verify it from the public key
68
+////
69
+////
70
+////        System.out.println("Is signature verified");
71
+////        // System.out.println(transaction.verifiySignature());
72
+////    }
73
+//
74
+//
75
+//
76
+//}

+ 3
- 25
ZipCoinRedJavaServer/target/classes/application.properties View File

@@ -1,26 +1,4 @@
1
-logging.level.org.springframework.web=DEBUG
2 1
 
3
-server.port=8080
4
-
5
-spring.h2.console.enabled=true
6
-spring.h2.console.path=/h2
7
-
8
-spring.datasource.url=jdbc:h2:file:~/zipcoin
9
-spring.datasource.username=sa
10
-spring.datasource.password=
11
-spring.datasource.driver-class-name=org.h2.Driver
12
-
13
-spring.datasource.max-active=10
14
-spring.datasource.max-idle=8
15
-spring.datasource.max-wait=10000
16
-spring.datasource.min-evictable-idle-time-millis=1000
17
-spring.datasource.min-idle=8
18
-spring.datasource.time-between-eviction-runs-millis=1
19
-
20
-flyway.baseline-on-migrate=true
21
-spring.jpa.hibernate.ddl-auto=false;
22
-
23
-datasource.flyway.url=jdbc:h2:file:~/zipcoin
24
-datasource.flyway.username=sa
25
-datasource.flyway.password=
26
-datasource.flyway.driver-class-name=org.h2.Driver
2
+spring.jpa.hibernate.ddl-auto=create-drop
3
+spring.datasource.url=jdbc:mysql://localhost:3306/zipcoin?useSSL=false
4
+spring.datasource.username=root

BIN
ZipCoinRedJavaServer/target/classes/com/boot/config/PersistenceConfiguration.class View File


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/config/BlockLoader.class View File


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/config/TransactionLoader.class View File


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/config/WalletLoader.class View File


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/controller/WalletController.class View File


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/model/Transaction.class View File


BIN
ZipCoinRedJavaServer/target/classes/com/zipcoin/model/Wallet.class View File


+ 0
- 8
ZipCoinRedJavaServer/target/classes/db/migration/V2__create_block.sql View File

@@ -1,8 +0,0 @@
1
-CREATE TABLE BLOCK(
2
-	ID INT AUTO_INCREMENT,
3
-	BLOCK_NUMBER INT,
4
-	PREVIOUS_HASH VARCHAR(255),
5
-	NONCE INT,
6
-	CURRENT_HASH VARCHAR(255),
7
-	TRANSACTION_LIST VARCHAR(2000)
8
-);

BIN
ZipCoinRedJavaServer/target/test-classes/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.class View File


+ 51
- 0
src/main/java/redCoin/Main.java View File

@@ -0,0 +1,51 @@
1
+package redCoin;
2
+
3
+import org.apache.commons.codec.digest.DigestUtils;
4
+
5
+public class Main {
6
+
7
+
8
+    public static void main(String[] args) {
9
+
10
+        Main test = new Main();
11
+        Thread t1 = new Thread();
12
+        Thread t2 = new Thread();
13
+
14
+        //System.out.println(test.hash("i"));
15
+        t1.start();
16
+        t2.start();
17
+        System.out.println(test.mine("109875890","shivameindslnadgckgvkvskJNf","ken -> shiv9999999999 3030"));
18
+
19
+    }
20
+
21
+    private Integer nonce = 0;
22
+
23
+
24
+    public String hash(String stringToHash) {
25
+        String hashedString = DigestUtils.sha256Hex(stringToHash);
26
+
27
+        return hashedString;
28
+    }
29
+
30
+    public Integer mine(String block, String previousHash, String data){
31
+        boolean hashCodeCheck = false;
32
+
33
+
34
+        while(hashCodeCheck == false){
35
+            String newHash = hash(block + previousHash + data + nonce.toString());
36
+            System.out.println(newHash);
37
+            if(newHash.startsWith("000012f")){
38
+
39
+                hashCodeCheck = true;
40
+            } else{
41
+
42
+                nonce++;
43
+
44
+            }
45
+        }
46
+        System.out.println(nonce);
47
+        return nonce;
48
+    }
49
+
50
+
51
+}

+ 34
- 0
src/test/java/redCoin/testMain.java View File

@@ -0,0 +1,34 @@
1
+package redCoin;
2
+
3
+import org.apache.commons.codec.digest.DigestUtils;
4
+import org.junit.Test;
5
+import static org.junit.Assert.assertEquals;
6
+
7
+
8
+public class testMain {
9
+
10
+    @Test
11
+    public void hash(){
12
+        Main main = new Main();
13
+        String stringToHash = "this is a test hash";
14
+        String expected = DigestUtils.sha256Hex(stringToHash);
15
+
16
+        String actual = main.hash(stringToHash);
17
+        assertEquals(expected,actual);
18
+    }
19
+
20
+    @Test
21
+    public void testMineBoolean(){
22
+        Main main = new Main();
23
+        String previousHash = "hash1";
24
+        String block = "block1";
25
+        String dataToCrypt = "shivam -> eric 200, eric -> khalil 203";
26
+
27
+        String toHash = main.hash(previousHash+block+dataToCrypt);
28
+
29
+
30
+    }
31
+
32
+
33
+
34
+}

BIN
target/test-classes/redCoin/testMain.class View File