aboutsummaryrefslogtreecommitdiff
path: root/src/js/environment-setup.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-13 03:58:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-13 03:58:37 +0300
commit6d32a51649c246c86ff8c77bb123c6fa860f4e96 (patch)
treebc7f182d83d785f4d26ee195ef1e3bdfc4dec15b /src/js/environment-setup.js
parent07836b00b52f922a889d0ea57144d505e8e92207 (diff)
downloadarching-kaos-web-ui-6d32a51649c246c86ff8c77bb123c6fa860f4e96.tar.gz
arching-kaos-web-ui-6d32a51649c246c86ff8c77bb123c6fa860f4e96.tar.bz2
arching-kaos-web-ui-6d32a51649c246c86ff8c77bb123c6fa860f4e96.zip
Further refactoring
Diffstat (limited to 'src/js/environment-setup.js')
-rw-r--r--src/js/environment-setup.js16
1 files changed, 10 insertions, 6 deletions
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.