From 6d32a51649c246c86ff8c77bb123c6fa860f4e96 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 13 Sep 2023 03:58:37 +0300 Subject: Further refactoring --- src/js/environment-setup.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src/js/environment-setup.js') diff --git a/src/js/environment-setup.js b/src/js/environment-setup.js index 75431f7..30b102d 100644 --- a/src/js/environment-setup.js +++ b/src/js/environment-setup.js @@ -1,11 +1,17 @@ - -const DEBUG = false - var mixtapeIds = []; +var mixtapes = []; +var sortedMixtapes = []; +var zchainsFound = 0; var holders = []; +var participants = []; var stellarNetworkConfiguredAddresses = 0; -var zchain = new Array; +var stellarParticipants = 0; +var zchain = []; var zchains = new Array; +var zblocks = new Array; +var blocks = new Array; +var data = new Array; +var akid = new Array; var body = document.querySelector('body'); var pageLayout = document.querySelector('.page-layout'); var mainContainer = document.querySelector('.main'); @@ -48,8 +54,6 @@ var logsAreaElement = document.querySelector("#logs-area-element"); var radio = document.querySelector("#radio-player"); var radioButton = document.querySelector("#radio-button-controller"); -// Here we store the participants found -var participants = []; /* * Get addresses that trust the asset * Limit is 200 addresses cause horizon API limitations. -- cgit v1.2.3