Skip to content

Commit

Permalink
Get unsigned raw tx
Browse files Browse the repository at this point in the history
  • Loading branch information
hacpy committed Mar 15, 2022
1 parent c660964 commit 87a7438
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public static native String get_sighash(String base_tx,
String agg_pubkey,
long sigversion);

public static native String get_unsigned_tx(String base_tx);

public static native String build_raw_script_tx(String base_tx,
String agg_signature,
String agg_pubkey,
Expand Down Expand Up @@ -76,6 +78,10 @@ public static String getSighash(String tx, String txid, long input_index, String
return get_sighash(tx, txid, input_index, agg_pubkey, sigversion);
}

public static String getUnsignedTx(String tx) {
return get_unsigned_tx(tx);
}

public static String buildThresholdTx(String tx, String agg_signature, String agg_pubkey, String control, String txid, long input_index) {
return build_raw_script_tx(tx, agg_signature, agg_pubkey, control, txid, input_index);
}
Expand Down
Binary file modified musig2/src/main/jniLibs/arm64-v8a/libmusig2_dll.so
Binary file not shown.
Binary file modified musig2/src/main/jniLibs/armeabi-v7a/libmusig2_dll.so
Binary file not shown.

0 comments on commit 87a7438

Please sign in to comment.