---
# System prepended metadata

title: 'Validation between `Armiarma Crawler` and `eth-light-crawler`:'

---

# Validation between `Armiarma Crawler` and `eth-light-crawler`:

### Actions to make:

1. Compare both Postresql databases to find out:
    -> How many IPs are shared between `light-crawler` and `Armiarma`
    -> How many Node IDs are shared between `light-crawler` and `Armiarma`
    -> How many pubkeys are shared between `light-crawler` and `Armiarma`
    -> distribution of TCP ports in the `light-crawler` for those nodes that have attnets
    -> distribution of `fork_digest` in the `light-crawler`
    
    _NOTE: the upper comparisons should be done for those nodes in the `light-crawler` database that have the `fork_digest`: `4a26c58b` -> this means that all the nodes with the ForkDigest`fork_digest`belong to the Ethereum Mainnet network (the same one that Armiarma crawls)_
    
2. In the `light-crawler` database: 
    -> Get the distribution of nodes that have `attnets` advertised
    -> Get the distribution of nodes that have more than 1 `attnets` (`att_number`)
    -> Get the distribution of nodes in each network (`fork_digest`) who's timestamp has is `tiemstamp > time.Now() - 24hours`
    
Link to the code: https://github.com/cortze/eth-light-crawler/tree/feat/add-discv5-service


### Data
Both:
- the `Armiarma` historic node collection 
- `Ligth Crawler`'s ENRs records

can be found in the following google drive:
https://drive.google.com/drive/folders/1CeG2mZpZQGWS6PChw6yRk7GWHWzuK4wc?usp=sharing
