Ver código fonte

payment is working

Mexi 6 anos atrás
pai
commit
763ed3e653

+ 13
- 0
.idea/libraries/Maven__org_springframework_spring_context_5_0_7_RELEASE2.xml Ver arquivo

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>

+ 13
- 0
.idea/libraries/Maven__org_springframework_spring_core_5_0_7_RELEASE2.xml Ver arquivo

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>

+ 13
- 0
.idea/libraries/Maven__org_springframework_spring_jdbc_5_0_7_RELEASE2.xml Ver arquivo

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>

+ 1
- 1
.idea/misc.xml Ver arquivo

7
       </list>
7
       </list>
8
     </option>
8
     </option>
9
   </component>
9
   </component>
10
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
10
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="10" project-jdk-type="JavaSDK">
11
     <output url="file://$PROJECT_DIR$/classes" />
11
     <output url="file://$PROJECT_DIR$/classes" />
12
   </component>
12
   </component>
13
 </project>
13
 </project>

+ 103
- 120
.idea/workspace.xml Ver arquivo

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <project version="4">
2
 <project version="4">
3
   <component name="ChangeListManager">
3
   <component name="ChangeListManager">
4
-    <list default="true" id="86492085-3833-4394-8353-122bd8bc6cb0" name="Default" comment="" />
4
+    <list default="true" id="86492085-3833-4394-8353-122bd8bc6cb0" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_springframework_spring_context_5_0_7_RELEASE2.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_springframework_spring_core_5_0_7_RELEASE2.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_springframework_spring_jdbc_5_0_7_RELEASE2.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java" afterDir="false" />
12
+      <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" />
13
+      <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/controller/ConductTransactions.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/controller/ConductTransactions.class" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/controller/TransactionController.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/controller/TransactionController.class" afterDir="false" />
15
+      <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" />
16
+      <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/model/BlockchainVerification.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/model/BlockchainVerification.class" afterDir="false" />
17
+      <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/utility/Encryption.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/utility/Encryption.class" afterDir="false" />
18
+      <change beforePath="$PROJECT_DIR$/target/classes/com/buecoin01/utility/Mining.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/buecoin01/utility/Mining.class" afterDir="false" />
19
+    </list>
5
     <ignored path="$PROJECT_DIR$/target/" />
20
     <ignored path="$PROJECT_DIR$/target/" />
6
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
21
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
7
     <option name="TRACKING_ENABLED" value="true" />
22
     <option name="TRACKING_ENABLED" value="true" />
26
   </component>
41
   </component>
27
   <component name="FileEditorManager">
42
   <component name="FileEditorManager">
28
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
43
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
29
-      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="true">
44
+      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="false">
30
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
45
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
31
           <provider selected="true" editor-type-id="text-editor">
46
           <provider selected="true" editor-type-id="text-editor">
32
-            <state relative-caret-position="583">
33
-              <caret line="41" column="76" lean-forward="true" selection-start-line="41" selection-start-column="76" selection-end-line="41" selection-end-column="76" />
47
+            <state relative-caret-position="283">
48
+              <caret line="41" column="26" lean-forward="true" selection-start-line="41" selection-start-column="26" selection-end-line="41" selection-end-column="26" />
34
               <folding>
49
               <folding>
35
                 <element signature="imports" expanded="true" />
50
                 <element signature="imports" expanded="true" />
36
               </folding>
51
               </folding>
38
           </provider>
53
           </provider>
39
         </entry>
54
         </entry>
40
       </file>
55
       </file>
41
-      <file leaf-file-name="Transactions.java" pinned="false" current-in-tab="false">
42
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
56
+      <file leaf-file-name="ProcessLoader.java" pinned="false" current-in-tab="false">
57
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
43
           <provider selected="true" editor-type-id="text-editor">
58
           <provider selected="true" editor-type-id="text-editor">
44
-            <state relative-caret-position="132">
45
-              <caret line="9" column="13" selection-start-line="9" selection-start-column="13" selection-end-line="9" selection-end-column="13" />
59
+            <state relative-caret-position="465">
60
+              <caret line="31" selection-start-line="31" selection-end-line="31" />
46
               <folding>
61
               <folding>
47
                 <element signature="imports" expanded="true" />
62
                 <element signature="imports" expanded="true" />
48
-                <element signature="e#1108#1109#0" expanded="true" />
49
-                <element signature="e#1137#1138#0" expanded="true" />
50
               </folding>
63
               </folding>
51
             </state>
64
             </state>
52
           </provider>
65
           </provider>
53
         </entry>
66
         </entry>
54
       </file>
67
       </file>
