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: update api #6101

Merged
merged 3 commits into from Jan 29, 2024
Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Add FFI call to get the network of a TariAdress
Add Tari Unique ID for merge mining to mining calls

Motivation and Context

Small improvements to tari's outside API calls.

update grpc network call
Copy link

github-actions bot commented Jan 26, 2024

Test Results (CI)

1 264 tests   1 264 ✅  11m 33s ⏱️
   39 suites      0 💤
    1 files        0 ❌

Results for commit b7bb190.

♻️ 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 Jan 26, 2024
Copy link

github-actions bot commented Jan 26, 2024

Test Results (Integration tests)

 2 files  11 suites   14m 4s ⏱️
29 tests 28 ✅ 0 💤 1 ❌
31 runs  29 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit b7bb190.

♻️ This comment has been updated with latest results.

/// # Safety
/// The ```string_destroy``` method must be called when finished with a string from rust to prevent a memory leak
#[no_mangle]
pub unsafe extern "C" fn tari_address_network(address: *mut TariWalletAddress, error_out: *mut c_int) -> *mut c_char {
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably need to include this method in a unit test

Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

utACK

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Jan 29, 2024
@SWvheerden SWvheerden merged commit 47e73ac into tari-project:development Jan 29, 2024
12 of 14 checks passed
@SWvheerden SWvheerden deleted the sw_update_API branch February 1, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants