Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SettingUp "var current = 'Raptoreum-TESTNET';" #5

Open
dedetuga opened this issue Oct 27, 2022 · 8 comments
Open

SettingUp "var current = 'Raptoreum-TESTNET';" #5

dedetuga opened this issue Oct 27, 2022 · 8 comments

Comments

@dedetuga
Copy link

hi Im trying your repo, and when i setup

var current = 'Raptoreum-TESTNET';
it changes nothing, i keep getting a random pool

when i try the link my self it works fine

how to solve this?

@noahtheprogrammer
Copy link
Owner

noahtheprogrammer commented Oct 27, 2022

Hi, @dedetuga. Are you remembering to change the API variable? This has to be changed as well.

@dedetuga
Copy link
Author

Hi, @noahtheprogrammer, Thanks for reply!
I need to change it to something like var API = 'https://4rtm.com/api/Raptoreum-TESTNET'; ???

@noahtheprogrammer
Copy link
Owner

noahtheprogrammer commented Oct 28, 2022

@dedetuga You just need to change the API pointer to something similar to below and replace the example with your website.

var API = 'https://example.com/api/';

This is used to point to the proper site to retrieve the information. Then, change the current variable to whatever part of the pool you want to point too. This variable should be whatever you have in config.json in your build.

@dedetuga
Copy link
Author

Maybe I didn't explain myself well,

I have a multi coin server var API = 'https://localhost/api/'; i have 2 coins Endlesscoin and dashcoin, if i write var current = 'endless'; it shows the status of endlesscoin if i write var current = 'dash'; it keep showing endlesscoin status.
i don't know why!

thanks

@noahtheprogrammer
Copy link
Owner

@dedetuga It sounds like something is wrong with your miningcore configurations. I would recommend looking in miningcore's official documentation and double check all of your files.

@dedetuga
Copy link
Author

its all good, i tryed other git repo and works fine, i think is missing something in this code, a can't debug it i don't have my pc setuped for html java debug.

@noahtheprogrammer
Copy link
Owner

@dedetuga Ok, thanks for letting me know. I'll try to begin fixing the problem right away. If you have any fixes or features you'd like to implement, feel free to open a pull request! I always appreciate it.

@dedetuga
Copy link
Author

for now im working on Endlesscoin dev to finish the basic idea code, when i return to mining pool topic i will setup my machine to web dev and give you a hand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants