This project is based on Bitnodes.
Ravennodes is currently being developed to estimate the size of the Ravencoin network by finding all the reachable nodes in the network. These are the nodes that accept incoming connections. Why you should run a full node is explained here on the Bitcoin wiki. The current methodology involves sending getaddr
messages recursively to find all the reachable nodes in the network, starting from a set of seed nodes. It is worth mentioning that this method of estimating network size does not list all full nodes because not all nodes have an open port that can be probed using Ravennodes. These nodes are either behind firewalls or they are configured to not listen for connections.
- Changed parameters to support Ravencoin
- Turned off Tor network support.
- Python 2.7
- Redis
cd ~/
sudo apt install redis
git clone https://github.com/jeroz1/Ravennodes.git
#Move redis conf file
sudo cp ~/Ravennodes/depends/redis/redis.conf /etc/redis/
#Install Python requirements
cd ~/Ravennodes
pip install -r requirements.txt
#Update GeoIP
bash geoip/update.sh
# Edit the following files:
sudo nano /etc/security/limits.conf
#Add the following:
* soft nofile 1000000
* hard nofile 1000000
root soft nofile 1000000
root hard nofile 1000000
sudo nano /etc/systemd/user.conf
#Change the following setting:
DefaultLimitNOFILE=1000000
sudo nano /etc/systemd/system.conf
#Change the following setting:
DefaultLimitNOFILE=1000000
#Login as admin
sudo -i
#Update /proc/sys/net/core/somaxconn
nano /proc/sys/net/core/somaxconn
#Change value to 511
#Disable THP
echo never > /sys/kernel/mm/transparent_hugepage/enabled
#Start Redis Server
redis-server /etc/redis/redis.conf
Open a new console and start the crawler:
~/Ravennodes/start.sh
Data output will be available in ~/Ravennodes/data/export/5241564e
Process logs will be available in ~/Ravennodes/log
-Jeroz