Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implemented DHT infohash crawler #2

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

0xf333
Copy link
Collaborator

@0xf333 0xf333 commented Feb 9, 2024

Description:

  • Extended the indexer to include an infohash finder
  • Added npm run hash_hunter command to execute a standalone infohash test run

How to Test this Feature:

Follow these steps:

  1. Pull the latest changes from this repository.
git pull
  1. install added dependencies.
npm install && npm fund
  1. And then to start the standalone infohash test run.
npm run hash_hunter

Results

With current implementation and optimization, the module shows increased productivity over time, finding more results within the same time (see screenshots ).
With that being said, please keep in mind (as I previously mentioned) the performance is also contingent upon network conditions and can fluctuate due to network state.

First 15 minutes time window

Screenshot from 2024-02-09 00-04-51

Second 15 minutes time window

Screenshot from 2024-02-09 00-24-31


Remaining scope

Synergize the integration of this module with the existing indexing process

Impact

This commit addresses ticket number #1

Description:
============
- Extended the indexer to include an infohash finder
- Added `npm run hash_hunter` command to execute a
standalone infohash test run

How to Test this Feature:
=========================
Follow these steps:

1. Pull the latest changes from this repository.
```
git pull
```

2. install added dependencies.
```
npm install && npm fund
```

3. And then to start the standalone infohash test run.
```
npm run hash_hunter
```

Remaining scope
===============
Synergize the integration of this module
with the existing indexing process
@0xf333 0xf333 added the enhancement New feature or request label Feb 9, 2024
@0xf333 0xf333 self-assigned this Feb 9, 2024
@0xf333 0xf333 merged commit 692e558 into main Feb 9, 2024
@0xf333
Copy link
Collaborator Author

0xf333 commented Feb 9, 2024

@ralyodio
Please have a look, test the feature and let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant