forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 118
refactor(utxo): refactor utxo output script creation #1960
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 28 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
d5f055a
remove unused TransactionOutputs (which prevented parametrised addres…
19cab7a
add script_type to Address
ca5e9c2
fix format
753fb93
fix coin prefix in address tests
9cc277f
fix fmt
1793290
fix test results because of Address::from_str changed to from_legacya…
f953499
add NetworkAddressPrefixes type and replace use of u8 addr prefixes
6050621
remove controversial check in withdraw (no segwit case)
0b1842d
fix use for coin prefixes in test helpers
82a3b2d
add default val for LegacyAddress
6924cb0
remove commented code
3de99ae
remove unused invalid prefixes error
838911d
fix after rebase
69bd48b
fix convert_address fn for converting to legacy address
e5283c3
fix cargo fmt
123e3f8
Merge branch 'dev' into feature-add-script-type-to-address-bak
055e2f7
fix test_address_to_scripthash after merge
124d758
add comment for addr prefixes
845ed0d
change to unchecked ver of address_from_str
87c438d
refactor: add AddressBuilder to check creation params; simplify fn ou…
b10f38d
add drop_mutability in conf builder
a38ed54
fix addr_format for check_if_my_payment_sent fn (must not be segwit)
35367d4
rename address builder options to avoid confusion
f66529e
break script witness creation fn into p2wpkh and p2wsh to validate wi…
9206ca2
add swap events debug logging
9bb5f13
fix clippy fmt
acf7174
remove my debug in swaps
095a804
remove temp ignore for iris tests
64dbf87
refactor AddressBuilder according to builder pattern
354c970
fixed review notes: propagate output_script() error
4603855
remove extra map_err, add returned err logging
9260531
remove extra map_to_mm
3434e2b
refactor AddressPrefixes - remove extra const type
d7f6cdb
refactor: rename AddressPrefixes to singular
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
There are no files selected for viewing
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
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
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.