4 Commitit

Tekijä SHA1 Viesti Päivämäärä
  Tennessee Gibbs a89f5bf384 message 6 vuotta sitten
  Tennessee Gibbs 636c668138 brand new 6 vuotta sitten
  Tennessee Gibbs 0757d6fd5e brand new 6 vuotta sitten
  Tennessee Gibbs 9509152b82 just commited 6 vuotta sitten
40 muutettua tiedostoa jossa 617 lisäystä ja 4908 poistoa
  1. BIN
      .DS_Store
  2. 0
    13
      .idea/libraries/Maven__org_springframework_spring_context_5_0_7_RELEASE2.xml
  3. 0
    13
      .idea/libraries/Maven__org_springframework_spring_core_5_0_7_RELEASE2.xml
  4. 0
    13
      .idea/libraries/Maven__org_springframework_spring_jdbc_5_0_7_RELEASE2.xml
  5. 613
    2
      .idea/workspace.xml
  6. 0
    0
      README.md
  7. 0
    4025
      application.log
  8. 0
    225
      mvnw
  9. 0
    143
      mvnw.cmd
  10. 0
    79
      pom.xml
  11. BIN
      src/.DS_Store
  12. BIN
      src/main/.DS_Store
  13. BIN
      src/main/java/.DS_Store
  14. BIN
      src/main/java/com/.DS_Store
  15. BIN
      src/main/java/com/buecoin01/.DS_Store
  16. 0
    15
      src/main/java/com/buecoin01/Application.java
  17. 0
    11
      src/main/java/com/buecoin01/Repositories/BlockRepository.java
  18. 0
    14
      src/main/java/com/buecoin01/Repositories/TransactionRepository.java
  19. 0
    11
      src/main/java/com/buecoin01/Repositories/WalletRepository.java
  20. 0
    56
      src/main/java/com/buecoin01/controller/BlockController.java
  21. 0
    95
      src/main/java/com/buecoin01/model/BlockchainVerification.java
  22. 4
    4
      src/main/java/com/buecoin01/model/Wallet.java
  23. 0
    55
      src/main/java/com/buecoin01/utility/Encryption.java
  24. 0
    34
      src/main/java/com/buecoin01/utility/Mining.java
  25. 0
    30
      src/main/java/com/buecoin01/utility/TransactionInput.java
  26. 0
    54
      src/main/java/com/buecoin01/utility/TransactionOutput.java
  27. 0
    16
      src/test/java/com/buecoin01/ApplicationTests.java
  28. BIN
      target/classes/com/buecoin01/Application.class
  29. BIN
      target/classes/com/buecoin01/Repositories/BlockRepository.class
  30. BIN
      target/classes/com/buecoin01/Repositories/TransactionRepository.class
  31. BIN
      target/classes/com/buecoin01/Repositories/WalletRepository.class
  32. BIN
      target/classes/com/buecoin01/controller/BlockController$UserController.class
  33. BIN
      target/classes/com/buecoin01/controller/BlockController.class
  34. BIN
      target/classes/com/buecoin01/controller/WalletController.class
  35. BIN
      target/classes/com/buecoin01/model/BlockchainVerification.class
  36. BIN
      target/classes/com/buecoin01/utility/Encryption.class
  37. BIN
      target/classes/com/buecoin01/utility/Mining.class
  38. BIN
      target/classes/com/buecoin01/utility/TransactionInput.class
  39. BIN
      target/classes/com/buecoin01/utility/TransactionOutput.class
  40. BIN
      target/test-classes/com/buecoin01/ApplicationTests.class

BIN
.DS_Store Näytä tiedosto


+ 0
- 13
.idea/libraries/Maven__org_springframework_spring_context_5_0_7_RELEASE2.xml Näytä tiedosto

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

+ 0
- 13
.idea/libraries/Maven__org_springframework_spring_core_5_0_7_RELEASE2.xml Näytä tiedosto

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

+ 0
- 13
.idea/libraries/Maven__org_springframework_spring_jdbc_5_0_7_RELEASE2.xml Näytä tiedosto

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

+ 613
- 2
.idea/workspace.xml Näytä tiedosto

@@ -2,6 +2,18 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="86492085-3833-4394-8353-122bd8bc6cb0" name="Default" comment="">
5
+<<<<<<< HEAD
6
+<<<<<<< HEAD
7
+      <change beforePath="$PROJECT_DIR$/application.log" beforeDir="false" afterPath="$PROJECT_DIR$/application.log" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java" afterDir="false" />
13
+=======
14
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java" afterDir="false" />
15
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
16
+=======
5 17
       <change afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java" afterDir="false" />
6 18
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7 19
       <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java" afterDir="false" />
@@ -18,6 +30,7 @@
18 30
       <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/model/Block.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/model/Block.class" afterDir="false" />
19 31
       <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/model/Transactions.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/model/Transactions.class" afterDir="false" />
20 32
       <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/model/Wallet.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/model/Wallet.class" afterDir="false" />
33
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
21 34
     </list>
22 35
     <ignored path="$PROJECT_DIR$/target/" />
23 36
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -29,11 +42,69 @@
29 42
   </component>
30 43
   <component name="FileEditorManager">
31 44
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
45
+<<<<<<< HEAD
46
+<<<<<<< HEAD
47
+      <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
48
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
49
+          <provider selected="true" editor-type-id="text-editor">
50
+            <state relative-caret-position="-1093">
51
+              <caret line="2" column="7" lean-forward="true" selection-start-line="2" selection-start-column="7" selection-end-line="2" selection-end-column="7" />
52
+              <folding>
53
+                <element signature="imports" expanded="true" />
54
+                <element signature="e#971#972#0" expanded="true" />
55
+                <element signature="e#998#999#0" expanded="true" />
56
+                <element signature="e#1038#1039#0" expanded="true" />
57
+                <element signature="e#1070#1071#0" expanded="true" />
58
+                <element signature="e#1093#1094#0" expanded="true" />
59
+                <element signature="e#1126#1127#0" expanded="true" />
60
+                <element signature="e#1167#1168#0" expanded="true" />
61
+                <element signature="e#1200#1201#0" expanded="true" />
62
+                <element signature="e#1239#1240#0" expanded="true" />
63
+                <element signature="e#1271#1272#0" expanded="true" />
64
+                <element signature="e#1302#1303#0" expanded="true" />
65
+                <element signature="e#1331#1332#0" expanded="true" />
66
+                <element signature="e#1373#1374#0" expanded="true" />
67
+                <element signature="e#1409#1410#0" expanded="true" />
68
+                <element signature="e#1525#1526#0" expanded="true" />
69
+                <element signature="e#1565#1566#0" expanded="true" />
70
+                <element signature="e#1592#1593#0" expanded="true" />
71
+                <element signature="e#1617#1618#0" expanded="true" />
72
+                <element signature="e#1651#1652#0" expanded="true" />
73
+                <element signature="e#1679#1680#0" expanded="true" />
74
+              </folding>
75
+=======
76
+      <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
77
+        <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
78
+          <provider selected="true" editor-type-id="text-editor">
79
+            <state relative-caret-position="45">
80
+              <caret line="3" column="36" selection-start-line="3" selection-start-column="36" selection-end-line="3" selection-end-column="36" />
81
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
82
+            </state>
83
+          </provider>
84
+        </entry>
85
+      </file>
86
+      <file leaf-file-name="ProcessLoader.java" pinned="false" current-in-tab="false">
87
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
88
+          <provider selected="true" editor-type-id="text-editor">
89
+<<<<<<< HEAD
90
+            <state relative-caret-position="675">
91
+              <caret line="53" column="30" selection-start-line="53" selection-start-column="30" selection-end-line="53" selection-end-column="30" />
92
+              <folding>
93
+                <element signature="e#1933#1934#0" expanded="true" />
94
+                <element signature="e#1973#1974#0" expanded="true" />
95
+=======
96
+            <state relative-caret-position="390">
97
+              <caret line="26" selection-start-line="26" selection-end-line="26" />
98
+              <folding>
99
+                <element signature="imports" expanded="true" />
100
+              </folding>
101
+=======
32 102
       <file leaf-file-name="Application.java" pinned="false" current-in-tab="false">
33 103
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Application.java">
34 104
           <provider selected="true" editor-type-id="text-editor">
35 105
             <state relative-caret-position="60">
36 106
               <caret line="6" column="22" selection-start-line="6" selection-start-column="22" selection-end-line="6" selection-end-column="22" />
107
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
37 108
             </state>
38 109
           </provider>
39 110
         </entry>
@@ -47,8 +118,57 @@
47 118
           </provider>
48 119
         </entry>
49 120
       </file>
121
+<<<<<<< HEAD
122
+      <file leaf-file-name="Transactions.java" pinned="false" current-in-tab="true">
123
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
124
+          <provider selected="true" editor-type-id="text-editor">
125
+            <state relative-caret-position="202">
126
+              <caret line="31" column="114" selection-start-line="31" selection-start-column="114" selection-end-line="31" selection-end-column="114" />
127
+              <folding>
128
+                <element signature="imports" expanded="true" />
129
+                <element signature="e#854#855#0" expanded="true" />
130
+                <element signature="e#879#880#0" expanded="true" />
131
+                <element signature="e#913#914#0" expanded="true" />
132
+                <element signature="e#941#942#0" expanded="true" />
133
+                <element signature="e#981#982#0" expanded="true" />
134
+                <element signature="e#1017#1018#0" expanded="true" />
135
+                <element signature="e#1075#1076#0" expanded="true" />
136
+                <element signature="e#1125#1126#0" expanded="true" />
137
+                <element signature="e#1158#1159#0" expanded="true" />
138
+                <element signature="e#1187#1188#0" expanded="true" />
139
+                <element signature="e#1231#1232#0" expanded="true" />
140
+                <element signature="e#1267#1268#0" expanded="true" />
141
+                <element signature="e#1298#1299#0" expanded="true" />
142
+                <element signature="e#1325#1326#0" expanded="true" />
143
+                <element signature="e#1365#1366#0" expanded="true" />
144
+                <element signature="e#1397#1398#0" expanded="true" />
145
+                <element signature="e#1429#1430#0" expanded="true" />
146
+                <element signature="e#1458#1459#0" expanded="true" />
147
+                <element signature="e#1501#1502#0" expanded="true" />
148
+                <element signature="e#1537#1538#0" expanded="true" />
149
+                <element signature="e#1580#1581#0" expanded="true" />
150
+                <element signature="e#1612#1613#0" expanded="true" />
151
+                <element signature="e#1669#1670#0" expanded="true" />
152
+                <element signature="e#1711#1712#0" expanded="true" />
153
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
154
+              </folding>
155
+            </state>
156
+          </provider>
157
+        </entry>
158
+      </file>
159
+<<<<<<< HEAD
160
+      <file leaf-file-name="WalletController.java" pinned="false" current-in-tab="true">
161
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java">
162
+          <provider selected="true" editor-type-id="text-editor">
163
+            <state relative-caret-position="255">
164
+              <caret line="17" column="8" selection-start-line="17" selection-start-column="8" selection-end-line="17" selection-end-column="8" />
165
+=======
166
+      <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
167
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
168
+=======
50 169
       <file leaf-file-name="WalletController.java" pinned="false" current-in-tab="false">
51 170
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java">
171
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
52 172
           <provider selected="true" editor-type-id="text-editor">
53 173
             <state relative-caret-position="648">
54 174
               <caret line="52" selection-start-line="52" selection-end-line="52" />
@@ -62,8 +182,14 @@
62 182
       <file leaf-file-name="ProcessLoader.java" pinned="false" current-in-tab="false">
63 183
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
64 184
           <provider selected="true" editor-type-id="text-editor">
185
+<<<<<<< HEAD
186
+            <state relative-caret-position="210">
187
+              <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
188
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
189
+=======
65 190
             <state relative-caret-position="510">
66 191
               <caret line="34" selection-start-line="34" selection-end-line="34" />
192
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
67 193
               <folding>
68 194
                 <element signature="imports" expanded="true" />
69 195
               </folding>
@@ -71,42 +197,101 @@
71 197
           </provider>
72 198
         </entry>
73 199
       </file>
200
+<<<<<<< HEAD
201
+<<<<<<< HEAD
202
+      <file leaf-file-name="ProcessLoader.java" pinned="false" current-in-tab="false">
203
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
204
+          <provider selected="true" editor-type-id="text-editor">
205
+            <state relative-caret-position="108">
206
+              <caret line="18" column="27" lean-forward="true" selection-start-line="18" selection-start-column="27" selection-end-line="18" selection-end-column="27" />
207
+=======
208
+      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="false">
209
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
210
+=======
74 211
       <file leaf-file-name="ConductTransactions.java" pinned="false" current-in-tab="true">
75 212
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java">
213
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
76 214
           <provider selected="true" editor-type-id="text-editor">
77 215
             <state relative-caret-position="394">
78 216
               <caret line="31" column="38" selection-start-line="31" selection-start-column="38" selection-end-line="31" selection-end-column="38" />
79 217
               <folding>
80 218
                 <element signature="imports" expanded="true" />
81 219
               </folding>
220
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
82 221
             </state>
83 222
           </provider>
84 223
         </entry>
85 224
       </file>
225
+<<<<<<< HEAD
226
+      <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
227
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java">
228
+          <provider selected="true" editor-type-id="text-editor">
229
+<<<<<<< HEAD
230
+            <state relative-caret-position="200">
231
+              <caret line="25" column="26" selection-start-line="25" selection-start-column="26" selection-end-line="25" selection-end-column="26" />
232
+=======
233
+            <state relative-caret-position="639">
234
+              <caret line="47" column="40" selection-start-line="47" selection-start-column="40" selection-end-line="47" selection-end-column="40" />
235
+=======
86 236
       <file leaf-file-name="Transactions.java" pinned="false" current-in-tab="false">
87 237
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
88 238
           <provider selected="true" editor-type-id="text-editor">
89 239
             <state relative-caret-position="825">
90 240
               <caret line="71" column="17" selection-start-line="71" selection-start-column="17" selection-end-line="71" selection-end-column="17" />
241
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
91 242
               <folding>
92 243
                 <element signature="imports" expanded="true" />
93 244
               </folding>
245
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
94 246
             </state>
95 247
           </provider>
96 248
         </entry>
97 249
       </file>
250
+<<<<<<< HEAD
251
+<<<<<<< HEAD
252
+      <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
253
+        <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
254
+          <provider selected="true" editor-type-id="text-editor">
255
+            <state relative-caret-position="150">
256
+              <caret line="10" column="31" selection-start-line="10" selection-start-column="31" selection-end-line="10" selection-end-column="31" />
257
+=======
258
+      <file leaf-file-name="TransactionRepository.java" pinned="false" current-in-tab="false">
259
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/TransactionRepository.java">
260
+=======
98 261
       <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
99 262
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
263
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
100 264
           <provider selected="true" editor-type-id="text-editor">
101 265
             <state relative-caret-position="139">
102 266
               <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" />
103 267
               <folding>
104 268
                 <element signature="imports" expanded="true" />
105 269
               </folding>
270
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
271
+            </state>
272
+          </provider>
273
+        </entry>
274
+      </file>
275
+<<<<<<< HEAD
276
+<<<<<<< HEAD
277
+      <file leaf-file-name="Application.java" pinned="false" current-in-tab="false">
278
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Application.java">
279
+          <provider selected="true" editor-type-id="text-editor">
280
+            <state relative-caret-position="120">
281
+              <caret line="10" selection-start-line="10" selection-end-line="10" />
282
+=======
283
+      <file leaf-file-name="BlockRepository.java" pinned="false" current-in-tab="false">
284
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/BlockRepository.java">
285
+          <provider selected="true" editor-type-id="text-editor">
286
+            <state relative-caret-position="75">
287
+              <caret line="8" column="1" selection-start-line="8" selection-end-line="9" />
288
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
106 289
             </state>
107 290
           </provider>
108 291
         </entry>
109 292
       </file>
293
+=======
294
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
110 295
     </leaf>
111 296
   </component>
112 297
   <component name="FileTemplateManagerImpl">
@@ -133,6 +318,17 @@
133 318
   <component name="IdeDocumentHistory">
134 319
     <option name="CHANGED_PATHS">
135 320
       <list>
321
+<<<<<<< HEAD
322
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/TransactionRepository.java" />
323
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java" />
324
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java" />
325
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java" />
326
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java" />
327
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java" />
328
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java" />
329
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java" />
330
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java" />
331
+=======
136 332
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java" />
137 333
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java" />
138 334
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java" />
@@ -144,10 +340,14 @@
144 340
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java" />
145 341
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java" />
146 342
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java" />
343
+<<<<<<< HEAD
344
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
345
+=======
147 346
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java" />
148 347
         <option value="$PROJECT_DIR$/src/main/resources/application.properties" />
149 348
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java" />
150 349
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java" />
350
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
151 351
       </list>
152 352
     </option>
153 353
   </component>
@@ -177,7 +377,11 @@
177 377
       <foldersAlwaysOnTop value="true" />
178 378
     </navigator>
179 379
     <panes>
380
+<<<<<<< HEAD
381
+      <pane id="Scope" />
382
+=======
180 383
       <pane id="AndroidView" />
384
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
181 385
       <pane id="ProjectPane">
182 386
         <subPane>
183 387
           <expand>
@@ -382,10 +586,24 @@
382 586
     <servers />
383 587
   </component>
384 588
   <component name="TimeTrackingManager">
589
+<<<<<<< HEAD
590
+<<<<<<< HEAD
591
+    <option name="totallyTimeSpent" value="4624000" />
592
+  </component>
593
+  <component name="ToolWindowManager">
594
+    <frame x="0" y="0" width="1440" height="827" extended-state="6" />
595
+=======
596
+    <option name="totallyTimeSpent" value="9498000" />
597
+  </component>
598
+  <component name="ToolWindowManager">
599
+    <frame x="0" y="0" width="1280" height="800" extended-state="6" />
600
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
601
+=======
385 602
     <option name="totallyTimeSpent" value="12326000" />
386 603
   </component>
387 604
   <component name="ToolWindowManager">
388 605
     <frame x="0" y="0" width="1920" height="1080" extended-state="6" />
606
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
389 607
     <editor active="true" />
390 608
     <layout>
391 609
       <window_info anchor="right" id="Palette" order="6" />
@@ -400,9 +618,50 @@
400 618
       <window_info id="UI Designer" order="5" />
401 619
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
402 620
       <window_info anchor="bottom" id="TODO" order="6" />
621
+<<<<<<< HEAD
622
+      <window_info anchor="bottom" id="Messages" weight="0.3281471" />
623
+=======
403 624
       <window_info anchor="bottom" id="Messages" order="9" weight="0.27492878" />
