Eric Foster 6 år sedan
förälder
incheckning
05a33c28a2

+ 1
- 5
ZipCoinRedIonicClient/.sourcemaps/main.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 0
ZipCoinRedIonicClient/src/pages/transaction/transaction.ts Visa fil

@@ -20,6 +20,7 @@ export class TransactionPage {
20 20
 
21 21
   constructor(public navCtrl: NavController, public navParams: NavParams,
22 22
   public transactionService: TransactionService){
23
+    this.getAllTransactions;
23 24
   }
24 25
 
25 26
   ionViewDidLoad() {

+ 1
- 1
ZipCoinRedIonicClient/www/build/0.js Visa fil

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

+ 2
- 2
ZipCoinRedIonicClient/www/build/1.js Visa fil

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

+ 2
- 2
ZipCoinRedIonicClient/www/build/2.js Visa fil

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

+ 24
- 117
ZipCoinRedIonicClient/www/build/main.js Visa fil

@@ -52,6 +52,7 @@ var Tab4Page = /** @class */ (function () {
52 52
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
53 53
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
54 54
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
55
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
55 56
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
56 57
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
57 58
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -63,6 +64,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
63 64
 };
64 65
 
65 66
 
67
+
66 68
 /**
67 69
  * Generated class for the TransactionPage page.
68 70
  *
@@ -70,44 +72,45 @@ var __metadata = (this && this.__metadata) || function (k, v) {
70 72
  * Ionic pages and navigation.
71 73
  */
72 74
 var TransactionPage = /** @class */ (function () {
73
-    function TransactionPage(navCtrl, navParams) {
75
+    function TransactionPage(navCtrl, navParams, transactionService) {
74 76
         this.navCtrl = navCtrl;
75 77
         this.navParams = navParams;
78
+        this.transactionService = transactionService;
79
+        this.getAllTransactions;
76 80
     }
77 81
     TransactionPage.prototype.ionViewDidLoad = function () {
78 82
         console.log('ionViewDidLoad TransactionPage');
79 83
     };
84
+    TransactionPage.prototype.getAllTransactions = function () {
85
+        var _this = this;
86
+        this.transactionService.getAllTransactions().subscribe(function (transactions) {
87
+            _this.transactions = transactions;
88
+        });
89
+    };
80 90
     TransactionPage = __decorate([
81 91
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
82
-            selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
92
+            selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n    <ion-list>\n        <ion-item-sliding *ngFor="let transaction of transactions">\n          <ion-item>\n            <ion-card>\n                <ion-card-header>\n                  Transaction #: {{transaction.transactionId}}\n                </ion-card-header>\n                <ion-card-content>\n                  <div>Sender: {{ transaction.sender }}</div>\n                  <div>Recipient: {{ block.recipient }}</div>\n                  <div>Amount: {{ block.amount }}</div>\n                </ion-card-content>\n            </ion-card>\n          </ion-item>\n        </ion-item-sliding>\n      </ion-list>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
83 93
         }),
84
-        __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]) === "function" && _b || Object])
94
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
95
+            __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
85 96
     ], TransactionPage);
86 97
     return TransactionPage;
87
-    var _a, _b;
88 98
 }());
89 99
 
90 100
 //# sourceMappingURL=transaction.js.map
91 101
 
92 102
 /***/ }),
93 103
 
94
-/***/ 101:
104
+/***/ 103:
95 105
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
96 106
 
97 107
 "use strict";
98 108
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
99 109
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
100
-<<<<<<< HEAD
101
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(157);
102
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(102);
103
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(100);
104
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(99);
105
-=======
106 110
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(159);
107
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(103);
108
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(104);
111
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(104);
112
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(102);
109 113
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(101);
110
->>>>>>> posttransaction
111 114
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
112 115
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
113 116
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -142,11 +145,7 @@ var TabsPage = /** @class */ (function () {
142 145
 
143 146
 /***/ }),
144 147
 
145
-<<<<<<< HEAD
146
-/***/ 102:
147
-=======
148
-/***/ 103:
149
->>>>>>> posttransaction
148
+/***/ 104:
150 149
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
151 150
 
