Mikel Cortes
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # CCFA Internship - IP Correlation between Disv4 and Disv5 TODOs for next week, coming from (leo's) https://hackmd.io/igb1kHMyQtWjhg97USecjw -> Run Dv4 and Dv5 separatelly -> Correlate the IPs of nodes in DV4 ENRs with the IPs on Armiarma -> try to connect to the IPs of the CL with the default EL ports # IP Intersection (Leon): - D1 = 17k nodes from `devp2p discv4` - D2 = `node_crawler <- D1.json` = 34.495 - 60k nodes (with duplicates) - D3 = D1 U D2 (IPs) = 13.314 ( 13k unique IPs in D2 inside 17k) - 15.790 counting IPs present multiple times - D4 = Identified_Peers(D2) = 17.692(`ClientType` not null) - 31587 (with duplicates) - D5 = Identified_Peers(D1) = D1 U D4 (IPs & ID) = 6192 - D6 = # Crawlers (leon) After letting run the crawler only with __Discv4__: - 32.897 records with duplicates - 23.683 without duplicates - 9831 identified - 0 have `eth2` as `ClientType` - 995 have `tmp` as `ClientType` - 439 on mainnet (`NetworkID == 1`) - EL nodes: - 8108 nodes - Distribution: - Geth: 5682 - Erigon: 2375 - Besu: 51 After letting run the crawler only with __Discv5__: - 13.599 records with duplicates - 7473 without duplicates - 7039 identified - 5869 have `eth2` as `ClientType` - 314 have `tmp` as `ClientType` - 31 on mainnet (`NetworkID == 1`) - EL nodes: - 469 nodes - Distribution: - Geth: 454 - Erigon: 15 ### CrossCheck IP with Armiarma: Amount nodes _Armiarma_: 11540 (not dep, `clientType` not empty) - __Discv4__: - All nodes - Amount nodes: 23.683 - Nodes with IPs present in both: 3.649 - Only identified nodes: - Amount nodes: 9.831 - Nodes with IPs present in both: 547 - Only mainnet nodes: - Amount nodes: 439 - Nodes with IPs present in both: 112 - __Discv5__: - All nodes - Amount nodes: 7.473 - Nodes with IPs present in both: 3.863 - Only identified nodes: - Amount nodes: 7.039 - Nodes with IPs present in both: 3.824 - Only mainnet nodes: - Amount nodes: 31 - Nodes with IPs present in both: 15 __TODOs__: - - __DONE__: - Run discv4 and get amount - identified nodes - `eth2` / `tmp` nodes - mainnet nodes - Run discv5 and get amount - identified nodes - `eth2` / `tmp` nodes - mainnet nodes - take IP of discv4 mainnet nodes and check if present in Armiarma - take IP of discv5 mainnet nodes and check if present in Armiarma - Get amount and distribution EL nodes (`ClientType` contains - Besu - Nethermind - Erigon - Geth) # Crawlers (Ahmed): *TODOs*: Last week! - Run EL crawler on the nodes that Armiarma didn't connect to and generate DB - Build a dashboard for the nodes that we managed to connect to with Leon's `test.json` This week! 1. How to identify CL nodes from the code? 2. A list of ways to filter the client type (What are the client names that mean that it is on the Eth blockchain?) Done 3. Compare results from the `No Armiarma` run and its generated DB to figure out how many nodes it connected to from the file that we passed to it. Use table join to figure that out. Done 4. Export IP addresses `discovery5.db` and compare it with IP addresses from the ArmiarmaV2 DB to see how many from Armiarma are on discovery 5. 5. Run an experiment on discovery 4. Figure out which nodes of them are Execution layer clients using the ClientType. Done 6. How many from discovery4 are on mainnet? (NetworkID ==1) Make a list of IP addresses from the ones on mainnet and compare it with the IP addresses in Armiarma. Done 7. Only include the Execution Layer client in the new dashboard 8. Run the crawler on our node and figure out what information it relays. In progress *Done*: Last week! - Ran discovery4 separately for 24hrs and generated a DB called `discovery4.db` Discovery4 DB highlights: Total number of nodes: 32,897 Number of connected nodes: 15,053 Number of "eth2" nodes: 0 Number of "tmp" nodes: 1,161 Number of EL nodes: 13,892 - Ran discovery5 separately for 24hrs and generated a DB called `discovery5.db` Discover5 DB highlights: Total number of nodes: 13,599 Number of connected nodes: 12,831 Number of "eth2" nodes: 10,675 Number of "tmp" nodes: 622 Number of EL nodes: 1,534 - Ran node crawler on the nodes that Armiarma couldn't connect to for 6h: Observation: I ran the crawler for 6 hours and the number of nodes it connected to in the first 6 hours is 6,594 nodes. The number of nodes it connected to in the second 6 hours is 9,856 nodes. The `Nodes.json` file that I fed the crawler initially had 6,704 nodes. This means it is probably connecting to more nodes than it is given. However, the `JSON` file that I feed the crawler IS getting updated with the information extracted by the crawler for the connected nodes. - Built a Metabase dashboard for EL crawler on the 6,106 connected nodes Dashboard graphs: Client Name Distribution Geographical Distribution Go version Distribution Operating System Distribution Network ID Distribution This week! - How can we filter out the nodes that are on the Eth blockchain EL and not on other sidechains using the client name? The four Execution Layer clients on the ETH blockchain are: Besu, Nethermind, Erigon, and Geth. However, I see that, for example, there are nodes that have client name `Erigon` with NetworkId `56`, which means that they are not on the ETH mainnet although they have an EL client name. Therefore, it won't be sufficient to filter by `Client name` to find the nodes that are on the ETH EL. We will have to filter by `(Client name == Besu OR Nethermind OR Erigon OR Geth) AND NetworkID == 1`. There are 394 nodes in total. - How many nodes from the discovery 4 nodes are on mainnet? Same as above. - I compared the generated DB of the `NoArmiarma` crawl to the file that I initially passed to the crawler. I did that to see how many nodes the crawler connected to from the `JSON` that was passed to it. The `JSON` file initially had 6,794 nodes and the crawler managed to connect to 729 nodes of those. I did that by joining the generated DB and the CSV and filtering by `ClientType != ''` and joining on the `IP` column. - I joined the `Eth Nodes` table from Armiarma with the IPs that were connected to using the Discovery4 EL crawler. There are 8,820 nodes generated from 394 IP addresses. What information are we looking for out of those nodes?

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully