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

refactor: libp2p #6630

Merged
merged 40 commits into from
Oct 30, 2024
Merged

refactor: libp2p #6630

merged 40 commits into from
Oct 30, 2024

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Oct 15, 2024

Description

Motivation and Context

How Has This Been Tested?

What process can a PR reviewer use to test or verify this change?

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

sdbondi added 15 commits October 7, 2024 07:59
* development:
  chore(ci): remove ledger nanos and update ledger key gif resources (tari-project#6617)
  feat: improve mempool error msg when mempool out of sync (tari-project#6618)
  feat: exit logic for pre-mine spend (tari-project#6615)
  chore: new release esme v1.6.0-pre.0 (tari-project#6614)
  feat: enable identity grpc method by default (tari-project#6613)
  feat: pre-mine introduce temp ban and add counters (tari-project#6612)
  chore: changes mainnet default network (tari-project#6610)
  chore(ci): add riscv64 builds and misc script fixes (tari-project#6611)
  feat!: esme test pre-mine with immediate spend (tari-project#6609)
  feat!: add context to ffi callbacks (tari-project#6608)
  feat: add default exclude dial (tari-project#6607)
  feat!: add input mr into genesis block (tari-project#6601)
  feat: update pre_mine specification (tari-project#6606)
* development:
  chore: new release esmeralda v1.7.0-pre.0 (tari-project#6625)
  fix: example mainnet config seed section (tari-project#6624)
  feat: improve base node connection from the wallet (tari-project#6619)
  chore: update pre mine funds (tari-project#6623)
  feat: upgrade utils (tari-project#6621)
  feat: update pre-mine specification (tari-project#6622)
  feat: add FFI function to create seed words from Mbase58 encrypted cipher seed (tari-project#6620)
@ghpbot-tari-project ghpbot-tari-project added CR-too_long Changes Requested - Your PR is too long CR-one_job labels Oct 15, 2024
Copy link

github-actions bot commented Oct 15, 2024

Test Results (CI)

    3 files    126 suites   11m 45s ⏱️
1 160 tests 1 160 ✅ 0 💤 0 ❌
3 480 runs  3 480 ✅ 0 💤 0 ❌

Results for commit 60e0fb5.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Oct 15, 2024
Copy link

github-actions bot commented Oct 15, 2024

Test Results (Integration tests)

 2 files  + 2  10 suites  +10   3h 8m 43s ⏱️ + 3h 8m 43s
23 tests +23  14 ✅ +14  0 💤 ±0   9 ❌ + 9 
41 runs  +41  14 ✅ +14  0 💤 ±0  27 ❌ +27 

For more details on these failures, see this check.

Results for commit 659172d. ± Comparison against base commit 47b4877.

♻️ This comment has been updated with latest results.

* development:
  feat: add dns resiliency (tari-project#6629)
* development:
  chore: new release esmeralda v1.7.0-pre.2 (tari-project#6634)
  fix: view-only wallet scan (tari-project#6633)
  chore: new release esme ralda v1.7.0-pre.1 (tari-project#6631)
@sdbondi sdbondi marked this pull request as ready for review October 18, 2024 09:21
@sdbondi sdbondi requested review from a team as code owners October 18, 2024 09:21
@hansieodendaal
Copy link
Contributor

hansieodendaal commented Oct 21, 2024 via email

Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This look good, a few questions and nits:
Do we need new seed peer addresses for this?
it looks like all SAF is deleted? We not supporting this anymore?
nit: there is a lot of uncommented code in this pr, rather delete it

applications/minotari_app_grpc/src/conversions/mod.rs Outdated Show resolved Hide resolved
applications/minotari_console_wallet/Cargo.toml Outdated Show resolved Hide resolved
applications/minotari_console_wallet/Cargo.toml Outdated Show resolved Hide resolved
applications/minotari_console_wallet/src/init/mod.rs Outdated Show resolved Hide resolved
applications/minotari_console_wallet/src/init/mod.rs Outdated Show resolved Hide resolved
base_layer/wallet_ffi/src/lib.rs Show resolved Hide resolved
common/config/presets/c_base_node_a.toml Outdated Show resolved Hide resolved
common/config/presets/d_console_wallet.toml Outdated Show resolved Hide resolved
network/core/src/lib.rs Outdated Show resolved Hide resolved
network/libp2p-peersync/src/behaviour.rs Outdated Show resolved Hide resolved
* development:
  fix(comms): ensure that inbound messaging terminates on disconnect (tari-project#6653)
  chore(deps): bump azure/trusted-signing-action from 0.4.0 to 0.5.0 (tari-project#6652)
  chore: new release esme v1.8.0-pre.0 (tari-project#6651)
  feat: close rpc connections when not in use - without close on dial requests (tari-project#6649)
  Update README.md with correct discord link (tari-project#6650)
  chore: new release esmeralda (tari-project#6647)
  chore: release new esmeralda v1.7.0-pre.3 (tari-project#6642)
@sdbondi
Copy link
Member Author

sdbondi commented Oct 30, 2024

@SWvheerden Thank you for the review! I've implemented some of the requested features. The message metrics are a little tougher, there are many ways to do it but I'd like to use libp2p metrics (to get libp2p metrics in general in addition to messaging metrics) but I'd need to upgrade metrics code since libp2p uses the prometheus-client 0.22 registry and we use an older version of prometheus.

@SWvheerden SWvheerden changed the base branch from development to feat-libp2p October 30, 2024 13:59
@SWvheerden SWvheerden merged commit ff17e52 into tari-project:feat-libp2p Oct 30, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR-one_job CR-too_long Changes Requested - Your PR is too long P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants