-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Consistent UTXO Handling for CWC Transactions #4213
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9a8a6b5
make CWC.Transactions create, sign, and getSighash all accept both bi…
MicahMaphet 1cb6617
apply node lib utxo conversion to bch, ltc, and doge
MicahMaphet 01c55ff
standardize utxo type differentiation with isNodeUtxo
MicahMaphet b72064e
refactored CWC.Transactions utxo handling with standard and external …
MicahMaphet c4348d7
utxo CWC.Transactions: improved utxo types, multiple bug fixes, and c…
MicahMaphet 006e995
Merge branch 'master' into uni-tx-create
MicahMaphet f408d3d
created tests for all utxo types, all but wip singing
MicahMaphet 1ec8cd1
fixed test signing and added sigtype to Transactions.sign
MicahMaphet 5dd5c27
removed .only from CWC test
MicahMaphet eddacdb
added mintHeight to bitcore-node utxos for CWC.Transactions tests
MicahMaphet b5c636b
Apply batched suggestions from code review
MicahMaphet f5607c7
cwc test UnspentOutput rather than just the fields it has
MicahMaphet 4a42b26
fix bug in bitcore-lib-cash interpreter
MicahMaphet 60b61b1
CWC.Transactions keep scripts undefined in scripts durring standardiz…
MicahMaphet 0ca6ced
fix bug in CWC utxo standardize function and use all libs to create u…
MicahMaphet 08754a1
Merge branch 'master' into uni-tx-create
MicahMaphet 3c2845c
revert change applied to the wrong branch
MicahMaphet f16a518
fix address type narrowing bug and test all utxo chains
MicahMaphet e67864b
more robust utxo standardization
MicahMaphet 8e7eb0e
standardizeUtxo requires either a script or address
MicahMaphet 4adffcf
CWC.Transactions.sign btc checks for private keys
MicahMaphet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
24 changes: 12 additions & 12 deletions
24
packages/crypto-wallet-core/src/transactions/bch/index.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.