diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-11 04:31:53 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-11 04:31:53 +0200 |
commit | 8c8ae9cce8c0f992fe6701a203a55870772808d8 (patch) | |
tree | d8b157f5ac42995f1dbd6b5ae5bd1ed65a5df748 /src/js/arching-kaos-stellar-network.js | |
parent | 6218656716dafccbdd8fb905d027471dfaf046db (diff) | |
download | arching-kaos-web-ui-8c8ae9cce8c0f992fe6701a203a55870772808d8.tar.gz arching-kaos-web-ui-8c8ae9cce8c0f992fe6701a203a55870772808d8.tar.bz2 arching-kaos-web-ui-8c8ae9cce8c0f992fe6701a203a55870772808d8.zip |
Added Radio
Diffstat (limited to 'src/js/arching-kaos-stellar-network.js')
-rw-r--r-- | src/js/arching-kaos-stellar-network.js | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/js/arching-kaos-stellar-network.js b/src/js/arching-kaos-stellar-network.js index 5fe503f..bcc0f5f 100644 --- a/src/js/arching-kaos-stellar-network.js +++ b/src/js/arching-kaos-stellar-network.js @@ -1,3 +1,10 @@ +/* Arching Kaos Stellar Network + * + * Kaotisk Hund - 2024 + * + * @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0 + * + */ function getNumberOfTrustlinesAndRenderThem(json){ var number = json._embedded.records[0].accounts.authorized; @@ -78,11 +85,11 @@ function getHolders(a=0){ } function getStellarConfigurationVariableURL(stellarAddress){ - return activeSettings.horizonAddresses[activeSettings.horizonSelectedAddress]+ + return activeSettings.stellar.horizon.list[activeSettings.stellar.horizon.active]+ 'accounts/'+ stellarAddress+ '/data/'+ - activeSettings.stellarConfigVars[activeSettings.stellarDefaultConfig]; + activeSettings.stellar.variableNames.list[activeSettings.stellar.variableNames.active]; } function checkAddressForConfigurationVariable(stellarAddress) { @@ -91,7 +98,7 @@ function checkAddressForConfigurationVariable(stellarAddress) { progressPlaceholder.value++; } -var server = new StellarSdk.Server(activeSettings.horizonAddresses[activeSettings.horizonSelectedAddress], {allowHttp:true}); +var server = new StellarSdk.Server(activeSettings.stellar.horizon.list[activeSettings.stellar.horizon.active], {allowHttp:true}); function steptwo(r){ const L = r; @@ -208,3 +215,4 @@ function scanStellarNetworkForPeers(){ } // vim: tabstop=4 shiftwidth=4 expandtab softtabstop=4 +// @license-end |