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

Add handle blocks #89

Merged
merged 6 commits into from
Nov 7, 2024
Merged

Add handle blocks #89

merged 6 commits into from
Nov 7, 2024

Conversation

Duddino
Copy link
Member

@Duddino Duddino commented Oct 18, 2024

Add a rust function that handles multiple blocks at the same time, to minimize the js->rust overhead

Depends on #81

@panleone panleone added the enhancement New feature or request label Oct 18, 2024
Copy link
Member

@panleone panleone left a comment

Choose a reason for hiding this comment

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

left some comments.

I tested the PR in PIVX-Labs/MyPIVXWallet#430.

First run handle_transaction_internal failed and the error "Couldn't handle transaction" was thrown. Second run everything worked and I synced with correct balance

js/pivx_shield.ts Outdated Show resolved Hide resolved
js/pivx_shield.ts Outdated Show resolved Hide resolved
js/pivx_shield.ts Outdated Show resolved Hide resolved
js/pivx_shield.ts Outdated Show resolved Hide resolved
src/transaction.rs Show resolved Hide resolved
js/pivx_shield.ts Outdated Show resolved Hide resolved
js/pivx_shield.ts Outdated Show resolved Hide resolved
Copy link
Member

@panleone panleone left a comment

Choose a reason for hiding this comment

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

tACK cc51013

There is a bug with walletTransactions but I will fix it in another PR

@panleone panleone merged commit 644a202 into PIVX-Labs:master Nov 7, 2024
1 check passed
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.

2 participants