-
Notifications
You must be signed in to change notification settings - Fork 36
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
WhalePrevoutProvider
should ignore UTXO that are Immature (<100 confirmations)
#1819
Comments
/priority important-soon |
/kind feature |
/assign @thedoublejay for assignment to @WavesHQ since it directly affects Wallet UX. Not urgent or blocking, do it at your own org pace. |
Do I need to update these 2 functions to ignore the UTXO's that are immature? |
@canonbrother gave me this.
https://github.com/JellyfishSDK/jellyfish/blob/811b25814de3204b21e84e8ccccc82dda75410ae/packages/jellyfish-api-core/src/category/rawtx.ts#L328 |
Also how would I run a test of some sort so I can step through the code to look at what I am working with? |
Yes, but it's too expensive to call this. You can get the current block height by using Fortunately, contains |
|
You can try looking at existing literature on how PRs are created for I assumed it's |
Looking at the most relevant test (whale.rpc.client.test.ts) in I need to instantiate the following.
I am not sure how I can create the |
How should I instantiate the wallet which needs to be passed into the |
We can throw an error when attempting to spend immature UTXO. We can improve and expand on the basic PrevoutProvider while we're at it.
/triage accepted
/area packages
The text was updated successfully, but these errors were encountered: