Khalil Malik Saboor 6 jaren geleden
bovenliggende
commit
2b0d281c86

+ 5
- 1
ZipCoinRedIonicClient/.sourcemaps/main.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 4
- 0
ZipCoinRedIonicClient/src/app/app.component.ts Bestand weergeven

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

+ 4
- 0
ZipCoinRedIonicClient/src/app/app.module.ts Bestand weergeven

@@ -5,9 +5,13 @@ import { SplashScreen } from '@ionic-native/splash-screen';
5 5
 import { StatusBar } from '@ionic-native/status-bar';
6 6
 
7 7
 import { MyApp } from './app.component';
8
+<<<<<<< HEAD
8 9
 import { HomePage } from '../pages/block/home';
10
+=======
11
+>>>>>>> 9579f2fb69cc4c14932e53a8eab0ee8b02e128e4
9 12
 import { HttpClientModule } from '@angular/common/http';
10 13
 import { BlockService } from '../providers/block-service';
14
+import { HomePage } from '../pages/home/home';
11 15
 import { WalletPage } from '../pages/wallet/wallet';
12 16
 import { TransactionPage } from '../pages/transaction/transaction';
13 17
 import { TabsPage } from '../pages/tabs/tabs';

+ 0
- 22
ZipCoinRedIonicClient/src/pages/block/home.html Bestand weergeven

@@ -1,22 +0,0 @@
1
-<ion-header>
2
-  <ion-navbar>
3
-    <ion-title>
4
-      ZipCoin BlockChain
5
-    </ion-title>
6
-  </ion-navbar>
7
-</ion-header>
8
-
9
-<ion-content padding>
10
-  
11
-  <div class="well well-success col-xs-7" id="blockchain">
12
-       <div class="list list-inset">
13
-          <label class="item item-input"> Block #:<input type="text" disabled placeholder= "{{ block.blockNumber }}" ></label>
14
-          <label class="item item-input"> Nonce:<input type="text" disabled placeholder= "{{ block.nonce }}" ></label>
15
-          <label class="item item-input"> Data:<input type="text" disabled placeholder= "{{ block.transactionList }}" > </label>
16
-          <label class="item item-input"> Hash:<input type="text" disabled placeholder= "{{ block.currentHash }}" ></label>
17
-    <!-- <label class="item item-input"> HashPrev: <input type="text" disabled placeholder="Hash"></label> -->
18
-          <button ion-button (click)="btnClicked()">Mine</button>
19
-        </div>
20
-  </div>   
21
-
22
-</ion-content>

+ 30
- 0
ZipCoinRedIonicClient/src/pages/home/home.html Bestand weergeven

@@ -0,0 +1,30 @@
1
+<ion-header>
2
+  <ion-navbar>
3
+    <ion-title>
4
+      ZipCoin BlockChain
5
+    </ion-title>
6
+  </ion-navbar>
7
+</ion-header>
8
+
9
+<ion-content padding>
10
+
11
+  <ion-list>
12
+    <ion-item-sliding *ngFor="let block of blocks">
13
+      <ion-item>
14
+        <ion-card>
15
+            <ion-card-header>
16
+              Block #: {{block.blockNumber}}
17
+            </ion-card-header>
18
+            <ion-card-content>
19
+              <div>Nonce: {{ block.nonce }}</div>
20
+              <div>Data: {{ block.transactionList }}</div>
21
+              <div>Previous Hash: {{ block.previousHash }}</div>
22
+              <div>Current Hash: {{ block.currentHash }}</div>
23
+              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>
24
+            </ion-card-content>
25
+        </ion-card>
26
+      </ion-item>
27
+    </ion-item-sliding>
28
+  </ion-list>
29
+
30
+</ion-content>

ZipCoinRedIonicClient/src/pages/block/home.module.ts → ZipCoinRedIonicClient/src/pages/home/home.module.ts Bestand weergeven


ZipCoinRedIonicClient/src/pages/block/home.scss → ZipCoinRedIonicClient/src/pages/home/home.scss Bestand weergeven


ZipCoinRedIonicClient/src/pages/block/home.ts → ZipCoinRedIonicClient/src/pages/home/home.ts Bestand weergeven

@@ -8,22 +8,25 @@ import { WalletPage } from '../wallet/wallet';
8 8
 })
9 9
 export class HomePage {
10 10
   private block : any = {};
11
-  private id = 3;
11
+  private blocks : Array<any>;
12 12
   
13 13
   constructor(public navCtrl: NavController, public blockService: BlockService) {
14
-      this.getBlock();
14
+      this.getAllBlocks();
15 15
     }
16 16
 
17
-  
18
-
19
-  getBlock() {
20
-    this.blockService.getBlock(this.id).subscribe(block => {
17
+  getBlock(id) {
18
+    this.blockService.getBlock(id).subscribe(block => {
21 19
       this.block = block;
22 20
     })
23 21
   }
24
-  btnClicked() {
25
-    this.blockService.getMinedBlock(this.id).subscribe(block => {
26
-      this.block = block;
22
+  getAllBlocks() {
23
+    this.blockService.getAllBlocks().subscribe(blocks => {
24
+      this.blocks = blocks;
25
+    })
26
+  }
27
+  getMinedBlock(id) {
28
+    this.blockService.getMinedBlock(id).subscribe(minedBlock => {
29
+      this.block = minedBlock;
27 30
   })
28 31
   }
29 32
 }

+ 6
- 2
ZipCoinRedIonicClient/src/providers/block-service.ts Bestand weergeven

@@ -10,12 +10,16 @@ export class BlockService{
10 10
  constructor(public http: HttpClient) {
11 11
  }
12 12
 
13
- getBlock(id) {
13
+ getBlock(id) : Observable<any> {
14 14
    return this.http.get(this.BLOCK_API + '/' + id);
15 15
  }
16 16
 
17
- getMinedBlock(id) {
17
+ getMinedBlock(id) : Observable<any> {
18 18
   return this.http.get(this.BLOCK_API + '/' + id + '/' + 'mine');
19 19
  }
20 20
 
21
+ getAllBlocks() : Observable<any> {
22
+   return this.http.get(this.BLOCK_API)
23
+ }
24
+
21 25
 }

+ 65
- 70
ZipCoinRedIonicClient/www/build/main.js Bestand weergeven

@@ -144,6 +144,65 @@ module.exports = webpackAsyncContext;
144 144
 
145 145
 /***/ }),
146 146
 
147
+/***/ 156:
148
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
149
+
150
+"use strict";
151
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
152
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
153
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
154
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(157);
155
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
156
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
157
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
158
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
159
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
160
+};
161
+var __metadata = (this && this.__metadata) || function (k, v) {
162
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
163
+};
164
+
165
+
166
+
167
+var HomePage = /** @class */ (function () {
168
+    function HomePage(navCtrl, blockService) {
169
+        this.navCtrl = navCtrl;
170
+        this.blockService = blockService;
171
+        this.block = {};
172
+        this.id = 3;
173
+        this.getBlock();
174
+    }
175
+    HomePage.prototype.getBlock = function () {
176
+        var _this = this;
177
+        this.blockService.getBlock(this.id).subscribe(function (block) {
178
+            _this.block = block;
179
+        });
180
+    };
181
+    HomePage.prototype.btnClicked = function () {
182
+        var _this = this;
183
+        this.blockService.getMinedBlock(this.id).subscribe(function (block) {
184
+            _this.block = block;
185
+        });
186
+    };
187
+    HomePage = __decorate([
188
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
189
+            selector: 'page-home',template:/*ion-inline-start:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
190
+        }),
191
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
192
+    ], HomePage);
193
+    return HomePage;
194
+}());
195
+
196
+//make payment
197
+//block view
198
+//2 pull down list of username and pay other user "blank zips"
199
+// transaction are order by date
200
+// pay tab how many coins``
201
+// 4 tabs block,pay,  
202
+//# sourceMappingURL=home.js.map
203
+
204
+/***/ }),
205
+
147 206
 /***/ 157:
148 207
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
149 208
 
@@ -255,13 +314,12 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
255 314
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(198);
256 315
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(201);
257 316
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(278);
258
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_block_home__ = __webpack_require__(283);
317
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(156);
259 318
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common_http__ = __webpack_require__(158);
260 319
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_block_service__ = __webpack_require__(157);
261 320
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(100);
262 321
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(101);
263 322
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(99);
264
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(202);
265 323
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
266 324
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
267 325
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -280,7 +338,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
280 338
 
281 339
 
282 340
 
283
-
284 341
 var AppModule = /** @class */ (function () {
285 342
     function AppModule() {
286 343
     }
@@ -288,10 +345,9 @@ var AppModule = /** @class */ (function () {
288 345
         Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["I" /* NgModule */])({
289 346
             declarations: [
290 347
                 __WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */],
291
-                __WEBPACK_IMPORTED_MODULE_6__pages_block_home__["a" /* HomePage */],
348
+                __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */],
292 349
                 __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__["a" /* WalletPage */],
293 350
                 __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__["a" /* TransactionPage */],
294
-                __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__["a" /* Tab4Page */],
295 351
                 __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__["a" /* TabsPage */]
296 352
             ],
297 353
             imports: [
@@ -309,10 +365,9 @@ var AppModule = /** @class */ (function () {
309 365
             bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* IonicApp */]],
310 366
             entryComponents: [
311 367
                 __WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */],
312
-                __WEBPACK_IMPORTED_MODULE_6__pages_block_home__["a" /* HomePage */],
368
+                __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */],
313 369
                 __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__["a" /* WalletPage */],
314 370
                 __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__["a" /* TransactionPage */],
315
-                __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__["a" /* Tab4Page */],
316 371
                 __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__["a" /* TabsPage */]
317 372
             ],
318 373
             providers: [
@@ -367,82 +422,22 @@ var MyApp = /** @class */ (function () {
367 422
     MyApp = __decorate([
368 423
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
369 424
         }),
370
-        __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]) === "function" && _c || Object])
425
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
371 426
     ], MyApp);
372 427
     return MyApp;
373
-    var _a, _b, _c;
374 428
 }());
375 429
 
376 430
 //# sourceMappingURL=app.component.js.map
377 431
 
378 432
 /***/ }),
379 433
 
380
-/***/ 283:
381
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
382
-
383
-"use strict";
384
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
385
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
386
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
387
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(157);
388
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
389
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
390
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
391
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
392
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
393
-};
394
-var __metadata = (this && this.__metadata) || function (k, v) {
395
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
396
-};
397
-
398
-
399
-
400
-var HomePage = /** @class */ (function () {
401
-    function HomePage(navCtrl, blockService) {
402
-        this.navCtrl = navCtrl;
403
-        this.blockService = blockService;
404
-        this.block = {};
405
-        this.id = 3;
406
-        this.getBlock();
407
-    }
408
-    HomePage.prototype.getBlock = function () {
409
-        var _this = this;
410
-        this.blockService.getBlock(this.id).subscribe(function (block) {
411
-            _this.block = block;
412
-        });
413
-    };
414
-    HomePage.prototype.btnClicked = function () {
415
-        var _this = this;
416
-        this.blockService.getMinedBlock(this.id).subscribe(function (block) {
417
-            _this.block = block;
418
-        });
419
-    };
420
-    HomePage = __decorate([
421
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
422
-            selector: 'page-home',template:/*ion-inline-start:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/block/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n  \n  <div class="well well-success col-xs-7" id="blockchain">\n       <div class="list list-inset">\n          <label class="item item-input"> Block #:<input type="text" disabled placeholder= "{{ block.blockNumber }}" ></label>\n          <label class="item item-input"> Nonce:<input type="text" disabled placeholder= "{{ block.nonce }}" ></label>\n          <label class="item item-input"> Data:<input type="text" disabled placeholder= "{{ block.transactionList }}" > </label>\n          <label class="item item-input"> Hash:<input type="text" disabled placeholder= "{{ block.currentHash }}" ></label>\n    <!-- <label class="item item-input"> HashPrev: <input type="text" disabled placeholder="Hash"></label> -->\n          <button ion-button (click)="btnClicked()">Mine</button>\n        </div>\n  </div>   \n\n</ion-content>'/*ion-inline-end:"/Users/khalils/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/block/home.html"*/
423
-        }),
424
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
425
-    ], HomePage);
426
-    return HomePage;
427
-}());
428
-
429
-//make payment
430
-//block view
431
-//2 pull down list of username and pay other user "blank zips"
432
-// transaction are order by date
433
-// pay tab how many coins``
434
-// 4 tabs block,pay,  
435
-//# sourceMappingURL=home.js.map
436
-
437
-/***/ }),
438
-
439 434
 /***/ 99:
