diff --git a/supernode/index.html b/supernode/index.html index 4bb053f..6dd8e75 100644 --- a/supernode/index.html +++ b/supernode/index.html @@ -7190,8 +7190,7 @@ var localbitcoinplusplus = { wallets: {}, trade: {}, - rpc: {}, - rm_configs: {} + rpc: {} }; Object.defineProperty(localbitcoinplusplus, 'flocha', { @@ -7662,6 +7661,19 @@ }); } } + + localbitcoinplusplus.rm_configs = { + networkSettings: function() { + this.myNodeUrl = null; + this.networkNodes = []; + }, + dataBlock: function() { + this.blockVersion = null; + this.blockOwner = null; + this.blockHash = null; + this.blockSignature = null; + } + } @@ -7746,16 +7758,16 @@ this.valid_job = ["trade_buy", "trade_sell"]; } Rpc.prototype = { - //get rpc_req_id() {return this.rpc_req_id;}, send_rpc(method, ...params) { var request = new JSON_RPC.Request(method, params); console.log(request); var id = request.id; + console.log(id); + this.rpc_req_id = id; return request.toString(); - //return request; }, receive_rpc_response(request) { @@ -7906,7 +7918,7 @@ } - + +