68
+      <file leaf-file-name="Transactions.java" pinned="false" current-in-tab="false">
69
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
70
+          <provider selected="true" editor-type-id="text-editor">
71
+            <state relative-caret-position="146">
72
+              <caret line="31" column="11" selection-start-line="31" selection-start-column="11" selection-end-line="31" selection-end-column="11" />
73
+            </state>
74
+          </provider>
75
+        </entry>
76
+      </file>
55
       <file leaf-file-name="Block.java" pinned="false" current-in-tab="false">
77
       <file leaf-file-name="Block.java" pinned="false" current-in-tab="false">
56
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
78
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
57
           <provider selected="true" editor-type-id="text-editor">
79
           <provider selected="true" editor-type-id="text-editor">
58
-            <state relative-caret-position="15">
59
-              <caret line="12" column="10" selection-start-line="12" selection-start-column="10" selection-end-line="12" selection-end-column="10" />
80
+            <state relative-caret-position="195">
81
+              <caret line="14" selection-start-line="14" selection-end-line="14" />
60
             </state>
82
             </state>
61
           </provider>
83
           </provider>
62
         </entry>
84
         </entry>
63
       </file>
85
       </file>
64
-      <file leaf-file-name="ConductTransactions.java" pinned="false" current-in-tab="false">
86
+      <file leaf-file-name="ConductTransactions.java" pinned="false" current-in-tab="true">
65
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java">
87
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java">
66
           <provider selected="true" editor-type-id="text-editor">
88
           <provider selected="true" editor-type-id="text-editor">
67
-            <state relative-caret-position="292">
68
-              <caret line="34" column="77" selection-start-line="34" selection-start-column="77" selection-end-line="34" selection-end-column="77" />
69
-              <folding>
70
-                <element signature="imports" expanded="true" />
71
-              </folding>
89
+            <state relative-caret-position="339">
90
+              <caret line="50" column="23" selection-start-line="50" selection-start-column="23" selection-end-line="50" selection-end-column="23" />
72
             </state>
91
             </state>
73
           </provider>
92
           </provider>
74
         </entry>
93
         </entry>
76
       <file leaf-file-name="BlockController.java" pinned="false" current-in-tab="false">
95
       <file leaf-file-name="BlockController.java" pinned="false" current-in-tab="false">
77
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
96
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
78
           <provider selected="true" editor-type-id="text-editor">
97
           <provider selected="true" editor-type-id="text-editor">
79
-            <state relative-caret-position="660">
80
-              <caret line="51" column="1" lean-forward="true" selection-start-line="51" selection-start-column="1" selection-end-line="51" selection-end-column="1" />
98
+            <state relative-caret-position="615">
99
+              <caret line="48" column="1" selection-start-line="48" selection-start-column="1" selection-end-line="48" selection-end-column="1" />
81
             </state>
100
             </state>
82
           </provider>
101
           </provider>
83
         </entry>
102
         </entry>
85
       <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
104
       <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
86
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
105
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
87
           <provider selected="true" editor-type-id="text-editor">
106
           <provider selected="true" editor-type-id="text-editor">
88
-            <state relative-caret-position="229">
89
-              <caret line="18" column="28" lean-forward="true" selection-start-line="18" selection-start-column="28" selection-end-line="18" selection-end-column="28" />
90
-              <folding>
91
-                <element signature="imports" expanded="true" />
92
-              </folding>
107
+            <state relative-caret-position="270">
108
+              <caret line="20" column="26" lean-forward="true" selection-start-line="20" selection-start-column="26" selection-end-line="20" selection-end-column="26" />
93
             </state>
109
             </state>
94
           </provider>
110
           </provider>
95
         </entry>
111
         </entry>
97
       <file leaf-file-name="WalletRepository.java" pinned="false" current-in-tab="false">
113
       <file leaf-file-name="WalletRepository.java" pinned="false" current-in-tab="false">
98
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
114
         <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
99
           <provider selected="true" editor-type-id="text-editor">
115
           <provider selected="true" editor-type-id="text-editor">
100
-            <state relative-caret-position="195">
101
-              <caret line="13" column="17" selection-start-line="13" selection-start-column="17" selection-end-line="13" selection-end-column="17" />
116
+            <state relative-caret-position="120">
117
+              <caret line="20" selection-start-line="20" selection-end-line="20" />
102
               <folding>
118
               <folding>
103
                 <element signature="imports" expanded="true" />
119
                 <element signature="imports" expanded="true" />
104
               </folding>
120
               </folding>
146
         <option value="$APPLICATION_CONFIG_DIR$/consoles/db/9e5d39f9-b664-4d5a-a0eb-fa8b2386a1ce/console.sql" />
162
         <option value="$APPLICATION_CONFIG_DIR$/consoles/db/9e5d39f9-b664-4d5a-a0eb-fa8b2386a1ce/console.sql" />
147
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java" />
163
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java" />
148
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/utility/Encryption.java" />
164
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/utility/Encryption.java" />
149
-        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java" />
150
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java" />
165
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java" />
151
-        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java" />
152
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java" />
166
         <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java" />
167
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java" />
168
+        <option value="$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java" />
153
       </list>
169
       </list>
154
     </option>
170
     </option>
155
   </component>
171
   </component>
169
   <component name="NodePackageJsonFileManager">
185
   <component name="NodePackageJsonFileManager">
170
     <packageJsonPaths />
186
     <packageJsonPaths />
171
   </component>
187
   </component>
172
-  <component name="ProjectFrameBounds" extendedState="6" fullScreen="true">
173
-    <option name="x" value="-372" />
174
-    <option name="y" value="-1080" />
175
-    <option name="width" value="1920" />
176
-    <option name="height" value="1080" />
188
+  <component name="ProjectFrameBounds" fullScreen="true">
189
+    <option name="width" value="1280" />
190
+    <option name="height" value="800" />
177
   </component>
191
   </component>
178
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
192
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
179
   <component name="ProjectView">
193
   <component name="ProjectView">
181
       <foldersAlwaysOnTop value="true" />
195
       <foldersAlwaysOnTop value="true" />
182
     </navigator>
196
     </navigator>
183
     <panes>
197
     <panes>
184
-      <pane id="PackagesPane" />
185
       <pane id="Scope" />
198
       <pane id="Scope" />
186
       <pane id="AndroidView" />
199
       <pane id="AndroidView" />
187
       <pane id="ProjectPane">
200
       <pane id="ProjectPane">
223
               <item name="src" type="462c0819:PsiDirectoryNode" />
236
               <item name="src" type="462c0819:PsiDirectoryNode" />
224
               <item name="main" type="462c0819:PsiDirectoryNode" />
237
               <item name="main" type="462c0819:PsiDirectoryNode" />
225
               <item name="java" type="462c0819:PsiDirectoryNode" />
238
               <item name="java" type="462c0819:PsiDirectoryNode" />
239
+              <item name="buecoin01" type="462c0819:PsiDirectoryNode" />
226
               <item name="controller" type="462c0819:PsiDirectoryNode" />
240
               <item name="controller" type="462c0819:PsiDirectoryNode" />
227
             </path>
241
             </path>
228
             <path>
242
             <path>
231
               <item name="src" type="462c0819:PsiDirectoryNode" />
245
               <item name="src" type="462c0819:PsiDirectoryNode" />
232
               <item name="main" type="462c0819:PsiDirectoryNode" />
246
               <item name="main" type="462c0819:PsiDirectoryNode" />
233
               <item name="java" type="462c0819:PsiDirectoryNode" />
247
               <item name="java" type="462c0819:PsiDirectoryNode" />
248
+              <item name="buecoin01" type="462c0819:PsiDirectoryNode" />
234
               <item name="model" type="462c0819:PsiDirectoryNode" />
249
               <item name="model" type="462c0819:PsiDirectoryNode" />
235
             </path>
250
             </path>
236
             <path>
251
             <path>
238
               <item name="CryptoCoin" type="462c0819:PsiDirectoryNode" />
253
               <item name="CryptoCoin" type="462c0819:PsiDirectoryNode" />
239
               <item name="src" type="462c0819:PsiDirectoryNode" />
254
               <item name="src" type="462c0819:PsiDirectoryNode" />
240
               <item name="main" type="462c0819:PsiDirectoryNode" />
255
               <item name="main" type="462c0819:PsiDirectoryNode" />
241
-              <item name="java" type="462c0819:PsiDirectoryNode" />
242
-              <item name="Repositories" type="462c0819:PsiDirectoryNode" />
243
-            </path>
244
-            <path>
245
-              <item name="0.1" type="b2602c69:ProjectViewProjectNode" />
246
-              <item name="CryptoCoin" type="462c0819:PsiDirectoryNode" />
247
-              <item name="src" type="462c0819:PsiDirectoryNode" />
248
-              <item name="main" type="462c0819:PsiDirectoryNode" />
249
-              <item name="java" type="462c0819:PsiDirectoryNode" />
250
-              <item name="utility" type="462c0819:PsiDirectoryNode" />
251
-            </path>
252
-            <path>
253
-              <item name="0.1" type="b2602c69:ProjectViewProjectNode" />
254
-              <item name="CryptoCoin" type="462c0819:PsiDirectoryNode" />
255
-              <item name="src" type="462c0819:PsiDirectoryNode" />
256
-              <item name="main" type="462c0819:PsiDirectoryNode" />
257
               <item name="resources" type="462c0819:PsiDirectoryNode" />
