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

Implement K-DHT for spartan-farmer #27

Closed
wants to merge 57 commits into from
Closed

Implement K-DHT for spartan-farmer #27

wants to merge 57 commits into from

Commits on Sep 18, 2021

  1. Add libp2p as a dependency.

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    4c6e6c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd7f3d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a223c53 View commit details
    Browse the repository at this point in the history
  4. Add method to create swarm for farmer.

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    06b596a View commit details
    Browse the repository at this point in the history
  5. Add code for client module.

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    d73b610 View commit details
    Browse the repository at this point in the history
  6. Add code for eventloop module.

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    45cc2cc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    29c41b7 View commit details
    Browse the repository at this point in the history
  8. Call DHT methods in farm.rs

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    9949e4f View commit details
    Browse the repository at this point in the history
  9. cargo format

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    5021ee0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f6a2d5e View commit details
    Browse the repository at this point in the history
  11. Add start_listening method in Client API.

    Tejas Sanap committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    69cc4d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Add ClientConfig for bootstrapping

    Tejas Sanap committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    d5a021e View commit details
    Browse the repository at this point in the history
  2. Implement listen_on in Client API and EventLoop

    Tejas Sanap committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    2229914 View commit details
    Browse the repository at this point in the history
  3. fix clippy error

    Tejas Sanap committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    204675a View commit details
    Browse the repository at this point in the history
  4. Bootstrap implementation, Part 1.

    Tejas Sanap committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    186678e View commit details
    Browse the repository at this point in the history
  5. remove rustfmt.toml

    Tejas Sanap committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    c58af02 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. Bootstrap implementation, part 2.

    1. Update `oneshot` to receive errors.
    2. Add `ClientType` enum.
    3. Add methods to create bootstrap node.
    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    0f0c738 View commit details
    Browse the repository at this point in the history
  2. Bootstrap implementation, part 3.

    1. Add `listen_addr` in `ClientConfig` for bootstrap nodes.
    2. Add code in `dial_bootstrap` methods.
    3. Add more comments.
    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    2966a81 View commit details
    Browse the repository at this point in the history
  3. Bootstrap implementation, Part 4.

    1. Return Peer ID with `Client` object.
    2. Add `enum` for `ClientType`.
    3. Add methods to create bootstrap and normal nodes.
    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    5977e61 View commit details
    Browse the repository at this point in the history
  4. Bootstrap implementation, Part 5.

    1. Add `ClientEvent` and `NetworkEvent` for `Bootstrap`.
    2. Add flag for inputting bootstrap nodes through the CLI.
    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    cbec847 View commit details
    Browse the repository at this point in the history
  5. Trash commit. Please, Ignore

    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    d71ced5 View commit details
    Browse the repository at this point in the history
  6. Trash commit 2

    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    ebbe17b View commit details
    Browse the repository at this point in the history
  7. Merge branch 'main' of upstream into impletement-dht2

    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    1568107 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c70b679 View commit details
    Browse the repository at this point in the history
  9. Clippy fixes.

    Tejas Sanap committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    66be40e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Remove create_bootstrap method as we don't need it.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    609bb25 View commit details
    Browse the repository at this point in the history
  2. Add flag for listen_addr.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    37a8f4c View commit details
    Browse the repository at this point in the history
  3. Better comments.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    e035caf View commit details
    Browse the repository at this point in the history
  4. Add Result return type to handle_client_event.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    f8a8f31 View commit details
    Browse the repository at this point in the history
  5. Change type for listen_addr in main.rs CLAP arguments

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    7bc8bf6 View commit details
    Browse the repository at this point in the history
  6. Format dependencies in a prettier way.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    668ada9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    709dfbe View commit details
    Browse the repository at this point in the history
  8. Add test module.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    57292e7 View commit details
    Browse the repository at this point in the history
  9. Clippy fixes.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    44bbd8a View commit details
    Browse the repository at this point in the history
  10. Make create_connection method synchronous from async

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    cc9829f View commit details
    Browse the repository at this point in the history
  11. Add KnownPeers client event.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    1f5357e View commit details
    Browse the repository at this point in the history
  12. Add Dial Client Event.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    0165b73 View commit details
    Browse the repository at this point in the history
  13. Add GetRecord event.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    79b40d0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    02d36d9 View commit details
    Browse the repository at this point in the history
  15. Remove unused imports.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    c53f9a1 View commit details
    Browse the repository at this point in the history
  16. Add test for bootstrap.

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    c11574b View commit details
    Browse the repository at this point in the history
  17. Remove commented code

    Tejas Sanap committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    dd2ab06 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Corrections to Bootstrap test

    Tejas Sanap committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    7e271cd View commit details
    Browse the repository at this point in the history
  2. Add QueryResult event.

    Tejas Sanap committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    6336ff1 View commit details
    Browse the repository at this point in the history
  3. Inelegant fix for BootStrap test.

    Tejas Sanap committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    8f3d6dd View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of upstream into impletement-dht2

    Tejas Sanap committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    b316edb View commit details
    Browse the repository at this point in the history
  5. Code ready for review (unless, clippy gets in the way)

    Tejas Sanap committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    4c64bd6 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Appease clippy.

    Tejas Sanap committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    a38dd71 View commit details
    Browse the repository at this point in the history
  2. Add rustfmt.toml and rewrite dependencies

    Tejas Sanap committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    4e3e476 View commit details
    Browse the repository at this point in the history
  3. Move dht module out of commands and seperate imports.

    Tejas Sanap committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    77496fe View commit details
    Browse the repository at this point in the history
  4. Reassign scopes to objects in dht module

    Tejas Sanap committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    2408b66 View commit details
    Browse the repository at this point in the history
  5. Remove ClientEvents that we are not using.

    Tejas Sanap committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    8e638a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Remove ClientType enum.

    Tejas Sanap committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    f1deb68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3770fa0 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2021

  1. Merge branch 'main' into impletement-dht2

    Tejas Sanap authored Sep 26, 2021
    Configuration menu
    Copy the full SHA
    6ecf049 View commit details
    Browse the repository at this point in the history
  2. Fix gitignore

    Tejas Sanap committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    408b389 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'impletement-dht2' of github.com:whereistejas/subspace i…

    …nto impletement-dht2
    Tejas Sanap committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    9f265b0 View commit details
    Browse the repository at this point in the history