625
+<<<<<<< HEAD
626
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
627
+      <window_info anchor="right" id="Palette&#9;" order="3" />
628
+      <window_info id="Image Layers" order="2" />
629
+      <window_info anchor="bottom" id="Java Enterprise" order="7" />
630
+      <window_info anchor="right" id="Capture Analysis" order="3" />
631
+      <window_info anchor="bottom" id="Version Control" order="7" />
632
+<<<<<<< HEAD
633
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.3946252" />
634
+      <window_info anchor="bottom" id="Spring" order="7" />
635
+      <window_info anchor="bottom" id="Terminal" order="7" />
636
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24177396" />
637
+=======
638
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.32763532" />
639
+      <window_info anchor="bottom" id="Spring" order="7" weight="0.3299389" />
640
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32905984" />
641
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2536349" />
642
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
643
+      <window_info anchor="right" id="Bean Validation" order="3" />
644
+      <window_info id="Web" order="2" side_tool="true" />
645
+      <window_info anchor="right" id="Theme Preview" order="3" />
646
+      <window_info id="Favorites" order="2" side_tool="true" />
647
+<<<<<<< HEAD
648
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
649
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
650
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
651
+      <window_info anchor="bottom" id="Message" order="0" />
652
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
653
+      <window_info anchor="bottom" id="Find" order="1" />
654
+=======
655
+      <window_info anchor="bottom" id="Message" order="0" />
656
+      <window_info anchor="bottom" id="Run" order="2" />
657
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
658
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.30329043" />
659
+      <window_info id="Favorites" order="5" side_tool="true" />
660
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
661
+=======
404 662
       <window_info anchor="right" id="Palette&#9;" order="6" />
405 663
       <window_info id="Image Layers" order="5" />
664
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
406 665
       <window_info anchor="bottom" id="Java Enterprise" order="10" />
407 666
       <window_info anchor="right" id="Capture Analysis" order="6" />
408 667
       <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.3299389" />
@@ -420,6 +679,13 @@
420 679
       <window_info anchor="bottom" id="Message" order="0" />
421 680
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
422 681
       <window_info anchor="bottom" id="Find" order="1" />
682
+<<<<<<< HEAD
683
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
684
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
685
+      <window_info id="Designer" order="5" />
686
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
687
+=======
688
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
423 689
     </layout>
424 690
     <layout-to-restore>
425 691
       <window_info id="Designer" order="0" />
@@ -462,6 +728,37 @@
462 728
     <option name="myLimit" value="2678400000" />
463 729
   </component>
464 730
   <component name="editorHistoryManager">
731
+<<<<<<< HEAD
732
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
733
+<<<<<<< HEAD
734
+      <provider selected="true" editor-type-id="text-editor">
735
+        <state relative-caret-position="75">
736
+          <caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
737
+        </state>
738
+      </provider>
739
+    </entry>
740
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java">
741
+      <provider selected="true" editor-type-id="text-editor">
742
+        <state relative-caret-position="60">
743
+          <caret line="10" column="14" selection-start-line="10" selection-start-column="14" selection-end-line="10" selection-end-column="14" />
744
+          <folding>
745
+            <element signature="e#1933#1934#0" expanded="true" />
746
+            <element signature="e#1973#1974#0" expanded="true" />
747
+          </folding>
748
+=======
749
+      <provider selected="true" editor-type-id="text-editor">
750
+        <state relative-caret-position="360">
751
+          <caret line="24" column="29" selection-start-line="24" selection-start-column="29" selection-end-line="24" selection-end-column="29" />
752
+          <folding>
753
+            <element signature="e#581#582#0" expanded="true" />
754
+            <element signature="e#621#622#0" expanded="true" />
755
+            <element signature="e#653#654#0" expanded="true" />
756
+          </folding>
757
+        </state>
758
+      </provider>
759
+    </entry>
760
+=======
761
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
465 762
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/CoinRepository.java" />
466 763
     <entry file="file://$PROJECT_DIR$/src/test/java/com/buecoin01/ApplicationTests.java">
467 764
       <provider selected="true" editor-type-id="text-editor">
@@ -506,19 +803,53 @@
506 803
       <provider selected="true" editor-type-id="text-editor">
507 804
         <state relative-caret-position="150">
508 805
           <caret line="10" column="31" selection-start-line="10" selection-start-column="31" selection-end-line="10" selection-end-column="31" />
806
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
509 807
         </state>
510 808
       </provider>
511 809
     </entry>
512
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
810
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java">
513 811
       <provider selected="true" editor-type-id="text-editor">
812
+<<<<<<< HEAD
813
+        <state relative-caret-position="450">
814
+          <caret line="37" column="42" selection-start-line="37" selection-start-column="42" selection-end-line="37" selection-end-column="42" />
815
+          <folding>
816
+            <element signature="imports" expanded="true" />
817
+=======
514 818
         <state relative-caret-position="360">
515 819
           <caret line="24" column="29" selection-start-line="24" selection-start-column="29" selection-end-line="24" selection-end-column="29" />
516 820
           <folding>
821
+<<<<<<< HEAD
822
+            <element signature="e#581#582#0" expanded="true" />
823
+            <element signature="e#621#622#0" expanded="true" />
824
+            <element signature="e#653#654#0" expanded="true" />
825
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
826
+=======
517 827
             <element signature="imports" expanded="true" />
828
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
518 829
           </folding>
519 830
         </state>
520 831
       </provider>
521 832
     </entry>
833
+<<<<<<< HEAD
834
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
835
+      <provider selected="true" editor-type-id="text-editor">
836
+        <state relative-caret-position="75">
837
+          <caret line="8" column="73" selection-start-line="8" selection-start-column="73" selection-end-line="8" selection-end-column="73" />
838
+        </state>
839
+      </provider>
840
+    </entry>
841
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/BlockRepository.java">
842
+      <provider selected="true" editor-type-id="text-editor">
843
+        <state relative-caret-position="75">
844
+          <caret line="8" column="1" selection-start-line="8" selection-end-line="9" />
845
+        </state>
846
+      </provider>
847
+    </entry>
848
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
849
+      <provider selected="true" editor-type-id="text-editor">
850
+        <state relative-caret-position="600">
851
+          <caret line="47" column="40" selection-start-line="47" selection-start-column="40" selection-end-line="47" selection-end-column="40" />
852
+=======
522 853
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/CoinRepository.java" />
523 854
     <entry file="file://$PROJECT_DIR$/src/test/java/com/buecoin01/ApplicationTests.java">
524 855
       <provider selected="true" editor-type-id="text-editor">
@@ -538,6 +869,7 @@
538 869
       <provider selected="true" editor-type-id="text-editor">
539 870
         <state relative-caret-position="293">
540 871
           <caret line="26" column="71" selection-start-line="26" selection-start-column="71" selection-end-line="26" selection-end-column="71" />
872
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
541 873
           <folding>
542 874
             <element signature="imports" expanded="true" />
543 875
           </folding>
@@ -551,6 +883,29 @@
551 883
         </state>
552 884
       </provider>
553 885
     </entry>
886
+<<<<<<< HEAD
887
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
888
+      <provider selected="true" editor-type-id="text-editor">
889
+        <state relative-caret-position="150">
890
+          <caret line="10" column="20" selection-end-line="57" />
891
+        </state>
892
+      </provider>
893
+    </entry>
894
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java">
895
+      <provider selected="true" editor-type-id="text-editor">
896
+        <state relative-caret-position="1065">
897
+          <caret line="78" column="34" selection-start-line="78" selection-start-column="34" selection-end-line="78" selection-end-column="34" />
898
+        </state>
899
+      </provider>
900
+    </entry>
901
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/TransactionRepository.java">
902
+      <provider selected="true" editor-type-id="text-editor">
903
+        <state relative-caret-position="120">
904
+          <caret line="13" lean-forward="true" selection-start-line="13" selection-end-line="13" />
905
+          <folding>
906
+            <element signature="imports" expanded="true" />
907
+          </folding>
908
+=======
554 909
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Coin.java" />
555 910
     <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
556 911
       <provider selected="true" editor-type-id="text-editor" />
@@ -725,12 +1080,23 @@
725 1080
     </entry>
726 1081
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
727 1082
       <provider selected="true" editor-type-id="text-editor">
1083
+<<<<<<< HEAD
1084
+        <state relative-caret-position="60">
1085
+          <caret line="6" column="22" selection-start-line="6" selection-start-column="22" selection-end-line="6" selection-end-column="22" />
1086
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
1087
+        </state>
1088
+      </provider>
1089
+    </entry>
1090
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Coin.java" />
1091
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
1092
+=======
728 1093
         <state relative-caret-position="639">
729 1094
           <caret line="47" column="40" selection-start-line="47" selection-start-column="40" selection-end-line="47" selection-end-column="40" />
730 1095
         </state>
731 1096
       </provider>
732 1097
     </entry>
733 1098
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
1099
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
734 1100
       <provider selected="true" editor-type-id="text-editor">
735 1101
         <state relative-caret-position="148">
736 1102
           <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
@@ -755,10 +1121,20 @@
755 1121
         </state>
756 1122
       </provider>
757 1123
     </entry>
758
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
1124
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/TransactionRepository.java">
759 1125
       <provider selected="true" editor-type-id="text-editor">
1126
+<<<<<<< HEAD
1127
+<<<<<<< HEAD
1128
+        <state relative-caret-position="165">
1129
+          <caret line="11" column="17" selection-start-line="11" selection-start-column="17" selection-end-line="11" selection-end-column="17" />
1130
+=======
1131
+        <state relative-caret-position="210">
1132
+          <caret line="14" column="42" lean-forward="true" selection-start-line="14" selection-start-column="42" selection-end-line="14" selection-end-column="42" />
1133
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
1134
+=======
760 1135
         <state relative-caret-position="599">