440 435
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
441 436
 
442 437
 "use strict";
443 438
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
444 439
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
445
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__block_home__ = __webpack_require__(283);
440
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(156);
446 441
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(100);
447 442
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(101);
448 443
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(202);
@@ -462,7 +457,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
462 457
 
463 458
 var TabsPage = /** @class */ (function () {
464 459
     function TabsPage() {
465
-        this.homePage = __WEBPACK_IMPORTED_MODULE_1__block_home__["a" /* HomePage */];
460
+        this.homePage = __WEBPACK_IMPORTED_MODULE_1__home_home__["a" /* HomePage */];
466 461
         this.walletPage = __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__["a" /* WalletPage */];
467 462
         this.transactionPage = __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__["a" /* TransactionPage */];
468 463
         this.tab4 = __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__["a" /* Tab4Page */];

+ 1
- 1
ZipCoinRedIonicClient/www/build/main.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 5
- 1
ZipCoinRedIonicClient/www/build/vendor.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 223
- 44
ZipCoinRedJavaServer/.idea/workspace.xml Bestand weergeven

@@ -11,12 +11,123 @@
11 11
     <option name="LAST_RESOLUTION" value="IGNORE" />
12 12
   </component>
13 13
   <component name="FileEditorManager">
14
+<<<<<<< HEAD
15
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
16
+      <file leaf-file-name="BlockController.java" pinned="false" current-in-tab="true">
17
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
18
+          <provider selected="true" editor-type-id="text-editor">
19
+            <state relative-caret-position="95">
20
+              <caret line="12" column="26" selection-start-line="12" selection-start-column="26" selection-end-line="12" selection-end-column="26" />
21
+              <folding>
22
+                <element signature="imports" expanded="true" />
23
+              </folding>
24
+            </state>
25
+          </provider>
26
+        </entry>
27
+      </file>
28
+      <file leaf-file-name="HomeController.java" pinned="false" current-in-tab="false">
29
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java">
30
+          <provider selected="true" editor-type-id="text-editor">
31
+            <state relative-caret-position="60">
32
+              <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
33
+            </state>
34
+          </provider>
35
+        </entry>
36
+      </file>
37
+      <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
38
+        <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
39
+          <provider selected="true" editor-type-id="text-editor">
40
+            <state relative-caret-position="330">
41
+              <caret line="22" column="21" selection-start-line="22" selection-start-column="21" selection-end-line="22" selection-end-column="21" />
42
+            </state>
43
+          </provider>
44
+        </entry>
45
+      </file>
46
+      <file leaf-file-name="TransactionController.java" pinned="false" current-in-tab="false">
47
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
48
+          <provider selected="true" editor-type-id="text-editor">
49
+            <state relative-caret-position="365">
50
+              <caret line="29" selection-start-line="29" selection-start-column="2" selection-end-line="33" selection-end-column="7" />
51
+              <folding>
52
+                <element signature="imports" expanded="true" />
53
+              </folding>
54
+            </state>
55
+          </provider>
56
+        </entry>
57
+      </file>
58
+      <file leaf-file-name="BlockRepository.java" pinned="false" current-in-tab="false">
59
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java">
60
+          <provider selected="true" editor-type-id="text-editor">
61
+            <state relative-caret-position="75">
62
+              <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
63
+              <folding>
64
+                <element signature="imports" expanded="true" />
65
+              </folding>
66
+            </state>
67
+          </provider>
68
+        </entry>
69
+      </file>
70
+      <file leaf-file-name="WalletController.java" pinned="false" current-in-tab="false">
71
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
72
+          <provider selected="true" editor-type-id="text-editor">
73
+            <state relative-caret-position="376">
74
+              <caret line="33" column="7" lean-forward="true" selection-start-line="33" selection-start-column="7" selection-end-line="33" selection-end-column="7" />
75
+              <folding>
76
+                <element signature="imports" expanded="true" />
77
+              </folding>
78
+            </state>
79
+          </provider>
80
+        </entry>
81
+      </file>
82
+      <file leaf-file-name="TransactionRepository.java" pinned="false" current-in-tab="false">
83
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/TransactionRepository.java">
84
+          <provider selected="true" editor-type-id="text-editor">
85
+            <state relative-caret-position="165">
86
+              <caret line="11" selection-start-line="11" selection-start-column="2" selection-end-line="12" selection-end-column="92" />
87
+              <folding>
88
+                <element signature="imports" expanded="true" />
89
+              </folding>
90
+            </state>
91
+          </provider>
92
+        </entry>
93
+      </file>
94
+      <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
95
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
96
+          <provider selected="true" editor-type-id="text-editor">
97
+            <state relative-caret-position="1110">
98
+              <caret line="74" selection-start-line="74" selection-start-column="2" selection-end-line="78" selection-end-column="7" />
99
+              <folding>
100
+                <element signature="imports" expanded="true" />
101
+              </folding>
102
+            </state>
103
+          </provider>
104
+        </entry>
105
+      </file>
106
+      <file leaf-file-name="WalletRepository.java" pinned="false" current-in-tab="false">
107
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/WalletRepository.java">
108
+          <provider selected="true" editor-type-id="text-editor">
109
+            <state relative-caret-position="165">
110
+              <caret line="11" selection-start-line="11" selection-start-column="2" selection-end-line="15" selection-end-column="39" />
111
+              <folding>
112
+                <element signature="imports" expanded="true" />
113
+              </folding>
114
+            </state>
115
+          </provider>
116
+        </entry>
117
+      </file>
118
+      <file leaf-file-name="TransactionAndWalletTest.java" pinned="false" current-in-tab="false">
119
+        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
120
+          <provider selected="true" editor-type-id="text-editor">
121
+            <state relative-caret-position="75">
122
+              <caret line="12" selection-start-line="12" selection-start-column="2" selection-end-line="13" selection-end-column="39" />
123
+=======
14 124
     <leaf>
15 125
       <file leaf-file-name="BlockController.java" pinned="false" current-in-tab="true">
16 126
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
17 127
           <provider selected="true" editor-type-id="text-editor">
18 128
             <state relative-caret-position="12">
19 129
               <caret line="20" column="42" selection-start-line="20" selection-start-column="42" selection-end-line="20" selection-end-column="42" />
130
+<<<<<<< HEAD
20 131
               <folding>
21 132
                 <element signature="imports" expanded="true" />
22 133
                 <element signature="e#645#646#0" expanded="true" />
@@ -26,6 +137,9 @@
26 137
                 <element signature="e#1032#1033#0" expanded="true" />
27 138
                 <element signature="e#1080#1081#0" expanded="true" />
28 139
               </folding>
140
+=======
141
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
142
+>>>>>>> 9579f2fb69cc4c14932e53a8eab0ee8b02e128e4
29 143
             </state>
30 144
           </provider>
31 145
         </entry>
@@ -62,13 +176,13 @@
62 176
         <option value="$PROJECT_DIR$/src/test/java/redCoin/Miner/minerTest.java" />
63 177
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java" />
64 178
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/utilities/Wallet.java" />
65
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java" />
66
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/repository/WalletRepository.java" />
67
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java" />
68 179
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Wallet.java" />
69 180
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java" />
70 181
         <option value="$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java" />
71 182
         <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/repository/TransactionRepository.java" />
183
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java" />
184
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/repository/WalletRepository.java" />
185
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java" />
72 186
       </list>
73 187
     </option>
74 188
   </component>
@@ -354,17 +468,26 @@
354 468
       <workItem from="1531772346214" duration="3133000" />
355 469
       <workItem from="1531775595883" duration="5604000" />
356 470
       <workItem from="1531837614306" duration="20000" />
357
-      <workItem from="1532460990056" duration="1658000" />
471
+      <workItem from="1532460990056" duration="2526000" />
358 472
     </task>
359 473
     <servers />
360 474
   </component>
361 475
   <component name="TimeTrackingManager">
362
-    <option name="totallyTimeSpent" value="20150000" />
476
+    <option name="totallyTimeSpent" value="21018000" />
363 477
   </component>
364 478
   <component name="ToolWindowManager">
365 479
     <frame x="0" y="0" width="1280" height="800" extended-state="6" />
366 480
     <editor active="true" />
367 481
     <layout>
482
+<<<<<<< HEAD
483
+      <window_info anchor="right" id="Palette" order="3" />
484
+      <window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.50080776" side_tool="true" weight="0.25103447" />
485
+      <window_info anchor="right" id="Maven Projects" order="3" />
486
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
487
+      <window_info id="Capture Tool" order="2" />
488
+      <window_info id="Designer" order="2" />
489
+      <window_info anchor="right" id="Database" order="3" />
490
+=======
368 491
       <window_info anchor="right" id="Palette" />
369 492
       <window_info anchor="bottom" id="Event Log" side_tool="true" />
370 493
       <window_info anchor="right" id="Maven Projects" />
@@ -372,11 +495,23 @@
372 495
       <window_info id="Capture Tool" />
373 496
       <window_info id="Designer" />
374 497
       <window_info anchor="right" id="Database" />
498
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
375 499
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
376 500
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
377 501
       <window_info id="UI Designer" />
378 502
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
379 503
       <window_info anchor="bottom" id="TODO" order="6" />
504
+<<<<<<< HEAD
505
+      <window_info anchor="bottom" id="Messages" order="9" weight="0.32965517" />
506
+      <window_info anchor="right" id="Palette&#9;" order="3" />
507
+      <window_info id="Image Layers" order="2" />
508
+      <window_info anchor="bottom" id="Java Enterprise" order="8" weight="0.32965517" />
509
+      <window_info anchor="right" id="Capture Analysis" order="3" />
510
+      <window_info anchor="bottom" id="Version Control" order="7" />
511
+      <window_info anchor="bottom" id="Run" order="2" sideWeight="0.49919224" visible="true" weight="0.30068967" />
512
+      <window_info anchor="bottom" id="Spring" order="9" weight="0.32965517" />
513
+      <window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49919224" weight="0.5958621" />
514
+=======
380 515
       <window_info anchor="bottom" id="Messages" />
381 516
       <window_info anchor="right" id="Palette&#9;" />
382 517
       <window_info id="Image Layers" />
@@ -409,6 +544,7 @@
409 544
       <window_info anchor="bottom" id="Messages" order="9" weight="0.32965517" />
410 545
       <window_info anchor="bottom" id="TODO" order="6" />
411 546
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
547
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
412 548
       <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.26494345" />
413 549
       <window_info anchor="bottom" id="Java Enterprise" order="8" weight="0.32965517" />
414 550
       <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
@@ -521,23 +657,6 @@
521 657
         </state>
522 658
       </provider>
523 659
     </entry>
524
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java">
525
-      <provider selected="true" editor-type-id="text-editor">
526
-        <state relative-caret-position="60">
527
-          <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
528
-          <folding>
529
-            <element signature="imports" expanded="true" />
530
-          </folding>
531
-        </state>
532
-      </provider>
533
-    </entry>
534
-    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
535
-      <provider selected="true" editor-type-id="text-editor">
536
-        <state relative-caret-position="225">
537
-          <caret line="15" column="53" selection-start-line="15" selection-start-column="53" selection-end-line="15" selection-end-column="53" />
538
-        </state>
539
-      </provider>
540
-    </entry>
541 660
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/PersistenceConfiguration.java">
542 661
       <provider selected="true" editor-type-id="text-editor">
543 662
         <state relative-caret-position="90">
@@ -545,10 +664,15 @@
545 664
         </state>
546 665
       </provider>
547 666
     </entry>
548
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
667
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Chain.java">
549 668
       <provider selected="true" editor-type-id="text-editor">
669
+<<<<<<< HEAD
670
+        <state relative-caret-position="60">
671
+          <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
672
+=======
550 673
         <state relative-caret-position="12">
551 674
           <caret line="20" column="42" selection-start-line="20" selection-start-column="42" selection-end-line="20" selection-end-column="42" />
675
+<<<<<<< HEAD
552 676
           <folding>
553 677
             <element signature="imports" expanded="true" />
554 678
             <element signature="e#645#646#0" expanded="true" />
@@ -558,85 +682,140 @@
558 682
             <element signature="e#1032#1033#0" expanded="true" />
559 683
             <element signature="e#1080#1081#0" expanded="true" />
560 684
           </folding>
685
+=======
686
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
687
+>>>>>>> 9579f2fb69cc4c14932e53a8eab0ee8b02e128e4
561 688
         </state>
562 689
       </provider>
563 690
     </entry>
564
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java">
691
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java">
565 692
       <provider selected="true" editor-type-id="text-editor">
566
-        <state relative-caret-position="60">
567
-          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
693
+        <state relative-caret-position="165">
694
+          <caret line="11" column="20" lean-forward="true" selection-start-line="9" selection-start-column="4" selection-end-line="11" selection-end-column="20" />
695
+          <folding>
696
+            <element signature="imports" expanded="true" />
697
+          </folding>
568 698
         </state>
569 699
       </provider>
570 700
     </entry>
571
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
701
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Wallet.java">
572 702
       <provider selected="true" editor-type-id="text-editor">
573
-        <state relative-caret-position="230">
574
-          <caret line="19" column="68" selection-start-line="19" selection-start-column="68" selection-end-line="19" selection-end-column="68" />
703
+        <state relative-caret-position="120">
704
+          <caret line="12" column="32" selection-start-line="12" selection-start-column="32" selection-end-line="12" selection-end-column="32" />
575 705
           <folding>
576 706
             <element signature="imports" expanded="true" />
577 707
           </folding>
578 708
         </state>
579 709
       </provider>
580 710
     </entry>
581
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
711
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
582 712
       <provider selected="true" editor-type-id="text-editor">
583
-        <state relative-caret-position="216">
584
-          <caret line="24" column="48" selection-start-line="24" selection-start-column="29" selection-end-line="24" selection-end-column="48" />
713
+        <state relative-caret-position="1110">
714
+          <caret line="74" selection-start-line="74" selection-start-column="2" selection-end-line="78" selection-end-column="7" />
585 715
           <folding>
586 716
             <element signature="imports" expanded="true" />
587 717
           </folding>
588 718
         </state>
589 719
       </provider>
590 720
     </entry>
591
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Chain.java">
721
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
592 722
       <provider selected="true" editor-type-id="text-editor">
593
-        <state relative-caret-position="60">
594
-          <caret line="4" column="13" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
723
+        <state relative-caret-position="75">
724
+          <caret line="12" selection-start-line="12" selection-start-column="2" selection-end-line="13" selection-end-column="39" />
595 725
         </state>
596 726
       </provider>
597 727
     </entry>
598
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Block.java">
728
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/WalletRepository.java">
599 729
       <provider selected="true" editor-type-id="text-editor">
600 730
         <state relative-caret-position="165">
601
-          <caret line="11" column="20" lean-forward="true" selection-start-line="9" selection-start-column="4" selection-end-line="11" selection-end-column="20" />
731
+          <caret line="11" selection-start-line="11" selection-start-column="2" selection-end-line="15" selection-end-column="39" />
602 732
           <folding>
603 733
             <element signature="imports" expanded="true" />
604 734
           </folding>
605 735
         </state>
606 736
       </provider>
607 737
     </entry>
608
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Wallet.java">
738
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/TransactionRepository.java">
609 739
       <provider selected="true" editor-type-id="text-editor">
740
+<<<<<<< HEAD
741
+        <state relative-caret-position="165">
742
+          <caret line="11" selection-start-line="11" selection-start-column="2" selection-end-line="12" selection-end-column="92" />
743
+          <folding>
744
+            <element signature="imports" expanded="true" />
745
+          </folding>
746
+=======
610 747
         <state relative-caret-position="120">
611 748
           <caret line="12" column="32" selection-start-line="12" selection-start-column="32" selection-end-line="12" selection-end-column="32" />
749
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
612 750
         </state>
613 751
       </provider>
614 752
     </entry>
615
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
753
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/BlockRepository.java">
616 754
       <provider selected="true" editor-type-id="text-editor">
755
+<<<<<<< HEAD
756
+        <state relative-caret-position="75">
757
+          <caret line="5" column="17" selection-start-line="5" selection-start-column="17" selection-end-line="5" selection-end-column="17" />
758
+          <folding>
759
+            <element signature="imports" expanded="true" />
760
+          </folding>
761
+=======
617 762
         <state relative-caret-position="1110">
618 763
           <caret line="74" selection-start-line="74" selection-start-column="2" selection-end-line="78" selection-end-column="7" />
764
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
619 765
         </state>
620 766
       </provider>
621 767
     </entry>
622
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcoin/redCoin/TransactionAndWallet/TransactionAndWalletTest.java">
768
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/HomeController.java">
623 769
       <provider selected="true" editor-type-id="text-editor">
624
-        <state relative-caret-position="75">
625
-          <caret line="12" selection-start-line="12" selection-start-column="2" selection-end-line="13" selection-end-column="39" />
770
+        <state relative-caret-position="60">
771
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
626 772
         </state>
627 773
       </provider>
628 774
     </entry>
629
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/TransactionRepository.java">
775
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/TransactionController.java">
630 776
       <provider selected="true" editor-type-id="text-editor">
777
+<<<<<<< HEAD
778
+        <state relative-caret-position="365">
779
+          <caret line="29" selection-start-line="29" selection-start-column="2" selection-end-line="33" selection-end-column="7" />
780
+          <folding>
781
+            <element signature="imports" expanded="true" />
782
+          </folding>
783
+=======
631 784
         <state relative-caret-position="165">
632 785
           <caret line="11" selection-start-line="11" selection-start-column="2" selection-end-line="12" selection-end-column="92" />
786
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
633 787
         </state>
634 788
       </provider>
635 789
     </entry>
636
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/repository/WalletRepository.java">
790
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/WalletController.java">
791
+      <provider selected="true" editor-type-id="text-editor">
792
+<<<<<<< HEAD
793
+        <state relative-caret-position="376">
794
+          <caret line="33" column="7" lean-forward="true" selection-start-line="33" selection-start-column="7" selection-end-line="33" selection-end-column="7" />
795
+          <folding>
796
+            <element signature="imports" expanded="true" />
797
+          </folding>
798
+        </state>
799
+      </provider>
800
+    </entry>
801
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
637 802
       <provider selected="true" editor-type-id="text-editor">
803
+        <state relative-caret-position="330">
804
+          <caret line="22" column="21" selection-start-line="22" selection-start-column="21" selection-end-line="22" selection-end-column="21" />
805
+        </state>
806
+      </provider>
807
+    </entry>
808
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/controller/BlockController.java">
809
+      <provider selected="true" editor-type-id="text-editor">
810
+        <state relative-caret-position="95">
811
+          <caret line="12" column="26" selection-start-line="12" selection-start-column="26" selection-end-line="12" selection-end-column="26" />
812
+          <folding>
813
+            <element signature="imports" expanded="true" />
814
+          </folding>
815
+=======
638 816
         <state relative-caret-position="180">
639 817
           <caret line="12" column="70" selection-start-line="11" selection-start-column="4" selection-end-line="12" selection-end-column="70" />
818
+>>>>>>> d5351112dec273d41f50fea3731c9fae9fc95cd9
640 819
         </state>
641 820
       </provider>
642 821
     </entry>