256
               <item name="resources" type="462c0819:PsiDirectoryNode" />
258
             </path>
257
             </path>
259
           </expand>
258
           </expand>
260
           <select />
259
           <select />
261
         </subPane>
260
         </subPane>
262
       </pane>
261
       </pane>
262
+      <pane id="PackagesPane" />
263
     </panes>
263
     </panes>
264
   </component>
264
   </component>
265
   <component name="PropertiesComponent">
265
   <component name="PropertiesComponent">
371
       <workItem from="1532357795573" duration="4040000" />
371
       <workItem from="1532357795573" duration="4040000" />
372
       <workItem from="1532473422589" duration="716000" />
372
       <workItem from="1532473422589" duration="716000" />
373
       <workItem from="1533219920414" duration="26349000" />
373
       <workItem from="1533219920414" duration="26349000" />
374
+      <workItem from="1533328457998" duration="1829000" />
374
     </task>
375
     </task>
375
     <servers />
376
     <servers />
376
   </component>
377
   </component>
377
   <component name="TimeTrackingManager">
378
   <component name="TimeTrackingManager">
378
-    <option name="totallyTimeSpent" value="44842000" />
379
+    <option name="totallyTimeSpent" value="46671000" />
379
   </component>
380
   </component>
380
   <component name="TodoView">
381
   <component name="TodoView">
381
     <todo-panel id="selected-file">
382
     <todo-panel id="selected-file">
387
     </todo-panel>
388
     </todo-panel>
388
   </component>
389
   </component>
389
   <component name="ToolWindowManager">
390
   <component name="ToolWindowManager">
390
-    <frame x="-372" y="-1080" width="1920" height="1080" extended-state="6" />
391
+    <frame x="0" y="0" width="1280" height="800" extended-state="0" />
392
+    <editor active="true" />
391
     <layout>
393
     <layout>
392
       <window_info anchor="right" id="Palette" order="3" />
394
       <window_info anchor="right" id="Palette" order="3" />
393
       <window_info anchor="bottom" id="Event Log" order="14" sideWeight="0.5005325" side_tool="true" weight="0.43383086" />
395
       <window_info anchor="bottom" id="Event Log" order="14" sideWeight="0.5005325" side_tool="true" weight="0.43383086" />
406
       <window_info id="Image Layers" order="3" />
408
       <window_info id="Image Layers" order="3" />
407
       <window_info anchor="bottom" id="Java Enterprise" order="11" />
409
       <window_info anchor="bottom" id="Java Enterprise" order="11" />
408
       <window_info anchor="right" id="Capture Analysis" order="4" />
410
       <window_info anchor="right" id="Capture Analysis" order="4" />
411
+      <window_info active="true" anchor="bottom" id="Run" order="3" sideWeight="0.49946752" visible="true" weight="0.32827586" />
409
       <window_info anchor="bottom" id="Version Control" order="13" />
412
       <window_info anchor="bottom" id="Version Control" order="13" />
410
-      <window_info anchor="bottom" id="Run" order="3" sideWeight="0.49946752" weight="0.43383086" />
411
       <window_info anchor="bottom" id="Spring" order="9" weight="0.32935324" />
413
       <window_info anchor="bottom" id="Spring" order="9" weight="0.32935324" />
412
-      <window_info active="true" anchor="bottom" id="Terminal" order="10" visible="true" weight="0.32935324" />
413
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17092651" />
414
+      <window_info anchor="bottom" id="Terminal" order="10" weight="0.32827586" />
415
+      <window_info content_ui="combo" id="Project" order="0" side_tool="true" visible="true" weight="0.1736672" />
414
       <window_info anchor="right" id="Bean Validation" order="9" />
416
       <window_info anchor="right" id="Bean Validation" order="9" />
415
       <window_info id="Web" order="6" side_tool="true" />
417
       <window_info id="Web" order="6" side_tool="true" />
416
-      <window_info anchor="bottom" id="Find" order="2" />
417
       <window_info anchor="right" id="Theme Preview" order="8" />
418
       <window_info anchor="right" id="Theme Preview" order="8" />
418
       <window_info id="Favorites" order="5" side_tool="true" />
419
       <window_info id="Favorites" order="5" side_tool="true" />
419
       <window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
420
       <window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
422
       <window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
423
       <window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
423
       <window_info anchor="bottom" id="Message" order="1" />
424
       <window_info anchor="bottom" id="Message" order="1" />
424
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
425
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
426
+      <window_info anchor="bottom" id="Find" order="2" />
425
     </layout>
427
     </layout>
426
     <layout-to-restore>
428
     <layout-to-restore>
427
       <window_info id="Designer" order="2" />
429
       <window_info id="Designer" order="2" />
428
-      <window_info anchor="bottom" id="Database Console" order="0" weight="0.32935324" />
429
       <window_info anchor="right" id="Palette" order="3" />
430
       <window_info anchor="right" id="Palette" order="3" />
430
-      <window_info active="true" anchor="bottom" id="Run" order="3" sideWeight="0.49946752" visible="true" weight="0.43383086" />
431
       <window_info anchor="bottom" id="Spring" order="9" />
431
       <window_info anchor="bottom" id="Spring" order="9" />
432
-      <window_info id="Image Layers" order="3" />
433
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
432
+      <window_info anchor="bottom" id="Database Console" order="0" weight="0.32935324" />
433
+      <window_info active="true" anchor="bottom" id="Run" order="3" sideWeight="0.49946752" visible="true" weight="0.43383086" />
434
       <window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
434
       <window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
435
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
435
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
436
       <window_info id="UI Designer" order="4" />
436
       <window_info id="UI Designer" order="4" />
438
       <window_info anchor="bottom" id="Terminal" order="10" weight="0.32965517" />
438
       <window_info anchor="bottom" id="Terminal" order="10" weight="0.32965517" />
439
       <window_info id="Capture Tool" order="7" />
439
       <window_info id="Capture Tool" order="7" />
440
       <window_info anchor="right" id="Capture Analysis" order="4" />
440
       <window_info anchor="right" id="Capture Analysis" order="4" />
441
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
441
       <window_info anchor="bottom" id="Event Log" order="14" sideWeight="0.5005325" side_tool="true" weight="0.43383086" />
442
       <window_info anchor="bottom" id="Event Log" order="14" sideWeight="0.5005325" side_tool="true" weight="0.43383086" />
442
       <window_info anchor="bottom" id="Messages" order="8" weight="0.27462685" />
443
       <window_info anchor="bottom" id="Messages" order="8" weight="0.27462685" />
443
       <window_info anchor="bottom" id="TODO" order="7" />
444
       <window_info anchor="bottom" id="TODO" order="7" />
444
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
445
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
446
+      <window_info id="Image Layers" order="3" />
445
       <window_info anchor="bottom" id="Java Enterprise" order="11" />
447
       <window_info anchor="bottom" id="Java Enterprise" order="11" />
446
       <window_info anchor="bottom" id="Database Changes" order="12" show_stripe_button="false" />
448
       <window_info anchor="bottom" id="Database Changes" order="12" show_stripe_button="false" />
447
       <window_info anchor="bottom" id="Version Control" order="13" />
449
       <window_info anchor="bottom" id="Version Control" order="13" />
448
       <window_info anchor="right" id="Maven Projects" order="5" />
450
       <window_info anchor="right" id="Maven Projects" order="5" />
449
-      <window_info anchor="bottom" id="Find" order="2" />
450
       <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17092651" />
451
       <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17092651" />
451
       <window_info anchor="right" id="Database" order="6" weight="0.10915868" />
452
       <window_info anchor="right" id="Database" order="6" weight="0.10915868" />
452
       <window_info anchor="bottom" id="Message" order="1" />
453
       <window_info anchor="bottom" id="Message" order="1" />
455
       <window_info anchor="right" id="Theme Preview" order="8" />
456
       <window_info anchor="right" id="Theme Preview" order="8" />
456
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
457
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
457
       <window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
458
       <window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
458
-      <window_info anchor="bottom" id="Debug" order="4" weight="0.4" />
459
+      <window_info anchor="bottom" id="Find" order="2" />
459
       <window_info anchor="right" id="Bean Validation" order="9" />
460
       <window_info anchor="right" id="Bean Validation" order="9" />
461
+      <window_info anchor="bottom" id="Debug" order="4" weight="0.4" />
460
     </layout-to-restore>
462
     </layout-to-restore>
461
   </component>
463
   </component>
462
   <component name="TypeScriptGeneratedFilesManager">
464
   <component name="TypeScriptGeneratedFilesManager">
471
     </breakpoint-manager>
473
     </breakpoint-manager>
472
   </component>
474
   </component>
473
   <component name="editorHistoryManager">
475
   <component name="editorHistoryManager">
474
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/buecoin01/ApplicationTests.java">
475
-      <provider selected="true" editor-type-id="text-editor">
476
-        <state relative-caret-position="90">
477
-          <caret line="9" column="13" selection-start-line="9" selection-start-column="13" selection-end-line="9" selection-end-column="13" />
478
-        </state>
479
-      </provider>
480
-    </entry>
481
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
476
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
482
       <provider selected="true" editor-type-id="text-editor">
477
       <provider selected="true" editor-type-id="text-editor">
483
         <state relative-caret-position="945">
478
         <state relative-caret-position="945">
517
       <provider selected="true" editor-type-id="text-editor">
512
       <provider selected="true" editor-type-id="text-editor">
518
         <state relative-caret-position="360">
513
         <state relative-caret-position="360">
519
           <caret line="24" column="29" selection-start-line="24" selection-start-column="29" selection-end-line="24" selection-end-column="29" />
514
           <caret line="24" column="29" selection-start-line="24" selection-start-column="29" selection-end-line="24" selection-end-column="29" />
520
-          <folding>
521
-            <element signature="imports" expanded="true" />
522
-          </folding>
523
         </state>
515
         </state>
524
       </provider>
516
       </provider>
525
     </entry>
517
     </entry>
646
         </state>
638
         </state>
647
       </provider>
639
       </provider>
648
     </entry>
640
     </entry>
649
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
650
-      <provider selected="true" editor-type-id="text-editor">
651
-        <state relative-caret-position="251">
652
-          <caret line="29" column="21" lean-forward="true" selection-start-line="29" selection-start-column="21" selection-end-line="29" selection-end-column="21" />
653
-          <folding>
654
-            <element signature="imports" expanded="true" />
655
-          </folding>
656
-        </state>
657
-      </provider>
658
-    </entry>
659
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/utility/TransactionInput.java">
641
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/utility/TransactionInput.java">
660
       <provider selected="true" editor-type-id="text-editor">
642
       <provider selected="true" editor-type-id="text-editor">
661
         <state relative-caret-position="120">
643
         <state relative-caret-position="120">
667
       <provider selected="true" editor-type-id="text-editor">
649
       <provider selected="true" editor-type-id="text-editor">
668
         <state relative-caret-position="64">
650
         <state relative-caret-position="64">
669
           <caret line="25" column="38" selection-start-line="25" selection-start-column="38" selection-end-line="25" selection-end-column="38" />
651
           <caret line="25" column="38" selection-start-line="25" selection-start-column="38" selection-end-line="25" selection-end-column="38" />
670
-          <folding>
671
-            <element signature="e#813#814#0" expanded="true" />
672
-          </folding>
673
-        </state>
674
-      </provider>
675
-    </entry>
676
-    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/9e5d39f9-b664-4d5a-a0eb-fa8b2386a1ce/console.sql">
677
-      <provider selected="true" editor-type-id="text-editor">
678
-        <state>
679
-          <caret column="34" selection-start-column="34" selection-end-column="34" />
680
         </state>
652
         </state>
681
       </provider>
653
       </provider>
682
     </entry>
654
     </entry>
655
+    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/9e5d39f9-b664-4d5a-a0eb-fa8b2386a1ce/console.sql" />
683
     <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
656
     <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
684
       <provider selected="true" editor-type-id="text-editor">
657
       <provider selected="true" editor-type-id="text-editor">
685
         <state relative-caret-position="150">
658
         <state relative-caret-position="150">
717
     </entry>
690
     </entry>
718
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
691
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/BlockController.java">
719
       <provider selected="true" editor-type-id="text-editor">
692
       <provider selected="true" editor-type-id="text-editor">
720
-        <state relative-caret-position="660">
721
-          <caret line="51" column="1" lean-forward="true" selection-start-line="51" selection-start-column="1" selection-end-line="51" selection-end-column="1" />
693
+        <state relative-caret-position="615">
694
+          <caret line="48" column="1" selection-start-line="48" selection-start-column="1" selection-end-line="48" selection-end-column="1" />
722
         </state>
695
         </state>
723
       </provider>
696
       </provider>
724
     </entry>
697
     </entry>
734
     </entry>
707
     </entry>
735
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
708
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/Repositories/WalletRepository.java">
736
       <provider selected="true" editor-type-id="text-editor">
709
       <provider selected="true" editor-type-id="text-editor">
737
-        <state relative-caret-position="195">
738
-          <caret line="13" column="17" selection-start-line="13" selection-start-column="17" selection-end-line="13" selection-end-column="17" />
739
-          <folding>
740
-            <element signature="imports" expanded="true" />
741
-          </folding>
742
-        </state>
743
-      </provider>
744
-    </entry>
745
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
746
-      <provider selected="true" editor-type-id="text-editor">
747
-        <state relative-caret-position="229">
748
-          <caret line="18" column="28" lean-forward="true" selection-start-line="18" selection-start-column="28" selection-end-line="18" selection-end-column="28" />
710
+        <state relative-caret-position="120">
711
+          <caret line="20" selection-start-line="20" selection-end-line="20" />
749
           <folding>
712
           <folding>
750
             <element signature="imports" expanded="true" />
713
             <element signature="imports" expanded="true" />
751
           </folding>
714
           </folding>
754
     </entry>
717
     </entry>
755
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
718
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Block.java">
756
       <provider selected="true" editor-type-id="text-editor">
719
       <provider selected="true" editor-type-id="text-editor">
757
-        <state relative-caret-position="15">
758
-          <caret line="12" column="10" selection-start-line="12" selection-start-column="10" selection-end-line="12" selection-end-column="10" />
720
+        <state relative-caret-position="195">
721
+          <caret line="14" selection-start-line="14" selection-end-line="14" />
759
         </state>
722
         </state>
760
       </provider>
723
       </provider>
761
     </entry>
724
     </entry>
766
         </state>
729
         </state>
767
       </provider>
730
       </provider>
768
     </entry>
731
     </entry>
769
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java">
732
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/ProcessLoader.java">
770
       <provider selected="true" editor-type-id="text-editor">
733
       <provider selected="true" editor-type-id="text-editor">
771
-        <state relative-caret-position="292">
772
-          <caret line="34" column="77" selection-start-line="34" selection-start-column="77" selection-end-line="34" selection-end-column="77" />
734
+        <state relative-caret-position="465">
735
+          <caret line="31" selection-start-line="31" selection-end-line="31" />
773
           <folding>
736
           <folding>
774
             <element signature="imports" expanded="true" />
737
             <element signature="imports" expanded="true" />
775
           </folding>
738
           </folding>
776
         </state>
739
         </state>
777
       </provider>
740
       </provider>
778
     </entry>
741
     </entry>
779
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
742
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Wallet.java">
780
       <provider selected="true" editor-type-id="text-editor">
743
       <provider selected="true" editor-type-id="text-editor">
781
-        <state relative-caret-position="132">
782
-          <caret line="9" column="13" selection-start-line="9" selection-start-column="13" selection-end-line="9" selection-end-column="13" />
744
+        <state relative-caret-position="270">
745
+          <caret line="20" column="26" lean-forward="true" selection-start-line="20" selection-start-column="26" selection-end-line="20" selection-end-column="26" />
746
+        </state>
747
+      </provider>
748
+    </entry>
749
+    <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/5.0.7.RELEASE/spring-web-5.0.7.RELEASE.jar!/org/springframework/http/ResponseEntity.class">
750
+      <provider selected="true" editor-type-id="text-editor">
751
+        <state relative-caret-position="154">
752
+          <caret line="22" column="11" selection-start-line="22" selection-start-column="11" selection-end-line="22" selection-end-column="11" />
783
           <folding>
753
           <folding>
784
-            <element signature="imports" expanded="true" />
785
-            <element signature="e#1108#1109#0" expanded="true" />
786
-            <element signature="e#1137#1138#0" expanded="true" />
754
+            <element signature="e#669#670#0" expanded="true" />
755
+            <element signature="e#736#737#0" expanded="true" />
787
           </folding>
756
           </folding>
788
         </state>
757
         </state>
789
       </provider>
758
       </provider>
790
     </entry>
759
     </entry>
760
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/model/Transactions.java">
761
+      <provider selected="true" editor-type-id="text-editor">
762
+        <state relative-caret-position="146">
763
+          <caret line="31" column="11" selection-start-line="31" selection-start-column="11" selection-end-line="31" selection-end-column="11" />
764
+        </state>
765
+      </provider>
766
+    </entry>
791
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
767
     <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/TransactionController.java">
792
       <provider selected="true" editor-type-id="text-editor">
768
       <provider selected="true" editor-type-id="text-editor">
793
-        <state relative-caret-position="583">
794
-          <caret line="41" column="76" lean-forward="true" selection-start-line="41" selection-start-column="76" selection-end-line="41" selection-end-column="76" />
769
+        <state relative-caret-position="283">
770
+          <caret line="41" column="26" lean-forward="true" selection-start-line="41" selection-start-column="26" selection-end-line="41" selection-end-column="26" />
795
           <folding>
771
           <folding>
796
             <element signature="imports" expanded="true" />
772
             <element signature="imports" expanded="true" />
797
           </folding>
773
           </folding>
798
         </state>
774
         </state>
799
       </provider>
775
       </provider>
800
     </entry>
776
     </entry>
777
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/buecoin01/controller/ConductTransactions.java">
778
+      <provider selected="true" editor-type-id="text-editor">
779
+        <state relative-caret-position="339">
780
+          <caret line="50" column="23" selection-start-line="50" selection-start-column="23" selection-end-line="50" selection-end-column="23" />
781
+        </state>
782
+      </provider>
783
+    </entry>
801
   </component>
784
   </component>
802
 </project>
785
 </project>

+ 1
- 1
src/main/java/com/buecoin01/controller/ConductTransactions.java Ver arquivo

44
                walletRepository.save(receiver);
44
                walletRepository.save(receiver);
45
 
45
 
46
                Transactions n = new Transactions(Encryption.applySha256(sender.getPublicId() + receiver.getPublicId() + Double.toString(transaction.getAmount()) + LocalDateTime.now()),
46
                Transactions n = new Transactions(Encryption.applySha256(sender.getPublicId() + receiver.getPublicId() + Double.toString(transaction.getAmount()) + LocalDateTime.now()),
47
-                       sender.getPublicId(), receiver.getPublicId(), transaction.getAmount(), LocalDateTime.now());
47
+                       transaction.getFromId(), transaction.getToId(), transaction.getAmount(), LocalDateTime.now());
48
                logger.info("got here");
48
                logger.info("got here");
49
 
49
 
50
                transactionRepository.save(n);
50
                transactionRepository.save(n);

+ 1
- 0
src/main/java/com/buecoin01/controller/TransactionController.java Ver arquivo

6
 import org.springframework.http.HttpStatus;
6
 import org.springframework.http.HttpStatus;
7
 import org.springframework.http.ResponseEntity;
7
 import org.springframework.http.ResponseEntity;
8
 import org.springframework.web.bind.annotation.*;
8
 import org.springframework.web.bind.annotation.*;
9
+
9
 import java.util.Optional;
10
 import java.util.Optional;
10
 
11
 
11
 
12
 

+ 12
- 5
src/main/java/com/buecoin01/model/Transactions.java Ver arquivo

15
 
15
 
16
     @Column
16
     @Column
17
     private String transactionId;
17
     private String transactionId;
18
+    @Column(name = "fromId")
18
     private String fromId;
19
     private String fromId;
20
+
21
+    @Column(name = "toId")
19
     private String toId;
22
     private String toId;
23
+
24
+    @Column(name = "amount")
20
     private double amount;
25
     private double amount;
26
+
27
+    @Column(name = "timestamp")
21
     private LocalDateTime timestamp;
28
     private LocalDateTime timestamp;
22
 
29
 
23
     public Transactions(){}
30
     public Transactions(){}
31
     }
38
     }
32
 
39
 
33
     public long getId() {
40
     public long getId() {
34
-        return id;
41
+        return this.id;
35
     }
42
     }
36
 
43
 
37
     public void setId(long id) {
44
     public void setId(long id) {
47
     }
54
     }
48
 
55
 
49
     public String getFromId() {
56
     public String getFromId() {
50
-        return fromId;
57
+        return this.fromId;
51
     }
58
     }
52
 
59
 
53
     public void setFromId(String fromId) {
60
     public void setFromId(String fromId) {
55
     }
62
     }
56
 
63
 
57
     public String getToId() {
64
     public String getToId() {
58
-        return toId;
65
+        return this.toId;
59
     }
66
     }
60
 
67
 
61
     public void setToId(String toId) {
68
     public void setToId(String toId) {
63
     }
70
     }
64
 
71
 
65
     public double getAmount() {
72
     public double getAmount() {
66
-        return amount;
73
+        return this.amount;
67
     }
74
     }
68
 
75
 
69
     public void setAmount(double amount) {
76
     public void setAmount(double amount) {
71
     }
78
     }
72
 
79
 
73
     public LocalDateTime getTimestamp() {
80
     public LocalDateTime getTimestamp() {
74
-        return timestamp;
81
+        return this.timestamp;
75
     }
82
     }
76
 
83
 
77
     public void setTimestamp(LocalDateTime timestamp) {
84
     public void setTimestamp(LocalDateTime timestamp) {

BIN
target/classes/com/buecoin01/controller/ConductTransactions.class Ver arquivo


BIN
target/classes/com/buecoin01/controller/TransactionController.class Ver arquivo


BIN
target/classes/com/buecoin01/model/Block.class Ver arquivo


BIN
target/classes/com/buecoin01/model/BlockchainVerification.class Ver arquivo


BIN
target/classes/com/buecoin01/model/Transactions.class Ver arquivo


BIN
target/classes/com/buecoin01/utility/Encryption.class Ver arquivo


BIN
target/classes/com/buecoin01/utility/Mining.class Ver arquivo