Author

Topic: how ban ip for long time in my node? (Read 858 times)

newbie
Activity: 6
Merit: 0
November 12, 2016, 07:12:47 AM
#3
Try blocking the IP in your router's settings. If you use a hosting company they should have this in your control panel.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
November 06, 2016, 05:17:26 AM
#2
I find a bash script to ban ip list,like this :
Code:
#!/bin/bash
for x in $(cat hardfork.txt)
do
    bitcoin-cli setban $x add
done
Can I get  IP list node of hardfork? please give me the list. I can not write them down one by one from https://bitnodes.21.co  ..
and how I banned nodes hardfork in my peer list for long time or forever?

very thanks for helping ..  Wink

You can add a time in seconds after the "add". There are 31536000 seconds per year, should probably be enough for now.
member
Activity: 101
Merit: 11
N.E.E.T
May 13, 2016, 12:50:05 PM
#1
I find a bash script to ban ip list,like this :
Code:
#!/bin/bash
for x in $(cat hardfork.txt)
do
    bitcoin-cli setban $x add
done
Can I get  IP list node of hardfork? please give me the list. I can not write them down one by one from https://bitnodes.21.co  ..
and how I banned nodes hardfork in my peer list for long time or forever?

very thanks for helping ..  Wink
Jump to: