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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

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

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
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