761 1136
           <caret line="56" lean-forward="true" selection-start-line="56" selection-end-line="56" />
1137
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
762 1138
           <folding>
763 1139
             <element signature="imports" expanded="true" />
764 1140
           </folding>
@@ -767,26 +1143,118 @@
767 1143
     </entry>
768 1144
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
769 1145
       <provider selected="true" editor-type-id="text-editor">
1146
+<<<<<<< HEAD
1147
+<<<<<<< HEAD
1148
+        <state relative-caret-position="673">
1149
+=======
1150
+        <state relative-caret-position="639">
1151
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
1152
+          <caret line="47" column="40" selection-start-line="47" selection-start-column="40" selection-end-line="47" selection-end-column="40" />
1153
+=======
770 1154
         <state relative-caret-position="825">
771 1155
           <caret line="71" column="17" selection-start-line="71" selection-start-column="17" selection-end-line="71" selection-end-column="17" />
1156
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
772 1157
           <folding>
773 1158
             <element signature="imports" expanded="true" />
774 1159
           </folding>
775 1160
         </state>
776 1161
       </provider>
777 1162
     </entry>
1163
+<<<<<<< HEAD
1164
+<<<<<<< HEAD
1165
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java">
1166
+      <provider selected="true" editor-type-id="text-editor">
1167
+        <state relative-caret-position="675">
1168
+          <caret line="53" column="30" selection-start-line="53" selection-start-column="30" selection-end-line="53" selection-end-column="30" />
1169
+          <folding>
1170
+            <element signature="e#1933#1934#0" expanded="true" />
1171
+            <element signature="e#1973#1974#0" expanded="true" />
1172
+          </folding>
1173
+        </state>
1174
+      </provider>
1175
+    </entry>
1176
+    <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/spring-orm/5.0.7.RELEASE/spring-orm-5.0.7.RELEASE-sources.jar!/org/springframework/orm/jpa/vendor/SpringHibernateJpaPersistenceProvider.java">
1177
+      <provider selected="true" editor-type-id="text-editor">
1178
+        <state relative-caret-position="345">
1179
+          <caret line="56" selection-start-line="56" selection-end-line="56" />
1180
+        </state>
1181
+      </provider>
1182
+    </entry>
1183
+    <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/spring-orm/5.0.7.RELEASE/spring-orm-5.0.7.RELEASE-sources.jar!/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.java">
1184
+      <provider selected="true" editor-type-id="text-editor">
1185
+        <state relative-caret-position="165">
1186
+          <caret line="364" selection-start-line="364" selection-end-line="364" />
1187
+        </state>
1188
+      </provider>
1189
+    </entry>
1190
+    <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/2.0.3.RELEASE/spring-boot-autoconfigure-2.0.3.RELEASE-sources.jar!/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java">
1191
+      <provider selected="true" editor-type-id="text-editor">
1192
+        <state relative-caret-position="442">
1193
+          <caret line="135" column="14" lean-forward="true" selection-start-line="135" selection-start-column="14" selection-end-line="135" selection-end-column="14" />
1194
+=======
1195
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
1196
+=======
778 1197
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
1198
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
779 1199
       <provider selected="true" editor-type-id="text-editor">
780 1200
         <state relative-caret-position="510">
781 1201
           <caret line="34" selection-start-line="34" selection-end-line="34" />
782 1202
           <folding>
783 1203
             <element signature="imports" expanded="true" />
784 1204
           </folding>
1205
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
785 1206
         </state>
786 1207
       </provider>
787 1208
     </entry>
788 1209
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Application.java">
789 1210
       <provider selected="true" editor-type-id="text-editor">
1211
+<<<<<<< HEAD
1212
+<<<<<<< HEAD
1213
+        <state relative-caret-position="113">
1214
+          <caret line="37" column="42" selection-start-line="37" selection-start-column="42" selection-end-line="37" selection-end-column="42" />
1215
+=======
1216
+        <state relative-caret-position="210">
1217
+          <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
1218
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
1219
+          <folding>
1220
+            <element signature="imports" expanded="true" />
1221
+          </folding>
1222
+        </state>
1223
+      </provider>
1224
+    </entry>
1225
+<<<<<<< HEAD
1226
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
1227
+      <provider selected="true" editor-type-id="text-editor">
1228
+        <state relative-caret-position="136">
1229
+          <caret line="10" column="20" selection-end-line="57" />
1230
+        </state>
1231
+      </provider>
1232
+    </entry>
1233
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java">
1234
+      <provider selected="true" editor-type-id="text-editor">
1235
+        <state relative-caret-position="-1201">
1236
+          <caret line="16" column="14" selection-start-line="16" selection-start-column="14" selection-end-line="16" selection-end-column="14" />
1237
+        </state>
1238
+      </provider>
1239
+    </entry>
1240
+    <entry file="file://$PROJECT_DIR$/pom.xml">
1241
+      <provider selected="true" editor-type-id="text-editor">
1242
+        <state relative-caret-position="152">
1243
+          <caret line="67" lean-forward="true" selection-start-line="67" selection-end-line="67" />
1244
+        </state>
1245
+      </provider>
1246
+    </entry>
1247
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
1248
+      <provider selected="true" editor-type-id="text-editor">
1249
+        <state relative-caret-position="241">
1250
+          <caret line="46" selection-start-line="46" selection-end-line="46" />
1251
+=======
1252
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
1253
+      <provider selected="true" editor-type-id="text-editor">
1254
+        <state relative-caret-position="390">
1255
+          <caret line="26" selection-start-line="26" selection-end-line="26" />
1256
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
1257
+=======
790 1258
         <state relative-caret-position="60">
791 1259
           <caret line="6" column="22" selection-start-line="6" selection-start-column="22" selection-end-line="6" selection-end-column="22" />
792 1260
         </state>
@@ -796,8 +1264,29 @@
796 1264
       <provider selected="true" editor-type-id="text-editor">
797 1265
         <state relative-caret-position="139">
798 1266
           <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" />
1267
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
799 1268
           <folding>
800 1269
             <element signature="imports" expanded="true" />
1270
+            <element signature="e#971#972#0" expanded="true" />
1271
+            <element signature="e#998#999#0" expanded="true" />
1272
+            <element signature="e#1038#1039#0" expanded="true" />
1273
+            <element signature="e#1070#1071#0" expanded="true" />
1274
+            <element signature="e#1093#1094#0" expanded="true" />
1275
+            <element signature="e#1126#1127#0" expanded="true" />
1276
+            <element signature="e#1167#1168#0" expanded="true" />
1277
+            <element signature="e#1200#1201#0" expanded="true" />
1278
+            <element signature="e#1239#1240#0" expanded="true" />
1279
+            <element signature="e#1271#1272#0" expanded="true" />
1280
+            <element signature="e#1302#1303#0" expanded="true" />
1281
+            <element signature="e#1331#1332#0" expanded="true" />
1282
+            <element signature="e#1373#1374#0" expanded="true" />
1283
+            <element signature="e#1409#1410#0" expanded="true" />
1284
+            <element signature="e#1525#1526#0" expanded="true" />
1285
+            <element signature="e#1565#1566#0" expanded="true" />
1286
+            <element signature="e#1592#1593#0" expanded="true" />
1287
+            <element signature="e#1617#1618#0" expanded="true" />
1288
+            <element signature="e#1651#1652#0" expanded="true" />
1289
+            <element signature="e#1679#1680#0" expanded="true" />
801 1290
           </folding>
802 1291
         </state>
803 1292
       </provider>
@@ -809,6 +1298,62 @@
809 1298
         </state>
810 1299
       </provider>
811 1300
     </entry>
1301
+<<<<<<< HEAD
1302
+<<<<<<< HEAD
1303
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Application.java">
1304
+      <provider selected="true" editor-type-id="text-editor">
1305
+        <state relative-caret-position="120">
1306
+          <caret line="10" selection-start-line="10" selection-end-line="10" />
1307
+        </state>
1308
+      </provider>
1309
+    </entry>
1310
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Application.java">
1311
+      <provider selected="true" editor-type-id="text-editor">
1312
+        <state relative-caret-position="120">
1313
+          <caret line="10" selection-start-line="10" selection-end-line="10" />
1314
+        </state>
1315
+      </provider>
1316
+    </entry>
1317
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Coin.java" />
1318
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
1319
+      <provider selected="true" editor-type-id="text-editor">
1320
+        <state relative-caret-position="75">
1321
+          <caret line="8" column="73" selection-start-line="8" selection-start-column="73" selection-end-line="8" selection-end-column="73" />
1322
+        </state>
1323
+      </provider>
1324
+    </entry>
1325
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/BlockRepository.java">
1326
+      <provider selected="true" editor-type-id="text-editor">
1327
+        <state relative-caret-position="90">
1328
+          <caret line="8" column="1" selection-start-line="8" selection-end-line="9" />
1329
+        </state>
1330
+      </provider>
1331
+    </entry>
1332
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
1333
+      <provider selected="true" editor-type-id="text-editor">
1334
+        <state relative-caret-position="136">
1335
+          <caret line="10" column="20" selection-end-line="57" />
1336
+        </state>
1337
+      </provider>
1338
+    </entry>
1339
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
1340
+      <provider selected="true" editor-type-id="text-editor">
1341
+        <state relative-caret-position="673">
1342
+          <caret line="47" column="40" selection-start-line="47" selection-start-column="40" selection-end-line="47" selection-end-column="40" />
1343
+        </state>
1344
+      </provider>
1345
+    </entry>
1346
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
1347
+      <provider selected="true" editor-type-id="text-editor">
1348
+        <state relative-caret-position="150">
1349
+          <caret line="10" column="31" selection-start-line="10" selection-start-column="31" selection-end-line="10" selection-end-column="31" />
1350
+=======
1351
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
1352
+      <provider selected="true" editor-type-id="text-editor">
1353
+        <state relative-caret-position="28">
1354
+          <caret line="24" column="16" lean-forward="true" selection-start-line="24" selection-end-line="25" />
1355
+>>>>>>> 8f54c3eecc5bed7d04144a96ce991b00bf0a29ef
1356
+=======
812 1357
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java">
813 1358
       <provider selected="true" editor-type-id="text-editor">
814 1359
         <state relative-caret-position="648">
@@ -816,6 +1361,7 @@
816 1361
           <folding>
817 1362
             <element signature="imports" expanded="true" />
818 1363
           </folding>
1364
+>>>>>>> 83b86f0a924ec01b4de5bc873174ce272b8219a1
819 1365
         </state>
820 1366
       </provider>
821 1367
     </entry>
@@ -829,5 +1375,70 @@
829 1375
         </state>
830 1376
       </provider>
831 1377
     </entry>
1378
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/BlockchainVerification.java">
1379
+      <provider selected="true" editor-type-id="text-editor">
1380
+        <state relative-caret-position="675">
1381
+          <caret line="53" column="30" selection-start-line="53" selection-start-column="30" selection-end-line="53" selection-end-column="30" />
1382
+          <folding>
1383
+            <element signature="e#1933#1934#0" expanded="true" />
1384
+            <element signature="e#1973#1974#0" expanded="true" />
1385
+          </folding>
1386
+        </state>
1387
+      </provider>
1388
+    </entry>
1389
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
1390
+      <provider selected="true" editor-type-id="text-editor">
1391
+        <state relative-caret-position="108">
1392
+          <caret line="18" column="27" lean-forward="true" selection-start-line="18" selection-start-column="27" selection-end-line="18" selection-end-column="27" />
1393
+        </state>
1394
+      </provider>
1395
+    </entry>
1396
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transaction.java">
1397
+      <provider selected="true" editor-type-id="text-editor">
1398
+        <state relative-caret-position="200">
1399
+          <caret line="25" column="26" selection-start-line="25" selection-start-column="26" selection-end-line="25" selection-end-column="26" />
1400
+        </state>
1401
+      </provider>
1402
+    </entry>
1403
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
1404
+      <provider selected="true" editor-type-id="text-editor">
1405
+        <state relative-caret-position="-1093">
1406
+          <caret line="2" column="7" lean-forward="true" selection-start-line="2" selection-start-column="7" selection-end-line="2" selection-end-column="7" />
1407
+          <folding>
1408
+            <element signature="imports" expanded="true" />
1409
+            <element signature="e#971#972#0" expanded="true" />
1410
+            <element signature="e#998#999#0" expanded="true" />
1411
+            <element signature="e#1038#1039#0" expanded="true" />
1412
+            <element signature="e#1070#1071#0" expanded="true" />
1413
+            <element signature="e#1093#1094#0" expanded="true" />
1414
+            <element signature="e#1126#1127#0" expanded="true" />
1415
+            <element signature="e#1167#1168#0" expanded="true" />
1416
+            <element signature="e#1200#1201#0" expanded="true" />
1417
+            <element signature="e#1239#1240#0" expanded="true" />
1418
+            <element signature="e#1271#1272#0" expanded="true" />
1419
+            <element signature="e#1302#1303#0" expanded="true" />
1420
+            <element signature="e#1331#1332#0" expanded="true" />
1421
+            <element signature="e#1373#1374#0" expanded="true" />
1422
+            <element signature="e#1409#1410#0" expanded="true" />
1423
+            <element signature="e#1525#1526#0" expanded="true" />
1424
+            <element signature="e#1565#1566#0" expanded="true" />
1425
+            <element signature="e#1592#1593#0" expanded="true" />
1426
+            <element signature="e#1617#1618#0" expanded="true" />
1427
+            <element signature="e#1651#1652#0" expanded="true" />
1428
+            <element signature="e#1679#1680#0" expanded="true" />
1429
+          </folding>
1430
+        </state>
1431
+      </provider>
1432
+    </entry>
1433
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/WalletController.java">
1434
+      <provider selected="true" editor-type-id="text-editor">
1435
+        <state relative-caret-position="255">
1436
+          <caret line="17" column="8" selection-start-line="17" selection-start-column="8" selection-end-line="17" selection-end-column="8" />
1437
+          <folding>
1438
+            <element signature="imports" expanded="true" />
1439
+          </folding>
1440
+        </state>
1441
+      </provider>
1442
+    </entry>
832 1443
   </component>
833 1444
 </project>

+ 0
- 0
README.md Näytä tiedosto


+ 0
- 4025
application.log
File diff suppressed because it is too large
Näytä tiedosto


+ 0
- 225
mvnw Näytä tiedosto

@@ -1,225 +0,0 @@
1
-#!/bin/sh
2
-# ----------------------------------------------------------------------------
3
-# Licensed to the Apache Software Foundation (ASF) under one
4
-# or more contributor license agreements.  See the NOTICE file
5
-# distributed with this work for additional information
6
-# regarding copyright ownership.  The ASF licenses this file
7
-# to you under the Apache License, Version 2.0 (the
8
-# "License"); you may not use this file except in compliance
9
-# with the License.  You may obtain a copy of the License at
10
-#
11
-#    http://www.apache.org/licenses/LICENSE-2.0
12
-#
13
-# Unless required by applicable law or agreed to in writing,
14
-# software distributed under the License is distributed on an
15
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
-# KIND, either express or implied.  See the License for the
17
-# specific language governing permissions and limitations
18
-# under the License.
19
-# ----------------------------------------------------------------------------
20
-
21
-# ----------------------------------------------------------------------------
22
-# Maven2 Start Up Batch script
23
-#
24
-# Required ENV vars:
25
-# ------------------
26
-#   JAVA_HOME - location of a JDK home dir
27
-#
28
-# Optional ENV vars
29
-# -----------------
30
-#   M2_HOME - location of maven2's installed home dir
31
-#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
32
-#     e.g. to debug Maven itself, use
33
-#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34
-#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35
-# ----------------------------------------------------------------------------
36
-
37
-if [ -z "$MAVEN_SKIP_RC" ] ; then
38
-
39
-  if [ -f /etc/mavenrc ] ; then
40
-    . /etc/mavenrc
41
-  fi
42
-
43
-  if [ -f "$HOME/.mavenrc" ] ; then
44
-    . "$HOME/.mavenrc"
45
-  fi
46
-
47
-fi
48
-
49
-# OS specific support.  $var _must_ be set to either true or false.
50
-cygwin=false;
51
-darwin=false;
52
-mingw=false
53
-case "`uname`" in
54
-  CYGWIN*) cygwin=true ;;
55
-  MINGW*) mingw=true;;
56
-  Darwin*) darwin=true
57
-    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
58
-    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
59
-    if [ -z "$JAVA_HOME" ]; then
60
-      if [ -x "/usr/libexec/java_home" ]; then
61
-        export JAVA_HOME="`/usr/libexec/java_home`"
62
-      else
63
-        export JAVA_HOME="/Library/Java/Home"
64
-      fi
65
-    fi
66
-    ;;
67
-esac
68
-
69
-if [ -z "$JAVA_HOME" ] ; then
70
-  if [ -r /etc/gentoo-release ] ; then
71
-    JAVA_HOME=`java-config --jre-home`
72
-  fi
73
-fi
74
-
75
-if [ -z "$M2_HOME" ] ; then
76
-  ## resolve links - $0 may be a link to maven's home
77
-  PRG="$0"
78
-
79
-  # need this for relative symlinks
80
-  while [ -h "$PRG" ] ; do
81
-    ls=`ls -ld "$PRG"`
82
-    link=`expr "$ls" : '.*-> \(.*\)$'`
83
-    if expr "$link" : '/.*' > /dev/null; then
84
-      PRG="$link"
85
-    else
86
-      PRG="`dirname "$PRG"`/$link"
87
-    fi
88
-  done
89
-
90
-  saveddir=`pwd`
91
-
92
-  M2_HOME=`dirname "$PRG"`/..
93
-
94
-  # make it fully qualified
95
-  M2_HOME=`cd "$M2_HOME" && pwd`
96
-
97
-  cd "$saveddir"
98
-  # echo Using m2 at $M2_HOME
99
-fi
100
-
101
-# For Cygwin, ensure paths are in UNIX format before anything is touched
102
-if $cygwin ; then
103
-  [ -n "$M2_HOME" ] &&
104
-    M2_HOME=`cygpath --unix "$M2_HOME"`
105
-  [ -n "$JAVA_HOME" ] &&
106
-    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
107
-  [ -n "$CLASSPATH" ] &&
108
-    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
109
-fi
110
-
111
-# For Migwn, ensure paths are in UNIX format before anything is touched
112
-if $mingw ; then
113
-  [ -n "$M2_HOME" ] &&
114
-    M2_HOME="`(cd "$M2_HOME"; pwd)`"
115
-  [ -n "$JAVA_HOME" ] &&
116
-    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
117
-  # TODO classpath?
118
-fi
119
-
120
-if [ -z "$JAVA_HOME" ]; then
121
-  javaExecutable="`which javac`"
122
-  if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
123
-    # readlink(1) is not available as standard on Solaris 10.
124
-    readLink=`which readlink`
125
-    if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
126
-      if $darwin ; then
127
-        javaHome="`dirname \"$javaExecutable\"`"
128
-        javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
129
-      else
130
-        javaExecutable="`readlink -f \"$javaExecutable\"`"
131
-      fi
132
-      javaHome="`dirname \"$javaExecutable\"`"
133
-      javaHome=`expr "$javaHome" : '\(.*\)/bin'`
134
-      JAVA_HOME="$javaHome"
135
-      export JAVA_HOME
136
-    fi
137
-  fi
138
-fi
139
-
140
-if [ -z "$JAVACMD" ] ; then
141
-  if [ -n "$JAVA_HOME"  ] ; then
142
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
143
-      # IBM's JDK on AIX uses strange locations for the executables
144
-      JAVACMD="$JAVA_HOME/jre/sh/java"
145
-    else
146
-      JAVACMD="$JAVA_HOME/bin/java"
147
-    fi
148
-  else
149
-    JAVACMD="`which java`"
150
-  fi
151
-fi
152
-
153
-if [ ! -x "$JAVACMD" ] ; then
154
-  echo "Error: JAVA_HOME is not defined correctly." >&2
155
-  echo "  We cannot execute $JAVACMD" >&2
156
-  exit 1
157
-fi
158
-
159
-if [ -z "$JAVA_HOME" ] ; then
160
-  echo "Warning: JAVA_HOME environment variable is not set."
161
-fi
162
-
163
-CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
164
-
165
-# traverses directory structure from process work directory to filesystem root
166
-# first directory with .mvn subdirectory is considered project base directory
167
-find_maven_basedir() {
168
-
169
-  if [ -z "$1" ]
170
-  then
171
-    echo "Path not specified to find_maven_basedir"
172
-    return 1
173
-  fi
174
-
175
-  basedir="$1"
176
-  wdir="$1"
177
-  while [ "$wdir" != '/' ] ; do
178
-    if [ -d "$wdir"/.mvn ] ; then
179
-      basedir=$wdir
180
-      break
181
-    fi
182
-    # workaround for JBEAP-8937 (on Solaris 10/Sparc)
183
-    if [ -d "${wdir}" ]; then
184
-      wdir=`cd "$wdir/.."; pwd`
185
-    fi
186
-    # end of workaround
187
-  done
188
-  echo "${basedir}"
189
-}
190
-
191
-# concatenates all lines of a file
192
-concat_lines() {
193
-  if [ -f "$1" ]; then
194
-    echo "$(tr -s '\n' ' ' < "$1")"
195
-  fi
196
-}
197
-
198
-BASE_DIR=`find_maven_basedir "$(pwd)"`
199
-if [ -z "$BASE_DIR" ]; then
200
-  exit 1;
201
-fi
202
-
203
-export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
204
-echo $MAVEN_PROJECTBASEDIR
205
-MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
206
-
207
-# For Cygwin, switch paths to Windows format before running java
208
-if $cygwin; then
209
-  [ -n "$M2_HOME" ] &&
210
-    M2_HOME=`cygpath --path --windows "$M2_HOME"`
211
-  [ -n "$JAVA_HOME" ] &&
212
-    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
213
-  [ -n "$CLASSPATH" ] &&
214
-    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
215
-  [ -n "$MAVEN_PROJECTBASEDIR" ] &&
216
-    MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
217
-fi
218
-
219
-WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
220
-
221
-exec "$JAVACMD" \
222
-  $MAVEN_OPTS \
223
-  -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
224
-  "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
225
-  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

+ 0
- 143
mvnw.cmd Näytä tiedosto

@@ -1,143 +0,0 @@
1
-@REM ----------------------------------------------------------------------------
2
-@REM Licensed to the Apache Software Foundation (ASF) under one
3
-@REM or more contributor license agreements.  See the NOTICE file
4
-@REM distributed with this work for additional information
5
-@REM regarding copyright ownership.  The ASF licenses this file
6
-@REM to you under the Apache License, Version 2.0 (the
7
-@REM "License"); you may not use this file except in compliance
8
-@REM with the License.  You may obtain a copy of the License at
9
-@REM
10
-@REM    http://www.apache.org/licenses/LICENSE-2.0
11
-@REM
12
-@REM Unless required by applicable law or agreed to in writing,
13
-@REM software distributed under the License is distributed on an
14
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
-@REM KIND, either express or implied.  See the License for the
16
-@REM specific language governing permissions and limitations
17
-@REM under the License.
18
-@REM ----------------------------------------------------------------------------
19
-
20
-@REM ----------------------------------------------------------------------------
21
-@REM Maven2 Start Up Batch script
22
-@REM
23
-@REM Required ENV vars:
24
-@REM JAVA_HOME - location of a JDK home dir
25
-@REM
26
-@REM Optional ENV vars
27
-@REM M2_HOME - location of maven2's installed home dir
28
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
-@REM     e.g. to debug Maven itself, use
32
-@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
-@REM ----------------------------------------------------------------------------
35
-
36
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
-@echo off
38
-@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
-@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
40
-
41
-@REM set %HOME% to equivalent of $HOME
42
-if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
43
-
44
-@REM Execute a user defined script before this one
45
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
46
-@REM check for pre script, once with legacy .bat ending and once with .cmd ending
47
-if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
48
-if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
49
-:skipRcPre
50
-
51
-@setlocal
52
-
53
-set ERROR_CODE=0
54
-
55
-@REM To isolate internal variables from possible post scripts, we use another setlocal
56
-@setlocal
57
-
58
-@REM ==== START VALIDATION ====
59
-if not "%JAVA_HOME%" == "" goto OkJHome
60
-
61
-echo.
62
-echo Error: JAVA_HOME not found in your environment. >&2
63
-echo Please set the JAVA_HOME variable in your environment to match the >&2
64
-echo location of your Java installation. >&2
65
-echo.
66
-goto error
67
-
68
-:OkJHome
69
-if exist "%JAVA_HOME%\bin\java.exe" goto init
70
-
71
-echo.
72
-echo Error: JAVA_HOME is set to an invalid directory. >&2
73
-echo JAVA_HOME = "%JAVA_HOME%" >&2
74
-echo Please set the JAVA_HOME variable in your environment to match the >&2
75
-echo location of your Java installation. >&2
76
-echo.
77
-goto error
78
-
79
-@REM ==== END VALIDATION ====
80
-
81
-:init
82
-
83
-@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
84
-@REM Fallback to current working directory if not found.
85
-
86
-set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
87
-IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
88
-
89
-set EXEC_DIR=%CD%
90
-set WDIR=%EXEC_DIR%
91
-:findBaseDir
92
-IF EXIST "%WDIR%"\.mvn goto baseDirFound
93
-cd ..
94
-IF "%WDIR%"=="%CD%" goto baseDirNotFound
95
-set WDIR=%CD%
96
-goto findBaseDir
97
-
98
-:baseDirFound
99
-set MAVEN_PROJECTBASEDIR=%WDIR%
100
-cd "%EXEC_DIR%"
101
-goto endDetectBaseDir
102
-
103
-:baseDirNotFound
104
-set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
105
-cd "%EXEC_DIR%"
106
-
107
-:endDetectBaseDir
108
-
109
-IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
110
-
111
-@setlocal EnableExtensions EnableDelayedExpansion
112
-for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
113
-@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
114
-
115
-:endReadAdditionalConfig
116
-
117
-SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
118
-
119
-set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
120
-set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
121
-
122
-%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
123
-if ERRORLEVEL 1 goto error
124
-goto end
125
-
126
-:error
127
-set ERROR_CODE=1
128
-
129
-:end
130
-@endlocal & set ERROR_CODE=%ERROR_CODE%
131
-
132
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
133
-@REM check for post script, once with legacy .bat ending and once with .cmd ending
134
-if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
135
-if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
136
-:skipRcPost
137
-
138
-@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
139
-if "%MAVEN_BATCH_PAUSE%" == "on" pause
140
-
141
-if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
142
-
143
-exit /B %ERROR_CODE%

+ 0
- 79
pom.xml Näytä tiedosto

@@ -1,79 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
-	<modelVersion>4.0.0</modelVersion>
5
-
6
-	<groupId>com.buecoin</groupId>
7
-	<artifactId>0.1</artifactId>
8
-	<version>0.0.1-SNAPSHOT</version>
9
-	<packaging>jar</packaging>
10
-
11
-	<name>0.1</name>
12
-	<description>Demo project for Spring Boot</description>
13
-
14
-	<parent>
15
-		<groupId>org.springframework.boot</groupId>
16
-		<artifactId>spring-boot-starter-parent</artifactId>
17
-		<version>2.0.3.RELEASE</version>
18
-		<relativePath/> <!-- lookup parent from repository -->
19
-	</parent>
20
-
21
-	<properties>
22
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
-		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24
-		<java.version>1.8</java.version>
25
-	</properties>
26
-
27
-	<dependencies>
28
-        <dependency>
29
-            <groupId>com.bluecatcode.guava</groupId>
30
-            <artifactId>guava-19.0-extended</artifactId>
31
-            <version>LATEST</version>
32
-        </dependency>
33
-		<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
34
-		<dependency>
35
-			<groupId>commons-codec</groupId>
36
-			<artifactId>commons-codec</artifactId>
37
-			<version>1.4</version>
38
-		</dependency>
39
-		<dependency>
40
-			<groupId>com.google.code.gson</groupId>
41
-			<artifactId>gson</artifactId>
42
-		</dependency>
43
-		<dependency>
44
-			<groupId>org.springframework.boot</groupId>
45
-			<artifactId>spring-boot-starter-data-jpa</artifactId>
46
-		</dependency>
47
-		<dependency>
48
-			<groupId>org.springframework.boot</groupId>
49
-			<artifactId>spring-boot-starter-web</artifactId>
50
-		</dependency>
51
-
52
-		<dependency>
53
-			<groupId>mysql</groupId>
54
-			<artifactId>mysql-connector-java</artifactId>
55
-			<scope>runtime</scope>
56
-		</dependency>
57
-		<dependency>
58
-			<groupId>org.springframework.boot</groupId>
59
-			<artifactId>spring-boot-starter-test</artifactId>
60
-			<scope>test</scope>
61
-		</dependency>
62
-        <dependency>
63
-            <groupId>org.ow2.util.bundles</groupId>
64
-            <artifactId>bouncycastle-java5-136</artifactId>
65
-            <version>1.0.0</version>
66
-        </dependency>
67
-	</dependencies>
68
-
69
-	<build>
70
-		<plugins>
71
-			<plugin>
72
-				<groupId>org.springframework.boot</groupId>
73
-				<artifactId>spring-boot-maven-plugin</artifactId>
74
-			</plugin>
75
-		</plugins>
76
-	</build>
77
-
78
-
79
-</project>