152 151
 "use strict";
@@ -197,66 +196,7 @@ var WalletPage = /** @class */ (function () {
197 196
 
198 197
 /***/ }),
199 198
 
200
-<<<<<<< HEAD
201
-/***/ 114:
202
-=======
203
-/***/ 104:
204
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
205
-
206
-"use strict";
207
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
208
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
209
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
210
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
211
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
212
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
213
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
214
-    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;
215
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
216
-};
217
-var __metadata = (this && this.__metadata) || function (k, v) {
218
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
219
-};
220
-
221
-
222
-
223
-/**
224
- * Generated class for the TransactionPage page.
225
- *
226
- * See https://ionicframework.com/docs/components/#navigation for more info on
227
- * Ionic pages and navigation.
228
- */
229
-var TransactionPage = /** @class */ (function () {
230
-    function TransactionPage(navCtrl, navParams, transactionService) {
231
-        this.navCtrl = navCtrl;
232
-        this.navParams = navParams;
233
-        this.transactionService = transactionService;
234
-    }
235
-    TransactionPage.prototype.ionViewDidLoad = function () {
236
-        console.log('ionViewDidLoad TransactionPage');
237
-    };
238
-    TransactionPage.prototype.getAllTransactions = function () {
239
-        var _this = this;
240
-        this.transactionService.getAllTransactions().subscribe(function (transactions) {
241
-            _this.transactions = transactions;
242
-        });
243
-    };
244
-    TransactionPage = __decorate([
245
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
246
-            selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n    <ion-list>\n        <ion-item-sliding *ngFor="let transaction of transactions">\n          <ion-item>\n            <ion-card>\n                <ion-card-header>\n                  Transaction #: {{transaction.transactionId}}\n                </ion-card-header>\n                <ion-card-content>\n                  <div>Sender: {{ transaction.sender }}</div>\n                  <div>Recipient: {{ block.recipient }}</div>\n                  <div>Amount: {{ block.amount }}</div>\n                </ion-card-content>\n            </ion-card>\n          </ion-item>\n        </ion-item-sliding>\n      </ion-list>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
247
-        }),
248
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
249
-            __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
250
-    ], TransactionPage);
251
-    return TransactionPage;
252
-}());
253
-
254
-//# sourceMappingURL=transaction.js.map
255
-
256
-/***/ }),
257
-
258 199
 /***/ 116:
259
->>>>>>> posttransaction
260 200
 /***/ (function(module, exports) {
261 201
 
262 202
 function webpackEmptyAsyncContext(req) {
@@ -282,15 +222,11 @@ var map = {
282 222
 		3
283 223
 	],
284 224
 	"../pages/tabs/tabs.module": [
285
-		281,
225
+		282,
286 226
 		2
287 227
 	],
288 228
 	"../pages/transaction/transaction.module": [
289
-<<<<<<< HEAD
290
-		280,
291
-=======
292
-		282,
293
->>>>>>> posttransaction
229
+		281,
294 230
 		1
295 231
 	],
296 232
 	"../pages/wallet/wallet.module": [
@@ -444,30 +380,17 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
444 380
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
445 381
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
446 382
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(28);
447
-<<<<<<< HEAD
448
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
449
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(202);
450
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(278);
451
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(159);
452
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(158);
453
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(157);
454
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(102);
455
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(100);
456
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(101);
457
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(99);
458
-=======
459 383
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
460 384
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(203);
461 385
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(279);
462 386
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(78);
463 387
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(160);
464 388
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(159);
465
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(103);
466
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(104);
467
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(102);
389
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(104);
390
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(102);
391
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(103);
468 392
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(101);
469 393
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__ = __webpack_require__(50);
470
->>>>>>> posttransaction
471 394
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
472 395
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
473 396
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -545,15 +468,9 @@ var AppModule = /** @class */ (function () {
545 468
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
546 469
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
547 470
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
548
-<<<<<<< HEAD
549
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
550
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
551
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(101);
552
-=======
553 471
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(203);
554 472
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
555
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(102);
556
->>>>>>> posttransaction
473
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(103);
557 474
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
558 475
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
559 476
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -617,15 +534,6 @@ var TransactionService = /** @class */ (function () {
617 534
     TransactionService.prototype.createTransaction = function (transaction) {
618 535
         return this.http.post(this.TRANSACTION_API, transaction);
619 536
     };
620
-<<<<<<< HEAD
621
-    Tab4Page = __decorate([
622
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
623
-            selector: 'page-tab4',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
624
-        }),
625
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
626
-    ], Tab4Page);
627
-    return Tab4Page;
628
-=======
629 537
     TransactionService.prototype.getAllTransactions = function () {
630 538
         return this.http.get(this.TRANSACTION_API);
631 539
     };
@@ -634,7 +542,6 @@ var TransactionService = /** @class */ (function () {
634 542
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
635 543
     ], TransactionService);
636 544
     return TransactionService;
637
->>>>>>> posttransaction
638 545
 }());
639 546
 
640 547
 //# sourceMappingURL=transaction-service.js.map

+ 1
- 5
ZipCoinRedIonicClient/www/build/main.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 5
ZipCoinRedIonicClient/www/build/vendor.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 379
ZipCoinRedJavaServer/.idea/workspace.xml Visa fil

@@ -1,202 +1,10 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3
-  <component name="ChangeListManager">
4
-    <list default="true" id="b5dbb83e-180b-4a0c-b0a5-ad5d71d5235c" name="Default" comment="" />
5
-    <ignored path="$PROJECT_DIR$/target/" />
6
-    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
7
-    <option name="TRACKING_ENABLED" value="true" />
8
-    <option name="SHOW_DIALOG" value="false" />
9
-    <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
-    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
-    <option name="LAST_RESOLUTION" value="IGNORE" />
12
-  </component>
13
-  <component name="FileEditorManager">
14
-    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
15
-      <file leaf-file-name="application.properties" pinned="false" current-in-tab="false">
16
-        <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
17
-          <provider selected="true" editor-type-id="text-editor" />
18
-        </entry>
19
-      </file>
20
-      <file leaf-file-name="Transaction.java" pinned="false" current-in-tab="false">
21
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
22
-          <provider selected="true" editor-type-id="text-editor">
23
-<<<<<<< HEAD
24
-            <state relative-caret-position="1080">
25
-              <caret line="72" column="30" selection-start-line="72" selection-start-column="30" selection-end-line="72" selection-end-column="30" />
26
-=======
27
-            <state relative-caret-position="1020">
28
-              <caret line="74" column="56" selection-start-line="74" selection-start-column="56" selection-end-line="74" selection-end-column="56" />
29
->>>>>>> posttransaction
30
-            </state>
31
-          </provider>
32
-        </entry>
33
-      </file>
34
-      <file leaf-file-name="BlockLoader.java" pinned="false" current-in-tab="false">
35
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/BlockLoader.java">
36
-          <provider selected="true" editor-type-id="text-editor">
37
-            <state relative-caret-position="30">
38
-              <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
39
-            </state>
40
-          </provider>
41
-        </entry>
42
-      </file>
43
-<<<<<<< HEAD
44
-      <file leaf-file-name="TransactionLoader.java" pinned="false" current-in-tab="true">
45
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/TransactionLoader.java">
46
-          <provider selected="true" editor-type-id="text-editor">
47
-            <state relative-caret-position="18">
48
-              <caret line="10" column="13" selection-start-line="10" selection-start-column="13" selection-end-line="10" selection-end-column="13" />
49
-=======
50
-      <file leaf-file-name="TransactionLoader.java" pinned="false" current-in-tab="false">
51
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/TransactionLoader.java">
52
-          <provider selected="true" editor-type-id="text-editor">
53
-            <state relative-caret-position="30">
54
-              <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
55
->>>>>>> posttransaction
56
-            </state>
57
-          </provider>
58
-        </entry>
59
-      </file>
60
-<<<<<<< HEAD
61
-      <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="false">
62
-=======
63
-      <file leaf-file-name="Wallet.java" pinned="false" current-in-tab="true">
64
->>>>>>> posttransaction
65
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Wallet.java">
66
-          <provider selected="true" editor-type-id="text-editor">
67
-            <state relative-caret-position="75">
68
-              <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
69
-            </state>
70
-          </provider>
71
-        </entry>
72
-      </file>
73
-      <file leaf-file-name="WalletLoader.java" pinned="false" current-in-tab="false">
74
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
75
-          <provider selected="true" editor-type-id="text-editor">
76
-            <state relative-caret-position="75">
77
-              <caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
78
-            </state>
79
-          </provider>
80
-        </entry>
81
-      </file>
82
-    </leaf>
83
-  </component>
84
-  <component name="Git.Settings">
85
-    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
86
-  </component>
87
-  <component name="IdeDocumentHistory">
88
-    <option name="CHANGED_PATHS">
89
-      <list>
90
-        <option value="$PROJECT_DIR$/src/main/resources/db/migration/V2__create_block.sql" />
91
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java" />
92
-      </list>
93
-    </option>
94
-  </component>
95
-  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
96
-  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
97
-  <component name="JsGulpfileManager">
98
-    <detection-done>true</detection-done>
99
-    <sorting>DEFINITION_ORDER</sorting>
100
-  </component>
101
-<<<<<<< HEAD
102
-  <component name="MavenImportPreferences">
103
-    <option name="importingSettings">
104
-      <MavenImportingSettings>
105
-        <option name="importAutomatically" value="true" />
106
-      </MavenImportingSettings>
107
-    </option>
108
-  </component>
109
-  <component name="NodePackageJsonFileManager">
110
-    <packageJsonPaths />
111
-  </component>
112
-  <component name="ProjectFrameBounds" extendedState="1">
113
-=======
114
-  <component name="NodePackageJsonFileManager">
115
-    <packageJsonPaths />
116
-  </component>
117
-  <component name="ProjectFrameBounds">
118
->>>>>>> posttransaction
3
+  <component name="ProjectFrameBounds" fullScreen="true">
119 4
     <option name="y" value="23" />
120 5
     <option name="width" value="1280" />
121 6
     <option name="height" value="713" />
122 7
   </component>
123
-  <component name="ProjectView">
124
-    <navigator proportions="" version="1">
125
-      <foldersAlwaysOnTop value="true" />
126
-    </navigator>
127
-    <panes>
128
-      <pane id="Scope" />
129
-      <pane id="PackagesPane" />
130
-      <pane id="ProjectPane">
131
-        <subPane>
132
-          <expand>
133
-            <path>
134
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
135
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
136
-            </path>
137
-            <path>
138
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
139
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
140
-              <item name=".idea" type="462c0819:PsiDirectoryNode" />
141
-            </path>
142
-            <path>
143
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
144
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
145
-              <item name="src" type="462c0819:PsiDirectoryNode" />
146
-            </path>
147
-            <path>
148
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
149
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
150
-              <item name="src" type="462c0819:PsiDirectoryNode" />
151
-              <item name="main" type="462c0819:PsiDirectoryNode" />
152
-            </path>
153
-            <path>
154
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
155
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
156
-              <item name="src" type="462c0819:PsiDirectoryNode" />
157
-              <item name="main" type="462c0819:PsiDirectoryNode" />
158
-              <item name="java" type="462c0819:PsiDirectoryNode" />
159
-            </path>
160
-            <path>
161
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
162
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
163
-              <item name="src" type="462c0819:PsiDirectoryNode" />
164
-              <item name="main" type="462c0819:PsiDirectoryNode" />
165
-              <item name="java" type="462c0819:PsiDirectoryNode" />
166
-              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
167
-            </path>
168
-            <path>
169
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
170
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
171
-              <item name="src" type="462c0819:PsiDirectoryNode" />
172
-              <item name="main" type="462c0819:PsiDirectoryNode" />
173
-              <item name="java" type="462c0819:PsiDirectoryNode" />
174
-              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
175
-              <item name="config" type="462c0819:PsiDirectoryNode" />
176
-            </path>
177
-            <path>
178
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
179
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
180
-              <item name="src" type="462c0819:PsiDirectoryNode" />
181
-              <item name="main" type="462c0819:PsiDirectoryNode" />
182
-              <item name="java" type="462c0819:PsiDirectoryNode" />
183
-              <item name="zipcoin" type="462c0819:PsiDirectoryNode" />
184
-              <item name="model" type="462c0819:PsiDirectoryNode" />
185
-            </path>
186
-            <path>
187
-              <item name="ZipCoinRedJavaServer" type="b2602c69:ProjectViewProjectNode" />
188
-              <item name="ZipCoinRedJavaServer" type="462c0819:PsiDirectoryNode" />
189
-              <item name="src" type="462c0819:PsiDirectoryNode" />
190
-              <item name="main" type="462c0819:PsiDirectoryNode" />
191
-              <item name="resources" type="462c0819:PsiDirectoryNode" />
192
-            </path>
193
-          </expand>
194
-          <select />
195
-        </subPane>
196
-      </pane>
197
-      <pane id="AndroidView" />
198
-    </panes>
199
-  </component>
200 8
   <component name="PropertiesComponent">
201 9
     <property name="RequestMappingsPanelOrder0" value="0" />
202 10
     <property name="RequestMappingsPanelOrder1" value="1" />
@@ -207,18 +15,6 @@
207 15
     <property name="WebServerToolWindowFactoryState" value="false" />
208 16
     <property name="aspect.path.notification.shown" value="true" />
209 17
   </component>
210
-  <component name="RunDashboard">
211
-    <option name="ruleStates">
212
-      <list>
213
-        <RuleState>
214
-          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
215
-        </RuleState>
216
-        <RuleState>
217
-          <option name="name" value="StatusDashboardGroupingRule" />
218
-        </RuleState>
219
-      </list>
220
-    </option>
221
-  </component>
222 18
   <component name="RunManager">
223 19
     <configuration default="true" type="Application" factoryName="Application">
224 20
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
@@ -277,178 +73,4 @@
277 73
       </list>
278 74
     </recent_temporary>
279 75
   </component>
280
-  <component name="SvnConfiguration">
281
-    <configuration />
282
-  </component>
283
-  <component name="TaskManager">
284
-    <task active="true" id="Default" summary="Default task">
285
-      <changelist id="b5dbb83e-180b-4a0c-b0a5-ad5d71d5235c" name="Default" comment="" />
286
-      <created>1532539277106</created>
287
-      <option name="number" value="Default" />
288
-      <option name="presentableId" value="Default" />
289
-      <updated>1532539277106</updated>
290
-      <workItem from="1532539278868" duration="1448000" />
291
-      <workItem from="1532634925447" duration="753000" />
292
-<<<<<<< HEAD
293
-      <workItem from="1533209082694" duration="537000" />
294
-=======
295
-      <workItem from="1533209082694" duration="283000" />
296
->>>>>>> posttransaction
297
-    </task>
298
-    <servers />
299
-  </component>
300
-  <component name="TimeTrackingManager">
301
-<<<<<<< HEAD
302
-    <option name="totallyTimeSpent" value="95000" />
303
-  </component>
304
-  <component name="ToolWindowManager">
305
-    <frame x="0" y="23" width="1280" height="713" extended-state="0" />
306
-=======
307
-    <option name="totallyTimeSpent" value="2484000" />
308
-  </component>
309
-  <component name="ToolWindowManager">
310
-    <frame x="0" y="23" width="1280" height="713" extended-state="0" />
311
-    <editor active="true" />
312
->>>>>>> posttransaction
313
-    <layout>
314
-      <window_info anchor="right" id="Palette" order="3" />
315
-      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
316
-      <window_info anchor="right" id="Maven Projects" order="3" />
317
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
318
-      <window_info id="Capture Tool" order="2" />
319
-      <window_info id="Designer" order="2" />
320
-      <window_info anchor="right" id="Database" order="3" />
321
-      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
322
-      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
323
-      <window_info id="UI Designer" order="2" />
324
-      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
325
-      <window_info anchor="bottom" id="TODO" order="6" />
326
-<<<<<<< HEAD
327
-      <window_info anchor="bottom" id="Messages" order="7" weight="0.22530521" />
328
-=======
329
->>>>>>> posttransaction
330
-      <window_info anchor="right" id="Palette&#9;" order="3" />
331
-      <window_info id="Image Layers" order="2" />
332
-      <window_info anchor="bottom" id="Java Enterprise" order="7" />
333
-      <window_info anchor="right" id="Capture Analysis" order="3" />
334
-      <window_info anchor="bottom" id="Version Control" order="7" />
335
-<<<<<<< HEAD
336
-      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.9853896" />
337
-      <window_info anchor="bottom" id="Spring" order="7" />
338
-      <window_info anchor="bottom" id="Terminal" order="7" />
339
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25767368" />
340
-=======
341
-      <window_info anchor="bottom" id="Run" order="2" weight="0.24025974" />
342
-      <window_info anchor="bottom" id="Spring" order="7" />
343
-      <window_info anchor="bottom" id="Terminal" order="7" />
344
-      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25767368" />
345
->>>>>>> posttransaction
346
-      <window_info anchor="right" id="Bean Validation" order="3" />
347
-      <window_info id="Web" order="2" side_tool="true" />
348
-      <window_info anchor="right" id="Theme Preview" order="3" />
349
-      <window_info id="Favorites" order="2" side_tool="true" />
350
-      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
351
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
352
-      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
353
-<<<<<<< HEAD
354
-=======
355
-      <window_info anchor="bottom" id="Messages" order="7" weight="0.22530521" />
356
->>>>>>> posttransaction
357
-      <window_info anchor="bottom" id="Message" order="0" />
358
-      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
359
-      <window_info anchor="bottom" id="Find" order="1" />
360
-    </layout>
361
-  </component>
362
-<<<<<<< HEAD
363
-=======
364
-  <component name="TypeScriptGeneratedFilesManager">
365
-    <option name="version" value="1" />
366
-  </component>
367
->>>>>>> posttransaction
368
-  <component name="VcsContentAnnotationSettings">
369
-    <option name="myLimit" value="2678400000" />
370
-  </component>
371
-  <component name="editorHistoryManager">
372
-    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
373
-      <provider selected="true" editor-type-id="text-editor" />
374
-    </entry>
375
-    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
376
-      <provider selected="true" editor-type-id="text-editor">
377
-        <state relative-caret-position="330">
378
-          <caret line="22" column="23" lean-forward="true" selection-start-line="22" selection-start-column="23" selection-end-line="22" selection-end-column="23" />
379
-        </state>
380
-      </provider>
381
-    </entry>
382
-    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
383
-      <provider selected="true" editor-type-id="text-editor" />
384
-    </entry>
385
-    <entry file="file://$PROJECT_DIR$/src/main/resources/db/migration/V2__create_block.sql" />
386
-<<<<<<< HEAD
387
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
388
-      <provider selected="true" editor-type-id="text-editor">
389
-        <state relative-caret-position="1080">
390
-          <caret line="72" column="30" selection-start-line="72" selection-start-column="30" selection-end-line="72" selection-end-column="30" />
391
-        </state>
392
-      </provider>
393
-    </entry>
394
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Wallet.java">
395
-      <provider selected="true" editor-type-id="text-editor">
396
-        <state relative-caret-position="75">
397
-          <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
398
-        </state>
399
-      </provider>
400
-    </entry>
401
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/BlockLoader.java">
402
-=======
403
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/BlockLoader.java">
404
-      <provider selected="true" editor-type-id="text-editor">
405
-        <state relative-caret-position="30">
406
-          <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
407
-        </state>
408
-      </provider>
409
-    </entry>
410
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Transaction.java">
411
-      <provider selected="true" editor-type-id="text-editor">
412
-        <state relative-caret-position="1020">
413
-          <caret line="74" column="56" selection-start-line="74" selection-start-column="56" selection-end-line="74" selection-end-column="56" />
414
-        </state>
415
-      </provider>
416
-    </entry>
417
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
418
-      <provider selected="true" editor-type-id="text-editor">
419
-        <state relative-caret-position="75">
420
-          <caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
421
-        </state>
422
-      </provider>
423
-    </entry>
424
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/TransactionLoader.java">
425
->>>>>>> posttransaction
426
-      <provider selected="true" editor-type-id="text-editor">
427
-        <state relative-caret-position="30">
428
-          <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
429
-        </state>
430
-      </provider>
431
-    </entry>
432
-<<<<<<< HEAD
433
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/WalletLoader.java">
434
-      <provider selected="true" editor-type-id="text-editor">
435
-        <state relative-caret-position="75">
436
-          <caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
437
-        </state>
438
-      </provider>
439
-    </entry>
440
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/config/TransactionLoader.java">
441
-      <provider selected="true" editor-type-id="text-editor">
442
-        <state relative-caret-position="18">
443
-          <caret line="10" column="13" selection-start-line="10" selection-start-column="13" selection-end-line="10" selection-end-column="13" />
444
-=======
445
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcoin/model/Wallet.java">
446
-      <provider selected="true" editor-type-id="text-editor">
447
-        <state relative-caret-position="75">
448
-          <caret line="12" column="13" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" />
449
->>>>>>> posttransaction
450
-        </state>
451
-      </provider>
452
-    </entry>
453
-  </component>
454 76
 </project>

+ 4
- 23
ZipCoinRedJavaServer/src/main/java/com/zipcoin/model/Transaction.java Visa fil

@@ -9,16 +9,10 @@ import javax.persistence.*;
9 9
 public class Transaction {
10 10
     @Id
11 11
     @GeneratedValue(strategy = GenerationType.AUTO)
12
-<<<<<<< HEAD
13 12
     private Long transactionId;
14 13
 
15 14
     private String sender;
16
-    private String reciepient;
17
-=======
18
-    private String transactionId;
19
-    private PublicKey sender;
20
-    private PublicKey recipient;
21
->>>>>>> posttransaction
15
+    private String recipient;
22 16
     private float amount;
23 17
 
24 18
     //@OneToMany
@@ -56,21 +50,12 @@ public class Transaction {
56 50
         this.sender = sender;
57 51
     }
58 52
 
59
-<<<<<<< HEAD
60 53
     public String getReciepient() {
61
-        return reciepient;
62
-    }
63
-
64
-    public void setReciepient(String reciepient) {
65
-        this.reciepient = reciepient;
66
-=======
67
-    public PublicKey getReciepient() {
68 54
         return recipient;
69 55
     }
70 56
 
71
-    public void setReciepient(PublicKey reciepient) {
57
+    public void setReciepient(String reciepient) {
72 58
         this.recipient = reciepient;
73
->>>>>>> posttransaction
74 59
     }
75 60
 
76 61
     public float getAmount() { return amount; }
@@ -84,13 +69,9 @@ public class Transaction {
84 69
     private String calulateHash() {
85 70
 
86 71
         return DigestUtils.sha256Hex(
87
-<<<<<<< HEAD
88 72
                 sender +
89
-                        (reciepient) +
90
-=======
91
-                StringUtil.getStringFromKey(sender) +
92
-                        StringUtil.getStringFromKey(recipient) +
93
->>>>>>> posttransaction
73
+                        (recipient) +
74
+
94 75
                         Float.toString(amount)
95 76
         );
96 77
     }

Binär
ZipCoinRedJavaServer/target/classes/com/zipcoin/ZipCoinApp.class Visa fil


Binär
ZipCoinRedJavaServer/target/classes/com/zipcoin/controller/TransactionController.class Visa fil


Binär
ZipCoinRedJavaServer/target/classes/com/zipcoin/model/Transaction.class Visa fil


Binär
ZipCoinRedJavaServer/target/classes/com/zipcoin/repository/TransactionRepository.class Visa fil