diff --git a/core/api/src/services/bria/proto/bria.proto b/core/api/src/services/bria/proto/bria.proto index c818d94095..578ba5e118 100644 --- a/core/api/src/services/bria/proto/bria.proto +++ b/core/api/src/services/bria/proto/bria.proto @@ -291,6 +291,7 @@ message PayoutQueueConfig { } optional uint32 cpfp_payouts_after_mins = 6; optional uint32 cpfp_payouts_after_blocks = 7; + optional uint64 force_min_change_sats = 8; } enum TxPriority { diff --git a/core/api/src/services/bria/proto/bria_pb.d.ts b/core/api/src/services/bria/proto/bria_pb.d.ts index 6ddf451bbd..2ddd8f7540 100644 --- a/core/api/src/services/bria/proto/bria_pb.d.ts +++ b/core/api/src/services/bria/proto/bria_pb.d.ts @@ -1202,6 +1202,11 @@ export class PayoutQueueConfig extends jspb.Message { getCpfpPayoutsAfterBlocks(): number | undefined; setCpfpPayoutsAfterBlocks(value: number): PayoutQueueConfig; + hasForceMinChangeSats(): boolean; + clearForceMinChangeSats(): void; + getForceMinChangeSats(): number | undefined; + setForceMinChangeSats(value: number): PayoutQueueConfig; + getTriggerCase(): PayoutQueueConfig.TriggerCase; serializeBinary(): Uint8Array; @@ -1222,6 +1227,7 @@ export namespace PayoutQueueConfig { intervalSecs: number, cpfpPayoutsAfterMins?: number, cpfpPayoutsAfterBlocks?: number, + forceMinChangeSats?: number, } export enum TriggerCase { diff --git a/core/api/src/services/bria/proto/bria_pb.js b/core/api/src/services/bria/proto/bria_pb.js index 5f5a30e54c..f4f4d3ea78 100644 --- a/core/api/src/services/bria/proto/bria_pb.js +++ b/core/api/src/services/bria/proto/bria_pb.js @@ -10168,7 +10168,8 @@ proto.services.bria.v1.PayoutQueueConfig.toObject = function(includeInstance, ms manual: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), intervalSecs: jspb.Message.getFieldWithDefault(msg, 5, 0), cpfpPayoutsAfterMins: jspb.Message.getFieldWithDefault(msg, 6, 0), - cpfpPayoutsAfterBlocks: jspb.Message.getFieldWithDefault(msg, 7, 0) + cpfpPayoutsAfterBlocks: jspb.Message.getFieldWithDefault(msg, 7, 0), + forceMinChangeSats: jspb.Message.getFieldWithDefault(msg, 8, 0) }; if (includeInstance) { @@ -10229,6 +10230,10 @@ proto.services.bria.v1.PayoutQueueConfig.deserializeBinaryFromReader = function( var value = /** @type {number} */ (reader.readUint32()); msg.setCpfpPayoutsAfterBlocks(value); break; + case 8: + var value = /** @type {number} */ (reader.readUint64()); + msg.setForceMinChangeSats(value); + break; default: reader.skipField(); break; @@ -10300,6 +10305,13 @@ proto.services.bria.v1.PayoutQueueConfig.serializeBinaryToWriter = function(mess f ); } + f = /** @type {number} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeUint64( + 8, + f + ); + } }; @@ -10483,6 +10495,42 @@ proto.services.bria.v1.PayoutQueueConfig.prototype.hasCpfpPayoutsAfterBlocks = f }; +/** + * optional uint64 force_min_change_sats = 8; + * @return {number} + */ +proto.services.bria.v1.PayoutQueueConfig.prototype.getForceMinChangeSats = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.services.bria.v1.PayoutQueueConfig} returns this + */ +proto.services.bria.v1.PayoutQueueConfig.prototype.setForceMinChangeSats = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.bria.v1.PayoutQueueConfig} returns this + */ +proto.services.bria.v1.PayoutQueueConfig.prototype.clearForceMinChangeSats = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.bria.v1.PayoutQueueConfig.prototype.hasForceMinChangeSats = function() { + return jspb.Message.getField(this, 8) != null; +}; + +