BIN
src/.DS_Store Näytä tiedosto


BIN
src/main/.DS_Store Näytä tiedosto


BIN
src/main/java/.DS_Store Näytä tiedosto


BIN
src/main/java/com/.DS_Store Näytä tiedosto


BIN
src/main/java/com/buecoin01/.DS_Store Näytä tiedosto


+ 0
- 15
src/main/java/com/buecoin01/Application.java Näytä tiedosto

@@ -1,15 +0,0 @@
1
-package com.buecoin01;
2
-
3
-import com.buecoin01.model.Block;
4
-import org.springframework.boot.SpringApplication;
5
-import org.springframework.boot.autoconfigure.SpringBootApplication;
6
-
7
-@SpringBootApplication
8
-public class Application {
9
-
10
-	public static void main(String[] args) {
11
-		SpringApplication.run(Application.class, args);
12
-
13
-
14
-	}
15
-}

+ 0
- 11
src/main/java/com/buecoin01/Repositories/BlockRepository.java Näytä tiedosto

@@ -1,11 +0,0 @@
1
-package com.buecoin01.Repositories;
2
-
3
-import com.buecoin01.model.Block;
4
-import org.springframework.data.jpa.repository.JpaRepository;
5
-import org.springframework.stereotype.Repository;
6
-import org.springframework.web.bind.annotation.CrossOrigin;
7
-
8
-@Repository
9
-@CrossOrigin(origins = {"http://localhost:8100","http://localhost:8080"})
10
-public interface BlockRepository extends JpaRepository<Block, Long> {
11
-}

+ 0
- 14
src/main/java/com/buecoin01/Repositories/TransactionRepository.java Näytä tiedosto

@@ -1,14 +0,0 @@
1
-package com.buecoin01.Repositories;
2
-
3
-import com.buecoin01.model.Transactions;
4
-import org.springframework.data.jpa.repository.JpaRepository;
5
-import org.springframework.stereotype.Repository;
6
-import org.springframework.web.bind.annotation.CrossOrigin;
7
-import org.springframework.web.bind.annotation.RequestBody;
8
-
9
-import javax.transaction.Transaction;
10
-
11
-@CrossOrigin(origins = {"http://localhost:8100","http://localhost:8080"})
12
-@Repository
13
-public interface TransactionRepository extends JpaRepository<Transactions, Long> {
14
-}

+ 0
- 11
src/main/java/com/buecoin01/Repositories/WalletRepository.java Näytä tiedosto

@@ -1,11 +0,0 @@
1
-package com.buecoin01.Repositories;
2
-
3
-import com.buecoin01.model.Wallet;
4
-import org.springframework.data.jpa.repository.JpaRepository;
5
-import org.springframework.stereotype.Repository;
6
-import org.springframework.web.bind.annotation.CrossOrigin;
7
-
8
-@Repository
9
-@CrossOrigin(origins = {"http://localhost:8100","http://localhost:8080"})
10
-public interface WalletRepository extends JpaRepository<Wallet, Long> {
11
-}

+ 0
- 56
src/main/java/com/buecoin01/controller/BlockController.java Näytä tiedosto

@@ -1,56 +0,0 @@
1
-package com.buecoin01.controller;
2
-
3
-import com.buecoin01.Repositories.BlockRepository;
4
-import com.buecoin01.model.Block;
5
-import org.springframework.beans.factory.annotation.Autowired;
6
-import org.springframework.http.HttpStatus;
7
-import org.springframework.http.ResponseEntity;
8
-import org.springframework.web.bind.annotation.*;
9
-
10
-import java.util.Optional;
11
-
12
-public class BlockController { @CrossOrigin(origins = {"http://localhost:8100", "http://localhost:8080"})
13
-@RestController
14
-
15
-
16
-public class UserController {
17
-
18
-
19
-    @Autowired
20
-    private BlockRepository blockRepository;
21
-
22
-    @RequestMapping(value = "/block/{id}", method = RequestMethod.GET)
23
-    public ResponseEntity get(@PathVariable Long id) {
24
-        Optional<Block> block = blockRepository.findById( id );
25
-        return new ResponseEntity <>( block, HttpStatus.OK );
26
-
27
-    }
28
-
29
-    @RequestMapping(value = "/blocks", method = RequestMethod.GET)
30
-    public ResponseEntity <Iterable <Block>> getAllUsers() {
31
-        Iterable <Block> allBlocks = blockRepository.findAll();
32
-        return new ResponseEntity <>( allBlocks, HttpStatus.OK );
33
-
34
-    }
35
-
36
-    @RequestMapping(path = "/addBlock", method = RequestMethod.POST)
37
-    public ResponseEntity <?> create(@RequestBody Block block) {
38
-        blockRepository.save(block);
39
-        return new ResponseEntity <>( block, HttpStatus.CREATED );
40
-    }
41
-
42
-    @RequestMapping(path = "/deleteBlock", method = RequestMethod.DELETE)
43
-    public ResponseEntity <Block> deleteBlock(@RequestBody Block block) {
44
-        blockRepository.delete(block );
45
-        return new ResponseEntity <>( HttpStatus.OK );
46
-    }
47
-
48
-    @RequestMapping(path = "/updateBlock", method = RequestMethod.PUT)
49
-    public ResponseEntity <Block> updateBlock(@RequestBody Block block) {
50
-        blockRepository.save(block);
51
-        return new ResponseEntity <>( HttpStatus.OK );
52
-    }
53
-
54
-
55
-}
56
-}

+ 0
- 95
src/main/java/com/buecoin01/model/BlockchainVerification.java Näytä tiedosto

@@ -1,95 +0,0 @@
1
-package com.buecoin01.model;
2
-
3
-import com.buecoin01.model.Block;
4
-import com.buecoin01.utility.Encryption;
5
-import com.buecoin01.utility.TransactionOutput;
6
-import com.google.gson.GsonBuilder;
7
-
8
-import java.security.Security;
9
-import java.util.*;
10
-
11
-public class  BlockchainVerification {
12
-    private static List<Block> blockchain = new ArrayList<>();
13
-    private static Map<String, TransactionOutput> UTXOs = new HashMap<>();
14
-    public static float minimumTransaction = 0.1f;
15
-    private static int difficulty = 5;
16
-    public static Wallet walletA;
17
-    public static Wallet walletB;
18
-    //public static Transaction genesisTransaction;
19
-
20
-//    public static void main(String[] args) {
21
-//        //Setup Bouncey castle as a Security Provider
22
-//        Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
23
-//
24
-//        //Create the new wallets
25
-//        walletA = new Wallet();
26
-//        walletB = new Wallet();
27
-//
28
-//        //Test public and private keys
29
-//        System.out.println("Private and public keys:");
30
-//        System.out.println(Encryption.getStringFromKey(walletA.getPrivateKey()));
31
-//        System.out.println(Encryption.getStringFromKey(walletA.getPublicKey()));
32
-//        //Create a test transaction from WalletA to walletB
33
-//        Transaction transaction = new Transaction(walletA.getPublicKey(), walletB.getPublicKey(), 5, null);
34
-//        transaction.generateSignature(walletA.getPrivateKey());
35
-//
36
-//        //Verify the signature works and verify it from the public key
37
-//        System.out.println("Is signature verified");
38
-//        System.out.println(transaction.verifySignature());
39
-
40
- //   }
41
-
42
-    public String chainToJson() {
43
-        return new GsonBuilder()
44
-                .setPrettyPrinting()
45
-                .create()
46
-                .toJson(blockchain);
47
-    }
48
-
49
-    public static Map<String, TransactionOutput> getUTXOs() {
50
-        return UTXOs;
51
-    }
52
-
53
-    public static void setUTXOs(Map<String, TransactionOutput> UTXOs) {
54
-        BlockchainVerification.UTXOs = UTXOs;
55
-    }
56
-
57
-    public static List<Block> getBlockchain() {
58
-        return blockchain;
59
-    }
60
-
61
-    public static void abbBlockToChain(Block block) {
62
-        blockchain.add(block);
63
-    }
64
-
65
-    public static Block getBlockFromChain(int i) {
66
-        return blockchain.get(i);
67
-    }
68
-
69
-    public static int getChainSize() {
70
-        return blockchain.size();
71
-    }
72
-
73
-    public static boolean isChainValid() {
74
-        Block currentBlock;
75
-        Block previousBlock;
76
-        String hashTarget = Encryption.createTarget(difficulty);
77
-        for (int i = 1; i < blockchain.size()-1; i++) {
78
-            currentBlock = blockchain.get(i);
79
-            previousBlock = blockchain.get(i-1);
80
-            if(!currentBlock.getHash().equals(currentBlock.calculateHash())) {
81
-                System.out.println("Current Hashes aren't equal");
82
-                return false;
83
-            }
84
-            if(!previousBlock.getHash().equals(currentBlock.getPreviousHash())) {
85
-                System.out.println("Previous Hashes aren't equal");
86
-                return false;
87
-            }
88
-            if (!currentBlock.getHash().substring(0, difficulty).equals(hashTarget)) {
89
-                System.out.println("This block hasn't been mined");
90
-                return false;
91
-            }
92
-        }
93
-        return true;
94
-    }
95
-}

+ 4
- 4
src/main/java/com/buecoin01/model/Wallet.java Näytä tiedosto

@@ -1,13 +1,13 @@
1 1
 package com.buecoin01.model;
2 2
 
3
-import com.buecoin01.utility.TransactionInput;
4
-import com.buecoin01.utility.TransactionOutput;
5
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
3
+//import com.buecoin01.utility.TransactionInput;
4
+//import com.buecoin01.utility.TransactionOutput;
5
+//import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
6 6
 import org.hibernate.annotations.Proxy;
7 7
 import org.springframework.stereotype.Component;
8 8
 
9 9
 import javax.persistence.*;
10
-import java.security.*;
10
+//import java.security.*;
11 11
 
12 12
 
13 13
 @Entity

+ 0
- 55
src/main/java/com/buecoin01/utility/Encryption.java Näytä tiedosto

@@ -1,55 +0,0 @@
1
-package com.buecoin01.utility;
2
-
3
-import com.google.common.hash.Hashing;
4
-
5
-import java.nio.charset.StandardCharsets;
6
-import java.security.Key;
7
-import java.security.PrivateKey;
8
-import java.security.PublicKey;
9
-import java.security.Signature;
10
-import java.util.Base64;
11
-
12
-public class Encryption {
13
-    public static String applySha256(String input) {
14
-        return Hashing.sha256()
15
-                .hashString(input, StandardCharsets.UTF_8)
16
-                .toString();
17
-    }
18
-
19
-    public static String createTarget(int difficulty) {
20
-        return new String(new char[difficulty]).replace('\0', '0');
21
-    }
22
-
23
-    //Apply ECDSA Signature and return result as bytes
24
-    public static byte[] applyECDSASig(PrivateKey privateKey, String input) {
25
-        Signature dsa;
26
-        byte[] realSig;
27
-        try {
28
-            dsa = Signature.getInstance("ECDSA","BC");
29
-            dsa.initSign(privateKey);
30
-            byte[] strByte = input.getBytes();
31
-            dsa.update(strByte);
32
-            realSig = dsa.sign();
33
-        } catch (Exception e) {
34
-            throw new RuntimeException(e);
35
-        }
36
-        return realSig;
37
-    }
38
-
39
-    //Verify a String Signature
40
-    public static boolean verifyECDSASig(PublicKey publicKey, String data, byte[] signature) {
41
-        try {
42
-            Signature ecdsaVerify = Signature.getInstance("ECDSA", "BC");
43
-            ecdsaVerify.initVerify(publicKey);
44
-            ecdsaVerify.update(data.getBytes());
45
-            return  ecdsaVerify.verify(signature);
46
-        } catch (Exception e) {
47
-            throw new RuntimeException(e);
48
-        }
49
-    }
50
-
51
-    //Return encoded string from a key
52
-    public static String getStringFromKey(Key key) {
53
-        return Base64.getEncoder().encodeToString(key.getEncoded());
54
-    }
55
-}

+ 0
- 34
src/main/java/com/buecoin01/utility/Mining.java Näytä tiedosto

@@ -1,34 +0,0 @@
1
-package com.buecoin01.utility;
2
-
3
-public class Mining {
4
-
5
-    public static void main(String[] args) {
6
-        String prevHash = "";
7
-        String block = "";
8
-        String data = "";
9
-        Mining test = new Mining();
10
-        test.mine(prevHash, block, data);
11
-    }
12
-
13
-    public String hash(String string) {
14
-        String hashed = org.apache.commons.codec.digest.DigestUtils.sha256Hex(string);
15
-        return hashed;
16
-    }
17
-
18
-    public void mine(String prevHash, String block, String data) {
19
-        int nonce = 0;
20
-        boolean mined = false;
21
-        while (mined == false) {
22
-            String newHash = hash(prevHash + block + data + Integer.toString(nonce));
23
-            System.out.println(newHash);
24
-            if (newHash.startsWith("00000")) {
25
-                mined = true;
26
-            } else {
27
-                nonce++;
28
-            }
29
-        }
30
-        System.out.println(nonce);
31
-
32
-    }
33
-}
34
-

+ 0
- 30
src/main/java/com/buecoin01/utility/TransactionInput.java Näytä tiedosto

@@ -1,30 +0,0 @@
1
-package com.buecoin01.utility;
2
-
3
-
4
-//This class will be used to reference TransactionOutputs that have not yet been spent.
5
-//The transactionOutputId will be used to find the relevant TransactionOutput, allowing miners to check your ownership.
6
-public class TransactionInput {
7
-    private String transactionOutputId;
8
-   // private TransactionOutput UTXO; // UTXO means Unspent Transaction Outputs
9
-   private TransactionOutput UTXO;
10
-
11
-    public TransactionInput(String transactionOutputId) {
12
-        this.transactionOutputId = transactionOutputId;
13
-    }
14
-
15
-    public String getTransactionOutputId() {
16
-        return transactionOutputId;
17
-    }
18
-
19
-    public void setTransactionOutputId(String transactionOutputId) {
20
-        this.transactionOutputId = transactionOutputId;
21
-    }
22
-
23
-    public TransactionOutput getUTXO() {
24
-        return UTXO;
25
-    }
26
-
27
-    public void setUTXO(TransactionOutput UTXO) {
28
-        this.UTXO = UTXO;
29
-    }
30
-}

+ 0
- 54
src/main/java/com/buecoin01/utility/TransactionOutput.java Näytä tiedosto

@@ -1,54 +0,0 @@
1
-package com.buecoin01.utility;
2
-
3
-import java.security.PublicKey;
4
-
5
-public class TransactionOutput {
6
-    private String id;
7
-    private PublicKey reciepient; //new owner of the coins
8
-    private float value; //the amount of coins they own
9
-    private String parentTransactionId;
10
-
11
-    public TransactionOutput(PublicKey reciepient, float value, String parentTransactionId) {
12
-        this.reciepient = reciepient;
13
-        this.value = value;
14
-        this.parentTransactionId = parentTransactionId;
15
-        this.id = Encryption.applySha256(Encryption.getStringFromKey(reciepient)+Float.toString(value)+parentTransactionId);
16
-    }
17
-
18
-    public String getId() {
19
-        return id;
20
-    }
21
-
22
-    public void setId(String id) {
23
-        this.id = id;
24
-    }
25
-
26
-    public PublicKey getReciepient() {
27
-        return reciepient;
28
-    }
29
-
30
-    public void setReciepient(PublicKey reciepient) {
31
-        this.reciepient = reciepient;
32
-    }
33
-
34
-    public float getValue() {
35
-        return value;
36
-    }
37
-
38
-    public void setValue(float value) {
39
-        this.value = value;
40
-    }
41
-
42
-    public String getParentTransactionId() {
43
-        return parentTransactionId;
44
-    }
45
-
46
-    public void setParentTransactionId(String parentTransactionId) {
47
-        this.parentTransactionId = parentTransactionId;
48
-    }
49
-
50
-    //Check if coin belongs to publicKey
51
-    public boolean isMine(PublicKey publicKey) {
52
-        return publicKey == reciepient;
53
-    }
54
-}

+ 0
- 16
src/test/java/com/buecoin01/ApplicationTests.java Näytä tiedosto

@@ -1,16 +0,0 @@
1
-package com.buecoin01;
2
-
3
-import org.junit.Test;
4
-import org.junit.runner.RunWith;
5
-import org.springframework.boot.test.context.SpringBootTest;
6
-import org.springframework.test.context.junit4.SpringRunner;
7
-
8
-@RunWith(SpringRunner.class)
9
-@SpringBootTest
10
-public class ApplicationTests {
11
-
12
-	@Test
13
-	public void contextLoads() {
14
-	}
15
-
16
-}

BIN
target/classes/com/buecoin01/Application.class Näytä tiedosto


BIN
target/classes/com/buecoin01/Repositories/BlockRepository.class Näytä tiedosto


BIN
target/classes/com/buecoin01/Repositories/TransactionRepository.class Näytä tiedosto


BIN
target/classes/com/buecoin01/Repositories/WalletRepository.class Näytä tiedosto


BIN
target/classes/com/buecoin01/controller/BlockController$UserController.class Näytä tiedosto


BIN
target/classes/com/buecoin01/controller/BlockController.class Näytä tiedosto


BIN
target/classes/com/buecoin01/controller/WalletController.class Näytä tiedosto


BIN
target/classes/com/buecoin01/model/BlockchainVerification.class Näytä tiedosto


BIN
target/classes/com/buecoin01/utility/Encryption.class Näytä tiedosto


BIN
target/classes/com/buecoin01/utility/Mining.class Näytä tiedosto


BIN
target/classes/com/buecoin01/utility/TransactionInput.class Näytä tiedosto


BIN
target/classes/com/buecoin01/utility/TransactionOutput.class Näytä tiedosto


BIN
target/test-classes/com/buecoin01/ApplicationTests.class Näytä tiedosto