mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 00:44:26 +01:00
Improve stream handling (#244)
* Improve stream management * Check swap for existing lockup/refund tx * Set broadcast capacity to 30
This commit is contained in:
@@ -698,7 +698,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
|
||||
@protected
|
||||
void cst_api_fill_to_wire_send_payment_response(
|
||||
SendPaymentResponse apiObj, wire_cst_send_payment_response wireObj) {
|
||||
wireObj.txid = cst_encode_String(apiObj.txid);
|
||||
cst_api_fill_to_wire_payment(apiObj.payment, wireObj.payment);
|
||||
}
|
||||
|
||||
@protected
|
||||
@@ -1537,7 +1537,7 @@ final class wire_cst_receive_payment_response extends ffi.Struct {
|
||||
}
|
||||
|
||||
final class wire_cst_send_payment_response extends ffi.Struct {
|
||||
external ffi.Pointer<wire_cst_list_prim_u_8_strict> txid;
|
||||
external wire_cst_payment payment;
|
||||
}
|
||||
|
||||
const double LIQUID_CLAIM_TX_FEERATE_MSAT = 100.0;
|
||||
|
||||
Reference in New Issue
Block a user