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

fix: improve key scanning #6374

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Improves utxo scanning with various fixes

Motivation and Context

Scanning for new outputs on the blockchain can be very slow.

How Has This Been Tested?

Manual

@SWvheerden SWvheerden requested a review from a team as a code owner June 19, 2024 15:27
Copy link

github-actions bot commented Jun 19, 2024

Test Results (CI)

    3 files    120 suites   38m 22s ⏱️
1 295 tests 1 295 ✅ 0 💤 0 ❌
3 877 runs  3 877 ✅ 0 💤 0 ❌

Results for commit 3315ac6.

♻️ 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 Jun 19, 2024
Copy link

github-actions bot commented Jun 19, 2024

Test Results (Integration tests)

 2 files   1 errors  9 suites   25m 54s ⏱️
19 tests 15 ✅ 0 💤  4 ❌
27 runs  15 ✅ 0 💤 12 ❌

For more details on these parsing errors and failures, see this check.

Results for commit 3315ac6.

♻️ This comment has been updated with latest results.

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.

Nice. Could you see any improvement with this PR? Some comments below.

base_layer/core/src/transactions/key_manager/inner.rs Outdated Show resolved Hide resolved
base_layer/core/src/transactions/key_manager/inner.rs Outdated Show resolved Hide resolved
@@ -265,37 +274,26 @@ where
/// seen so far.
async fn update_outputs_script_private_key_and_update_key_manager_index(
&mut self,
output: &mut WalletOutput,
output: &WalletOutput,
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch; the wallet output already has the correct info.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this function is anyway adding in the wrong info

@SWvheerden SWvheerden force-pushed the sw_upate_output_recovery branch from e7579d9 to 1e935d7 Compare June 20, 2024 06:45
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 Jun 20, 2024
@SWvheerden SWvheerden merged commit 43b2317 into tari-project:development Jun 20, 2024
14 of 16 checks passed
@SWvheerden SWvheerden deleted the sw_upate_output_recovery branch June 24, 2024 07:24
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.

3 participants