GithubHelp home page GithubHelp logo

bidoudan / ravennodes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frostyrpg/ravennodes

0.0 1.0 0.0 711 KB

Bitnodes is currently being developed to estimate the size of the Bitcoin network by finding all the reachable nodes in the network.

License: MIT License

Python 97.60% Shell 2.40%

ravennodes's Introduction

Ravennodes

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.

Main Changes

  • Changed parameters to support Ravencoin
  • Turned off Tor network support.

Dependencies

Steps on setting up a machine to run Ravennodes

Ubuntu 18.04, 16GB RAM Machine:

Install redis

cd ~/
sudo apt install redis

Install Ravennodes and set up dependencies

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

Start redis service

#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
#Update /etc/security/limits.conf
nano /etc/security/limits.conf
	#Add the following:
	* soft nofile 1000000
	* hard nofile 1000000
#Start Redis Server
redis-server /etc/redis/redis.conf

To start the Ravennodes crawler

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

ravennodes's People

Contributors

ayeowch avatar jeroz1 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.