Skip to content

Sweep deposits with extra data #3765

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 2 commits into from
Jan 22, 2024
Merged

Conversation

lukasz-zimnoch
Copy link
Member

Refs: threshold-network/tbtc-v2#749

The Bridge contract supports a new shape of the deposit script that allows embedding arbitrary 32-byte extra data. Here we introduce necessary adjustments in the wallet client to make it able to sweep those deposits.

The `Bridge` contract supports a new shape of the deposit script that allows
embedding arbitrary 32-byte extra data. Here we introduce necessary adjustments
in the wallet client to make it able to sweep those deposits.
"ExpectedSweepTransaction": "01000000000102182d37bf3074663d099b1d7b2466311085f8ebfa27626a4c2802b43cf331ec220000000000ffffffff1caf1d0a247ec8a7094724669f86881ebbb13bdfdde0c5c77b02809ac43b87b30000000000ffffffff01f0951f00000000001600148db50eb52063ea9d98b3eac91489a90f738986f60247304402207a2c2165f22082cd35b78b606ccd9882c0d0b90eca4fc93cb4488875aadb1dd9022063f77b701286714c392627e9cc69238f8157e56dca4e24e397769c40ed1453d2012103989d253b17a6a0f41838b84ff0d20e8898f9d7b1a98f2564da4cc29dcf8581d903483045022100f7133a975f9728091fba874f3d6ff23d3c63c084cbb5e3e344c59a7910f9636802203006f9ea5a0904c9a53cd3e54cfd36c52d7e2132dedd37601e7e8926e80c7d42012103989d253b17a6a0f41838b84ff0d20e8898f9d7b1a98f2564da4cc29dcf8581d97e14934b98637ca318a4d6e7ca6ffd1690b8e77df6377520a9b38ea6435c8941d6eda6a46b68e3e2117196995bd154ab55196396b03d9bda7508f9f0c90d000395237576a9148db50eb52063ea9d98b3eac91489a90f738986f68763ac6776a91428e081f285138ccbe389c1eb8985716230129f89880460bcea61b175ac6800000000",
"ExpectedSweepTransactionHash": "d1ae6e4627aadcab4148469e88d43c65d15702b97890a9ae7dc03b06c8c677b7",
"ExpectedSweepTransactionWitnessHash": "eda66565064202484aaa10228ebc67a270ea51f6042b56ed8e028684a4271eb2"
}
Copy link
Contributor

@tomaszslabon tomaszslabon Jan 22, 2024

Choose a reason for hiding this comment

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

Nitpicking: could you add an empty line at the end of the file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Please see: f5fc3e2

@tomaszslabon tomaszslabon merged commit bc8c1f0 into main Jan 22, 2024
@tomaszslabon tomaszslabon deleted the support-deposit-extra-data branch January 22, 2024 14:04
@lukasz-zimnoch lukasz-zimnoch added this to the v2.0.0 milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants