From 07770f1a41ee62b3b743f764c212777afe0b8ca8 Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Mon, 12 Nov 2018 12:35:52 +0530 Subject: [PATCH] added ui for db data --- supernode/index.html | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/supernode/index.html b/supernode/index.html index f0ee71b..f685261 100644 --- a/supernode/index.html +++ b/supernode/index.html @@ -18,12 +18,16 @@
- +
+
Sync
-
+
+
+
+
@@ -7777,14 +7781,12 @@ if (typeof params != undefined && typeof method != undefined) { request.response = {}; - var Trade = new localbitcoinplusplus.trade(); - switch (method) { case "trade_buy": - request.response = Trade.trade_buy(...request.params); + request.response = localbitcoinplusplus.trade.prototype.trade_buy.call(this, ...request.params); break; case "trade_sell": - request.response = Trade.trade_sell(...request.params); + request.response = localbitcoinplusplus.trade.prototype.trade_sell.call(this, ...request.params); break; case "broadcastBlockDataToAll": // TODO: Make a separate class for syncing @@ -8384,13 +8386,13 @@ @@ -8453,7 +8467,7 @@ syncNodes.appendChild(syncButton); let blockVersion = Math.floor(Math.random(1,100)*100); - let blockOwnerFLOAddress = "olVxhjhaIedlpafshT"; + let blockOwnerFLOAddress = "oY1qc4jbY15Vzc3s7eaqicuPZZjav97aFG"; let data = { sample: "lorem ipsum..." };