-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wallet_ffi): new ffi method to create output features (#4109)
Description --- * Created a new FFI method to create an output features object, by passing the byte values as parameters. * I decided to not expose the DAN layer features, as they are most likely going to change and also would require exposing more struct definitions. * Updated the C header with the definition of the new method Motivation and Context --- Currently the mobile apps cannot properly import faucet UTXOs, as they are passing null values for output features and covenants to the `wallet_import_external_utxo_as_non_rewindable` method, which is not allowed. So the mobile apps needs new FFI methods to create both output features and covenants. This pull request deals with output features only. How Has This Been Tested? --- Created two new unit tests for the new FFI method
- Loading branch information
Showing
2 changed files
with
258 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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