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

How to disable all nodes from old compilation #63

Open
servc4 opened this issue Feb 19, 2018 · 6 comments
Open

How to disable all nodes from old compilation #63

servc4 opened this issue Feb 19, 2018 · 6 comments

Comments

@servc4
Copy link

servc4 commented Feb 19, 2018

Hi
I have a question, in last update I add diff algorithm zawy. But I notice then old nods are able to connect as wall, how I can disable or ban connection with old build nods ??? other wise there is no point to make update like that when old nods are able to mess with your network.

Regards

@fengshuicoin
Copy link

Let me know if u solve i have same issue forced to use "./coind --add-peer" but for some reason still wants to connect to original seed. I had to downgrade server to work with pool code and ips chnaged. We might nees to make new daemon command --forget-peer

@pmitchev
Copy link
Contributor

We can port the ban strategy from Monero, but someone has to do it.

@3ch0elite
Copy link

Looks like a bit of an under taking. First step "grep -ri "ban"
Anyone up for it? Must be another simple fix though seems like somewhere in cryptonote-generator it default add exclusive node...? I can do quick fix with --add-peer as stated. But others less experienced wont have any idea of how to fix letalone find config file with seed nodes ip. Im testing fixes by recompiling. Not sure why daemon wouldnt just use nodes from cryptonoteconfig.h let me know if you guys find a fix or work around. Not sure doing complete overhaul with monero ban is required. Also looks like some dir are different than ones currently with c-g.

@servc4
Copy link
Author

servc4 commented Feb 26, 2018

Hi guys
Now I have a bigger problem ....
#66

Regards

@servc4
Copy link
Author

servc4 commented Mar 23, 2018

Hi
I have question, because someone mine around 50 blocks on non zawy nods on alternative blockchain where he use nicehash attack I think, because speed was in ph/s and very height diff. And now what ever I will do all nods are switching on this block chain, ban or add peer maybe will work on nods but GUI wallets have the same issue. They sync with correct blockchain but on the end they switch on wrong blockchain again and again witch is now around 10K block behind...

Do you have any suggestion ???
Regards

@pmitchev
Copy link
Contributor

The current work in progress is here:
https://github.com/forknote/cryptonote-generator/blob/master/extensions/block-hosts.json

It still needs to add the cases for banning nodes

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

4 participants