diff --git a/bitwindow/lib/pages/wallet/wallet_send.dart b/bitwindow/lib/pages/wallet/wallet_send.dart index 78abeb224..b93b07831 100644 --- a/bitwindow/lib/pages/wallet/wallet_send.dart +++ b/bitwindow/lib/pages/wallet/wallet_send.dart @@ -1,6 +1,5 @@ import 'dart:async'; import 'dart:io'; -import 'dart:math'; import 'package:bitwindow/env.dart'; import 'package:bitwindow/main.dart'; @@ -286,15 +285,6 @@ bool isPaymentCode(String address) { return decoded != null && decoded.checksumValid && decoded.versionByte == 0x47 && decoded.payload.length == 80; } -/// What the send pays in total: the amounts, plus the fee unless the -/// recipient pays the fee out of the amount, plus a BIP47 notification. -int sendTotalSats({ - required int amountSats, - required int feeSats, - required bool subtractFee, - int notificationSats = 0, -}) => (subtractFee ? amountSats : amountSats + feeSats) + notificationSats; - /// A sum of the send summary, or a dash while the fee of the form is unknown. String summarySats(int? sats, String Function(int sats) format) => sats == null ? '–' : format(sats); @@ -340,30 +330,15 @@ String payFromLabel(CoinSelectionStrategy strategy, List selected return '${selected.length} ${selected.length == 1 ? 'UTXO' : 'UTXOs'} · ${formatBitcoin(satoshiToBTC(total))}'; } -/// The outputs and the fee of a send, as graph lines. The recipient at -/// [feePayer] gets the amount less the fee; null adds the fee on top. Change is -/// what the coins hold above the payments and the fee. The fee payer keeps -/// change below dust. Without one, a priced fee already holds dropped change. -List sendGraphCreates({ - required List<({String address, int sats})> payments, - required int inputSats, - required int feeSats, - required String? feePayer, -}) { - final payer = payments.indexWhere((p) => p.address == feePayer); - final amounts = [ - for (var i = 0; i < payments.length; i++) i == payer ? max(payments[i].sats - feeSats, 0) : payments[i].sats, - ]; - var change = inputSats - amounts.fold(0, (sum, a) => sum + a) - feeSats; - if (payer >= 0 && change > 0 && change < dustSats) { - amounts[payer] += change; - change = 0; - } +/// The outputs and the fee of a previewed send, as graph lines. The payments +/// take the order of [addresses]. +List sendGraphCreates(wmpb.PreviewSendResponse preview, {required List addresses}) { + final payments = preview.outputs.where((o) => !o.isChange).sortedBy((o) => addresses.indexOf(o.address)); + final change = preview.outputs.where((o) => o.isChange); return [ - for (var i = 0; i < payments.length; i++) - GraphLine(sats: amounts[i], address: payments[i].address, kind: FlowKind.payment), - if (change > 0) GraphLine(sats: change, address: '', kind: FlowKind.change), - if (feeSats > 0) GraphLine(sats: feeSats, address: '', kind: FlowKind.fee), + for (final o in payments) GraphLine(sats: o.amountSats.toInt(), address: o.address, kind: FlowKind.payment), + for (final o in change) GraphLine(sats: o.amountSats.toInt(), address: '', kind: FlowKind.change), + if (preview.feeSats > 0) GraphLine(sats: preview.feeSats.toInt(), address: '', kind: FlowKind.fee), ]; } @@ -723,9 +698,7 @@ class SummaryCard extends ViewModelWidget { ), SailDetailLine( label: 'Fee amount', - value: viewModel.customFee - ? fmt(viewModel.feeSats) - : summarySats(failed ? null : viewModel.feeSats, (sats) => '$estimate${fmt(sats)}'), + value: summarySats(failed ? null : viewModel.paidFeeSats, (sats) => '$estimate${fmt(sats)}'), monospace: true, ), if (notification > 0) SailDetailLine(label: 'BIP47 notification', value: fmt(notification), monospace: true), @@ -1072,17 +1045,20 @@ class SendPageViewModel extends BaseViewModel { String? _failedKey; List _pricedInputs = const []; UnspentOutput? _pricedNotificationInput; - int _pricedFeeSats = 0; - int _pricedPaymentFeeSats = 0; - int _pricedNotificationFeeSats = 0; - bool _pricedIsEstimate = false; + wmpb.PreviewSendResponse? _priced; + + /// True when the summary shows an estimate: a first BIP47 payment that can + /// spend the notification change, which no preview can build. + bool get feeIsEstimate => _formPreview?.feeIsEstimate ?? false; - /// True when the fee field shows an estimate: a first BIP47 payment from a - /// one-coin wallet pays from the notification change, which no preview can price. - bool get feeIsEstimate => _pricedIsEstimate && _currentFeePreviewKey() == _pricedKey; + /// The preview of the form as it is. Null while no preview priced it. + wmpb.PreviewSendResponse? get _formPreview { + final key = _currentFeePreviewKey(); + return key != null && key == _pricedKey ? _priced : null; + } - /// True when the preview of this form failed, so the fee field holds no fee of this send. - bool get feeFailed => !customFee && _failedKey != null && _currentFeePreviewKey() == _failedKey; + /// True when the preview of this form failed, so no fee of this send is known. + bool get feeFailed => _failedKey != null && _currentFeePreviewKey() == _failedKey; bool showTransactionGraph = false; void toggleTransactionGraph() { @@ -1100,21 +1076,19 @@ class SendPageViewModel extends BaseViewModel { int get feeSats => feeController.text.isEmpty ? 0 : parseAmountToSatoshis(feeController.text, currentUnit); - int get totalSats { - if (!_pricedMatchesForm) { - return sendTotalSats(amountSats: amountSats, feeSats: feeSats, subtractFee: _subtractFeeFromAmount); - } - return sendTotalSats( - amountSats: amountSats, - feeSats: _pricedPaymentFeeSats, - subtractFee: _subtractFeeFromAmount, - notificationSats: _pricedNotificationFeeSats > 0 ? _pricedNotificationFeeSats + dustSats : 0, - ); - } + /// What the payment pays as a fee. The fee of the BIP47 notification is not in it. + int get paidFeeSats => _formPreview?.feeSats.toInt() ?? feeSats; + + int get totalSats => switch (_formPreview) { + final preview? => previewTotalSats(preview, amountSats: amountSats, subtractFee: _subtractFeeFromAmount), + null => _subtractFeeFromAmount ? amountSats : amountSats + feeSats, + }; /// What a first BIP47 payment pays for its notification: the fee and the dust output. 0 when the send has none. - int get notificationCostSats => - _pricedMatchesForm && _pricedNotificationFeeSats > 0 ? _pricedNotificationFeeSats + dustSats : 0; + int get notificationCostSats => switch (_formPreview) { + final preview? => previewNotificationCostSats(preview), + null => 0, + }; int get balanceSats => btcToSatoshi(balanceProvider.balance); @@ -1130,11 +1104,6 @@ class SendPageViewModel extends BaseViewModel { } } - bool get _pricedMatchesForm { - final key = _currentFeePreviewKey(); - return key != null && key == _pricedKey && !_pricedIsEstimate; - } - /// The coins the send spends. The address comes from the wallet coin list. List get graphSpends { final addresses = {for (final u in allUtxos) u.output: u.address}; @@ -1149,28 +1118,12 @@ class SendPageViewModel extends BaseViewModel { ]; } - /// The fee of the payment transaction alone. A BIP47 notification pays its - /// own fee from its own coin. - int get _graphFeeSats => _pricedMatchesForm ? _pricedPaymentFeeSats : feeSats; - List get graphCreates { - final spends = graphSpends; - if (spends.isEmpty) { + final preview = _formPreview; + if (preview == null || preview.outputs.isEmpty) { return const []; } - final payments = {}; - for (final r in recipients) { - if (r.amountController.text.isNotEmpty) { - final address = r.address; - payments[address] = (payments[address] ?? 0) + parseAmountToSatoshis(r.amountController.text, currentUnit); - } - } - return sendGraphCreates( - payments: [for (final e in payments.entries) (address: e.key, sats: e.value)], - inputSats: spends.fold(0, (sum, l) => sum + l.sats), - feeSats: _graphFeeSats, - feePayer: _feePayer?.address, - ); + return sendGraphCreates(preview, addresses: recipients.map((r) => r.address).toList()); } String? sendError; @@ -1512,7 +1465,7 @@ class SendPageViewModel extends BaseViewModel { setBusy(false); return; } - if (!await _confirmFeeIsPriced(feeSats)) { + if (!await _confirmFeeIsPriced()) { setBusy(false); return; } @@ -1650,7 +1603,7 @@ class SendPageViewModel extends BaseViewModel { setSendError('Please enter a valid fee.'); return null; } - if (!await _confirmFeeIsPriced(feeSats)) { + if (!await _confirmFeeIsPriced()) { return null; } @@ -1869,17 +1822,26 @@ class SendPageViewModel extends BaseViewModel { } } + /// The fee fields of a preview. Null while the form has no fee to price. + ({double? feeRateSatPerVbyte, int? fixedFeeSats})? get _previewFeeFields { + if (customFee ? feeSats <= 0 : _estimatedSatPerVByte == null) { + return null; + } + return sendFee(estimatedSatPerVByte: estimatedSatPerVByte, typedFeeSats: feeSats); + } + String? _currentFeePreviewKey() { final walletId = _walletReader.activeWalletId; - final rate = _feeRateSatPerVbyte; + final fee = _previewFeeFields; final destinations = _destinationsWith(); - if (walletId == null || rate == null || destinations == null) { + if (walletId == null || fee == null || destinations == null) { return null; } return feePreviewKey( walletId: walletId, destinations: destinations, - feeRateSatPerVbyte: rate, + feeRateSatPerVbyte: fee.feeRateSatPerVbyte, + fixedFeeSats: fee.fixedFeeSats, subtractFeeFromAmount: _subtractFeeFromAmount, subtractFeeFrom: _feePayerAddress, requiredOutpoints: selectedUtxos.map((u) => u.output), @@ -1890,8 +1852,7 @@ class SendPageViewModel extends BaseViewModel { } /// The coin the BIP47 notification of the priced send spends. - UnspentOutput? get _sendNotificationInput => - _currentFeePreviewKey() != null && _currentFeePreviewKey() == _pricedKey ? _pricedNotificationInput : null; + UnspentOutput? get _sendNotificationInput => _formPreview == null ? null : _pricedNotificationInput; List get _sendInputs => sendInputs( selected: selectedUtxos, @@ -1923,15 +1884,17 @@ class SendPageViewModel extends BaseViewModel { ); } - /// Prices the form, which [key] identifies, and puts the fee in the fee field. + /// Prices the form, which [key] identifies. The fee of a fee target goes in the fee field. /// A failure shows when the form stayed the same for [feePreviewErrorDelay], /// or at once when [errorNow] is set. Future _previewFee(String key, {bool errorNow = false}) async { + final fee = _previewFeeFields!; try { final preview = await _orchestratorWallet.previewSend( walletId: _walletReader.activeWalletId!, destinations: _destinationsWith()!, - feeRateSatPerVbyte: _feeRateSatPerVbyte!, + feeRateSatPerVbyte: fee.feeRateSatPerVbyte, + fixedFeeSats: fee.fixedFeeSats, subtractFeeFromAmount: _subtractFeeFromAmount, subtractFeeFromAddress: _feePayerAddress, requiredInputs: selectedUtxos, @@ -1946,11 +1909,11 @@ class SendPageViewModel extends BaseViewModel { _pricedKey = key; _pricedInputs = preview.inputs.map(coin).toList(); _pricedNotificationInput = preview.hasNotificationInput() ? coin(preview.notificationInput) : null; - _pricedFeeSats = previewFeeSats(preview); - _pricedPaymentFeeSats = preview.feeSats.toInt(); - _pricedNotificationFeeSats = preview.notificationFeeSats.toInt(); - _pricedIsEstimate = preview.feeIsEstimate; - _setFeeFromSats(_pricedFeeSats); + _priced = preview; + if (!customFee) { + _setFeeFromSats(preview.feeSats.toInt()); + } + notifyListeners(); } catch (error) { if (disposed || key != _feePreviewKey) { return; @@ -1972,23 +1935,22 @@ class SendPageViewModel extends BaseViewModel { } } - /// Prices the form now when the fee field does not show the fee of this send. - /// False when the fee changed or the preview failed. The page shows why. - Future _confirmFeeIsPriced(int shownFeeSats) async { + /// Prices the form now when no preview priced it. False when the cost of the + /// send changed or the preview failed. The page shows why. + Future _confirmFeeIsPriced() async { final key = _currentFeePreviewKey(); - if (key == null || (key == _pricedKey && (_pricedIsEstimate || shownFeeSats == _pricedFeeSats))) { + if (key == null || key == _pricedKey) { return true; } + ({int fee, int total}) shown() => (fee: paidFeeSats, total: totalSats); + final before = shown(); _feePreviewKey = key; _feePreviewKeyAt = DateTime.now(); await _previewFee(key, errorNow: true); if (_pricedKey != key) { return false; } - if (_pricedIsEstimate) { - return true; - } - if (parseAmountToSatoshis(feeController.text, currentUnit) != shownFeeSats) { + if (shown() != before) { setSendError('The fee changed. Check the new fee and send again.'); return false; } @@ -2039,7 +2001,7 @@ class SendPageViewModel extends BaseViewModel { final key = _currentFeePreviewKey(); _setFeeFromSats( key != null && key == _pricedKey - ? _pricedFeeSats + ? _priced!.feeSats.toInt() : feeSatsForRate(satPerVByte: satPerVByte, txVBytes: _estimatedTxVBytes), ); } diff --git a/bitwindow/lib/utils/fee_estimation.dart b/bitwindow/lib/utils/fee_estimation.dart index 7e0be4b0b..0896ec6f8 100644 --- a/bitwindow/lib/utils/fee_estimation.dart +++ b/bitwindow/lib/utils/fee_estimation.dart @@ -73,7 +73,8 @@ Map? sendDestinations(Iterable<({String address, int sats})> recipi String feePreviewKey({ required String walletId, required Map destinations, - required double feeRateSatPerVbyte, + required double? feeRateSatPerVbyte, + required int? fixedFeeSats, required bool subtractFeeFromAmount, String subtractFeeFrom = '', required Iterable requiredOutpoints, @@ -86,6 +87,7 @@ String feePreviewKey({ walletId, coinOrder.value, feeRateSatPerVbyte, + fixedFeeSats, subtractFeeFromAmount, subtractFeeFrom, sorted(destinations.entries.map((e) => '${e.key}=${e.value}')), @@ -123,9 +125,23 @@ List graphInputs({ return pricedInputs; } -/// The fees of a previewed send: the payment, and the BIP47 notification a -/// first payment publishes before it. -int previewFeeSats(PreviewSendResponse preview) => preview.feeSats.toInt() + preview.notificationFeeSats.toInt(); +/// What a first BIP47 payment pays for its notification: the fee and the dust +/// output. 0 when the send has none. +int previewNotificationCostSats(PreviewSendResponse preview) { + final feeSats = preview.notificationFeeSats.toInt(); + return feeSats > 0 ? feeSats + dustSats : 0; +} + +/// What a previewed send takes from the wallet: the payments, the fee and the +/// BIP47 notification. An estimate has no outputs, so [amountSats] stands for +/// its payments. +int previewTotalSats(PreviewSendResponse preview, {required int amountSats, required bool subtractFee}) { + final feeSats = preview.feeSats.toInt(); + final paidSats = preview.outputs.isEmpty + ? (subtractFee ? amountSats : amountSats + feeSats) + : preview.outputs.where((o) => !o.isChange).fold(0, (sum, o) => sum + o.amountSats.toInt()) + feeSats; + return paidSats + previewNotificationCostSats(preview); +} /// The mark before an estimated fee, in the style of the other cost estimates. String? approximateFeePrefix(bool feeIsEstimate) => feeIsEstimate ? '≈ ' : null; diff --git a/bitwindow/test/fee_estimation_test.dart b/bitwindow/test/fee_estimation_test.dart index 9ef4c4b8d..fae80010f 100644 --- a/bitwindow/test/fee_estimation_test.dart +++ b/bitwindow/test/fee_estimation_test.dart @@ -74,7 +74,8 @@ void main() { group('feePreviewKey', () { String key({ Map destinations = const {'a': 1000, 'b': 2000}, - double rate = 3, + double? rate = 3, + int? fixedFee, bool subtract = false, List outpoints = const ['x:0', 'y:1'], List frozen = const ['z:2'], @@ -84,6 +85,7 @@ void main() { walletId: 'w', destinations: destinations, feeRateSatPerVbyte: rate, + fixedFeeSats: fixedFee, subtractFeeFromAmount: subtract, requiredOutpoints: outpoints, frozenOutpoints: frozen, @@ -98,6 +100,7 @@ void main() { test('a new amount, rate, fee mode, coin, frozen coin, wallet coin or coin order asks for a new preview', () { expect(key(destinations: {'a': 1001, 'b': 2000}), isNot(key())); expect(key(rate: 4), isNot(key())); + expect(key(rate: null, fixedFee: 1000), isNot(key(rate: null, fixedFee: 2000))); expect(key(subtract: true), isNot(key())); expect(key(outpoints: ['x:0']), isNot(key())); expect(key(frozen: ['z:2', 'w:3']), isNot(key())); @@ -132,7 +135,7 @@ void main() { expect(sendInputs(selected: [], currentKey: 'k2', pricedKey: 'k', pricedInputs: ['a:0']), isEmpty); }); - test('a typed fee pins no coins', () { + test('a form with no fee pins no coins', () { expect(sendInputs(selected: [], currentKey: null, pricedKey: null, pricedInputs: []), isEmpty); }); @@ -141,14 +144,38 @@ void main() { }); }); - group('previewFeeSats', () { - test('a first BIP47 payment shows the fees of the notification and the payment', () { - final preview = PreviewSendResponse(feeSats: Int64(700), notificationFeeSats: Int64(520)); - expect(previewFeeSats(preview), 1220); + group('previewTotalSats', () { + PreviewSendOutput out(int sats, {bool change = false}) => + PreviewSendOutput(amountSats: Int64(sats), isChange: change); + + test('adds the payments and the fee, and leaves out the change', () { + final preview = PreviewSendResponse(feeSats: Int64(700), outputs: [out(9000), out(5000, change: true)]); + expect(previewTotalSats(preview, amountSats: 9000, subtractFee: false), 9700); + }); + + test('a recipient who pays the fee leaves the total at the amount', () { + final preview = PreviewSendResponse(feeSats: Int64(700), outputs: [out(8300)]); + expect(previewTotalSats(preview, amountSats: 9000, subtractFee: true), 9000); + }); + + test('change below dust counts in the total', () { + final preview = PreviewSendResponse(feeSats: Int64(1000), outputs: [out(8300)]); + expect(previewTotalSats(preview, amountSats: 9000, subtractFee: true), 9300); + }); + + test('a BIP47 notification adds its fee and dust', () { + final preview = PreviewSendResponse( + feeSats: Int64(700), + notificationFeeSats: Int64(520), + outputs: [out(9000)], + ); + expect(previewTotalSats(preview, amountSats: 9000, subtractFee: false), 9000 + 700 + 520 + 546); }); - test('a send without a notification shows the payment fee', () { - expect(previewFeeSats(PreviewSendResponse(feeSats: Int64(700))), 700); + test('an estimate with no outputs uses the amount', () { + final preview = PreviewSendResponse(feeSats: Int64(700), notificationFeeSats: Int64(520), feeIsEstimate: true); + expect(previewTotalSats(preview, amountSats: 9000, subtractFee: false), 9000 + 700 + 1066); + expect(previewTotalSats(preview, amountSats: 9000, subtractFee: true), 9000 + 1066); }); }); diff --git a/bitwindow/test/send_summary_test.dart b/bitwindow/test/send_summary_test.dart index 183169c82..aff1d94d9 100644 --- a/bitwindow/test/send_summary_test.dart +++ b/bitwindow/test/send_summary_test.dart @@ -3,26 +3,10 @@ import 'package:bitwindow/utils/coin_selection.dart'; import 'package:bitwindow/widgets/tx_flow_diagram.dart'; import 'package:fixnum/fixnum.dart'; import 'package:flutter_test/flutter_test.dart'; +import 'package:sidechain_core/gen/walletmanager/v1/walletmanager.pb.dart' show PreviewSendOutput, PreviewSendResponse; import 'package:sidechain_core/gen/wallet/v1/wallet.pb.dart' hide CoinSelectionStrategy; void main() { - group('sendTotalSats', () { - test('adds the fee on top of the amounts', () { - expect(sendTotalSats(amountSats: 40_000_000, feeSats: 226, subtractFee: false), 40_000_226); - }); - - test('a recipient who pays the fee leaves the total at the amount', () { - expect(sendTotalSats(amountSats: 40_000_000, feeSats: 226, subtractFee: true), 40_000_000); - }); - - test('a BIP47 notification adds its cost also when the recipient pays the fee', () { - expect( - sendTotalSats(amountSats: 40_000_000, feeSats: 226, subtractFee: true, notificationSats: 300 + 546), - 40_000_846, - ); - }); - }); - group('summarySats', () { test('a known fee shows the sum', () { expect(summarySats(40_000_226, (sats) => '$sats sats'), '40000226 sats'); @@ -61,71 +45,27 @@ void main() { }); group('sendGraphCreates', () { - const payments = [(address: 'ecash:a', sats: 25_000_000), (address: 'ecash:b', sats: 10_000_000)]; - - test('the coins above the payments and the fee go back as change', () { - final lines = sendGraphCreates(payments: payments, inputSats: 100_000_000, feeSats: 226, feePayer: null); + PreviewSendOutput out(String address, int sats) => PreviewSendOutput(address: address, amountSats: Int64(sats)); + final change = PreviewSendOutput(amountSats: Int64(300), isChange: true); - expect(lines.map((l) => l.kind), [FlowKind.payment, FlowKind.payment, FlowKind.change, FlowKind.fee]); - expect(lines.map((l) => l.sats), [25_000_000, 10_000_000, 64_999_774, 226]); - }); - - test('a send of every coin has no change', () { + test('shows the outputs the backend built, in the order of the form', () { final lines = sendGraphCreates( - payments: const [(address: 'ecash:a', sats: 99_999_774)], - inputSats: 100_000_000, - feeSats: 226, - feePayer: null, + PreviewSendResponse(feeSats: Int64(226), outputs: [change, out('b', 1000), out('a', 2000)]), + addresses: ['a', 'b'], ); - expect(lines.map((l) => l.kind), [FlowKind.payment, FlowKind.fee]); + expect(lines.map((l) => l.kind), [FlowKind.payment, FlowKind.payment, FlowKind.change, FlowKind.fee]); + expect(lines.map((l) => l.sats), [2000, 1000, 300, 226]); + expect(lines.map((l) => l.address), ['a', 'b', '', '']); }); - test('a recipient who pays the fee keeps change below dust', () { + test('a send with no change shows none', () { final lines = sendGraphCreates( - payments: const [(address: 'ecash:a', sats: 99_999_800)], - inputSats: 100_000_000, - feeSats: 426, - feePayer: 'ecash:a', + PreviewSendResponse(feeSats: Int64(1300), outputs: [out('a', 2000)]), + addresses: ['a'], ); expect(lines.map((l) => l.kind), [FlowKind.payment, FlowKind.fee]); - expect(lines.map((l) => l.sats), [99_999_574, 426]); - }); - - test('small change above the segwit dust limit stays an output', () { - final lines = sendGraphCreates( - payments: const [(address: 'ecash:a', sats: 99_999_400)], - inputSats: 100_000_000, - feeSats: 226, - feePayer: null, - ); - - expect(lines.map((l) => l.kind), [FlowKind.payment, FlowKind.change, FlowKind.fee]); - expect(lines.map((l) => l.sats), [99_999_400, 374, 226]); - }); - - test('the fee payer of many recipients alone pays the fee', () { - final lines = sendGraphCreates( - payments: payments, - inputSats: 35_000_000, - feeSats: 306, - feePayer: 'ecash:b', - ); - - expect(lines.map((l) => l.kind), [FlowKind.payment, FlowKind.payment, FlowKind.fee]); - expect(lines.map((l) => l.sats), [25_000_000, 9_999_694, 306]); - }); - - test('a recipient who pays the fee gets the amount less the fee', () { - final lines = sendGraphCreates( - payments: const [(address: 'ecash:a', sats: 100_000_000)], - inputSats: 100_000_000, - feeSats: 226, - feePayer: 'ecash:a', - ); - - expect(lines.map((l) => l.sats), [99_999_774, 226]); }); }); } diff --git a/bitwindow/test/send_two_steps_test.dart b/bitwindow/test/send_two_steps_test.dart index d43c3b588..9b0723362 100644 --- a/bitwindow/test/send_two_steps_test.dart +++ b/bitwindow/test/send_two_steps_test.dart @@ -1,3 +1,6 @@ +import 'package:bitwindow/widgets/tx_flow_diagram.dart'; +import 'package:bitwindow/utils/fee_estimation.dart'; + import 'dart:async'; import 'package:bitwindow/pages/wallet/wallet_send.dart'; @@ -88,7 +91,14 @@ class _Wallet implements OrchestratorWalletRPC { wmpb.CoinOrder? psbtCoinOrder; double? psbtFeeRate; double? estimate; + int? psbtFixedFee; + List psbtInputs = const []; final previewRates = []; + final previewFixedFees = []; + + /// The preview of a send with a typed fee. Null fails it. + wmpb.PreviewSendResponse? Function(int fixedFeeSats) fixedFeePreview = (fixedFeeSats) => + wmpb.PreviewSendResponse(feeSats: Int64(fixedFeeSats)); @override Future estimateFee(int confTarget) async => estimate; @@ -112,6 +122,8 @@ class _Wallet implements OrchestratorWalletRPC { psbtFeePayer = subtractFeeFromAddress; psbtCoinOrder = coinOrder; psbtFeeRate = feeRateSatPerVbyte; + psbtFixedFee = fixedFeeSats; + psbtInputs = [for (final u in requiredInputs ?? const []) u.output]; return 'unsigned'; } @@ -119,15 +131,20 @@ class _Wallet implements OrchestratorWalletRPC { Future previewSend({ required String walletId, required Map destinations, - required double feeRateSatPerVbyte, + double? feeRateSatPerVbyte, + int? fixedFeeSats, bool subtractFeeFromAmount = false, String subtractFeeFromAddress = '', bool notificationOnly = false, List? requiredInputs, wmpb.CoinOrder coinOrder = wmpb.CoinOrder.COIN_ORDER_UNSPECIFIED, }) async { + if (fixedFeeSats != null) { + previewFixedFees.add(fixedFeeSats); + return fixedFeePreview(fixedFeeSats) ?? (throw Exception('insufficient funds')); + } if (estimate != null) { - previewRates.add(feeRateSatPerVbyte); + previewRates.add(feeRateSatPerVbyte!); return wmpb.PreviewSendResponse(feeSats: Int64((feeRateSatPerVbyte * 141).ceil()), vsizeVbytes: Int64(141)); } expect(notificationOnly, isTrue); @@ -251,6 +268,96 @@ void main() { expect(orchestrator.wallet.psbtFeeRate, 2.501); }); + group('a typed fee', () { + const address = 'bcrt1qvx7nwqp6cpqgl33m40fmk55zhh29e849f3uv69'; + wmpb.UnspentOutput input() => wmpb.UnspentOutput(txid: 'aa', vout: 0, amountSats: Int64(100000)); + + void fill(String amount) { + model.recipients.single.addressController.text = address; + model.recipients.single.amountController.text = amount; + model.feeController.text = '0.00001000'; + } + + testWidgets('shows the fee with the change below dust', (tester) async { + orchestrator.wallet.fixedFeePreview = (fee) => wmpb.PreviewSendResponse( + feeSats: Int64(fee + 300), + inputs: [input()], + outputs: [wmpb.PreviewSendOutput(address: address, amountSats: Int64(98700))], + ); + fill('0.00098700'); + await tester.pump(); + + expect(model.paidFeeSats, 1300); + expect(model.totalSats, 100000); + expect(model.feeController.text, '0.00001000'); + expect(model.graphSpends.map((l) => l.sats), [100000]); + expect(model.graphCreates.map((l) => (l.kind, l.sats)), [(FlowKind.payment, 98700), (FlowKind.fee, 1300)]); + }); + + testWidgets('builds with the coins of its preview', (tester) async { + orchestrator.wallet.fixedFeePreview = (fee) => wmpb.PreviewSendResponse( + feeSats: Int64(fee), + inputs: [input()], + outputs: [ + wmpb.PreviewSendOutput(address: address, amountSats: Int64(13000)), + wmpb.PreviewSendOutput(amountSats: Int64(86000), isChange: true), + ], + ); + fill('0.00013000'); + await tester.pumpWidget(const SizedBox()); + await model.buildUnsignedPsbtForAirgap(tester.element(find.byType(SizedBox))); + + expect(orchestrator.wallet.psbtFixedFee, 1000); + expect(orchestrator.wallet.psbtInputs, ['aa:0']); + }); + + testWidgets('shows no cost when its preview fails', (tester) async { + orchestrator.wallet.fixedFeePreview = (_) => null; + fill('9.00000000'); + await tester.pump(feePreviewErrorDelay * 2); + + expect(model.feeFailed, isTrue); + expect(model.sendError, contains('insufficient funds')); + }); + + testWidgets('counts the BIP47 notification', (tester) async { + orchestrator.wallet.fixedFeePreview = (fee) => + wmpb.PreviewSendResponse(feeSats: Int64(fee), notificationFeeSats: Int64(520), feeIsEstimate: true); + fill('0.00013000'); + await tester.pump(); + + expect(model.feeIsEstimate, isTrue); + expect(model.notificationCostSats, 1066); + expect(model.totalSats, 13000 + 1000 + 1066); + }); + + testWidgets('a send with an unseen cost stops until the user sees it', (tester) async { + fill('0.00013000'); + await tester.pump(); + orchestrator.wallet.fixedFeePreview = (fee) => wmpb.PreviewSendResponse(feeSats: Int64(fee + 300)); + await tester.pumpWidget(const SizedBox()); + final context = tester.element(find.byType(SizedBox)); + model.recipients.single.amountController.text = '0.00014000'; + + expect(await model.buildUnsignedPsbtForAirgap(context), isNull); + expect(model.sendError, startsWith('The fee changed.')); + expect(await model.buildUnsignedPsbtForAirgap(context), 'unsigned'); + }); + + testWidgets('asks for a preview of each fee one time', (tester) async { + fill('0.00013000'); + await tester.pump(); + final asked = orchestrator.wallet.previewFixedFees.length; + model.notifyListeners(); + await tester.pump(); + expect(orchestrator.wallet.previewFixedFees, hasLength(asked)); + + model.feeController.text = '0.00002000'; + await tester.pump(); + expect(orchestrator.wallet.previewFixedFees.last, 2000); + }); + }); + test('a strategy save shows its failure', () async { bitwindow.wallet.saveError = Exception('bitwindowd is down'); diff --git a/bitwindow/test/send_warm_coin_selection_test.dart b/bitwindow/test/send_warm_coin_selection_test.dart index 46cb713ba..21d9934b0 100644 --- a/bitwindow/test/send_warm_coin_selection_test.dart +++ b/bitwindow/test/send_warm_coin_selection_test.dart @@ -14,7 +14,8 @@ class _PreviewWallet implements OrchestratorWalletRPC { Future previewSend({ required String walletId, required Map destinations, - required double feeRateSatPerVbyte, + double? feeRateSatPerVbyte, + int? fixedFeeSats, bool subtractFeeFromAmount = false, String subtractFeeFromAddress = '', bool notificationOnly = false, diff --git a/sidechain-orchestrator/api/bip47_send_fee_test.go b/sidechain-orchestrator/api/bip47_send_fee_test.go index 25a8b3fe4..396639b2c 100644 --- a/sidechain-orchestrator/api/bip47_send_fee_test.go +++ b/sidechain-orchestrator/api/bip47_send_fee_test.go @@ -538,6 +538,62 @@ func TestPreviewSendBip47OneCoinGivesAnEstimate(t *testing.T) { assert.Len(t, chain.broadcast, 2, "the notification and the payment both go out") } +// A fixed-fee payment with no picked coins can spend the notification change, +// so its preview counts the notification and pins no coin. +func TestPreviewSendBip47FixedFeeCountsTheNotification(t *testing.T) { + log := zerolog.New(zerolog.NewTestWriter(t)) + svc := wallet.NewService(t.TempDir(), log) + svc.SetNetwork("signet") + require.NoError(t, svc.Init()) + t.Cleanup(func() { svc.Close() }) + + w, err := svc.CreateElectrumWallet("E", nil, nil, "", "", "", "", 0, "") + require.NoError(t, err) + net := &chaincfg.SigNetParams + addrs, err := wallet.DeriveBIP84Addresses(w.Master.SeedHex, net, 0, 1) + require.NoError(t, err) + chain := newBip47TestChain(t, addrs[0], 500_000, 5) + chain.addCoin(t, 300_000) + eb := wallet.NewElectrumBackend(svc, chain, wallet.StaticParams(net), log) + h := NewWalletHandler(svc) + h.SetEngine(wallet.NewWalletEngine(svc, wallet.NewBackendRouter(svc, nil, eb), wallet.StaticParams(net), log)) + h.SetBip47StateStore(bip47state.NewStore(t.TempDir())) + recipient, err := bip47.PaymentCodeFromSeed(strings.Repeat("ab", 32), net) + require.NoError(t, err) + code := recipient.Base58() + + req := &pb.PreviewSendRequest{WalletId: w.ID, Destinations: map[string]int64{code: 50_000}, FixedFeeSats: 1_000} + resp, err := h.PreviewSend(context.Background(), req) + require.NoError(t, err) + assert.True(t, resp.FeeIsEstimate) + assert.Equal(t, int64(1_000), resp.FeeSats) + assert.Positive(t, resp.NotificationFeeSats) + assert.Empty(t, resp.Inputs) + assert.Empty(t, resp.Outputs) + + coins, err := h.ListUnspent(context.Background(), &pb.ListUnspentRequest{WalletId: w.ID}) + require.NoError(t, err) + for _, u := range coins.Utxos { + if u.AmountSats == 500_000 { + req.RequiredInputs = append(req.RequiredInputs, u) + } + } + require.Len(t, req.RequiredInputs, 1) + resp, err = h.PreviewSend(context.Background(), req) + require.NoError(t, err) + assert.False(t, resp.FeeIsEstimate, "a payment with picked coins is exact") + require.Len(t, resp.Outputs, 2) + assert.Equal(t, code, resp.Outputs[0].Address, "the payment shows the payment code") + assert.True(t, resp.Outputs[1].IsChange) + + // The coins pay the payment, but not the notification too. + _, err = h.PreviewSend(context.Background(), &pb.PreviewSendRequest{ + WalletId: w.ID, Destinations: map[string]int64{code: 798_500}, FixedFeeSats: 1_000, + }) + require.ErrorContains(t, err, "insufficient funds") + assert.Empty(t, chain.broadcast) +} + // The notification of a one-coin wallet takes its fee and dust from the coin // first, so a payment that needs the whole coin must not pass the preview. func TestPreviewSendBip47OneCoinRefusesWhatTheChangeCannotPay(t *testing.T) { diff --git a/sidechain-orchestrator/api/wallet_handler.go b/sidechain-orchestrator/api/wallet_handler.go index 96b0a8459..6f400eaae 100644 --- a/sidechain-orchestrator/api/wallet_handler.go +++ b/sidechain-orchestrator/api/wallet_handler.go @@ -1155,7 +1155,24 @@ func mapRequiredInputs(inputs []*pb.UnspentOutput) []wallet.RequiredInput { }) } +// paymentCodeOf is the BIP47 payment code in before that became address in +// after, or address itself. +func paymentCodeOf(address string, before, after map[string]int64) string { + if _, ok := before[address]; ok || address == "" { + return address + } + for code := range before { + if _, ok := after[code]; !ok { + return code + } + } + return address +} + func (h *WalletHandler) PreviewSend(ctx context.Context, req *pb.PreviewSendRequest) (*pb.PreviewSendResponse, error) { + if err := protovalidate.Validate(req); err != nil { + return nil, connect.NewError(connect.CodeInvalidArgument, err.Error()).WithCause(err) + } if len(req.Destinations) == 0 && req.OpReturnHex == "" { return nil, connect.NewError(connect.CodeInvalidArgument, "must provide at least one destination or an OP_RETURN payload") } @@ -1195,7 +1212,18 @@ func (h *WalletHandler) PreviewSend(ctx context.Context, req *pb.PreviewSendRequ return nil, err } notificationCoinSats = int64(math.Round(coin.Amount * 1e8)) - resp.FeeIsEstimate = len(coins) < 2 + // A fixed-fee payment with no picked coins can spend the notification change. + unpinnedFixedFee := req.FixedFeeSats > 0 && len(requiredInputs) == 0 + resp.FeeIsEstimate = len(coins) < 2 || unpinnedFixedFee + if unpinnedFixedFee { + if err := h.checkFixedBip47Funds(ctx, walletID, wallet.SendRequest{ + DestinationsSats: destinations, + FixedFeeSats: req.FixedFeeSats, + SubtractFeeFromAmount: req.SubtractFeeFromAmount || req.SubtractFeeFromAddress != "", + }, feeSats+bip47NotificationDustSats); err != nil { + return nil, err + } + } if !resp.FeeIsEstimate { resp.NotificationInput = &pb.UnspentOutput{Txid: coin.TxID, Vout: int32(coin.Vout), AmountSats: notificationCoinSats} excluded = []wallet.RequiredInput{{TxID: coin.TxID, Vout: coin.Vout, AmountSats: notificationCoinSats}} @@ -1209,6 +1237,7 @@ func (h *WalletHandler) PreviewSend(ctx context.Context, req *pb.PreviewSendRequ preview, err := h.engine.Backend().PreviewSend(ctx, walletID, wallet.SendRequest{ DestinationsSats: destinations, FeeRateSatPerVB: req.FeeRateSatPerVbyte, + FixedFeeSats: req.FixedFeeSats, OpReturnHex: req.OpReturnHex, SubtractFeeFromAmount: subtractFee, SubtractFeeFrom: feePayerAfter(req.SubtractFeeFromAddress, req.Destinations, destinations), @@ -1224,7 +1253,7 @@ func (h *WalletHandler) PreviewSend(ctx context.Context, req *pb.PreviewSendRequ resp.VsizeVbytes = preview.VsizeVBytes // The payment of a one-coin wallet spends the notification change, so the // notification fee and dust leave the coin first. - if resp.FeeIsEstimate { + if resp.FeeIsEstimate && req.FixedFeeSats <= 0 { changeSats := notificationCoinSats - resp.NotificationFeeSats - bip47NotificationDustSats needSats := lo.Sum(lo.Values(destinations)) if !subtractFee { @@ -1239,6 +1268,13 @@ func (h *WalletHandler) PreviewSend(ctx context.Context, req *pb.PreviewSendRequ resp.Inputs = lo.Map(preview.Inputs, func(in wallet.RequiredInput, _ int) *pb.UnspentOutput { return &pb.UnspentOutput{Txid: in.TxID, Vout: int32(in.Vout), AmountSats: in.AmountSats} }) + resp.Outputs = lo.Map(preview.Outputs, func(out wallet.SendPreviewOutput, _ int) *pb.PreviewSendOutput { + return &pb.PreviewSendOutput{ + Address: paymentCodeOf(out.Address, req.Destinations, destinations), + AmountSats: out.AmountSats, + IsChange: out.IsChange, + } + }) } return resp, nil } diff --git a/sidechain-orchestrator/gen/walletmanager/v1/walletmanager.pb.go b/sidechain-orchestrator/gen/walletmanager/v1/walletmanager.pb.go index d4621eb2f..8230cbdd0 100644 --- a/sidechain-orchestrator/gen/walletmanager/v1/walletmanager.pb.go +++ b/sidechain-orchestrator/gen/walletmanager/v1/walletmanager.pb.go @@ -5038,13 +5038,14 @@ func (x *SendTransactionResponse) GetTxid() string { } type PreviewSendRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // empty = active wallet - Destinations map[string]int64 `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // address -> satoshis - FeeRateSatPerVbyte float64 `protobuf:"fixed64,3,opt,name=fee_rate_sat_per_vbyte,json=feeRateSatPerVbyte,proto3" json:"fee_rate_sat_per_vbyte,omitempty"` // must be above 0 for a payment preview - SubtractFeeFromAmount bool `protobuf:"varint,4,opt,name=subtract_fee_from_amount,json=subtractFeeFromAmount,proto3" json:"subtract_fee_from_amount,omitempty"` - RequiredInputs []*UnspentOutput `protobuf:"bytes,5,rep,name=required_inputs,json=requiredInputs,proto3" json:"required_inputs,omitempty"` - AllowReplay bool `protobuf:"varint,6,opt,name=allow_replay,json=allowReplay,proto3" json:"allow_replay,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // empty = active wallet + Destinations map[string]int64 `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // address -> satoshis + // A payment preview must have a fee rate or a fixed fee. + FeeRateSatPerVbyte float64 `protobuf:"fixed64,3,opt,name=fee_rate_sat_per_vbyte,json=feeRateSatPerVbyte,proto3" json:"fee_rate_sat_per_vbyte,omitempty"` + SubtractFeeFromAmount bool `protobuf:"varint,4,opt,name=subtract_fee_from_amount,json=subtractFeeFromAmount,proto3" json:"subtract_fee_from_amount,omitempty"` + RequiredInputs []*UnspentOutput `protobuf:"bytes,5,rep,name=required_inputs,json=requiredInputs,proto3" json:"required_inputs,omitempty"` + AllowReplay bool `protobuf:"varint,6,opt,name=allow_replay,json=allowReplay,proto3" json:"allow_replay,omitempty"` // Price only the first BIP47 notification. A zero rate uses the send default. NotificationOnly bool `protobuf:"varint,7,opt,name=notification_only,json=notificationOnly,proto3" json:"notification_only,omitempty"` // Raw OP_RETURN payload hex. A preview with no destination can use a zero @@ -5053,6 +5054,7 @@ type PreviewSendRequest struct { CoinOrder CoinOrder `protobuf:"varint,9,opt,name=coin_order,json=coinOrder,proto3,enum=walletmanager.v1.CoinOrder" json:"coin_order,omitempty"` // The destination whose amount pays the fee. Setting it subtracts the fee. SubtractFeeFromAddress string `protobuf:"bytes,10,opt,name=subtract_fee_from_address,json=subtractFeeFromAddress,proto3" json:"subtract_fee_from_address,omitempty"` + FixedFeeSats int64 `protobuf:"varint,11,opt,name=fixed_fee_sats,json=fixedFeeSats,proto3" json:"fixed_fee_sats,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5157,9 +5159,17 @@ func (x *PreviewSendRequest) GetSubtractFeeFromAddress() string { return "" } +func (x *PreviewSendRequest) GetFixedFeeSats() int64 { + if x != nil { + return x.FixedFeeSats + } + return 0 +} + type PreviewSendResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - FeeSats int64 `protobuf:"varint,1,opt,name=fee_sats,json=feeSats,proto3" json:"fee_sats,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + // The fee the send pays. A fixed fee grows by change below dust. + FeeSats int64 `protobuf:"varint,1,opt,name=fee_sats,json=feeSats,proto3" json:"fee_sats,omitempty"` // Size of the signed transaction. VsizeVbytes int64 `protobuf:"varint,2,opt,name=vsize_vbytes,json=vsizeVbytes,proto3" json:"vsize_vbytes,omitempty"` // The coins the send spends. A send that pins them pays fee_sats. @@ -5170,9 +5180,11 @@ type PreviewSendResponse struct { // The coin the notification spends. Unset when the send publishes none. NotificationInput *UnspentOutput `protobuf:"bytes,5,opt,name=notification_input,json=notificationInput,proto3" json:"notification_input,omitempty"` // True when fee_sats and notification_fee_sats are estimates: a first BIP47 - // payment from a one-coin wallet pays from the notification change, so - // inputs and notification_input stay empty. + // payment can spend the notification change, so inputs, outputs and + // notification_input stay empty. FeeIsEstimate bool `protobuf:"varint,6,opt,name=fee_is_estimate,json=feeIsEstimate,proto3" json:"fee_is_estimate,omitempty"` + // The outputs of the send, with the change. + Outputs []*PreviewSendOutput `protobuf:"bytes,7,rep,name=outputs,proto3" json:"outputs,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5249,6 +5261,74 @@ func (x *PreviewSendResponse) GetFeeIsEstimate() bool { return false } +func (x *PreviewSendResponse) GetOutputs() []*PreviewSendOutput { + if x != nil { + return x.Outputs + } + return nil +} + +type PreviewSendOutput struct { + state protoimpl.MessageState `protogen:"open.v1"` + // The destination as the request names it. Empty for change and OP_RETURN. + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + AmountSats int64 `protobuf:"varint,2,opt,name=amount_sats,json=amountSats,proto3" json:"amount_sats,omitempty"` + IsChange bool `protobuf:"varint,3,opt,name=is_change,json=isChange,proto3" json:"is_change,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PreviewSendOutput) Reset() { + *x = PreviewSendOutput{} + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PreviewSendOutput) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreviewSendOutput) ProtoMessage() {} + +func (x *PreviewSendOutput) ProtoReflect() protoreflect.Message { + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[82] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreviewSendOutput.ProtoReflect.Descriptor instead. +func (*PreviewSendOutput) Descriptor() ([]byte, []int) { + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{82} +} + +func (x *PreviewSendOutput) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *PreviewSendOutput) GetAmountSats() int64 { + if x != nil { + return x.AmountSats + } + return 0 +} + +func (x *PreviewSendOutput) GetIsChange() bool { + if x != nil { + return x.IsChange + } + return false +} + type SetFrozenCoinsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // The whole frozen set of this install. An outpoint names one coin of one @@ -5260,7 +5340,7 @@ type SetFrozenCoinsRequest struct { func (x *SetFrozenCoinsRequest) Reset() { *x = SetFrozenCoinsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[82] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5272,7 +5352,7 @@ func (x *SetFrozenCoinsRequest) String() string { func (*SetFrozenCoinsRequest) ProtoMessage() {} func (x *SetFrozenCoinsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[82] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5285,7 +5365,7 @@ func (x *SetFrozenCoinsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetFrozenCoinsRequest.ProtoReflect.Descriptor instead. func (*SetFrozenCoinsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{82} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{83} } func (x *SetFrozenCoinsRequest) GetOutpoints() []*FrozenOutpoint { @@ -5305,7 +5385,7 @@ type SetDraftCoinsRequest struct { func (x *SetDraftCoinsRequest) Reset() { *x = SetDraftCoinsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[83] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5317,7 +5397,7 @@ func (x *SetDraftCoinsRequest) String() string { func (*SetDraftCoinsRequest) ProtoMessage() {} func (x *SetDraftCoinsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[83] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5330,7 +5410,7 @@ func (x *SetDraftCoinsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetDraftCoinsRequest.ProtoReflect.Descriptor instead. func (*SetDraftCoinsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{83} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{84} } func (x *SetDraftCoinsRequest) GetOutpoints() []*FrozenOutpoint { @@ -5350,7 +5430,7 @@ type FrozenOutpoint struct { func (x *FrozenOutpoint) Reset() { *x = FrozenOutpoint{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[84] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5362,7 +5442,7 @@ func (x *FrozenOutpoint) String() string { func (*FrozenOutpoint) ProtoMessage() {} func (x *FrozenOutpoint) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[84] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5375,7 +5455,7 @@ func (x *FrozenOutpoint) ProtoReflect() protoreflect.Message { // Deprecated: Use FrozenOutpoint.ProtoReflect.Descriptor instead. func (*FrozenOutpoint) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{84} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{85} } func (x *FrozenOutpoint) GetTxid() string { @@ -5403,7 +5483,7 @@ type RawOutput struct { func (x *RawOutput) Reset() { *x = RawOutput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[85] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5415,7 +5495,7 @@ func (x *RawOutput) String() string { func (*RawOutput) ProtoMessage() {} func (x *RawOutput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[85] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5428,7 +5508,7 @@ func (x *RawOutput) ProtoReflect() protoreflect.Message { // Deprecated: Use RawOutput.ProtoReflect.Descriptor instead. func (*RawOutput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{85} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{86} } func (x *RawOutput) GetValueSats() int64 { @@ -5459,7 +5539,7 @@ type ExternalInput struct { func (x *ExternalInput) Reset() { *x = ExternalInput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[86] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5471,7 +5551,7 @@ func (x *ExternalInput) String() string { func (*ExternalInput) ProtoMessage() {} func (x *ExternalInput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[86] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5484,7 +5564,7 @@ func (x *ExternalInput) ProtoReflect() protoreflect.Message { // Deprecated: Use ExternalInput.ProtoReflect.Descriptor instead. func (*ExternalInput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{86} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{87} } func (x *ExternalInput) GetTxid() string { @@ -5539,7 +5619,7 @@ type CreatePsbtRequest struct { func (x *CreatePsbtRequest) Reset() { *x = CreatePsbtRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[87] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5551,7 +5631,7 @@ func (x *CreatePsbtRequest) String() string { func (*CreatePsbtRequest) ProtoMessage() {} func (x *CreatePsbtRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[87] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5564,7 +5644,7 @@ func (x *CreatePsbtRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePsbtRequest.ProtoReflect.Descriptor instead. func (*CreatePsbtRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{87} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{88} } func (x *CreatePsbtRequest) GetWalletId() string { @@ -5660,7 +5740,7 @@ type CreatePsbtResponse struct { func (x *CreatePsbtResponse) Reset() { *x = CreatePsbtResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[88] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5672,7 +5752,7 @@ func (x *CreatePsbtResponse) String() string { func (*CreatePsbtResponse) ProtoMessage() {} func (x *CreatePsbtResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[88] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5685,7 +5765,7 @@ func (x *CreatePsbtResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePsbtResponse.ProtoReflect.Descriptor instead. func (*CreatePsbtResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{88} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{89} } func (x *CreatePsbtResponse) GetPsbtBase64() string { @@ -5705,7 +5785,7 @@ type SignPsbtRequest struct { func (x *SignPsbtRequest) Reset() { *x = SignPsbtRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[89] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5717,7 +5797,7 @@ func (x *SignPsbtRequest) String() string { func (*SignPsbtRequest) ProtoMessage() {} func (x *SignPsbtRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[89] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5730,7 +5810,7 @@ func (x *SignPsbtRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SignPsbtRequest.ProtoReflect.Descriptor instead. func (*SignPsbtRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{89} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{90} } func (x *SignPsbtRequest) GetWalletId() string { @@ -5756,7 +5836,7 @@ type SignPsbtResponse struct { func (x *SignPsbtResponse) Reset() { *x = SignPsbtResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[90] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5768,7 +5848,7 @@ func (x *SignPsbtResponse) String() string { func (*SignPsbtResponse) ProtoMessage() {} func (x *SignPsbtResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[90] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5781,7 +5861,7 @@ func (x *SignPsbtResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SignPsbtResponse.ProtoReflect.Descriptor instead. func (*SignPsbtResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{90} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{91} } func (x *SignPsbtResponse) GetPsbtBase64() string { @@ -5802,7 +5882,7 @@ type SignPsbtWithCosignerRequest struct { func (x *SignPsbtWithCosignerRequest) Reset() { *x = SignPsbtWithCosignerRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[91] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5814,7 +5894,7 @@ func (x *SignPsbtWithCosignerRequest) String() string { func (*SignPsbtWithCosignerRequest) ProtoMessage() {} func (x *SignPsbtWithCosignerRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[91] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5827,7 +5907,7 @@ func (x *SignPsbtWithCosignerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SignPsbtWithCosignerRequest.ProtoReflect.Descriptor instead. func (*SignPsbtWithCosignerRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{91} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{92} } func (x *SignPsbtWithCosignerRequest) GetWalletId() string { @@ -5860,7 +5940,7 @@ type SignPsbtWithCosignerResponse struct { func (x *SignPsbtWithCosignerResponse) Reset() { *x = SignPsbtWithCosignerResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[92] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5872,7 +5952,7 @@ func (x *SignPsbtWithCosignerResponse) String() string { func (*SignPsbtWithCosignerResponse) ProtoMessage() {} func (x *SignPsbtWithCosignerResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[92] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5885,7 +5965,7 @@ func (x *SignPsbtWithCosignerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SignPsbtWithCosignerResponse.ProtoReflect.Descriptor instead. func (*SignPsbtWithCosignerResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{92} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{93} } func (x *SignPsbtWithCosignerResponse) GetPsbtBase64() string { @@ -5904,7 +5984,7 @@ type CombinePsbtRequest struct { func (x *CombinePsbtRequest) Reset() { *x = CombinePsbtRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[93] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5916,7 +5996,7 @@ func (x *CombinePsbtRequest) String() string { func (*CombinePsbtRequest) ProtoMessage() {} func (x *CombinePsbtRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[93] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5929,7 +6009,7 @@ func (x *CombinePsbtRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CombinePsbtRequest.ProtoReflect.Descriptor instead. func (*CombinePsbtRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{93} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{94} } func (x *CombinePsbtRequest) GetPsbtBase64() []string { @@ -5948,7 +6028,7 @@ type CombinePsbtResponse struct { func (x *CombinePsbtResponse) Reset() { *x = CombinePsbtResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[94] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5960,7 +6040,7 @@ func (x *CombinePsbtResponse) String() string { func (*CombinePsbtResponse) ProtoMessage() {} func (x *CombinePsbtResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[94] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5973,7 +6053,7 @@ func (x *CombinePsbtResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CombinePsbtResponse.ProtoReflect.Descriptor instead. func (*CombinePsbtResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{94} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{95} } func (x *CombinePsbtResponse) GetPsbtBase64() string { @@ -5992,7 +6072,7 @@ type FinalizePsbtRequest struct { func (x *FinalizePsbtRequest) Reset() { *x = FinalizePsbtRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[95] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6004,7 +6084,7 @@ func (x *FinalizePsbtRequest) String() string { func (*FinalizePsbtRequest) ProtoMessage() {} func (x *FinalizePsbtRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[95] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6017,7 +6097,7 @@ func (x *FinalizePsbtRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FinalizePsbtRequest.ProtoReflect.Descriptor instead. func (*FinalizePsbtRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{95} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{96} } func (x *FinalizePsbtRequest) GetPsbtBase64() string { @@ -6036,7 +6116,7 @@ type FinalizePsbtResponse struct { func (x *FinalizePsbtResponse) Reset() { *x = FinalizePsbtResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[96] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6048,7 +6128,7 @@ func (x *FinalizePsbtResponse) String() string { func (*FinalizePsbtResponse) ProtoMessage() {} func (x *FinalizePsbtResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[96] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6061,7 +6141,7 @@ func (x *FinalizePsbtResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FinalizePsbtResponse.ProtoReflect.Descriptor instead. func (*FinalizePsbtResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{96} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{97} } func (x *FinalizePsbtResponse) GetRawTxHex() string { @@ -6081,7 +6161,7 @@ type MultisigPsbtStatusRequest struct { func (x *MultisigPsbtStatusRequest) Reset() { *x = MultisigPsbtStatusRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[97] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6093,7 +6173,7 @@ func (x *MultisigPsbtStatusRequest) String() string { func (*MultisigPsbtStatusRequest) ProtoMessage() {} func (x *MultisigPsbtStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[97] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6106,7 +6186,7 @@ func (x *MultisigPsbtStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MultisigPsbtStatusRequest.ProtoReflect.Descriptor instead. func (*MultisigPsbtStatusRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{97} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{98} } func (x *MultisigPsbtStatusRequest) GetWalletId() string { @@ -6136,7 +6216,7 @@ type MultisigPsbtStatusResponse struct { func (x *MultisigPsbtStatusResponse) Reset() { *x = MultisigPsbtStatusResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[98] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6148,7 +6228,7 @@ func (x *MultisigPsbtStatusResponse) String() string { func (*MultisigPsbtStatusResponse) ProtoMessage() {} func (x *MultisigPsbtStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[98] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6161,7 +6241,7 @@ func (x *MultisigPsbtStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MultisigPsbtStatusResponse.ProtoReflect.Descriptor instead. func (*MultisigPsbtStatusResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{98} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{99} } func (x *MultisigPsbtStatusResponse) GetThreshold() uint32 { @@ -6202,7 +6282,7 @@ type BroadcastTransactionRequest struct { func (x *BroadcastTransactionRequest) Reset() { *x = BroadcastTransactionRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[99] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6214,7 +6294,7 @@ func (x *BroadcastTransactionRequest) String() string { func (*BroadcastTransactionRequest) ProtoMessage() {} func (x *BroadcastTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[99] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6227,7 +6307,7 @@ func (x *BroadcastTransactionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BroadcastTransactionRequest.ProtoReflect.Descriptor instead. func (*BroadcastTransactionRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{99} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{100} } func (x *BroadcastTransactionRequest) GetWalletId() string { @@ -6253,7 +6333,7 @@ type BroadcastTransactionResponse struct { func (x *BroadcastTransactionResponse) Reset() { *x = BroadcastTransactionResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[100] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6265,7 +6345,7 @@ func (x *BroadcastTransactionResponse) String() string { func (*BroadcastTransactionResponse) ProtoMessage() {} func (x *BroadcastTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[100] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6278,7 +6358,7 @@ func (x *BroadcastTransactionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BroadcastTransactionResponse.ProtoReflect.Descriptor instead. func (*BroadcastTransactionResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{100} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{101} } func (x *BroadcastTransactionResponse) GetTxid() string { @@ -6297,7 +6377,7 @@ type GetAddressUnspentRequest struct { func (x *GetAddressUnspentRequest) Reset() { *x = GetAddressUnspentRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[101] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6309,7 +6389,7 @@ func (x *GetAddressUnspentRequest) String() string { func (*GetAddressUnspentRequest) ProtoMessage() {} func (x *GetAddressUnspentRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[101] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6322,7 +6402,7 @@ func (x *GetAddressUnspentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAddressUnspentRequest.ProtoReflect.Descriptor instead. func (*GetAddressUnspentRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{101} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{102} } func (x *GetAddressUnspentRequest) GetAddress() string { @@ -6345,7 +6425,7 @@ type AddressUnspentOutput struct { func (x *AddressUnspentOutput) Reset() { *x = AddressUnspentOutput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[102] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6357,7 +6437,7 @@ func (x *AddressUnspentOutput) String() string { func (*AddressUnspentOutput) ProtoMessage() {} func (x *AddressUnspentOutput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[102] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6370,7 +6450,7 @@ func (x *AddressUnspentOutput) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressUnspentOutput.ProtoReflect.Descriptor instead. func (*AddressUnspentOutput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{102} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{103} } func (x *AddressUnspentOutput) GetTxid() string { @@ -6418,7 +6498,7 @@ type GetAddressUnspentResponse struct { func (x *GetAddressUnspentResponse) Reset() { *x = GetAddressUnspentResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[103] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6430,7 +6510,7 @@ func (x *GetAddressUnspentResponse) String() string { func (*GetAddressUnspentResponse) ProtoMessage() {} func (x *GetAddressUnspentResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[103] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6443,7 +6523,7 @@ func (x *GetAddressUnspentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAddressUnspentResponse.ProtoReflect.Descriptor instead. func (*GetAddressUnspentResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{103} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{104} } func (x *GetAddressUnspentResponse) GetUtxos() []*AddressUnspentOutput { @@ -6469,7 +6549,7 @@ type GetAddressSpendsRequest struct { func (x *GetAddressSpendsRequest) Reset() { *x = GetAddressSpendsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[104] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6481,7 +6561,7 @@ func (x *GetAddressSpendsRequest) String() string { func (*GetAddressSpendsRequest) ProtoMessage() {} func (x *GetAddressSpendsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[104] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6494,7 +6574,7 @@ func (x *GetAddressSpendsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAddressSpendsRequest.ProtoReflect.Descriptor instead. func (*GetAddressSpendsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{104} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{105} } func (x *GetAddressSpendsRequest) GetAddress() string { @@ -6513,7 +6593,7 @@ type GetAddressSpendsResponse struct { func (x *GetAddressSpendsResponse) Reset() { *x = GetAddressSpendsResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[105] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6525,7 +6605,7 @@ func (x *GetAddressSpendsResponse) String() string { func (*GetAddressSpendsResponse) ProtoMessage() {} func (x *GetAddressSpendsResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[105] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6538,7 +6618,7 @@ func (x *GetAddressSpendsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAddressSpendsResponse.ProtoReflect.Descriptor instead. func (*GetAddressSpendsResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{105} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{106} } func (x *GetAddressSpendsResponse) GetTxids() []string { @@ -6557,7 +6637,7 @@ type BroadcastElectrumTransactionRequest struct { func (x *BroadcastElectrumTransactionRequest) Reset() { *x = BroadcastElectrumTransactionRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[106] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6569,7 +6649,7 @@ func (x *BroadcastElectrumTransactionRequest) String() string { func (*BroadcastElectrumTransactionRequest) ProtoMessage() {} func (x *BroadcastElectrumTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[106] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6582,7 +6662,7 @@ func (x *BroadcastElectrumTransactionRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use BroadcastElectrumTransactionRequest.ProtoReflect.Descriptor instead. func (*BroadcastElectrumTransactionRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{106} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{107} } func (x *BroadcastElectrumTransactionRequest) GetTxHex() string { @@ -6601,7 +6681,7 @@ type BroadcastElectrumTransactionResponse struct { func (x *BroadcastElectrumTransactionResponse) Reset() { *x = BroadcastElectrumTransactionResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[107] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6613,7 +6693,7 @@ func (x *BroadcastElectrumTransactionResponse) String() string { func (*BroadcastElectrumTransactionResponse) ProtoMessage() {} func (x *BroadcastElectrumTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[107] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6626,7 +6706,7 @@ func (x *BroadcastElectrumTransactionResponse) ProtoReflect() protoreflect.Messa // Deprecated: Use BroadcastElectrumTransactionResponse.ProtoReflect.Descriptor instead. func (*BroadcastElectrumTransactionResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{107} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{108} } func (x *BroadcastElectrumTransactionResponse) GetTxid() string { @@ -6656,7 +6736,7 @@ type HardwareDevice struct { func (x *HardwareDevice) Reset() { *x = HardwareDevice{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[108] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6668,7 +6748,7 @@ func (x *HardwareDevice) String() string { func (*HardwareDevice) ProtoMessage() {} func (x *HardwareDevice) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[108] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6681,7 +6761,7 @@ func (x *HardwareDevice) ProtoReflect() protoreflect.Message { // Deprecated: Use HardwareDevice.ProtoReflect.Descriptor instead. func (*HardwareDevice) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{108} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{109} } func (x *HardwareDevice) GetType() string { @@ -6760,7 +6840,7 @@ type HardwareDeviceSelector struct { func (x *HardwareDeviceSelector) Reset() { *x = HardwareDeviceSelector{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[109] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6772,7 +6852,7 @@ func (x *HardwareDeviceSelector) String() string { func (*HardwareDeviceSelector) ProtoMessage() {} func (x *HardwareDeviceSelector) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[109] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6785,7 +6865,7 @@ func (x *HardwareDeviceSelector) ProtoReflect() protoreflect.Message { // Deprecated: Use HardwareDeviceSelector.ProtoReflect.Descriptor instead. func (*HardwareDeviceSelector) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{109} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{110} } func (x *HardwareDeviceSelector) GetType() string { @@ -6825,7 +6905,7 @@ type EnumerateHardwareDevicesRequest struct { func (x *EnumerateHardwareDevicesRequest) Reset() { *x = EnumerateHardwareDevicesRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[110] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6837,7 +6917,7 @@ func (x *EnumerateHardwareDevicesRequest) String() string { func (*EnumerateHardwareDevicesRequest) ProtoMessage() {} func (x *EnumerateHardwareDevicesRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[110] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6850,7 +6930,7 @@ func (x *EnumerateHardwareDevicesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnumerateHardwareDevicesRequest.ProtoReflect.Descriptor instead. func (*EnumerateHardwareDevicesRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{110} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{111} } func (x *EnumerateHardwareDevicesRequest) GetPassphrase() string { @@ -6869,7 +6949,7 @@ type EnumerateHardwareDevicesResponse struct { func (x *EnumerateHardwareDevicesResponse) Reset() { *x = EnumerateHardwareDevicesResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[111] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6881,7 +6961,7 @@ func (x *EnumerateHardwareDevicesResponse) String() string { func (*EnumerateHardwareDevicesResponse) ProtoMessage() {} func (x *EnumerateHardwareDevicesResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[111] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6894,7 +6974,7 @@ func (x *EnumerateHardwareDevicesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnumerateHardwareDevicesResponse.ProtoReflect.Descriptor instead. func (*EnumerateHardwareDevicesResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{111} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{112} } func (x *EnumerateHardwareDevicesResponse) GetDevices() []*HardwareDevice { @@ -6914,7 +6994,7 @@ type GetHardwareXpubRequest struct { func (x *GetHardwareXpubRequest) Reset() { *x = GetHardwareXpubRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[112] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6926,7 +7006,7 @@ func (x *GetHardwareXpubRequest) String() string { func (*GetHardwareXpubRequest) ProtoMessage() {} func (x *GetHardwareXpubRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[112] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6939,7 +7019,7 @@ func (x *GetHardwareXpubRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetHardwareXpubRequest.ProtoReflect.Descriptor instead. func (*GetHardwareXpubRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{112} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{113} } func (x *GetHardwareXpubRequest) GetDevice() *HardwareDeviceSelector { @@ -6965,7 +7045,7 @@ type GetHardwareXpubResponse struct { func (x *GetHardwareXpubResponse) Reset() { *x = GetHardwareXpubResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[113] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6977,7 +7057,7 @@ func (x *GetHardwareXpubResponse) String() string { func (*GetHardwareXpubResponse) ProtoMessage() {} func (x *GetHardwareXpubResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[113] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6990,7 +7070,7 @@ func (x *GetHardwareXpubResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetHardwareXpubResponse.ProtoReflect.Descriptor instead. func (*GetHardwareXpubResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{113} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{114} } func (x *GetHardwareXpubResponse) GetXpub() string { @@ -7010,7 +7090,7 @@ type SignPsbtWithDeviceRequest struct { func (x *SignPsbtWithDeviceRequest) Reset() { *x = SignPsbtWithDeviceRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[114] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7022,7 +7102,7 @@ func (x *SignPsbtWithDeviceRequest) String() string { func (*SignPsbtWithDeviceRequest) ProtoMessage() {} func (x *SignPsbtWithDeviceRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[114] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7035,7 +7115,7 @@ func (x *SignPsbtWithDeviceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SignPsbtWithDeviceRequest.ProtoReflect.Descriptor instead. func (*SignPsbtWithDeviceRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{114} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{115} } func (x *SignPsbtWithDeviceRequest) GetDevice() *HardwareDeviceSelector { @@ -7061,7 +7141,7 @@ type SignPsbtWithDeviceResponse struct { func (x *SignPsbtWithDeviceResponse) Reset() { *x = SignPsbtWithDeviceResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[115] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7073,7 +7153,7 @@ func (x *SignPsbtWithDeviceResponse) String() string { func (*SignPsbtWithDeviceResponse) ProtoMessage() {} func (x *SignPsbtWithDeviceResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[115] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7086,7 +7166,7 @@ func (x *SignPsbtWithDeviceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SignPsbtWithDeviceResponse.ProtoReflect.Descriptor instead. func (*SignPsbtWithDeviceResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{115} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{116} } func (x *SignPsbtWithDeviceResponse) GetPsbtBase64() string { @@ -7105,7 +7185,7 @@ type PromptDevicePinRequest struct { func (x *PromptDevicePinRequest) Reset() { *x = PromptDevicePinRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[116] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7117,7 +7197,7 @@ func (x *PromptDevicePinRequest) String() string { func (*PromptDevicePinRequest) ProtoMessage() {} func (x *PromptDevicePinRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[116] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7130,7 +7210,7 @@ func (x *PromptDevicePinRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PromptDevicePinRequest.ProtoReflect.Descriptor instead. func (*PromptDevicePinRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{116} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{117} } func (x *PromptDevicePinRequest) GetDevice() *HardwareDeviceSelector { @@ -7148,7 +7228,7 @@ type PromptDevicePinResponse struct { func (x *PromptDevicePinResponse) Reset() { *x = PromptDevicePinResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[117] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7160,7 +7240,7 @@ func (x *PromptDevicePinResponse) String() string { func (*PromptDevicePinResponse) ProtoMessage() {} func (x *PromptDevicePinResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[117] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7173,7 +7253,7 @@ func (x *PromptDevicePinResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PromptDevicePinResponse.ProtoReflect.Descriptor instead. func (*PromptDevicePinResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{117} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{118} } type SendDevicePinRequest struct { @@ -7186,7 +7266,7 @@ type SendDevicePinRequest struct { func (x *SendDevicePinRequest) Reset() { *x = SendDevicePinRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[118] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7198,7 +7278,7 @@ func (x *SendDevicePinRequest) String() string { func (*SendDevicePinRequest) ProtoMessage() {} func (x *SendDevicePinRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[118] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7211,7 +7291,7 @@ func (x *SendDevicePinRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendDevicePinRequest.ProtoReflect.Descriptor instead. func (*SendDevicePinRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{118} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{119} } func (x *SendDevicePinRequest) GetDevice() *HardwareDeviceSelector { @@ -7236,7 +7316,7 @@ type SendDevicePinResponse struct { func (x *SendDevicePinResponse) Reset() { *x = SendDevicePinResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[119] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7248,7 +7328,7 @@ func (x *SendDevicePinResponse) String() string { func (*SendDevicePinResponse) ProtoMessage() {} func (x *SendDevicePinResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[119] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7261,7 +7341,7 @@ func (x *SendDevicePinResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendDevicePinResponse.ProtoReflect.Descriptor instead. func (*SendDevicePinResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{119} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{120} } type CloseDeviceRequest struct { @@ -7273,7 +7353,7 @@ type CloseDeviceRequest struct { func (x *CloseDeviceRequest) Reset() { *x = CloseDeviceRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[120] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7285,7 +7365,7 @@ func (x *CloseDeviceRequest) String() string { func (*CloseDeviceRequest) ProtoMessage() {} func (x *CloseDeviceRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[120] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7298,7 +7378,7 @@ func (x *CloseDeviceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CloseDeviceRequest.ProtoReflect.Descriptor instead. func (*CloseDeviceRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{120} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{121} } func (x *CloseDeviceRequest) GetDevice() *HardwareDeviceSelector { @@ -7316,7 +7396,7 @@ type CloseDeviceResponse struct { func (x *CloseDeviceResponse) Reset() { *x = CloseDeviceResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[121] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7328,7 +7408,7 @@ func (x *CloseDeviceResponse) String() string { func (*CloseDeviceResponse) ProtoMessage() {} func (x *CloseDeviceResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[121] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7341,7 +7421,7 @@ func (x *CloseDeviceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CloseDeviceResponse.ProtoReflect.Descriptor instead. func (*CloseDeviceResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{121} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{122} } // DeriveKeystoreRequest carries one source plus the intent to derive from. @@ -7365,7 +7445,7 @@ type DeriveKeystoreRequest struct { func (x *DeriveKeystoreRequest) Reset() { *x = DeriveKeystoreRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[122] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7377,7 +7457,7 @@ func (x *DeriveKeystoreRequest) String() string { func (*DeriveKeystoreRequest) ProtoMessage() {} func (x *DeriveKeystoreRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[122] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7390,7 +7470,7 @@ func (x *DeriveKeystoreRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeriveKeystoreRequest.ProtoReflect.Descriptor instead. func (*DeriveKeystoreRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{122} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{123} } func (x *DeriveKeystoreRequest) GetMnemonic() string { @@ -7462,7 +7542,7 @@ type DeriveKeystoreResponse struct { func (x *DeriveKeystoreResponse) Reset() { *x = DeriveKeystoreResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[123] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7474,7 +7554,7 @@ func (x *DeriveKeystoreResponse) String() string { func (*DeriveKeystoreResponse) ProtoMessage() {} func (x *DeriveKeystoreResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[123] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7487,7 +7567,7 @@ func (x *DeriveKeystoreResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeriveKeystoreResponse.ProtoReflect.Descriptor instead. func (*DeriveKeystoreResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{123} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{124} } func (x *DeriveKeystoreResponse) GetXpub() string { @@ -7535,7 +7615,7 @@ type ExploreSeedRequest struct { func (x *ExploreSeedRequest) Reset() { *x = ExploreSeedRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[124] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7547,7 +7627,7 @@ func (x *ExploreSeedRequest) String() string { func (*ExploreSeedRequest) ProtoMessage() {} func (x *ExploreSeedRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[124] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7560,7 +7640,7 @@ func (x *ExploreSeedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExploreSeedRequest.ProtoReflect.Descriptor instead. func (*ExploreSeedRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{124} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{125} } func (x *ExploreSeedRequest) GetMnemonic() string { @@ -7621,7 +7701,7 @@ type ExploredKey struct { func (x *ExploredKey) Reset() { *x = ExploredKey{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[125] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7633,7 +7713,7 @@ func (x *ExploredKey) String() string { func (*ExploredKey) ProtoMessage() {} func (x *ExploredKey) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[125] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7646,7 +7726,7 @@ func (x *ExploredKey) ProtoReflect() protoreflect.Message { // Deprecated: Use ExploredKey.ProtoReflect.Descriptor instead. func (*ExploredKey) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{125} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{126} } func (x *ExploredKey) GetPath() string { @@ -7712,7 +7792,7 @@ type ExploreSeedResponse struct { func (x *ExploreSeedResponse) Reset() { *x = ExploreSeedResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[126] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7724,7 +7804,7 @@ func (x *ExploreSeedResponse) String() string { func (*ExploreSeedResponse) ProtoMessage() {} func (x *ExploreSeedResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[126] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7737,7 +7817,7 @@ func (x *ExploreSeedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExploreSeedResponse.ProtoReflect.Descriptor instead. func (*ExploreSeedResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{126} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{127} } func (x *ExploreSeedResponse) GetSeedHex() string { @@ -7811,7 +7891,7 @@ type GenerateMnemonicRequest struct { func (x *GenerateMnemonicRequest) Reset() { *x = GenerateMnemonicRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[127] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7823,7 +7903,7 @@ func (x *GenerateMnemonicRequest) String() string { func (*GenerateMnemonicRequest) ProtoMessage() {} func (x *GenerateMnemonicRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[127] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7836,7 +7916,7 @@ func (x *GenerateMnemonicRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GenerateMnemonicRequest.ProtoReflect.Descriptor instead. func (*GenerateMnemonicRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{127} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{128} } type GenerateMnemonicResponse struct { @@ -7848,7 +7928,7 @@ type GenerateMnemonicResponse struct { func (x *GenerateMnemonicResponse) Reset() { *x = GenerateMnemonicResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[128] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7860,7 +7940,7 @@ func (x *GenerateMnemonicResponse) String() string { func (*GenerateMnemonicResponse) ProtoMessage() {} func (x *GenerateMnemonicResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[128] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7873,7 +7953,7 @@ func (x *GenerateMnemonicResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GenerateMnemonicResponse.ProtoReflect.Descriptor instead. func (*GenerateMnemonicResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{128} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{129} } func (x *GenerateMnemonicResponse) GetMnemonic() string { @@ -7892,7 +7972,7 @@ type ValidateMnemonicRequest struct { func (x *ValidateMnemonicRequest) Reset() { *x = ValidateMnemonicRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[129] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7904,7 +7984,7 @@ func (x *ValidateMnemonicRequest) String() string { func (*ValidateMnemonicRequest) ProtoMessage() {} func (x *ValidateMnemonicRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[129] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7917,7 +7997,7 @@ func (x *ValidateMnemonicRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateMnemonicRequest.ProtoReflect.Descriptor instead. func (*ValidateMnemonicRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{129} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{130} } func (x *ValidateMnemonicRequest) GetMnemonic() string { @@ -7936,7 +8016,7 @@ type ValidateMnemonicResponse struct { func (x *ValidateMnemonicResponse) Reset() { *x = ValidateMnemonicResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[130] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7948,7 +8028,7 @@ func (x *ValidateMnemonicResponse) String() string { func (*ValidateMnemonicResponse) ProtoMessage() {} func (x *ValidateMnemonicResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[130] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7961,7 +8041,7 @@ func (x *ValidateMnemonicResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateMnemonicResponse.ProtoReflect.Descriptor instead. func (*ValidateMnemonicResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{130} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{131} } func (x *ValidateMnemonicResponse) GetKind() MnemonicKind { @@ -7981,7 +8061,7 @@ type ListTransactionsRequest struct { func (x *ListTransactionsRequest) Reset() { *x = ListTransactionsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[131] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7993,7 +8073,7 @@ func (x *ListTransactionsRequest) String() string { func (*ListTransactionsRequest) ProtoMessage() {} func (x *ListTransactionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[131] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8006,7 +8086,7 @@ func (x *ListTransactionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListTransactionsRequest.ProtoReflect.Descriptor instead. func (*ListTransactionsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{131} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{132} } func (x *ListTransactionsRequest) GetWalletId() string { @@ -8054,7 +8134,7 @@ type TransactionEntry struct { func (x *TransactionEntry) Reset() { *x = TransactionEntry{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[132] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8066,7 +8146,7 @@ func (x *TransactionEntry) String() string { func (*TransactionEntry) ProtoMessage() {} func (x *TransactionEntry) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[132] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8079,7 +8159,7 @@ func (x *TransactionEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionEntry.ProtoReflect.Descriptor instead. func (*TransactionEntry) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{132} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{133} } func (x *TransactionEntry) GetTxid() string { @@ -8224,7 +8304,7 @@ type BmmBid struct { func (x *BmmBid) Reset() { *x = BmmBid{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[133] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8236,7 +8316,7 @@ func (x *BmmBid) String() string { func (*BmmBid) ProtoMessage() {} func (x *BmmBid) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[133] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8249,7 +8329,7 @@ func (x *BmmBid) ProtoReflect() protoreflect.Message { // Deprecated: Use BmmBid.ProtoReflect.Descriptor instead. func (*BmmBid) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{133} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{134} } func (x *BmmBid) GetSlot() uint32 { @@ -8289,7 +8369,7 @@ type ListTransactionsResponse struct { func (x *ListTransactionsResponse) Reset() { *x = ListTransactionsResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[134] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8301,7 +8381,7 @@ func (x *ListTransactionsResponse) String() string { func (*ListTransactionsResponse) ProtoMessage() {} func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[134] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8314,7 +8394,7 @@ func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListTransactionsResponse.ProtoReflect.Descriptor instead. func (*ListTransactionsResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{134} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{135} } func (x *ListTransactionsResponse) GetTransactions() []*TransactionEntry { @@ -8333,7 +8413,7 @@ type ListUnspentRequest struct { func (x *ListUnspentRequest) Reset() { *x = ListUnspentRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[135] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8345,7 +8425,7 @@ func (x *ListUnspentRequest) String() string { func (*ListUnspentRequest) ProtoMessage() {} func (x *ListUnspentRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[135] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8358,7 +8438,7 @@ func (x *ListUnspentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUnspentRequest.ProtoReflect.Descriptor instead. func (*ListUnspentRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{135} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{136} } func (x *ListUnspentRequest) GetWalletId() string { @@ -8399,7 +8479,7 @@ type UnspentOutput struct { func (x *UnspentOutput) Reset() { *x = UnspentOutput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[136] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8411,7 +8491,7 @@ func (x *UnspentOutput) String() string { func (*UnspentOutput) ProtoMessage() {} func (x *UnspentOutput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[136] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8424,7 +8504,7 @@ func (x *UnspentOutput) ProtoReflect() protoreflect.Message { // Deprecated: Use UnspentOutput.ProtoReflect.Descriptor instead. func (*UnspentOutput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{136} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{137} } func (x *UnspentOutput) GetTxid() string { @@ -8534,7 +8614,7 @@ type ListUnspentResponse struct { func (x *ListUnspentResponse) Reset() { *x = ListUnspentResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[137] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8546,7 +8626,7 @@ func (x *ListUnspentResponse) String() string { func (*ListUnspentResponse) ProtoMessage() {} func (x *ListUnspentResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[137] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8559,7 +8639,7 @@ func (x *ListUnspentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUnspentResponse.ProtoReflect.Descriptor instead. func (*ListUnspentResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{137} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{138} } func (x *ListUnspentResponse) GetUtxos() []*UnspentOutput { @@ -8578,7 +8658,7 @@ type ListReceiveAddressesRequest struct { func (x *ListReceiveAddressesRequest) Reset() { *x = ListReceiveAddressesRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[138] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8590,7 +8670,7 @@ func (x *ListReceiveAddressesRequest) String() string { func (*ListReceiveAddressesRequest) ProtoMessage() {} func (x *ListReceiveAddressesRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[138] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8603,7 +8683,7 @@ func (x *ListReceiveAddressesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListReceiveAddressesRequest.ProtoReflect.Descriptor instead. func (*ListReceiveAddressesRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{138} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{139} } func (x *ListReceiveAddressesRequest) GetWalletId() string { @@ -8633,7 +8713,7 @@ type ReceiveAddress struct { func (x *ReceiveAddress) Reset() { *x = ReceiveAddress{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[139] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8645,7 +8725,7 @@ func (x *ReceiveAddress) String() string { func (*ReceiveAddress) ProtoMessage() {} func (x *ReceiveAddress) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[139] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8658,7 +8738,7 @@ func (x *ReceiveAddress) ProtoReflect() protoreflect.Message { // Deprecated: Use ReceiveAddress.ProtoReflect.Descriptor instead. func (*ReceiveAddress) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{139} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{140} } func (x *ReceiveAddress) GetAddress() string { @@ -8726,7 +8806,7 @@ type ListReceiveAddressesResponse struct { func (x *ListReceiveAddressesResponse) Reset() { *x = ListReceiveAddressesResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[140] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8738,7 +8818,7 @@ func (x *ListReceiveAddressesResponse) String() string { func (*ListReceiveAddressesResponse) ProtoMessage() {} func (x *ListReceiveAddressesResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[140] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8751,7 +8831,7 @@ func (x *ListReceiveAddressesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListReceiveAddressesResponse.ProtoReflect.Descriptor instead. func (*ListReceiveAddressesResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{140} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{141} } func (x *ListReceiveAddressesResponse) GetAddresses() []*ReceiveAddress { @@ -8771,7 +8851,7 @@ type GetTransactionDetailsRequest struct { func (x *GetTransactionDetailsRequest) Reset() { *x = GetTransactionDetailsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[141] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8783,7 +8863,7 @@ func (x *GetTransactionDetailsRequest) String() string { func (*GetTransactionDetailsRequest) ProtoMessage() {} func (x *GetTransactionDetailsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[141] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[142] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8796,7 +8876,7 @@ func (x *GetTransactionDetailsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTransactionDetailsRequest.ProtoReflect.Descriptor instead. func (*GetTransactionDetailsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{141} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{142} } func (x *GetTransactionDetailsRequest) GetWalletId() string { @@ -8837,7 +8917,7 @@ type GetTransactionDetailsResponse struct { func (x *GetTransactionDetailsResponse) Reset() { *x = GetTransactionDetailsResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[142] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8849,7 +8929,7 @@ func (x *GetTransactionDetailsResponse) String() string { func (*GetTransactionDetailsResponse) ProtoMessage() {} func (x *GetTransactionDetailsResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[142] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[143] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8862,7 +8942,7 @@ func (x *GetTransactionDetailsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTransactionDetailsResponse.ProtoReflect.Descriptor instead. func (*GetTransactionDetailsResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{142} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{143} } func (x *GetTransactionDetailsResponse) GetTransaction() *TransactionEntry { @@ -8995,7 +9075,7 @@ type TransactionInput struct { func (x *TransactionInput) Reset() { *x = TransactionInput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[143] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9007,7 +9087,7 @@ func (x *TransactionInput) String() string { func (*TransactionInput) ProtoMessage() {} func (x *TransactionInput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[143] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[144] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9020,7 +9100,7 @@ func (x *TransactionInput) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionInput.ProtoReflect.Descriptor instead. func (*TransactionInput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{143} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{144} } func (x *TransactionInput) GetIndex() int32 { @@ -9111,7 +9191,7 @@ type TransactionOutput struct { func (x *TransactionOutput) Reset() { *x = TransactionOutput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[144] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9123,7 +9203,7 @@ func (x *TransactionOutput) String() string { func (*TransactionOutput) ProtoMessage() {} func (x *TransactionOutput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[144] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[145] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9136,7 +9216,7 @@ func (x *TransactionOutput) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionOutput.ProtoReflect.Descriptor instead. func (*TransactionOutput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{144} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{145} } func (x *TransactionOutput) GetIndex() int32 { @@ -9216,7 +9296,7 @@ type DecodeTransactionRequest struct { func (x *DecodeTransactionRequest) Reset() { *x = DecodeTransactionRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[145] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9228,7 +9308,7 @@ func (x *DecodeTransactionRequest) String() string { func (*DecodeTransactionRequest) ProtoMessage() {} func (x *DecodeTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[145] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[146] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9241,7 +9321,7 @@ func (x *DecodeTransactionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DecodeTransactionRequest.ProtoReflect.Descriptor instead. func (*DecodeTransactionRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{145} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{146} } func (x *DecodeTransactionRequest) GetInput() string { @@ -9306,7 +9386,7 @@ type DecodeTransactionResponse struct { func (x *DecodeTransactionResponse) Reset() { *x = DecodeTransactionResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[146] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9318,7 +9398,7 @@ func (x *DecodeTransactionResponse) String() string { func (*DecodeTransactionResponse) ProtoMessage() {} func (x *DecodeTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[146] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[147] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9331,7 +9411,7 @@ func (x *DecodeTransactionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DecodeTransactionResponse.ProtoReflect.Descriptor instead. func (*DecodeTransactionResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{146} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{147} } func (x *DecodeTransactionResponse) GetForm() DecodedForm { @@ -9481,7 +9561,7 @@ type BumpFeeRequest struct { func (x *BumpFeeRequest) Reset() { *x = BumpFeeRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[147] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9493,7 +9573,7 @@ func (x *BumpFeeRequest) String() string { func (*BumpFeeRequest) ProtoMessage() {} func (x *BumpFeeRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[147] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[148] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9506,7 +9586,7 @@ func (x *BumpFeeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BumpFeeRequest.ProtoReflect.Descriptor instead. func (*BumpFeeRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{147} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{148} } func (x *BumpFeeRequest) GetWalletId() string { @@ -9547,7 +9627,7 @@ type BumpFeeResponse struct { func (x *BumpFeeResponse) Reset() { *x = BumpFeeResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[148] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9559,7 +9639,7 @@ func (x *BumpFeeResponse) String() string { func (*BumpFeeResponse) ProtoMessage() {} func (x *BumpFeeResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[148] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[149] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9572,7 +9652,7 @@ func (x *BumpFeeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BumpFeeResponse.ProtoReflect.Descriptor instead. func (*BumpFeeResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{148} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{149} } func (x *BumpFeeResponse) GetNewTxid() string { @@ -9601,7 +9681,7 @@ type PreviewBumpFeeRequest struct { func (x *PreviewBumpFeeRequest) Reset() { *x = PreviewBumpFeeRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[149] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9613,7 +9693,7 @@ func (x *PreviewBumpFeeRequest) String() string { func (*PreviewBumpFeeRequest) ProtoMessage() {} func (x *PreviewBumpFeeRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[149] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[150] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9626,7 +9706,7 @@ func (x *PreviewBumpFeeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PreviewBumpFeeRequest.ProtoReflect.Descriptor instead. func (*PreviewBumpFeeRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{149} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{150} } func (x *PreviewBumpFeeRequest) GetWalletId() string { @@ -9690,7 +9770,7 @@ type PreviewBumpFeeResponse struct { func (x *PreviewBumpFeeResponse) Reset() { *x = PreviewBumpFeeResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[150] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9702,7 +9782,7 @@ func (x *PreviewBumpFeeResponse) String() string { func (*PreviewBumpFeeResponse) ProtoMessage() {} func (x *PreviewBumpFeeResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[150] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[151] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9715,7 +9795,7 @@ func (x *PreviewBumpFeeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PreviewBumpFeeResponse.ProtoReflect.Descriptor instead. func (*PreviewBumpFeeResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{150} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{151} } func (x *PreviewBumpFeeResponse) GetInputCount() int32 { @@ -9821,7 +9901,7 @@ type CancelPlan struct { func (x *CancelPlan) Reset() { *x = CancelPlan{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[151] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9833,7 +9913,7 @@ func (x *CancelPlan) String() string { func (*CancelPlan) ProtoMessage() {} func (x *CancelPlan) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[151] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[152] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9846,7 +9926,7 @@ func (x *CancelPlan) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelPlan.ProtoReflect.Descriptor instead. func (*CancelPlan) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{151} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{152} } func (x *CancelPlan) GetRecoveredSats() int64 { @@ -9882,7 +9962,7 @@ type BumpFeeOutput struct { func (x *BumpFeeOutput) Reset() { *x = BumpFeeOutput{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[152] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9894,7 +9974,7 @@ func (x *BumpFeeOutput) String() string { func (*BumpFeeOutput) ProtoMessage() {} func (x *BumpFeeOutput) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[152] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[153] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9907,7 +9987,7 @@ func (x *BumpFeeOutput) ProtoReflect() protoreflect.Message { // Deprecated: Use BumpFeeOutput.ProtoReflect.Descriptor instead. func (*BumpFeeOutput) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{152} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{153} } func (x *BumpFeeOutput) GetVout() int32 { @@ -9974,7 +10054,7 @@ type BumpFeePlan struct { func (x *BumpFeePlan) Reset() { *x = BumpFeePlan{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[153] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9986,7 +10066,7 @@ func (x *BumpFeePlan) String() string { func (*BumpFeePlan) ProtoMessage() {} func (x *BumpFeePlan) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[153] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[154] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9999,7 +10079,7 @@ func (x *BumpFeePlan) ProtoReflect() protoreflect.Message { // Deprecated: Use BumpFeePlan.ProtoReflect.Descriptor instead. func (*BumpFeePlan) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{153} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{154} } func (x *BumpFeePlan) GetOldFeeSats() int64 { @@ -10077,7 +10157,7 @@ type CancelTransactionRequest struct { func (x *CancelTransactionRequest) Reset() { *x = CancelTransactionRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[154] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10089,7 +10169,7 @@ func (x *CancelTransactionRequest) String() string { func (*CancelTransactionRequest) ProtoMessage() {} func (x *CancelTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[154] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[155] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10102,7 +10182,7 @@ func (x *CancelTransactionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelTransactionRequest.ProtoReflect.Descriptor instead. func (*CancelTransactionRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{154} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{155} } func (x *CancelTransactionRequest) GetWalletId() string { @@ -10137,7 +10217,7 @@ type CancelTransactionResponse struct { func (x *CancelTransactionResponse) Reset() { *x = CancelTransactionResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[155] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10149,7 +10229,7 @@ func (x *CancelTransactionResponse) String() string { func (*CancelTransactionResponse) ProtoMessage() {} func (x *CancelTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[155] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[156] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10162,7 +10242,7 @@ func (x *CancelTransactionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelTransactionResponse.ProtoReflect.Descriptor instead. func (*CancelTransactionResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{155} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{156} } func (x *CancelTransactionResponse) GetReplacementTxid() string { @@ -10198,7 +10278,7 @@ type CreateCpfpRequest struct { func (x *CreateCpfpRequest) Reset() { *x = CreateCpfpRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[156] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10210,7 +10290,7 @@ func (x *CreateCpfpRequest) String() string { func (*CreateCpfpRequest) ProtoMessage() {} func (x *CreateCpfpRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[156] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[157] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10223,7 +10303,7 @@ func (x *CreateCpfpRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateCpfpRequest.ProtoReflect.Descriptor instead. func (*CreateCpfpRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{156} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{157} } func (x *CreateCpfpRequest) GetWalletId() string { @@ -10263,7 +10343,7 @@ type CreateCpfpResponse struct { func (x *CreateCpfpResponse) Reset() { *x = CreateCpfpResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[157] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10275,7 +10355,7 @@ func (x *CreateCpfpResponse) String() string { func (*CreateCpfpResponse) ProtoMessage() {} func (x *CreateCpfpResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[157] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[158] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10288,7 +10368,7 @@ func (x *CreateCpfpResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateCpfpResponse.ProtoReflect.Descriptor instead. func (*CreateCpfpResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{157} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{158} } func (x *CreateCpfpResponse) GetChildTxid() string { @@ -10309,7 +10389,7 @@ type DeriveAddressesRequest struct { func (x *DeriveAddressesRequest) Reset() { *x = DeriveAddressesRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[158] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10321,7 +10401,7 @@ func (x *DeriveAddressesRequest) String() string { func (*DeriveAddressesRequest) ProtoMessage() {} func (x *DeriveAddressesRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[158] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[159] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10334,7 +10414,7 @@ func (x *DeriveAddressesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeriveAddressesRequest.ProtoReflect.Descriptor instead. func (*DeriveAddressesRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{158} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{159} } func (x *DeriveAddressesRequest) GetWalletId() string { @@ -10367,7 +10447,7 @@ type DeriveAddressesResponse struct { func (x *DeriveAddressesResponse) Reset() { *x = DeriveAddressesResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[159] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10379,7 +10459,7 @@ func (x *DeriveAddressesResponse) String() string { func (*DeriveAddressesResponse) ProtoMessage() {} func (x *DeriveAddressesResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[159] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[160] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10392,7 +10472,7 @@ func (x *DeriveAddressesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeriveAddressesResponse.ProtoReflect.Descriptor instead. func (*DeriveAddressesResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{159} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{160} } func (x *DeriveAddressesResponse) GetAddresses() []string { @@ -10416,7 +10496,7 @@ type ListEcxBurnsRequest struct { func (x *ListEcxBurnsRequest) Reset() { *x = ListEcxBurnsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[160] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10428,7 +10508,7 @@ func (x *ListEcxBurnsRequest) String() string { func (*ListEcxBurnsRequest) ProtoMessage() {} func (x *ListEcxBurnsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[160] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[161] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10441,7 +10521,7 @@ func (x *ListEcxBurnsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEcxBurnsRequest.ProtoReflect.Descriptor instead. func (*ListEcxBurnsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{160} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{161} } func (x *ListEcxBurnsRequest) GetNetworkId() string { @@ -10479,7 +10559,7 @@ type EcxBurn struct { func (x *EcxBurn) Reset() { *x = EcxBurn{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[161] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10491,7 +10571,7 @@ func (x *EcxBurn) String() string { func (*EcxBurn) ProtoMessage() {} func (x *EcxBurn) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[161] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[162] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10504,7 +10584,7 @@ func (x *EcxBurn) ProtoReflect() protoreflect.Message { // Deprecated: Use EcxBurn.ProtoReflect.Descriptor instead. func (*EcxBurn) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{161} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{162} } func (x *EcxBurn) GetTxid() string { @@ -10556,7 +10636,7 @@ type ListEcxBurnsResponse struct { func (x *ListEcxBurnsResponse) Reset() { *x = ListEcxBurnsResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[162] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10568,7 +10648,7 @@ func (x *ListEcxBurnsResponse) String() string { func (*ListEcxBurnsResponse) ProtoMessage() {} func (x *ListEcxBurnsResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[162] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[163] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10581,7 +10661,7 @@ func (x *ListEcxBurnsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEcxBurnsResponse.ProtoReflect.Descriptor instead. func (*ListEcxBurnsResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{162} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{163} } func (x *ListEcxBurnsResponse) GetBurns() []*EcxBurn { @@ -10640,7 +10720,7 @@ type PreviewWalletFromEntropyRequest struct { func (x *PreviewWalletFromEntropyRequest) Reset() { *x = PreviewWalletFromEntropyRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[163] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10652,7 +10732,7 @@ func (x *PreviewWalletFromEntropyRequest) String() string { func (*PreviewWalletFromEntropyRequest) ProtoMessage() {} func (x *PreviewWalletFromEntropyRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[163] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[164] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10665,7 +10745,7 @@ func (x *PreviewWalletFromEntropyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PreviewWalletFromEntropyRequest.ProtoReflect.Descriptor instead. func (*PreviewWalletFromEntropyRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{163} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{164} } func (x *PreviewWalletFromEntropyRequest) GetEntropy() []byte { @@ -10721,7 +10801,7 @@ type PreviewWalletFromEntropyResponse struct { func (x *PreviewWalletFromEntropyResponse) Reset() { *x = PreviewWalletFromEntropyResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[164] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10733,7 +10813,7 @@ func (x *PreviewWalletFromEntropyResponse) String() string { func (*PreviewWalletFromEntropyResponse) ProtoMessage() {} func (x *PreviewWalletFromEntropyResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[164] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[165] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10746,7 +10826,7 @@ func (x *PreviewWalletFromEntropyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PreviewWalletFromEntropyResponse.ProtoReflect.Descriptor instead. func (*PreviewWalletFromEntropyResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{164} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{165} } func (x *PreviewWalletFromEntropyResponse) GetEntropyHex() string { @@ -10814,7 +10894,7 @@ type GetWalletSeedRequest struct { func (x *GetWalletSeedRequest) Reset() { *x = GetWalletSeedRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[165] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[166] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10826,7 +10906,7 @@ func (x *GetWalletSeedRequest) String() string { func (*GetWalletSeedRequest) ProtoMessage() {} func (x *GetWalletSeedRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[165] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[166] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10839,7 +10919,7 @@ func (x *GetWalletSeedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWalletSeedRequest.ProtoReflect.Descriptor instead. func (*GetWalletSeedRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{165} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{166} } func (x *GetWalletSeedRequest) GetWalletId() string { @@ -10860,7 +10940,7 @@ type GetWalletSeedResponse struct { func (x *GetWalletSeedResponse) Reset() { *x = GetWalletSeedResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[166] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[167] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10872,7 +10952,7 @@ func (x *GetWalletSeedResponse) String() string { func (*GetWalletSeedResponse) ProtoMessage() {} func (x *GetWalletSeedResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[166] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[167] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10885,7 +10965,7 @@ func (x *GetWalletSeedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWalletSeedResponse.ProtoReflect.Descriptor instead. func (*GetWalletSeedResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{166} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{167} } func (x *GetWalletSeedResponse) GetSeedHex() string { @@ -10910,7 +10990,7 @@ type ListCoreVariantsRequest struct { func (x *ListCoreVariantsRequest) Reset() { *x = ListCoreVariantsRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[167] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10922,7 +11002,7 @@ func (x *ListCoreVariantsRequest) String() string { func (*ListCoreVariantsRequest) ProtoMessage() {} func (x *ListCoreVariantsRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[167] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[168] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10935,7 +11015,7 @@ func (x *ListCoreVariantsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListCoreVariantsRequest.ProtoReflect.Descriptor instead. func (*ListCoreVariantsRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{167} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{168} } type CoreVariant struct { @@ -10949,7 +11029,7 @@ type CoreVariant struct { func (x *CoreVariant) Reset() { *x = CoreVariant{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[168] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10961,7 +11041,7 @@ func (x *CoreVariant) String() string { func (*CoreVariant) ProtoMessage() {} func (x *CoreVariant) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[168] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[169] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10974,7 +11054,7 @@ func (x *CoreVariant) ProtoReflect() protoreflect.Message { // Deprecated: Use CoreVariant.ProtoReflect.Descriptor instead. func (*CoreVariant) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{168} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{169} } func (x *CoreVariant) GetId() string { @@ -11008,7 +11088,7 @@ type ListCoreVariantsResponse struct { func (x *ListCoreVariantsResponse) Reset() { *x = ListCoreVariantsResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[169] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11020,7 +11100,7 @@ func (x *ListCoreVariantsResponse) String() string { func (*ListCoreVariantsResponse) ProtoMessage() {} func (x *ListCoreVariantsResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[169] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[170] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11033,7 +11113,7 @@ func (x *ListCoreVariantsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListCoreVariantsResponse.ProtoReflect.Descriptor instead. func (*ListCoreVariantsResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{169} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{170} } func (x *ListCoreVariantsResponse) GetVariants() []*CoreVariant { @@ -11058,7 +11138,7 @@ type GetCoreVariantRequest struct { func (x *GetCoreVariantRequest) Reset() { *x = GetCoreVariantRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[170] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11070,7 +11150,7 @@ func (x *GetCoreVariantRequest) String() string { func (*GetCoreVariantRequest) ProtoMessage() {} func (x *GetCoreVariantRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[170] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[171] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11083,7 +11163,7 @@ func (x *GetCoreVariantRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCoreVariantRequest.ProtoReflect.Descriptor instead. func (*GetCoreVariantRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{170} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{171} } type GetCoreVariantResponse struct { @@ -11095,7 +11175,7 @@ type GetCoreVariantResponse struct { func (x *GetCoreVariantResponse) Reset() { *x = GetCoreVariantResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[171] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11107,7 +11187,7 @@ func (x *GetCoreVariantResponse) String() string { func (*GetCoreVariantResponse) ProtoMessage() {} func (x *GetCoreVariantResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[171] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[172] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11120,7 +11200,7 @@ func (x *GetCoreVariantResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCoreVariantResponse.ProtoReflect.Descriptor instead. func (*GetCoreVariantResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{171} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{172} } func (x *GetCoreVariantResponse) GetId() string { @@ -11139,7 +11219,7 @@ type SetCoreVariantRequest struct { func (x *SetCoreVariantRequest) Reset() { *x = SetCoreVariantRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[172] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11151,7 +11231,7 @@ func (x *SetCoreVariantRequest) String() string { func (*SetCoreVariantRequest) ProtoMessage() {} func (x *SetCoreVariantRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[172] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[173] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11164,7 +11244,7 @@ func (x *SetCoreVariantRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetCoreVariantRequest.ProtoReflect.Descriptor instead. func (*SetCoreVariantRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{172} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{173} } func (x *SetCoreVariantRequest) GetId() string { @@ -11182,7 +11262,7 @@ type SetCoreVariantResponse struct { func (x *SetCoreVariantResponse) Reset() { *x = SetCoreVariantResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[173] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[174] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11194,7 +11274,7 @@ func (x *SetCoreVariantResponse) String() string { func (*SetCoreVariantResponse) ProtoMessage() {} func (x *SetCoreVariantResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[173] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[174] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11207,7 +11287,7 @@ func (x *SetCoreVariantResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetCoreVariantResponse.ProtoReflect.Descriptor instead. func (*SetCoreVariantResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{173} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{174} } type GetElectrumServerRequest struct { @@ -11218,7 +11298,7 @@ type GetElectrumServerRequest struct { func (x *GetElectrumServerRequest) Reset() { *x = GetElectrumServerRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[174] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11230,7 +11310,7 @@ func (x *GetElectrumServerRequest) String() string { func (*GetElectrumServerRequest) ProtoMessage() {} func (x *GetElectrumServerRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[174] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[175] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11243,7 +11323,7 @@ func (x *GetElectrumServerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetElectrumServerRequest.ProtoReflect.Descriptor instead. func (*GetElectrumServerRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{174} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{175} } type GetElectrumServerResponse struct { @@ -11260,7 +11340,7 @@ type GetElectrumServerResponse struct { func (x *GetElectrumServerResponse) Reset() { *x = GetElectrumServerResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[175] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11272,7 +11352,7 @@ func (x *GetElectrumServerResponse) String() string { func (*GetElectrumServerResponse) ProtoMessage() {} func (x *GetElectrumServerResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[175] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[176] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11285,7 +11365,7 @@ func (x *GetElectrumServerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetElectrumServerResponse.ProtoReflect.Descriptor instead. func (*GetElectrumServerResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{175} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{176} } func (x *GetElectrumServerResponse) GetUrl() string { @@ -11319,7 +11399,7 @@ type SetElectrumServerRequest struct { func (x *SetElectrumServerRequest) Reset() { *x = SetElectrumServerRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[176] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11331,7 +11411,7 @@ func (x *SetElectrumServerRequest) String() string { func (*SetElectrumServerRequest) ProtoMessage() {} func (x *SetElectrumServerRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[176] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[177] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11344,7 +11424,7 @@ func (x *SetElectrumServerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetElectrumServerRequest.ProtoReflect.Descriptor instead. func (*SetElectrumServerRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{176} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{177} } func (x *SetElectrumServerRequest) GetUrl() string { @@ -11366,7 +11446,7 @@ type SetElectrumServerResponse struct { func (x *SetElectrumServerResponse) Reset() { *x = SetElectrumServerResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[177] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11378,7 +11458,7 @@ func (x *SetElectrumServerResponse) String() string { func (*SetElectrumServerResponse) ProtoMessage() {} func (x *SetElectrumServerResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[177] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[178] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11391,7 +11471,7 @@ func (x *SetElectrumServerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetElectrumServerResponse.ProtoReflect.Descriptor instead. func (*SetElectrumServerResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{177} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{178} } func (x *SetElectrumServerResponse) GetUrl() string { @@ -11416,7 +11496,7 @@ type GetTorConfigRequest struct { func (x *GetTorConfigRequest) Reset() { *x = GetTorConfigRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[178] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11428,7 +11508,7 @@ func (x *GetTorConfigRequest) String() string { func (*GetTorConfigRequest) ProtoMessage() {} func (x *GetTorConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[178] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[179] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11441,7 +11521,7 @@ func (x *GetTorConfigRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTorConfigRequest.ProtoReflect.Descriptor instead. func (*GetTorConfigRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{178} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{179} } type GetTorConfigResponse struct { @@ -11458,7 +11538,7 @@ type GetTorConfigResponse struct { func (x *GetTorConfigResponse) Reset() { *x = GetTorConfigResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[179] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11470,7 +11550,7 @@ func (x *GetTorConfigResponse) String() string { func (*GetTorConfigResponse) ProtoMessage() {} func (x *GetTorConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[179] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[180] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11483,7 +11563,7 @@ func (x *GetTorConfigResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTorConfigResponse.ProtoReflect.Descriptor instead. func (*GetTorConfigResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{179} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{180} } func (x *GetTorConfigResponse) GetEnabled() bool { @@ -11519,7 +11599,7 @@ type SetTorConfigRequest struct { func (x *SetTorConfigRequest) Reset() { *x = SetTorConfigRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[180] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[181] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11531,7 +11611,7 @@ func (x *SetTorConfigRequest) String() string { func (*SetTorConfigRequest) ProtoMessage() {} func (x *SetTorConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[180] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[181] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11544,7 +11624,7 @@ func (x *SetTorConfigRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetTorConfigRequest.ProtoReflect.Descriptor instead. func (*SetTorConfigRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{180} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{181} } func (x *SetTorConfigRequest) GetEnabled() bool { @@ -11574,7 +11654,7 @@ type SetTorConfigResponse struct { func (x *SetTorConfigResponse) Reset() { *x = SetTorConfigResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[181] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11586,7 +11666,7 @@ func (x *SetTorConfigResponse) String() string { func (*SetTorConfigResponse) ProtoMessage() {} func (x *SetTorConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[181] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[182] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11599,7 +11679,7 @@ func (x *SetTorConfigResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetTorConfigResponse.ProtoReflect.Descriptor instead. func (*SetTorConfigResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{181} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{182} } func (x *SetTorConfigResponse) GetEnabled() bool { @@ -11655,7 +11735,7 @@ type WatchWalletDataResponse struct { func (x *WatchWalletDataResponse) Reset() { *x = WatchWalletDataResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[182] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11667,7 +11747,7 @@ func (x *WatchWalletDataResponse) String() string { func (*WatchWalletDataResponse) ProtoMessage() {} func (x *WatchWalletDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[182] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[183] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11680,7 +11760,7 @@ func (x *WatchWalletDataResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WatchWalletDataResponse.ProtoReflect.Descriptor instead. func (*WatchWalletDataResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{182} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{183} } // Deprecated: Marked as deprecated in walletmanager/v1/walletmanager.proto. @@ -11764,7 +11844,7 @@ type WatchBalanceRequest struct { func (x *WatchBalanceRequest) Reset() { *x = WatchBalanceRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[183] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11776,7 +11856,7 @@ func (x *WatchBalanceRequest) String() string { func (*WatchBalanceRequest) ProtoMessage() {} func (x *WatchBalanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[183] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[184] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11789,7 +11869,7 @@ func (x *WatchBalanceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WatchBalanceRequest.ProtoReflect.Descriptor instead. func (*WatchBalanceRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{183} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{184} } func (x *WatchBalanceRequest) GetWalletId() string { @@ -11817,7 +11897,7 @@ type WatchBalanceResponse struct { func (x *WatchBalanceResponse) Reset() { *x = WatchBalanceResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[184] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11829,7 +11909,7 @@ func (x *WatchBalanceResponse) String() string { func (*WatchBalanceResponse) ProtoMessage() {} func (x *WatchBalanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[184] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[185] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11842,7 +11922,7 @@ func (x *WatchBalanceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WatchBalanceResponse.ProtoReflect.Descriptor instead. func (*WatchBalanceResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{184} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{185} } func (x *WatchBalanceResponse) GetWalletId() string { @@ -11898,7 +11978,7 @@ type CreateDepositRequest struct { func (x *CreateDepositRequest) Reset() { *x = CreateDepositRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[185] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11910,7 +11990,7 @@ func (x *CreateDepositRequest) String() string { func (*CreateDepositRequest) ProtoMessage() {} func (x *CreateDepositRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[185] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[186] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11923,7 +12003,7 @@ func (x *CreateDepositRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDepositRequest.ProtoReflect.Descriptor instead. func (*CreateDepositRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{185} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{186} } func (x *CreateDepositRequest) GetSlot() int32 { @@ -11970,7 +12050,7 @@ type CreateDepositResponse struct { func (x *CreateDepositResponse) Reset() { *x = CreateDepositResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[186] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11982,7 +12062,7 @@ func (x *CreateDepositResponse) String() string { func (*CreateDepositResponse) ProtoMessage() {} func (x *CreateDepositResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[186] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[187] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11995,7 +12075,7 @@ func (x *CreateDepositResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDepositResponse.ProtoReflect.Descriptor instead. func (*CreateDepositResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{186} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{187} } func (x *CreateDepositResponse) GetTxid() string { @@ -12015,7 +12095,7 @@ type GetAddressDerivationPathRequest struct { func (x *GetAddressDerivationPathRequest) Reset() { *x = GetAddressDerivationPathRequest{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[187] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12027,7 +12107,7 @@ func (x *GetAddressDerivationPathRequest) String() string { func (*GetAddressDerivationPathRequest) ProtoMessage() {} func (x *GetAddressDerivationPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[187] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[188] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12040,7 +12120,7 @@ func (x *GetAddressDerivationPathRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAddressDerivationPathRequest.ProtoReflect.Descriptor instead. func (*GetAddressDerivationPathRequest) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{187} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{188} } func (x *GetAddressDerivationPathRequest) GetWalletId() string { @@ -12067,7 +12147,7 @@ type GetAddressDerivationPathResponse struct { func (x *GetAddressDerivationPathResponse) Reset() { *x = GetAddressDerivationPathResponse{} - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[188] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12079,7 +12159,7 @@ func (x *GetAddressDerivationPathResponse) String() string { func (*GetAddressDerivationPathResponse) ProtoMessage() {} func (x *GetAddressDerivationPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[188] + mi := &file_walletmanager_v1_walletmanager_proto_msgTypes[189] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12092,7 +12172,7 @@ func (x *GetAddressDerivationPathResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAddressDerivationPathResponse.ProtoReflect.Descriptor instead. func (*GetAddressDerivationPathResponse) Descriptor() ([]byte, []int) { - return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{188} + return file_walletmanager_v1_walletmanager_proto_rawDescGZIP(), []int{189} } func (x *GetAddressDerivationPathResponse) GetDerivationPath() string { @@ -12442,7 +12522,7 @@ const file_walletmanager_v1_walletmanager_proto_rawDesc = "" + "\fsend.outputs\x12,the request must include at least one output\x1aUsize(this.destinations) > 0 || this.op_return_hex != '' || size(this.raw_outputs) > 0\x1a\x7f\n" + "\tsend.fees\x122the request cannot set both fee rate and fixed fee\x1a>this.fee_rate_sat_per_vbyte <= 0.0 || this.fixed_fee_sats <= 0J\x04\b\b\x10\t\"-\n" + "\x17SendTransactionResponse\x12\x12\n" + - "\x04txid\x18\x01 \x01(\tR\x04txid\"\xf0\x04\n" + + "\x04txid\x18\x01 \x01(\tR\x04txid\"\xa2\x06\n" + "\x12PreviewSendRequest\x12\x1b\n" + "\twallet_id\x18\x01 \x01(\tR\bwalletId\x12Z\n" + "\fdestinations\x18\x02 \x03(\v26.walletmanager.v1.PreviewSendRequest.DestinationsEntryR\fdestinations\x122\n" + @@ -12455,17 +12535,25 @@ const file_walletmanager_v1_walletmanager_proto_rawDesc = "" + "\n" + "coin_order\x18\t \x01(\x0e2\x1b.walletmanager.v1.CoinOrderR\tcoinOrder\x129\n" + "\x19subtract_fee_from_address\x18\n" + - " \x01(\tR\x16subtractFeeFromAddress\x1a?\n" + + " \x01(\tR\x16subtractFeeFromAddress\x12$\n" + + "\x0efixed_fee_sats\x18\v \x01(\x03R\ffixedFeeSats\x1a?\n" + "\x11DestinationsEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\xb8\x02\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01:\x89\x01\xbaH\x85\x01\x1a\x82\x01\n" + + "\fpreview.fees\x122the request cannot set both fee rate and fixed fee\x1a>this.fee_rate_sat_per_vbyte <= 0.0 || this.fixed_fee_sats <= 0\"\xf7\x02\n" + "\x13PreviewSendResponse\x12\x19\n" + "\bfee_sats\x18\x01 \x01(\x03R\afeeSats\x12!\n" + "\fvsize_vbytes\x18\x02 \x01(\x03R\vvsizeVbytes\x127\n" + "\x06inputs\x18\x03 \x03(\v2\x1f.walletmanager.v1.UnspentOutputR\x06inputs\x122\n" + "\x15notification_fee_sats\x18\x04 \x01(\x03R\x13notificationFeeSats\x12N\n" + "\x12notification_input\x18\x05 \x01(\v2\x1f.walletmanager.v1.UnspentOutputR\x11notificationInput\x12&\n" + - "\x0ffee_is_estimate\x18\x06 \x01(\bR\rfeeIsEstimate\"W\n" + + "\x0ffee_is_estimate\x18\x06 \x01(\bR\rfeeIsEstimate\x12=\n" + + "\aoutputs\x18\a \x03(\v2#.walletmanager.v1.PreviewSendOutputR\aoutputs\"k\n" + + "\x11PreviewSendOutput\x12\x18\n" + + "\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1f\n" + + "\vamount_sats\x18\x02 \x01(\x03R\n" + + "amountSats\x12\x1b\n" + + "\tis_change\x18\x03 \x01(\bR\bisChange\"W\n" + "\x15SetFrozenCoinsRequest\x12>\n" + "\toutpoints\x18\x01 \x03(\v2 .walletmanager.v1.FrozenOutpointR\toutpoints\"V\n" + "\x14SetDraftCoinsRequest\x12>\n" + @@ -13167,7 +13255,7 @@ func file_walletmanager_v1_walletmanager_proto_rawDescGZIP() []byte { } var file_walletmanager_v1_walletmanager_proto_enumTypes = make([]protoimpl.EnumInfo, 8) -var file_walletmanager_v1_walletmanager_proto_msgTypes = make([]protoimpl.MessageInfo, 192) +var file_walletmanager_v1_walletmanager_proto_msgTypes = make([]protoimpl.MessageInfo, 193) var file_walletmanager_v1_walletmanager_proto_goTypes = []any{ (WalletState)(0), // 0: walletmanager.v1.WalletState (NodeMode)(0), // 1: walletmanager.v1.NodeMode @@ -13259,119 +13347,120 @@ var file_walletmanager_v1_walletmanager_proto_goTypes = []any{ (*SendTransactionResponse)(nil), // 87: walletmanager.v1.SendTransactionResponse (*PreviewSendRequest)(nil), // 88: walletmanager.v1.PreviewSendRequest (*PreviewSendResponse)(nil), // 89: walletmanager.v1.PreviewSendResponse - (*SetFrozenCoinsRequest)(nil), // 90: walletmanager.v1.SetFrozenCoinsRequest - (*SetDraftCoinsRequest)(nil), // 91: walletmanager.v1.SetDraftCoinsRequest - (*FrozenOutpoint)(nil), // 92: walletmanager.v1.FrozenOutpoint - (*RawOutput)(nil), // 93: walletmanager.v1.RawOutput - (*ExternalInput)(nil), // 94: walletmanager.v1.ExternalInput - (*CreatePsbtRequest)(nil), // 95: walletmanager.v1.CreatePsbtRequest - (*CreatePsbtResponse)(nil), // 96: walletmanager.v1.CreatePsbtResponse - (*SignPsbtRequest)(nil), // 97: walletmanager.v1.SignPsbtRequest - (*SignPsbtResponse)(nil), // 98: walletmanager.v1.SignPsbtResponse - (*SignPsbtWithCosignerRequest)(nil), // 99: walletmanager.v1.SignPsbtWithCosignerRequest - (*SignPsbtWithCosignerResponse)(nil), // 100: walletmanager.v1.SignPsbtWithCosignerResponse - (*CombinePsbtRequest)(nil), // 101: walletmanager.v1.CombinePsbtRequest - (*CombinePsbtResponse)(nil), // 102: walletmanager.v1.CombinePsbtResponse - (*FinalizePsbtRequest)(nil), // 103: walletmanager.v1.FinalizePsbtRequest - (*FinalizePsbtResponse)(nil), // 104: walletmanager.v1.FinalizePsbtResponse - (*MultisigPsbtStatusRequest)(nil), // 105: walletmanager.v1.MultisigPsbtStatusRequest - (*MultisigPsbtStatusResponse)(nil), // 106: walletmanager.v1.MultisigPsbtStatusResponse - (*BroadcastTransactionRequest)(nil), // 107: walletmanager.v1.BroadcastTransactionRequest - (*BroadcastTransactionResponse)(nil), // 108: walletmanager.v1.BroadcastTransactionResponse - (*GetAddressUnspentRequest)(nil), // 109: walletmanager.v1.GetAddressUnspentRequest - (*AddressUnspentOutput)(nil), // 110: walletmanager.v1.AddressUnspentOutput - (*GetAddressUnspentResponse)(nil), // 111: walletmanager.v1.GetAddressUnspentResponse - (*GetAddressSpendsRequest)(nil), // 112: walletmanager.v1.GetAddressSpendsRequest - (*GetAddressSpendsResponse)(nil), // 113: walletmanager.v1.GetAddressSpendsResponse - (*BroadcastElectrumTransactionRequest)(nil), // 114: walletmanager.v1.BroadcastElectrumTransactionRequest - (*BroadcastElectrumTransactionResponse)(nil), // 115: walletmanager.v1.BroadcastElectrumTransactionResponse - (*HardwareDevice)(nil), // 116: walletmanager.v1.HardwareDevice - (*HardwareDeviceSelector)(nil), // 117: walletmanager.v1.HardwareDeviceSelector - (*EnumerateHardwareDevicesRequest)(nil), // 118: walletmanager.v1.EnumerateHardwareDevicesRequest - (*EnumerateHardwareDevicesResponse)(nil), // 119: walletmanager.v1.EnumerateHardwareDevicesResponse - (*GetHardwareXpubRequest)(nil), // 120: walletmanager.v1.GetHardwareXpubRequest - (*GetHardwareXpubResponse)(nil), // 121: walletmanager.v1.GetHardwareXpubResponse - (*SignPsbtWithDeviceRequest)(nil), // 122: walletmanager.v1.SignPsbtWithDeviceRequest - (*SignPsbtWithDeviceResponse)(nil), // 123: walletmanager.v1.SignPsbtWithDeviceResponse - (*PromptDevicePinRequest)(nil), // 124: walletmanager.v1.PromptDevicePinRequest - (*PromptDevicePinResponse)(nil), // 125: walletmanager.v1.PromptDevicePinResponse - (*SendDevicePinRequest)(nil), // 126: walletmanager.v1.SendDevicePinRequest - (*SendDevicePinResponse)(nil), // 127: walletmanager.v1.SendDevicePinResponse - (*CloseDeviceRequest)(nil), // 128: walletmanager.v1.CloseDeviceRequest - (*CloseDeviceResponse)(nil), // 129: walletmanager.v1.CloseDeviceResponse - (*DeriveKeystoreRequest)(nil), // 130: walletmanager.v1.DeriveKeystoreRequest - (*DeriveKeystoreResponse)(nil), // 131: walletmanager.v1.DeriveKeystoreResponse - (*ExploreSeedRequest)(nil), // 132: walletmanager.v1.ExploreSeedRequest - (*ExploredKey)(nil), // 133: walletmanager.v1.ExploredKey - (*ExploreSeedResponse)(nil), // 134: walletmanager.v1.ExploreSeedResponse - (*GenerateMnemonicRequest)(nil), // 135: walletmanager.v1.GenerateMnemonicRequest - (*GenerateMnemonicResponse)(nil), // 136: walletmanager.v1.GenerateMnemonicResponse - (*ValidateMnemonicRequest)(nil), // 137: walletmanager.v1.ValidateMnemonicRequest - (*ValidateMnemonicResponse)(nil), // 138: walletmanager.v1.ValidateMnemonicResponse - (*ListTransactionsRequest)(nil), // 139: walletmanager.v1.ListTransactionsRequest - (*TransactionEntry)(nil), // 140: walletmanager.v1.TransactionEntry - (*BmmBid)(nil), // 141: walletmanager.v1.BmmBid - (*ListTransactionsResponse)(nil), // 142: walletmanager.v1.ListTransactionsResponse - (*ListUnspentRequest)(nil), // 143: walletmanager.v1.ListUnspentRequest - (*UnspentOutput)(nil), // 144: walletmanager.v1.UnspentOutput - (*ListUnspentResponse)(nil), // 145: walletmanager.v1.ListUnspentResponse - (*ListReceiveAddressesRequest)(nil), // 146: walletmanager.v1.ListReceiveAddressesRequest - (*ReceiveAddress)(nil), // 147: walletmanager.v1.ReceiveAddress - (*ListReceiveAddressesResponse)(nil), // 148: walletmanager.v1.ListReceiveAddressesResponse - (*GetTransactionDetailsRequest)(nil), // 149: walletmanager.v1.GetTransactionDetailsRequest - (*GetTransactionDetailsResponse)(nil), // 150: walletmanager.v1.GetTransactionDetailsResponse - (*TransactionInput)(nil), // 151: walletmanager.v1.TransactionInput - (*TransactionOutput)(nil), // 152: walletmanager.v1.TransactionOutput - (*DecodeTransactionRequest)(nil), // 153: walletmanager.v1.DecodeTransactionRequest - (*DecodeTransactionResponse)(nil), // 154: walletmanager.v1.DecodeTransactionResponse - (*BumpFeeRequest)(nil), // 155: walletmanager.v1.BumpFeeRequest - (*BumpFeeResponse)(nil), // 156: walletmanager.v1.BumpFeeResponse - (*PreviewBumpFeeRequest)(nil), // 157: walletmanager.v1.PreviewBumpFeeRequest - (*PreviewBumpFeeResponse)(nil), // 158: walletmanager.v1.PreviewBumpFeeResponse - (*CancelPlan)(nil), // 159: walletmanager.v1.CancelPlan - (*BumpFeeOutput)(nil), // 160: walletmanager.v1.BumpFeeOutput - (*BumpFeePlan)(nil), // 161: walletmanager.v1.BumpFeePlan - (*CancelTransactionRequest)(nil), // 162: walletmanager.v1.CancelTransactionRequest - (*CancelTransactionResponse)(nil), // 163: walletmanager.v1.CancelTransactionResponse - (*CreateCpfpRequest)(nil), // 164: walletmanager.v1.CreateCpfpRequest - (*CreateCpfpResponse)(nil), // 165: walletmanager.v1.CreateCpfpResponse - (*DeriveAddressesRequest)(nil), // 166: walletmanager.v1.DeriveAddressesRequest - (*DeriveAddressesResponse)(nil), // 167: walletmanager.v1.DeriveAddressesResponse - (*ListEcxBurnsRequest)(nil), // 168: walletmanager.v1.ListEcxBurnsRequest - (*EcxBurn)(nil), // 169: walletmanager.v1.EcxBurn - (*ListEcxBurnsResponse)(nil), // 170: walletmanager.v1.ListEcxBurnsResponse - (*PreviewWalletFromEntropyRequest)(nil), // 171: walletmanager.v1.PreviewWalletFromEntropyRequest - (*PreviewWalletFromEntropyResponse)(nil), // 172: walletmanager.v1.PreviewWalletFromEntropyResponse - (*GetWalletSeedRequest)(nil), // 173: walletmanager.v1.GetWalletSeedRequest - (*GetWalletSeedResponse)(nil), // 174: walletmanager.v1.GetWalletSeedResponse - (*ListCoreVariantsRequest)(nil), // 175: walletmanager.v1.ListCoreVariantsRequest - (*CoreVariant)(nil), // 176: walletmanager.v1.CoreVariant - (*ListCoreVariantsResponse)(nil), // 177: walletmanager.v1.ListCoreVariantsResponse - (*GetCoreVariantRequest)(nil), // 178: walletmanager.v1.GetCoreVariantRequest - (*GetCoreVariantResponse)(nil), // 179: walletmanager.v1.GetCoreVariantResponse - (*SetCoreVariantRequest)(nil), // 180: walletmanager.v1.SetCoreVariantRequest - (*SetCoreVariantResponse)(nil), // 181: walletmanager.v1.SetCoreVariantResponse - (*GetElectrumServerRequest)(nil), // 182: walletmanager.v1.GetElectrumServerRequest - (*GetElectrumServerResponse)(nil), // 183: walletmanager.v1.GetElectrumServerResponse - (*SetElectrumServerRequest)(nil), // 184: walletmanager.v1.SetElectrumServerRequest - (*SetElectrumServerResponse)(nil), // 185: walletmanager.v1.SetElectrumServerResponse - (*GetTorConfigRequest)(nil), // 186: walletmanager.v1.GetTorConfigRequest - (*GetTorConfigResponse)(nil), // 187: walletmanager.v1.GetTorConfigResponse - (*SetTorConfigRequest)(nil), // 188: walletmanager.v1.SetTorConfigRequest - (*SetTorConfigResponse)(nil), // 189: walletmanager.v1.SetTorConfigResponse - (*WatchWalletDataResponse)(nil), // 190: walletmanager.v1.WatchWalletDataResponse - (*WatchBalanceRequest)(nil), // 191: walletmanager.v1.WatchBalanceRequest - (*WatchBalanceResponse)(nil), // 192: walletmanager.v1.WatchBalanceResponse - (*CreateDepositRequest)(nil), // 193: walletmanager.v1.CreateDepositRequest - (*CreateDepositResponse)(nil), // 194: walletmanager.v1.CreateDepositResponse - (*GetAddressDerivationPathRequest)(nil), // 195: walletmanager.v1.GetAddressDerivationPathRequest - (*GetAddressDerivationPathResponse)(nil), // 196: walletmanager.v1.GetAddressDerivationPathResponse - nil, // 197: walletmanager.v1.SendTransactionRequest.DestinationsEntry - nil, // 198: walletmanager.v1.PreviewSendRequest.DestinationsEntry - nil, // 199: walletmanager.v1.CreatePsbtRequest.DestinationsEntry - (v1.BinaryType)(0), // 200: orchestrator.v1.BinaryType - (*timestamppb.Timestamp)(nil), // 201: google.protobuf.Timestamp - (*emptypb.Empty)(nil), // 202: google.protobuf.Empty + (*PreviewSendOutput)(nil), // 90: walletmanager.v1.PreviewSendOutput + (*SetFrozenCoinsRequest)(nil), // 91: walletmanager.v1.SetFrozenCoinsRequest + (*SetDraftCoinsRequest)(nil), // 92: walletmanager.v1.SetDraftCoinsRequest + (*FrozenOutpoint)(nil), // 93: walletmanager.v1.FrozenOutpoint + (*RawOutput)(nil), // 94: walletmanager.v1.RawOutput + (*ExternalInput)(nil), // 95: walletmanager.v1.ExternalInput + (*CreatePsbtRequest)(nil), // 96: walletmanager.v1.CreatePsbtRequest + (*CreatePsbtResponse)(nil), // 97: walletmanager.v1.CreatePsbtResponse + (*SignPsbtRequest)(nil), // 98: walletmanager.v1.SignPsbtRequest + (*SignPsbtResponse)(nil), // 99: walletmanager.v1.SignPsbtResponse + (*SignPsbtWithCosignerRequest)(nil), // 100: walletmanager.v1.SignPsbtWithCosignerRequest + (*SignPsbtWithCosignerResponse)(nil), // 101: walletmanager.v1.SignPsbtWithCosignerResponse + (*CombinePsbtRequest)(nil), // 102: walletmanager.v1.CombinePsbtRequest + (*CombinePsbtResponse)(nil), // 103: walletmanager.v1.CombinePsbtResponse + (*FinalizePsbtRequest)(nil), // 104: walletmanager.v1.FinalizePsbtRequest + (*FinalizePsbtResponse)(nil), // 105: walletmanager.v1.FinalizePsbtResponse + (*MultisigPsbtStatusRequest)(nil), // 106: walletmanager.v1.MultisigPsbtStatusRequest + (*MultisigPsbtStatusResponse)(nil), // 107: walletmanager.v1.MultisigPsbtStatusResponse + (*BroadcastTransactionRequest)(nil), // 108: walletmanager.v1.BroadcastTransactionRequest + (*BroadcastTransactionResponse)(nil), // 109: walletmanager.v1.BroadcastTransactionResponse + (*GetAddressUnspentRequest)(nil), // 110: walletmanager.v1.GetAddressUnspentRequest + (*AddressUnspentOutput)(nil), // 111: walletmanager.v1.AddressUnspentOutput + (*GetAddressUnspentResponse)(nil), // 112: walletmanager.v1.GetAddressUnspentResponse + (*GetAddressSpendsRequest)(nil), // 113: walletmanager.v1.GetAddressSpendsRequest + (*GetAddressSpendsResponse)(nil), // 114: walletmanager.v1.GetAddressSpendsResponse + (*BroadcastElectrumTransactionRequest)(nil), // 115: walletmanager.v1.BroadcastElectrumTransactionRequest + (*BroadcastElectrumTransactionResponse)(nil), // 116: walletmanager.v1.BroadcastElectrumTransactionResponse + (*HardwareDevice)(nil), // 117: walletmanager.v1.HardwareDevice + (*HardwareDeviceSelector)(nil), // 118: walletmanager.v1.HardwareDeviceSelector + (*EnumerateHardwareDevicesRequest)(nil), // 119: walletmanager.v1.EnumerateHardwareDevicesRequest + (*EnumerateHardwareDevicesResponse)(nil), // 120: walletmanager.v1.EnumerateHardwareDevicesResponse + (*GetHardwareXpubRequest)(nil), // 121: walletmanager.v1.GetHardwareXpubRequest + (*GetHardwareXpubResponse)(nil), // 122: walletmanager.v1.GetHardwareXpubResponse + (*SignPsbtWithDeviceRequest)(nil), // 123: walletmanager.v1.SignPsbtWithDeviceRequest + (*SignPsbtWithDeviceResponse)(nil), // 124: walletmanager.v1.SignPsbtWithDeviceResponse + (*PromptDevicePinRequest)(nil), // 125: walletmanager.v1.PromptDevicePinRequest + (*PromptDevicePinResponse)(nil), // 126: walletmanager.v1.PromptDevicePinResponse + (*SendDevicePinRequest)(nil), // 127: walletmanager.v1.SendDevicePinRequest + (*SendDevicePinResponse)(nil), // 128: walletmanager.v1.SendDevicePinResponse + (*CloseDeviceRequest)(nil), // 129: walletmanager.v1.CloseDeviceRequest + (*CloseDeviceResponse)(nil), // 130: walletmanager.v1.CloseDeviceResponse + (*DeriveKeystoreRequest)(nil), // 131: walletmanager.v1.DeriveKeystoreRequest + (*DeriveKeystoreResponse)(nil), // 132: walletmanager.v1.DeriveKeystoreResponse + (*ExploreSeedRequest)(nil), // 133: walletmanager.v1.ExploreSeedRequest + (*ExploredKey)(nil), // 134: walletmanager.v1.ExploredKey + (*ExploreSeedResponse)(nil), // 135: walletmanager.v1.ExploreSeedResponse + (*GenerateMnemonicRequest)(nil), // 136: walletmanager.v1.GenerateMnemonicRequest + (*GenerateMnemonicResponse)(nil), // 137: walletmanager.v1.GenerateMnemonicResponse + (*ValidateMnemonicRequest)(nil), // 138: walletmanager.v1.ValidateMnemonicRequest + (*ValidateMnemonicResponse)(nil), // 139: walletmanager.v1.ValidateMnemonicResponse + (*ListTransactionsRequest)(nil), // 140: walletmanager.v1.ListTransactionsRequest + (*TransactionEntry)(nil), // 141: walletmanager.v1.TransactionEntry + (*BmmBid)(nil), // 142: walletmanager.v1.BmmBid + (*ListTransactionsResponse)(nil), // 143: walletmanager.v1.ListTransactionsResponse + (*ListUnspentRequest)(nil), // 144: walletmanager.v1.ListUnspentRequest + (*UnspentOutput)(nil), // 145: walletmanager.v1.UnspentOutput + (*ListUnspentResponse)(nil), // 146: walletmanager.v1.ListUnspentResponse + (*ListReceiveAddressesRequest)(nil), // 147: walletmanager.v1.ListReceiveAddressesRequest + (*ReceiveAddress)(nil), // 148: walletmanager.v1.ReceiveAddress + (*ListReceiveAddressesResponse)(nil), // 149: walletmanager.v1.ListReceiveAddressesResponse + (*GetTransactionDetailsRequest)(nil), // 150: walletmanager.v1.GetTransactionDetailsRequest + (*GetTransactionDetailsResponse)(nil), // 151: walletmanager.v1.GetTransactionDetailsResponse + (*TransactionInput)(nil), // 152: walletmanager.v1.TransactionInput + (*TransactionOutput)(nil), // 153: walletmanager.v1.TransactionOutput + (*DecodeTransactionRequest)(nil), // 154: walletmanager.v1.DecodeTransactionRequest + (*DecodeTransactionResponse)(nil), // 155: walletmanager.v1.DecodeTransactionResponse + (*BumpFeeRequest)(nil), // 156: walletmanager.v1.BumpFeeRequest + (*BumpFeeResponse)(nil), // 157: walletmanager.v1.BumpFeeResponse + (*PreviewBumpFeeRequest)(nil), // 158: walletmanager.v1.PreviewBumpFeeRequest + (*PreviewBumpFeeResponse)(nil), // 159: walletmanager.v1.PreviewBumpFeeResponse + (*CancelPlan)(nil), // 160: walletmanager.v1.CancelPlan + (*BumpFeeOutput)(nil), // 161: walletmanager.v1.BumpFeeOutput + (*BumpFeePlan)(nil), // 162: walletmanager.v1.BumpFeePlan + (*CancelTransactionRequest)(nil), // 163: walletmanager.v1.CancelTransactionRequest + (*CancelTransactionResponse)(nil), // 164: walletmanager.v1.CancelTransactionResponse + (*CreateCpfpRequest)(nil), // 165: walletmanager.v1.CreateCpfpRequest + (*CreateCpfpResponse)(nil), // 166: walletmanager.v1.CreateCpfpResponse + (*DeriveAddressesRequest)(nil), // 167: walletmanager.v1.DeriveAddressesRequest + (*DeriveAddressesResponse)(nil), // 168: walletmanager.v1.DeriveAddressesResponse + (*ListEcxBurnsRequest)(nil), // 169: walletmanager.v1.ListEcxBurnsRequest + (*EcxBurn)(nil), // 170: walletmanager.v1.EcxBurn + (*ListEcxBurnsResponse)(nil), // 171: walletmanager.v1.ListEcxBurnsResponse + (*PreviewWalletFromEntropyRequest)(nil), // 172: walletmanager.v1.PreviewWalletFromEntropyRequest + (*PreviewWalletFromEntropyResponse)(nil), // 173: walletmanager.v1.PreviewWalletFromEntropyResponse + (*GetWalletSeedRequest)(nil), // 174: walletmanager.v1.GetWalletSeedRequest + (*GetWalletSeedResponse)(nil), // 175: walletmanager.v1.GetWalletSeedResponse + (*ListCoreVariantsRequest)(nil), // 176: walletmanager.v1.ListCoreVariantsRequest + (*CoreVariant)(nil), // 177: walletmanager.v1.CoreVariant + (*ListCoreVariantsResponse)(nil), // 178: walletmanager.v1.ListCoreVariantsResponse + (*GetCoreVariantRequest)(nil), // 179: walletmanager.v1.GetCoreVariantRequest + (*GetCoreVariantResponse)(nil), // 180: walletmanager.v1.GetCoreVariantResponse + (*SetCoreVariantRequest)(nil), // 181: walletmanager.v1.SetCoreVariantRequest + (*SetCoreVariantResponse)(nil), // 182: walletmanager.v1.SetCoreVariantResponse + (*GetElectrumServerRequest)(nil), // 183: walletmanager.v1.GetElectrumServerRequest + (*GetElectrumServerResponse)(nil), // 184: walletmanager.v1.GetElectrumServerResponse + (*SetElectrumServerRequest)(nil), // 185: walletmanager.v1.SetElectrumServerRequest + (*SetElectrumServerResponse)(nil), // 186: walletmanager.v1.SetElectrumServerResponse + (*GetTorConfigRequest)(nil), // 187: walletmanager.v1.GetTorConfigRequest + (*GetTorConfigResponse)(nil), // 188: walletmanager.v1.GetTorConfigResponse + (*SetTorConfigRequest)(nil), // 189: walletmanager.v1.SetTorConfigRequest + (*SetTorConfigResponse)(nil), // 190: walletmanager.v1.SetTorConfigResponse + (*WatchWalletDataResponse)(nil), // 191: walletmanager.v1.WatchWalletDataResponse + (*WatchBalanceRequest)(nil), // 192: walletmanager.v1.WatchBalanceRequest + (*WatchBalanceResponse)(nil), // 193: walletmanager.v1.WatchBalanceResponse + (*CreateDepositRequest)(nil), // 194: walletmanager.v1.CreateDepositRequest + (*CreateDepositResponse)(nil), // 195: walletmanager.v1.CreateDepositResponse + (*GetAddressDerivationPathRequest)(nil), // 196: walletmanager.v1.GetAddressDerivationPathRequest + (*GetAddressDerivationPathResponse)(nil), // 197: walletmanager.v1.GetAddressDerivationPathResponse + nil, // 198: walletmanager.v1.SendTransactionRequest.DestinationsEntry + nil, // 199: walletmanager.v1.PreviewSendRequest.DestinationsEntry + nil, // 200: walletmanager.v1.CreatePsbtRequest.DestinationsEntry + (v1.BinaryType)(0), // 201: orchestrator.v1.BinaryType + (*timestamppb.Timestamp)(nil), // 202: google.protobuf.Timestamp + (*emptypb.Empty)(nil), // 203: google.protobuf.Empty } var file_walletmanager_v1_walletmanager_proto_depIdxs = []int32{ 0, // 0: walletmanager.v1.GetWalletStatusResponse.state:type_name -> walletmanager.v1.WalletState @@ -13384,9 +13473,9 @@ var file_walletmanager_v1_walletmanager_proto_depIdxs = []int32{ 5, // 7: walletmanager.v1.WalletMetadata.receive_address_types:type_name -> walletmanager.v1.AddressType 33, // 8: walletmanager.v1.MultisigInfo.cosigners:type_name -> walletmanager.v1.MultisigCosignerInfo 31, // 9: walletmanager.v1.ListWalletsResponse.wallets:type_name -> walletmanager.v1.WalletMetadata - 200, // 10: walletmanager.v1.BalanceSnapshot.binary:type_name -> orchestrator.v1.BinaryType - 201, // 11: walletmanager.v1.BalanceSnapshot.updated_at:type_name -> google.protobuf.Timestamp - 201, // 12: walletmanager.v1.WalletBackup.created_at:type_name -> google.protobuf.Timestamp + 201, // 10: walletmanager.v1.BalanceSnapshot.binary:type_name -> orchestrator.v1.BinaryType + 202, // 11: walletmanager.v1.BalanceSnapshot.updated_at:type_name -> google.protobuf.Timestamp + 202, // 12: walletmanager.v1.WalletBackup.created_at:type_name -> google.protobuf.Timestamp 46, // 13: walletmanager.v1.WalletBackup.wallets:type_name -> walletmanager.v1.BackupWalletSummary 45, // 14: walletmanager.v1.WalletBackup.latest_known_balance:type_name -> walletmanager.v1.BalanceSnapshot 47, // 15: walletmanager.v1.ListWalletBackupsResponse.backups:type_name -> walletmanager.v1.WalletBackup @@ -13399,223 +13488,224 @@ var file_walletmanager_v1_walletmanager_proto_depIdxs = []int32{ 71, // 22: walletmanager.v1.ListDerivationPathsResponse.options:type_name -> walletmanager.v1.DerivationPathOption 65, // 23: walletmanager.v1.ValidateDescriptorResponse.keys:type_name -> walletmanager.v1.ParsedCosigner 5, // 24: walletmanager.v1.GetNewAddressRequest.address_type:type_name -> walletmanager.v1.AddressType - 197, // 25: walletmanager.v1.SendTransactionRequest.destinations:type_name -> walletmanager.v1.SendTransactionRequest.DestinationsEntry - 144, // 26: walletmanager.v1.SendTransactionRequest.required_inputs:type_name -> walletmanager.v1.UnspentOutput - 144, // 27: walletmanager.v1.SendTransactionRequest.notification_input:type_name -> walletmanager.v1.UnspentOutput - 93, // 28: walletmanager.v1.SendTransactionRequest.raw_outputs:type_name -> walletmanager.v1.RawOutput - 94, // 29: walletmanager.v1.SendTransactionRequest.external_inputs:type_name -> walletmanager.v1.ExternalInput - 198, // 30: walletmanager.v1.PreviewSendRequest.destinations:type_name -> walletmanager.v1.PreviewSendRequest.DestinationsEntry - 144, // 31: walletmanager.v1.PreviewSendRequest.required_inputs:type_name -> walletmanager.v1.UnspentOutput + 198, // 25: walletmanager.v1.SendTransactionRequest.destinations:type_name -> walletmanager.v1.SendTransactionRequest.DestinationsEntry + 145, // 26: walletmanager.v1.SendTransactionRequest.required_inputs:type_name -> walletmanager.v1.UnspentOutput + 145, // 27: walletmanager.v1.SendTransactionRequest.notification_input:type_name -> walletmanager.v1.UnspentOutput + 94, // 28: walletmanager.v1.SendTransactionRequest.raw_outputs:type_name -> walletmanager.v1.RawOutput + 95, // 29: walletmanager.v1.SendTransactionRequest.external_inputs:type_name -> walletmanager.v1.ExternalInput + 199, // 30: walletmanager.v1.PreviewSendRequest.destinations:type_name -> walletmanager.v1.PreviewSendRequest.DestinationsEntry + 145, // 31: walletmanager.v1.PreviewSendRequest.required_inputs:type_name -> walletmanager.v1.UnspentOutput 2, // 32: walletmanager.v1.PreviewSendRequest.coin_order:type_name -> walletmanager.v1.CoinOrder - 144, // 33: walletmanager.v1.PreviewSendResponse.inputs:type_name -> walletmanager.v1.UnspentOutput - 144, // 34: walletmanager.v1.PreviewSendResponse.notification_input:type_name -> walletmanager.v1.UnspentOutput - 92, // 35: walletmanager.v1.SetFrozenCoinsRequest.outpoints:type_name -> walletmanager.v1.FrozenOutpoint - 92, // 36: walletmanager.v1.SetDraftCoinsRequest.outpoints:type_name -> walletmanager.v1.FrozenOutpoint - 199, // 37: walletmanager.v1.CreatePsbtRequest.destinations:type_name -> walletmanager.v1.CreatePsbtRequest.DestinationsEntry - 144, // 38: walletmanager.v1.CreatePsbtRequest.required_inputs:type_name -> walletmanager.v1.UnspentOutput - 93, // 39: walletmanager.v1.CreatePsbtRequest.raw_outputs:type_name -> walletmanager.v1.RawOutput - 94, // 40: walletmanager.v1.CreatePsbtRequest.external_inputs:type_name -> walletmanager.v1.ExternalInput - 2, // 41: walletmanager.v1.CreatePsbtRequest.coin_order:type_name -> walletmanager.v1.CoinOrder - 110, // 42: walletmanager.v1.GetAddressUnspentResponse.utxos:type_name -> walletmanager.v1.AddressUnspentOutput - 116, // 43: walletmanager.v1.EnumerateHardwareDevicesResponse.devices:type_name -> walletmanager.v1.HardwareDevice - 117, // 44: walletmanager.v1.GetHardwareXpubRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector - 117, // 45: walletmanager.v1.SignPsbtWithDeviceRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector - 117, // 46: walletmanager.v1.PromptDevicePinRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector - 117, // 47: walletmanager.v1.SendDevicePinRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector - 117, // 48: walletmanager.v1.CloseDeviceRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector - 117, // 49: walletmanager.v1.DeriveKeystoreRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector - 133, // 50: walletmanager.v1.ExploreSeedResponse.keys:type_name -> walletmanager.v1.ExploredKey - 6, // 51: walletmanager.v1.ValidateMnemonicResponse.kind:type_name -> walletmanager.v1.MnemonicKind - 141, // 52: walletmanager.v1.TransactionEntry.bmm_bid:type_name -> walletmanager.v1.BmmBid - 11, // 53: walletmanager.v1.TransactionEntry.sidechain_deposit:type_name -> walletmanager.v1.SidechainDeposit - 140, // 54: walletmanager.v1.ListTransactionsResponse.transactions:type_name -> walletmanager.v1.TransactionEntry - 201, // 55: walletmanager.v1.UnspentOutput.received_at:type_name -> google.protobuf.Timestamp - 144, // 56: walletmanager.v1.ListUnspentResponse.utxos:type_name -> walletmanager.v1.UnspentOutput - 201, // 57: walletmanager.v1.ReceiveAddress.last_used_at:type_name -> google.protobuf.Timestamp - 147, // 58: walletmanager.v1.ListReceiveAddressesResponse.addresses:type_name -> walletmanager.v1.ReceiveAddress - 140, // 59: walletmanager.v1.GetTransactionDetailsResponse.transaction:type_name -> walletmanager.v1.TransactionEntry - 151, // 60: walletmanager.v1.GetTransactionDetailsResponse.inputs:type_name -> walletmanager.v1.TransactionInput - 152, // 61: walletmanager.v1.GetTransactionDetailsResponse.outputs:type_name -> walletmanager.v1.TransactionOutput - 7, // 62: walletmanager.v1.DecodeTransactionResponse.form:type_name -> walletmanager.v1.DecodedForm - 151, // 63: walletmanager.v1.DecodeTransactionResponse.inputs:type_name -> walletmanager.v1.TransactionInput - 152, // 64: walletmanager.v1.DecodeTransactionResponse.outputs:type_name -> walletmanager.v1.TransactionOutput - 161, // 65: walletmanager.v1.BumpFeeResponse.plan:type_name -> walletmanager.v1.BumpFeePlan - 160, // 66: walletmanager.v1.PreviewBumpFeeResponse.outputs:type_name -> walletmanager.v1.BumpFeeOutput - 161, // 67: walletmanager.v1.PreviewBumpFeeResponse.plan:type_name -> walletmanager.v1.BumpFeePlan - 159, // 68: walletmanager.v1.PreviewBumpFeeResponse.cancel:type_name -> walletmanager.v1.CancelPlan - 169, // 69: walletmanager.v1.ListEcxBurnsResponse.burns:type_name -> walletmanager.v1.EcxBurn - 176, // 70: walletmanager.v1.ListCoreVariantsResponse.variants:type_name -> walletmanager.v1.CoreVariant - 31, // 71: walletmanager.v1.WatchWalletDataResponse.wallets:type_name -> walletmanager.v1.WalletMetadata - 0, // 72: walletmanager.v1.WatchWalletDataResponse.state:type_name -> walletmanager.v1.WalletState - 83, // 73: walletmanager.v1.WatchBalanceResponse.balance:type_name -> walletmanager.v1.GetBalanceResponse - 140, // 74: walletmanager.v1.WatchBalanceResponse.transactions:type_name -> walletmanager.v1.TransactionEntry - 8, // 75: walletmanager.v1.WalletManagerService.GetWalletStatus:input_type -> walletmanager.v1.GetWalletStatusRequest - 10, // 76: walletmanager.v1.WalletManagerService.ListSidechainDeposits:input_type -> walletmanager.v1.ListSidechainDepositsRequest - 13, // 77: walletmanager.v1.WalletManagerService.GetSidechainDepositTotals:input_type -> walletmanager.v1.GetSidechainDepositTotalsRequest - 15, // 78: walletmanager.v1.WalletManagerService.GetNodeMode:input_type -> walletmanager.v1.GetNodeModeRequest - 17, // 79: walletmanager.v1.WalletManagerService.SetNodeMode:input_type -> walletmanager.v1.SetNodeModeRequest - 19, // 80: walletmanager.v1.WalletManagerService.GenerateWallet:input_type -> walletmanager.v1.GenerateWalletRequest - 21, // 81: walletmanager.v1.WalletManagerService.UnlockWallet:input_type -> walletmanager.v1.UnlockWalletRequest - 23, // 82: walletmanager.v1.WalletManagerService.LockWallet:input_type -> walletmanager.v1.LockWalletRequest - 25, // 83: walletmanager.v1.WalletManagerService.EncryptWallet:input_type -> walletmanager.v1.EncryptWalletRequest - 27, // 84: walletmanager.v1.WalletManagerService.ChangePassword:input_type -> walletmanager.v1.ChangePasswordRequest - 29, // 85: walletmanager.v1.WalletManagerService.RemoveEncryption:input_type -> walletmanager.v1.RemoveEncryptionRequest - 35, // 86: walletmanager.v1.WalletManagerService.ListWallets:input_type -> walletmanager.v1.ListWalletsRequest - 37, // 87: walletmanager.v1.WalletManagerService.SwitchWallet:input_type -> walletmanager.v1.SwitchWalletRequest - 39, // 88: walletmanager.v1.WalletManagerService.UpdateWalletMetadata:input_type -> walletmanager.v1.UpdateWalletMetadataRequest - 41, // 89: walletmanager.v1.WalletManagerService.DeleteWallet:input_type -> walletmanager.v1.DeleteWalletRequest - 43, // 90: walletmanager.v1.WalletManagerService.DeleteAllWallets:input_type -> walletmanager.v1.DeleteAllWalletsRequest - 48, // 91: walletmanager.v1.WalletManagerService.ListWalletBackups:input_type -> walletmanager.v1.ListWalletBackupsRequest - 50, // 92: walletmanager.v1.WalletManagerService.RestoreWalletBackup:input_type -> walletmanager.v1.RestoreWalletBackupRequest - 50, // 93: walletmanager.v1.WalletManagerService.RestoreWalletBackupStream:input_type -> walletmanager.v1.RestoreWalletBackupRequest - 52, // 94: walletmanager.v1.WalletManagerService.ImportWalletBackup:input_type -> walletmanager.v1.ImportWalletBackupRequest - 57, // 95: walletmanager.v1.WalletManagerService.CreateWatchOnlyWallet:input_type -> walletmanager.v1.CreateWatchOnlyWalletRequest - 59, // 96: walletmanager.v1.WalletManagerService.CreateElectrumWallet:input_type -> walletmanager.v1.CreateElectrumWalletRequest - 62, // 97: walletmanager.v1.WalletManagerService.CreateMultisigWallet:input_type -> walletmanager.v1.CreateMultisigWalletRequest - 64, // 98: walletmanager.v1.WalletManagerService.ParseMultisigConfig:input_type -> walletmanager.v1.ParseMultisigConfigRequest - 67, // 99: walletmanager.v1.WalletManagerService.ValidateDescriptor:input_type -> walletmanager.v1.ValidateDescriptorRequest - 68, // 100: walletmanager.v1.WalletManagerService.ValidateDerivationPath:input_type -> walletmanager.v1.ValidateDerivationPathRequest - 70, // 101: walletmanager.v1.WalletManagerService.ListDerivationPaths:input_type -> walletmanager.v1.ListDerivationPathsRequest - 74, // 102: walletmanager.v1.WalletManagerService.CreateBitcoinCoreWallet:input_type -> walletmanager.v1.CreateBitcoinCoreWalletRequest - 76, // 103: walletmanager.v1.WalletManagerService.EnsureCoreWallets:input_type -> walletmanager.v1.EnsureCoreWalletsRequest - 78, // 104: walletmanager.v1.WalletManagerService.GetBalance:input_type -> walletmanager.v1.GetBalanceRequest - 79, // 105: walletmanager.v1.WalletManagerService.RescanWallet:input_type -> walletmanager.v1.RescanWalletRequest - 81, // 106: walletmanager.v1.WalletManagerService.EstimateFee:input_type -> walletmanager.v1.EstimateFeeRequest - 84, // 107: walletmanager.v1.WalletManagerService.GetNewAddress:input_type -> walletmanager.v1.GetNewAddressRequest - 86, // 108: walletmanager.v1.WalletManagerService.SendTransaction:input_type -> walletmanager.v1.SendTransactionRequest - 88, // 109: walletmanager.v1.WalletManagerService.PreviewSend:input_type -> walletmanager.v1.PreviewSendRequest - 90, // 110: walletmanager.v1.WalletManagerService.SetFrozenCoins:input_type -> walletmanager.v1.SetFrozenCoinsRequest - 91, // 111: walletmanager.v1.WalletManagerService.SetDraftCoins:input_type -> walletmanager.v1.SetDraftCoinsRequest - 193, // 112: walletmanager.v1.WalletManagerService.CreateDeposit:input_type -> walletmanager.v1.CreateDepositRequest - 139, // 113: walletmanager.v1.WalletManagerService.ListTransactions:input_type -> walletmanager.v1.ListTransactionsRequest - 143, // 114: walletmanager.v1.WalletManagerService.ListUnspent:input_type -> walletmanager.v1.ListUnspentRequest - 146, // 115: walletmanager.v1.WalletManagerService.ListReceiveAddresses:input_type -> walletmanager.v1.ListReceiveAddressesRequest - 149, // 116: walletmanager.v1.WalletManagerService.GetTransactionDetails:input_type -> walletmanager.v1.GetTransactionDetailsRequest - 153, // 117: walletmanager.v1.WalletManagerService.DecodeTransaction:input_type -> walletmanager.v1.DecodeTransactionRequest - 155, // 118: walletmanager.v1.WalletManagerService.BumpFee:input_type -> walletmanager.v1.BumpFeeRequest - 157, // 119: walletmanager.v1.WalletManagerService.PreviewBumpFee:input_type -> walletmanager.v1.PreviewBumpFeeRequest - 164, // 120: walletmanager.v1.WalletManagerService.CreateCpfp:input_type -> walletmanager.v1.CreateCpfpRequest - 162, // 121: walletmanager.v1.WalletManagerService.CancelTransaction:input_type -> walletmanager.v1.CancelTransactionRequest - 166, // 122: walletmanager.v1.WalletManagerService.DeriveAddresses:input_type -> walletmanager.v1.DeriveAddressesRequest - 168, // 123: walletmanager.v1.WalletManagerService.ListEcxBurns:input_type -> walletmanager.v1.ListEcxBurnsRequest - 95, // 124: walletmanager.v1.WalletManagerService.CreatePsbt:input_type -> walletmanager.v1.CreatePsbtRequest - 97, // 125: walletmanager.v1.WalletManagerService.SignPsbt:input_type -> walletmanager.v1.SignPsbtRequest - 99, // 126: walletmanager.v1.WalletManagerService.SignPsbtWithCosigner:input_type -> walletmanager.v1.SignPsbtWithCosignerRequest - 101, // 127: walletmanager.v1.WalletManagerService.CombinePsbt:input_type -> walletmanager.v1.CombinePsbtRequest - 103, // 128: walletmanager.v1.WalletManagerService.FinalizePsbt:input_type -> walletmanager.v1.FinalizePsbtRequest - 105, // 129: walletmanager.v1.WalletManagerService.MultisigPsbtStatus:input_type -> walletmanager.v1.MultisigPsbtStatusRequest - 107, // 130: walletmanager.v1.WalletManagerService.BroadcastTransaction:input_type -> walletmanager.v1.BroadcastTransactionRequest - 195, // 131: walletmanager.v1.WalletManagerService.GetAddressDerivationPath:input_type -> walletmanager.v1.GetAddressDerivationPathRequest - 109, // 132: walletmanager.v1.WalletManagerService.GetAddressUnspent:input_type -> walletmanager.v1.GetAddressUnspentRequest - 112, // 133: walletmanager.v1.WalletManagerService.GetAddressSpends:input_type -> walletmanager.v1.GetAddressSpendsRequest - 114, // 134: walletmanager.v1.WalletManagerService.BroadcastElectrumTransaction:input_type -> walletmanager.v1.BroadcastElectrumTransactionRequest - 118, // 135: walletmanager.v1.WalletManagerService.EnumerateHardwareDevices:input_type -> walletmanager.v1.EnumerateHardwareDevicesRequest - 120, // 136: walletmanager.v1.WalletManagerService.GetHardwareXpub:input_type -> walletmanager.v1.GetHardwareXpubRequest - 122, // 137: walletmanager.v1.WalletManagerService.SignPsbtWithDevice:input_type -> walletmanager.v1.SignPsbtWithDeviceRequest - 124, // 138: walletmanager.v1.WalletManagerService.PromptDevicePin:input_type -> walletmanager.v1.PromptDevicePinRequest - 126, // 139: walletmanager.v1.WalletManagerService.SendDevicePin:input_type -> walletmanager.v1.SendDevicePinRequest - 128, // 140: walletmanager.v1.WalletManagerService.CloseDevice:input_type -> walletmanager.v1.CloseDeviceRequest - 130, // 141: walletmanager.v1.WalletManagerService.DeriveKeystore:input_type -> walletmanager.v1.DeriveKeystoreRequest - 132, // 142: walletmanager.v1.WalletManagerService.ExploreSeed:input_type -> walletmanager.v1.ExploreSeedRequest - 135, // 143: walletmanager.v1.WalletManagerService.GenerateMnemonic:input_type -> walletmanager.v1.GenerateMnemonicRequest - 137, // 144: walletmanager.v1.WalletManagerService.ValidateMnemonic:input_type -> walletmanager.v1.ValidateMnemonicRequest - 171, // 145: walletmanager.v1.WalletManagerService.PreviewWalletFromEntropy:input_type -> walletmanager.v1.PreviewWalletFromEntropyRequest - 173, // 146: walletmanager.v1.WalletManagerService.GetWalletSeed:input_type -> walletmanager.v1.GetWalletSeedRequest - 175, // 147: walletmanager.v1.WalletManagerService.ListCoreVariants:input_type -> walletmanager.v1.ListCoreVariantsRequest - 178, // 148: walletmanager.v1.WalletManagerService.GetCoreVariant:input_type -> walletmanager.v1.GetCoreVariantRequest - 180, // 149: walletmanager.v1.WalletManagerService.SetCoreVariant:input_type -> walletmanager.v1.SetCoreVariantRequest - 182, // 150: walletmanager.v1.WalletManagerService.GetElectrumServer:input_type -> walletmanager.v1.GetElectrumServerRequest - 184, // 151: walletmanager.v1.WalletManagerService.SetElectrumServer:input_type -> walletmanager.v1.SetElectrumServerRequest - 186, // 152: walletmanager.v1.WalletManagerService.GetTorConfig:input_type -> walletmanager.v1.GetTorConfigRequest - 188, // 153: walletmanager.v1.WalletManagerService.SetTorConfig:input_type -> walletmanager.v1.SetTorConfigRequest - 202, // 154: walletmanager.v1.WalletManagerService.WatchWalletData:input_type -> google.protobuf.Empty - 191, // 155: walletmanager.v1.WalletManagerService.WatchBalance:input_type -> walletmanager.v1.WatchBalanceRequest - 9, // 156: walletmanager.v1.WalletManagerService.GetWalletStatus:output_type -> walletmanager.v1.GetWalletStatusResponse - 12, // 157: walletmanager.v1.WalletManagerService.ListSidechainDeposits:output_type -> walletmanager.v1.ListSidechainDepositsResponse - 14, // 158: walletmanager.v1.WalletManagerService.GetSidechainDepositTotals:output_type -> walletmanager.v1.GetSidechainDepositTotalsResponse - 16, // 159: walletmanager.v1.WalletManagerService.GetNodeMode:output_type -> walletmanager.v1.GetNodeModeResponse - 18, // 160: walletmanager.v1.WalletManagerService.SetNodeMode:output_type -> walletmanager.v1.SetNodeModeResponse - 20, // 161: walletmanager.v1.WalletManagerService.GenerateWallet:output_type -> walletmanager.v1.GenerateWalletResponse - 22, // 162: walletmanager.v1.WalletManagerService.UnlockWallet:output_type -> walletmanager.v1.UnlockWalletResponse - 24, // 163: walletmanager.v1.WalletManagerService.LockWallet:output_type -> walletmanager.v1.LockWalletResponse - 26, // 164: walletmanager.v1.WalletManagerService.EncryptWallet:output_type -> walletmanager.v1.EncryptWalletResponse - 28, // 165: walletmanager.v1.WalletManagerService.ChangePassword:output_type -> walletmanager.v1.ChangePasswordResponse - 30, // 166: walletmanager.v1.WalletManagerService.RemoveEncryption:output_type -> walletmanager.v1.RemoveEncryptionResponse - 36, // 167: walletmanager.v1.WalletManagerService.ListWallets:output_type -> walletmanager.v1.ListWalletsResponse - 38, // 168: walletmanager.v1.WalletManagerService.SwitchWallet:output_type -> walletmanager.v1.SwitchWalletResponse - 40, // 169: walletmanager.v1.WalletManagerService.UpdateWalletMetadata:output_type -> walletmanager.v1.UpdateWalletMetadataResponse - 42, // 170: walletmanager.v1.WalletManagerService.DeleteWallet:output_type -> walletmanager.v1.DeleteWalletResponse - 44, // 171: walletmanager.v1.WalletManagerService.DeleteAllWallets:output_type -> walletmanager.v1.DeleteAllWalletsResponse - 49, // 172: walletmanager.v1.WalletManagerService.ListWalletBackups:output_type -> walletmanager.v1.ListWalletBackupsResponse - 51, // 173: walletmanager.v1.WalletManagerService.RestoreWalletBackup:output_type -> walletmanager.v1.RestoreWalletBackupResponse - 56, // 174: walletmanager.v1.WalletManagerService.RestoreWalletBackupStream:output_type -> walletmanager.v1.RestoreWalletBackupProgressResponse - 53, // 175: walletmanager.v1.WalletManagerService.ImportWalletBackup:output_type -> walletmanager.v1.ImportWalletBackupResponse - 58, // 176: walletmanager.v1.WalletManagerService.CreateWatchOnlyWallet:output_type -> walletmanager.v1.CreateWatchOnlyWalletResponse - 60, // 177: walletmanager.v1.WalletManagerService.CreateElectrumWallet:output_type -> walletmanager.v1.CreateElectrumWalletResponse - 63, // 178: walletmanager.v1.WalletManagerService.CreateMultisigWallet:output_type -> walletmanager.v1.CreateMultisigWalletResponse - 66, // 179: walletmanager.v1.WalletManagerService.ParseMultisigConfig:output_type -> walletmanager.v1.ParseMultisigConfigResponse - 73, // 180: walletmanager.v1.WalletManagerService.ValidateDescriptor:output_type -> walletmanager.v1.ValidateDescriptorResponse - 69, // 181: walletmanager.v1.WalletManagerService.ValidateDerivationPath:output_type -> walletmanager.v1.ValidateDerivationPathResponse - 72, // 182: walletmanager.v1.WalletManagerService.ListDerivationPaths:output_type -> walletmanager.v1.ListDerivationPathsResponse - 75, // 183: walletmanager.v1.WalletManagerService.CreateBitcoinCoreWallet:output_type -> walletmanager.v1.CreateBitcoinCoreWalletResponse - 77, // 184: walletmanager.v1.WalletManagerService.EnsureCoreWallets:output_type -> walletmanager.v1.EnsureCoreWalletsResponse - 83, // 185: walletmanager.v1.WalletManagerService.GetBalance:output_type -> walletmanager.v1.GetBalanceResponse - 80, // 186: walletmanager.v1.WalletManagerService.RescanWallet:output_type -> walletmanager.v1.RescanWalletResponse - 82, // 187: walletmanager.v1.WalletManagerService.EstimateFee:output_type -> walletmanager.v1.EstimateFeeResponse - 85, // 188: walletmanager.v1.WalletManagerService.GetNewAddress:output_type -> walletmanager.v1.GetNewAddressResponse - 87, // 189: walletmanager.v1.WalletManagerService.SendTransaction:output_type -> walletmanager.v1.SendTransactionResponse - 89, // 190: walletmanager.v1.WalletManagerService.PreviewSend:output_type -> walletmanager.v1.PreviewSendResponse - 202, // 191: walletmanager.v1.WalletManagerService.SetFrozenCoins:output_type -> google.protobuf.Empty - 202, // 192: walletmanager.v1.WalletManagerService.SetDraftCoins:output_type -> google.protobuf.Empty - 194, // 193: walletmanager.v1.WalletManagerService.CreateDeposit:output_type -> walletmanager.v1.CreateDepositResponse - 142, // 194: walletmanager.v1.WalletManagerService.ListTransactions:output_type -> walletmanager.v1.ListTransactionsResponse - 145, // 195: walletmanager.v1.WalletManagerService.ListUnspent:output_type -> walletmanager.v1.ListUnspentResponse - 148, // 196: walletmanager.v1.WalletManagerService.ListReceiveAddresses:output_type -> walletmanager.v1.ListReceiveAddressesResponse - 150, // 197: walletmanager.v1.WalletManagerService.GetTransactionDetails:output_type -> walletmanager.v1.GetTransactionDetailsResponse - 154, // 198: walletmanager.v1.WalletManagerService.DecodeTransaction:output_type -> walletmanager.v1.DecodeTransactionResponse - 156, // 199: walletmanager.v1.WalletManagerService.BumpFee:output_type -> walletmanager.v1.BumpFeeResponse - 158, // 200: walletmanager.v1.WalletManagerService.PreviewBumpFee:output_type -> walletmanager.v1.PreviewBumpFeeResponse - 165, // 201: walletmanager.v1.WalletManagerService.CreateCpfp:output_type -> walletmanager.v1.CreateCpfpResponse - 163, // 202: walletmanager.v1.WalletManagerService.CancelTransaction:output_type -> walletmanager.v1.CancelTransactionResponse - 167, // 203: walletmanager.v1.WalletManagerService.DeriveAddresses:output_type -> walletmanager.v1.DeriveAddressesResponse - 170, // 204: walletmanager.v1.WalletManagerService.ListEcxBurns:output_type -> walletmanager.v1.ListEcxBurnsResponse - 96, // 205: walletmanager.v1.WalletManagerService.CreatePsbt:output_type -> walletmanager.v1.CreatePsbtResponse - 98, // 206: walletmanager.v1.WalletManagerService.SignPsbt:output_type -> walletmanager.v1.SignPsbtResponse - 100, // 207: walletmanager.v1.WalletManagerService.SignPsbtWithCosigner:output_type -> walletmanager.v1.SignPsbtWithCosignerResponse - 102, // 208: walletmanager.v1.WalletManagerService.CombinePsbt:output_type -> walletmanager.v1.CombinePsbtResponse - 104, // 209: walletmanager.v1.WalletManagerService.FinalizePsbt:output_type -> walletmanager.v1.FinalizePsbtResponse - 106, // 210: walletmanager.v1.WalletManagerService.MultisigPsbtStatus:output_type -> walletmanager.v1.MultisigPsbtStatusResponse - 108, // 211: walletmanager.v1.WalletManagerService.BroadcastTransaction:output_type -> walletmanager.v1.BroadcastTransactionResponse - 196, // 212: walletmanager.v1.WalletManagerService.GetAddressDerivationPath:output_type -> walletmanager.v1.GetAddressDerivationPathResponse - 111, // 213: walletmanager.v1.WalletManagerService.GetAddressUnspent:output_type -> walletmanager.v1.GetAddressUnspentResponse - 113, // 214: walletmanager.v1.WalletManagerService.GetAddressSpends:output_type -> walletmanager.v1.GetAddressSpendsResponse - 115, // 215: walletmanager.v1.WalletManagerService.BroadcastElectrumTransaction:output_type -> walletmanager.v1.BroadcastElectrumTransactionResponse - 119, // 216: walletmanager.v1.WalletManagerService.EnumerateHardwareDevices:output_type -> walletmanager.v1.EnumerateHardwareDevicesResponse - 121, // 217: walletmanager.v1.WalletManagerService.GetHardwareXpub:output_type -> walletmanager.v1.GetHardwareXpubResponse - 123, // 218: walletmanager.v1.WalletManagerService.SignPsbtWithDevice:output_type -> walletmanager.v1.SignPsbtWithDeviceResponse - 125, // 219: walletmanager.v1.WalletManagerService.PromptDevicePin:output_type -> walletmanager.v1.PromptDevicePinResponse - 127, // 220: walletmanager.v1.WalletManagerService.SendDevicePin:output_type -> walletmanager.v1.SendDevicePinResponse - 129, // 221: walletmanager.v1.WalletManagerService.CloseDevice:output_type -> walletmanager.v1.CloseDeviceResponse - 131, // 222: walletmanager.v1.WalletManagerService.DeriveKeystore:output_type -> walletmanager.v1.DeriveKeystoreResponse - 134, // 223: walletmanager.v1.WalletManagerService.ExploreSeed:output_type -> walletmanager.v1.ExploreSeedResponse - 136, // 224: walletmanager.v1.WalletManagerService.GenerateMnemonic:output_type -> walletmanager.v1.GenerateMnemonicResponse - 138, // 225: walletmanager.v1.WalletManagerService.ValidateMnemonic:output_type -> walletmanager.v1.ValidateMnemonicResponse - 172, // 226: walletmanager.v1.WalletManagerService.PreviewWalletFromEntropy:output_type -> walletmanager.v1.PreviewWalletFromEntropyResponse - 174, // 227: walletmanager.v1.WalletManagerService.GetWalletSeed:output_type -> walletmanager.v1.GetWalletSeedResponse - 177, // 228: walletmanager.v1.WalletManagerService.ListCoreVariants:output_type -> walletmanager.v1.ListCoreVariantsResponse - 179, // 229: walletmanager.v1.WalletManagerService.GetCoreVariant:output_type -> walletmanager.v1.GetCoreVariantResponse - 181, // 230: walletmanager.v1.WalletManagerService.SetCoreVariant:output_type -> walletmanager.v1.SetCoreVariantResponse - 183, // 231: walletmanager.v1.WalletManagerService.GetElectrumServer:output_type -> walletmanager.v1.GetElectrumServerResponse - 185, // 232: walletmanager.v1.WalletManagerService.SetElectrumServer:output_type -> walletmanager.v1.SetElectrumServerResponse - 187, // 233: walletmanager.v1.WalletManagerService.GetTorConfig:output_type -> walletmanager.v1.GetTorConfigResponse - 189, // 234: walletmanager.v1.WalletManagerService.SetTorConfig:output_type -> walletmanager.v1.SetTorConfigResponse - 190, // 235: walletmanager.v1.WalletManagerService.WatchWalletData:output_type -> walletmanager.v1.WatchWalletDataResponse - 192, // 236: walletmanager.v1.WalletManagerService.WatchBalance:output_type -> walletmanager.v1.WatchBalanceResponse - 156, // [156:237] is the sub-list for method output_type - 75, // [75:156] is the sub-list for method input_type - 75, // [75:75] is the sub-list for extension type_name - 75, // [75:75] is the sub-list for extension extendee - 0, // [0:75] is the sub-list for field type_name + 145, // 33: walletmanager.v1.PreviewSendResponse.inputs:type_name -> walletmanager.v1.UnspentOutput + 145, // 34: walletmanager.v1.PreviewSendResponse.notification_input:type_name -> walletmanager.v1.UnspentOutput + 90, // 35: walletmanager.v1.PreviewSendResponse.outputs:type_name -> walletmanager.v1.PreviewSendOutput + 93, // 36: walletmanager.v1.SetFrozenCoinsRequest.outpoints:type_name -> walletmanager.v1.FrozenOutpoint + 93, // 37: walletmanager.v1.SetDraftCoinsRequest.outpoints:type_name -> walletmanager.v1.FrozenOutpoint + 200, // 38: walletmanager.v1.CreatePsbtRequest.destinations:type_name -> walletmanager.v1.CreatePsbtRequest.DestinationsEntry + 145, // 39: walletmanager.v1.CreatePsbtRequest.required_inputs:type_name -> walletmanager.v1.UnspentOutput + 94, // 40: walletmanager.v1.CreatePsbtRequest.raw_outputs:type_name -> walletmanager.v1.RawOutput + 95, // 41: walletmanager.v1.CreatePsbtRequest.external_inputs:type_name -> walletmanager.v1.ExternalInput + 2, // 42: walletmanager.v1.CreatePsbtRequest.coin_order:type_name -> walletmanager.v1.CoinOrder + 111, // 43: walletmanager.v1.GetAddressUnspentResponse.utxos:type_name -> walletmanager.v1.AddressUnspentOutput + 117, // 44: walletmanager.v1.EnumerateHardwareDevicesResponse.devices:type_name -> walletmanager.v1.HardwareDevice + 118, // 45: walletmanager.v1.GetHardwareXpubRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector + 118, // 46: walletmanager.v1.SignPsbtWithDeviceRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector + 118, // 47: walletmanager.v1.PromptDevicePinRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector + 118, // 48: walletmanager.v1.SendDevicePinRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector + 118, // 49: walletmanager.v1.CloseDeviceRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector + 118, // 50: walletmanager.v1.DeriveKeystoreRequest.device:type_name -> walletmanager.v1.HardwareDeviceSelector + 134, // 51: walletmanager.v1.ExploreSeedResponse.keys:type_name -> walletmanager.v1.ExploredKey + 6, // 52: walletmanager.v1.ValidateMnemonicResponse.kind:type_name -> walletmanager.v1.MnemonicKind + 142, // 53: walletmanager.v1.TransactionEntry.bmm_bid:type_name -> walletmanager.v1.BmmBid + 11, // 54: walletmanager.v1.TransactionEntry.sidechain_deposit:type_name -> walletmanager.v1.SidechainDeposit + 141, // 55: walletmanager.v1.ListTransactionsResponse.transactions:type_name -> walletmanager.v1.TransactionEntry + 202, // 56: walletmanager.v1.UnspentOutput.received_at:type_name -> google.protobuf.Timestamp + 145, // 57: walletmanager.v1.ListUnspentResponse.utxos:type_name -> walletmanager.v1.UnspentOutput + 202, // 58: walletmanager.v1.ReceiveAddress.last_used_at:type_name -> google.protobuf.Timestamp + 148, // 59: walletmanager.v1.ListReceiveAddressesResponse.addresses:type_name -> walletmanager.v1.ReceiveAddress + 141, // 60: walletmanager.v1.GetTransactionDetailsResponse.transaction:type_name -> walletmanager.v1.TransactionEntry + 152, // 61: walletmanager.v1.GetTransactionDetailsResponse.inputs:type_name -> walletmanager.v1.TransactionInput + 153, // 62: walletmanager.v1.GetTransactionDetailsResponse.outputs:type_name -> walletmanager.v1.TransactionOutput + 7, // 63: walletmanager.v1.DecodeTransactionResponse.form:type_name -> walletmanager.v1.DecodedForm + 152, // 64: walletmanager.v1.DecodeTransactionResponse.inputs:type_name -> walletmanager.v1.TransactionInput + 153, // 65: walletmanager.v1.DecodeTransactionResponse.outputs:type_name -> walletmanager.v1.TransactionOutput + 162, // 66: walletmanager.v1.BumpFeeResponse.plan:type_name -> walletmanager.v1.BumpFeePlan + 161, // 67: walletmanager.v1.PreviewBumpFeeResponse.outputs:type_name -> walletmanager.v1.BumpFeeOutput + 162, // 68: walletmanager.v1.PreviewBumpFeeResponse.plan:type_name -> walletmanager.v1.BumpFeePlan + 160, // 69: walletmanager.v1.PreviewBumpFeeResponse.cancel:type_name -> walletmanager.v1.CancelPlan + 170, // 70: walletmanager.v1.ListEcxBurnsResponse.burns:type_name -> walletmanager.v1.EcxBurn + 177, // 71: walletmanager.v1.ListCoreVariantsResponse.variants:type_name -> walletmanager.v1.CoreVariant + 31, // 72: walletmanager.v1.WatchWalletDataResponse.wallets:type_name -> walletmanager.v1.WalletMetadata + 0, // 73: walletmanager.v1.WatchWalletDataResponse.state:type_name -> walletmanager.v1.WalletState + 83, // 74: walletmanager.v1.WatchBalanceResponse.balance:type_name -> walletmanager.v1.GetBalanceResponse + 141, // 75: walletmanager.v1.WatchBalanceResponse.transactions:type_name -> walletmanager.v1.TransactionEntry + 8, // 76: walletmanager.v1.WalletManagerService.GetWalletStatus:input_type -> walletmanager.v1.GetWalletStatusRequest + 10, // 77: walletmanager.v1.WalletManagerService.ListSidechainDeposits:input_type -> walletmanager.v1.ListSidechainDepositsRequest + 13, // 78: walletmanager.v1.WalletManagerService.GetSidechainDepositTotals:input_type -> walletmanager.v1.GetSidechainDepositTotalsRequest + 15, // 79: walletmanager.v1.WalletManagerService.GetNodeMode:input_type -> walletmanager.v1.GetNodeModeRequest + 17, // 80: walletmanager.v1.WalletManagerService.SetNodeMode:input_type -> walletmanager.v1.SetNodeModeRequest + 19, // 81: walletmanager.v1.WalletManagerService.GenerateWallet:input_type -> walletmanager.v1.GenerateWalletRequest + 21, // 82: walletmanager.v1.WalletManagerService.UnlockWallet:input_type -> walletmanager.v1.UnlockWalletRequest + 23, // 83: walletmanager.v1.WalletManagerService.LockWallet:input_type -> walletmanager.v1.LockWalletRequest + 25, // 84: walletmanager.v1.WalletManagerService.EncryptWallet:input_type -> walletmanager.v1.EncryptWalletRequest + 27, // 85: walletmanager.v1.WalletManagerService.ChangePassword:input_type -> walletmanager.v1.ChangePasswordRequest + 29, // 86: walletmanager.v1.WalletManagerService.RemoveEncryption:input_type -> walletmanager.v1.RemoveEncryptionRequest + 35, // 87: walletmanager.v1.WalletManagerService.ListWallets:input_type -> walletmanager.v1.ListWalletsRequest + 37, // 88: walletmanager.v1.WalletManagerService.SwitchWallet:input_type -> walletmanager.v1.SwitchWalletRequest + 39, // 89: walletmanager.v1.WalletManagerService.UpdateWalletMetadata:input_type -> walletmanager.v1.UpdateWalletMetadataRequest + 41, // 90: walletmanager.v1.WalletManagerService.DeleteWallet:input_type -> walletmanager.v1.DeleteWalletRequest + 43, // 91: walletmanager.v1.WalletManagerService.DeleteAllWallets:input_type -> walletmanager.v1.DeleteAllWalletsRequest + 48, // 92: walletmanager.v1.WalletManagerService.ListWalletBackups:input_type -> walletmanager.v1.ListWalletBackupsRequest + 50, // 93: walletmanager.v1.WalletManagerService.RestoreWalletBackup:input_type -> walletmanager.v1.RestoreWalletBackupRequest + 50, // 94: walletmanager.v1.WalletManagerService.RestoreWalletBackupStream:input_type -> walletmanager.v1.RestoreWalletBackupRequest + 52, // 95: walletmanager.v1.WalletManagerService.ImportWalletBackup:input_type -> walletmanager.v1.ImportWalletBackupRequest + 57, // 96: walletmanager.v1.WalletManagerService.CreateWatchOnlyWallet:input_type -> walletmanager.v1.CreateWatchOnlyWalletRequest + 59, // 97: walletmanager.v1.WalletManagerService.CreateElectrumWallet:input_type -> walletmanager.v1.CreateElectrumWalletRequest + 62, // 98: walletmanager.v1.WalletManagerService.CreateMultisigWallet:input_type -> walletmanager.v1.CreateMultisigWalletRequest + 64, // 99: walletmanager.v1.WalletManagerService.ParseMultisigConfig:input_type -> walletmanager.v1.ParseMultisigConfigRequest + 67, // 100: walletmanager.v1.WalletManagerService.ValidateDescriptor:input_type -> walletmanager.v1.ValidateDescriptorRequest + 68, // 101: walletmanager.v1.WalletManagerService.ValidateDerivationPath:input_type -> walletmanager.v1.ValidateDerivationPathRequest + 70, // 102: walletmanager.v1.WalletManagerService.ListDerivationPaths:input_type -> walletmanager.v1.ListDerivationPathsRequest + 74, // 103: walletmanager.v1.WalletManagerService.CreateBitcoinCoreWallet:input_type -> walletmanager.v1.CreateBitcoinCoreWalletRequest + 76, // 104: walletmanager.v1.WalletManagerService.EnsureCoreWallets:input_type -> walletmanager.v1.EnsureCoreWalletsRequest + 78, // 105: walletmanager.v1.WalletManagerService.GetBalance:input_type -> walletmanager.v1.GetBalanceRequest + 79, // 106: walletmanager.v1.WalletManagerService.RescanWallet:input_type -> walletmanager.v1.RescanWalletRequest + 81, // 107: walletmanager.v1.WalletManagerService.EstimateFee:input_type -> walletmanager.v1.EstimateFeeRequest + 84, // 108: walletmanager.v1.WalletManagerService.GetNewAddress:input_type -> walletmanager.v1.GetNewAddressRequest + 86, // 109: walletmanager.v1.WalletManagerService.SendTransaction:input_type -> walletmanager.v1.SendTransactionRequest + 88, // 110: walletmanager.v1.WalletManagerService.PreviewSend:input_type -> walletmanager.v1.PreviewSendRequest + 91, // 111: walletmanager.v1.WalletManagerService.SetFrozenCoins:input_type -> walletmanager.v1.SetFrozenCoinsRequest + 92, // 112: walletmanager.v1.WalletManagerService.SetDraftCoins:input_type -> walletmanager.v1.SetDraftCoinsRequest + 194, // 113: walletmanager.v1.WalletManagerService.CreateDeposit:input_type -> walletmanager.v1.CreateDepositRequest + 140, // 114: walletmanager.v1.WalletManagerService.ListTransactions:input_type -> walletmanager.v1.ListTransactionsRequest + 144, // 115: walletmanager.v1.WalletManagerService.ListUnspent:input_type -> walletmanager.v1.ListUnspentRequest + 147, // 116: walletmanager.v1.WalletManagerService.ListReceiveAddresses:input_type -> walletmanager.v1.ListReceiveAddressesRequest + 150, // 117: walletmanager.v1.WalletManagerService.GetTransactionDetails:input_type -> walletmanager.v1.GetTransactionDetailsRequest + 154, // 118: walletmanager.v1.WalletManagerService.DecodeTransaction:input_type -> walletmanager.v1.DecodeTransactionRequest + 156, // 119: walletmanager.v1.WalletManagerService.BumpFee:input_type -> walletmanager.v1.BumpFeeRequest + 158, // 120: walletmanager.v1.WalletManagerService.PreviewBumpFee:input_type -> walletmanager.v1.PreviewBumpFeeRequest + 165, // 121: walletmanager.v1.WalletManagerService.CreateCpfp:input_type -> walletmanager.v1.CreateCpfpRequest + 163, // 122: walletmanager.v1.WalletManagerService.CancelTransaction:input_type -> walletmanager.v1.CancelTransactionRequest + 167, // 123: walletmanager.v1.WalletManagerService.DeriveAddresses:input_type -> walletmanager.v1.DeriveAddressesRequest + 169, // 124: walletmanager.v1.WalletManagerService.ListEcxBurns:input_type -> walletmanager.v1.ListEcxBurnsRequest + 96, // 125: walletmanager.v1.WalletManagerService.CreatePsbt:input_type -> walletmanager.v1.CreatePsbtRequest + 98, // 126: walletmanager.v1.WalletManagerService.SignPsbt:input_type -> walletmanager.v1.SignPsbtRequest + 100, // 127: walletmanager.v1.WalletManagerService.SignPsbtWithCosigner:input_type -> walletmanager.v1.SignPsbtWithCosignerRequest + 102, // 128: walletmanager.v1.WalletManagerService.CombinePsbt:input_type -> walletmanager.v1.CombinePsbtRequest + 104, // 129: walletmanager.v1.WalletManagerService.FinalizePsbt:input_type -> walletmanager.v1.FinalizePsbtRequest + 106, // 130: walletmanager.v1.WalletManagerService.MultisigPsbtStatus:input_type -> walletmanager.v1.MultisigPsbtStatusRequest + 108, // 131: walletmanager.v1.WalletManagerService.BroadcastTransaction:input_type -> walletmanager.v1.BroadcastTransactionRequest + 196, // 132: walletmanager.v1.WalletManagerService.GetAddressDerivationPath:input_type -> walletmanager.v1.GetAddressDerivationPathRequest + 110, // 133: walletmanager.v1.WalletManagerService.GetAddressUnspent:input_type -> walletmanager.v1.GetAddressUnspentRequest + 113, // 134: walletmanager.v1.WalletManagerService.GetAddressSpends:input_type -> walletmanager.v1.GetAddressSpendsRequest + 115, // 135: walletmanager.v1.WalletManagerService.BroadcastElectrumTransaction:input_type -> walletmanager.v1.BroadcastElectrumTransactionRequest + 119, // 136: walletmanager.v1.WalletManagerService.EnumerateHardwareDevices:input_type -> walletmanager.v1.EnumerateHardwareDevicesRequest + 121, // 137: walletmanager.v1.WalletManagerService.GetHardwareXpub:input_type -> walletmanager.v1.GetHardwareXpubRequest + 123, // 138: walletmanager.v1.WalletManagerService.SignPsbtWithDevice:input_type -> walletmanager.v1.SignPsbtWithDeviceRequest + 125, // 139: walletmanager.v1.WalletManagerService.PromptDevicePin:input_type -> walletmanager.v1.PromptDevicePinRequest + 127, // 140: walletmanager.v1.WalletManagerService.SendDevicePin:input_type -> walletmanager.v1.SendDevicePinRequest + 129, // 141: walletmanager.v1.WalletManagerService.CloseDevice:input_type -> walletmanager.v1.CloseDeviceRequest + 131, // 142: walletmanager.v1.WalletManagerService.DeriveKeystore:input_type -> walletmanager.v1.DeriveKeystoreRequest + 133, // 143: walletmanager.v1.WalletManagerService.ExploreSeed:input_type -> walletmanager.v1.ExploreSeedRequest + 136, // 144: walletmanager.v1.WalletManagerService.GenerateMnemonic:input_type -> walletmanager.v1.GenerateMnemonicRequest + 138, // 145: walletmanager.v1.WalletManagerService.ValidateMnemonic:input_type -> walletmanager.v1.ValidateMnemonicRequest + 172, // 146: walletmanager.v1.WalletManagerService.PreviewWalletFromEntropy:input_type -> walletmanager.v1.PreviewWalletFromEntropyRequest + 174, // 147: walletmanager.v1.WalletManagerService.GetWalletSeed:input_type -> walletmanager.v1.GetWalletSeedRequest + 176, // 148: walletmanager.v1.WalletManagerService.ListCoreVariants:input_type -> walletmanager.v1.ListCoreVariantsRequest + 179, // 149: walletmanager.v1.WalletManagerService.GetCoreVariant:input_type -> walletmanager.v1.GetCoreVariantRequest + 181, // 150: walletmanager.v1.WalletManagerService.SetCoreVariant:input_type -> walletmanager.v1.SetCoreVariantRequest + 183, // 151: walletmanager.v1.WalletManagerService.GetElectrumServer:input_type -> walletmanager.v1.GetElectrumServerRequest + 185, // 152: walletmanager.v1.WalletManagerService.SetElectrumServer:input_type -> walletmanager.v1.SetElectrumServerRequest + 187, // 153: walletmanager.v1.WalletManagerService.GetTorConfig:input_type -> walletmanager.v1.GetTorConfigRequest + 189, // 154: walletmanager.v1.WalletManagerService.SetTorConfig:input_type -> walletmanager.v1.SetTorConfigRequest + 203, // 155: walletmanager.v1.WalletManagerService.WatchWalletData:input_type -> google.protobuf.Empty + 192, // 156: walletmanager.v1.WalletManagerService.WatchBalance:input_type -> walletmanager.v1.WatchBalanceRequest + 9, // 157: walletmanager.v1.WalletManagerService.GetWalletStatus:output_type -> walletmanager.v1.GetWalletStatusResponse + 12, // 158: walletmanager.v1.WalletManagerService.ListSidechainDeposits:output_type -> walletmanager.v1.ListSidechainDepositsResponse + 14, // 159: walletmanager.v1.WalletManagerService.GetSidechainDepositTotals:output_type -> walletmanager.v1.GetSidechainDepositTotalsResponse + 16, // 160: walletmanager.v1.WalletManagerService.GetNodeMode:output_type -> walletmanager.v1.GetNodeModeResponse + 18, // 161: walletmanager.v1.WalletManagerService.SetNodeMode:output_type -> walletmanager.v1.SetNodeModeResponse + 20, // 162: walletmanager.v1.WalletManagerService.GenerateWallet:output_type -> walletmanager.v1.GenerateWalletResponse + 22, // 163: walletmanager.v1.WalletManagerService.UnlockWallet:output_type -> walletmanager.v1.UnlockWalletResponse + 24, // 164: walletmanager.v1.WalletManagerService.LockWallet:output_type -> walletmanager.v1.LockWalletResponse + 26, // 165: walletmanager.v1.WalletManagerService.EncryptWallet:output_type -> walletmanager.v1.EncryptWalletResponse + 28, // 166: walletmanager.v1.WalletManagerService.ChangePassword:output_type -> walletmanager.v1.ChangePasswordResponse + 30, // 167: walletmanager.v1.WalletManagerService.RemoveEncryption:output_type -> walletmanager.v1.RemoveEncryptionResponse + 36, // 168: walletmanager.v1.WalletManagerService.ListWallets:output_type -> walletmanager.v1.ListWalletsResponse + 38, // 169: walletmanager.v1.WalletManagerService.SwitchWallet:output_type -> walletmanager.v1.SwitchWalletResponse + 40, // 170: walletmanager.v1.WalletManagerService.UpdateWalletMetadata:output_type -> walletmanager.v1.UpdateWalletMetadataResponse + 42, // 171: walletmanager.v1.WalletManagerService.DeleteWallet:output_type -> walletmanager.v1.DeleteWalletResponse + 44, // 172: walletmanager.v1.WalletManagerService.DeleteAllWallets:output_type -> walletmanager.v1.DeleteAllWalletsResponse + 49, // 173: walletmanager.v1.WalletManagerService.ListWalletBackups:output_type -> walletmanager.v1.ListWalletBackupsResponse + 51, // 174: walletmanager.v1.WalletManagerService.RestoreWalletBackup:output_type -> walletmanager.v1.RestoreWalletBackupResponse + 56, // 175: walletmanager.v1.WalletManagerService.RestoreWalletBackupStream:output_type -> walletmanager.v1.RestoreWalletBackupProgressResponse + 53, // 176: walletmanager.v1.WalletManagerService.ImportWalletBackup:output_type -> walletmanager.v1.ImportWalletBackupResponse + 58, // 177: walletmanager.v1.WalletManagerService.CreateWatchOnlyWallet:output_type -> walletmanager.v1.CreateWatchOnlyWalletResponse + 60, // 178: walletmanager.v1.WalletManagerService.CreateElectrumWallet:output_type -> walletmanager.v1.CreateElectrumWalletResponse + 63, // 179: walletmanager.v1.WalletManagerService.CreateMultisigWallet:output_type -> walletmanager.v1.CreateMultisigWalletResponse + 66, // 180: walletmanager.v1.WalletManagerService.ParseMultisigConfig:output_type -> walletmanager.v1.ParseMultisigConfigResponse + 73, // 181: walletmanager.v1.WalletManagerService.ValidateDescriptor:output_type -> walletmanager.v1.ValidateDescriptorResponse + 69, // 182: walletmanager.v1.WalletManagerService.ValidateDerivationPath:output_type -> walletmanager.v1.ValidateDerivationPathResponse + 72, // 183: walletmanager.v1.WalletManagerService.ListDerivationPaths:output_type -> walletmanager.v1.ListDerivationPathsResponse + 75, // 184: walletmanager.v1.WalletManagerService.CreateBitcoinCoreWallet:output_type -> walletmanager.v1.CreateBitcoinCoreWalletResponse + 77, // 185: walletmanager.v1.WalletManagerService.EnsureCoreWallets:output_type -> walletmanager.v1.EnsureCoreWalletsResponse + 83, // 186: walletmanager.v1.WalletManagerService.GetBalance:output_type -> walletmanager.v1.GetBalanceResponse + 80, // 187: walletmanager.v1.WalletManagerService.RescanWallet:output_type -> walletmanager.v1.RescanWalletResponse + 82, // 188: walletmanager.v1.WalletManagerService.EstimateFee:output_type -> walletmanager.v1.EstimateFeeResponse + 85, // 189: walletmanager.v1.WalletManagerService.GetNewAddress:output_type -> walletmanager.v1.GetNewAddressResponse + 87, // 190: walletmanager.v1.WalletManagerService.SendTransaction:output_type -> walletmanager.v1.SendTransactionResponse + 89, // 191: walletmanager.v1.WalletManagerService.PreviewSend:output_type -> walletmanager.v1.PreviewSendResponse + 203, // 192: walletmanager.v1.WalletManagerService.SetFrozenCoins:output_type -> google.protobuf.Empty + 203, // 193: walletmanager.v1.WalletManagerService.SetDraftCoins:output_type -> google.protobuf.Empty + 195, // 194: walletmanager.v1.WalletManagerService.CreateDeposit:output_type -> walletmanager.v1.CreateDepositResponse + 143, // 195: walletmanager.v1.WalletManagerService.ListTransactions:output_type -> walletmanager.v1.ListTransactionsResponse + 146, // 196: walletmanager.v1.WalletManagerService.ListUnspent:output_type -> walletmanager.v1.ListUnspentResponse + 149, // 197: walletmanager.v1.WalletManagerService.ListReceiveAddresses:output_type -> walletmanager.v1.ListReceiveAddressesResponse + 151, // 198: walletmanager.v1.WalletManagerService.GetTransactionDetails:output_type -> walletmanager.v1.GetTransactionDetailsResponse + 155, // 199: walletmanager.v1.WalletManagerService.DecodeTransaction:output_type -> walletmanager.v1.DecodeTransactionResponse + 157, // 200: walletmanager.v1.WalletManagerService.BumpFee:output_type -> walletmanager.v1.BumpFeeResponse + 159, // 201: walletmanager.v1.WalletManagerService.PreviewBumpFee:output_type -> walletmanager.v1.PreviewBumpFeeResponse + 166, // 202: walletmanager.v1.WalletManagerService.CreateCpfp:output_type -> walletmanager.v1.CreateCpfpResponse + 164, // 203: walletmanager.v1.WalletManagerService.CancelTransaction:output_type -> walletmanager.v1.CancelTransactionResponse + 168, // 204: walletmanager.v1.WalletManagerService.DeriveAddresses:output_type -> walletmanager.v1.DeriveAddressesResponse + 171, // 205: walletmanager.v1.WalletManagerService.ListEcxBurns:output_type -> walletmanager.v1.ListEcxBurnsResponse + 97, // 206: walletmanager.v1.WalletManagerService.CreatePsbt:output_type -> walletmanager.v1.CreatePsbtResponse + 99, // 207: walletmanager.v1.WalletManagerService.SignPsbt:output_type -> walletmanager.v1.SignPsbtResponse + 101, // 208: walletmanager.v1.WalletManagerService.SignPsbtWithCosigner:output_type -> walletmanager.v1.SignPsbtWithCosignerResponse + 103, // 209: walletmanager.v1.WalletManagerService.CombinePsbt:output_type -> walletmanager.v1.CombinePsbtResponse + 105, // 210: walletmanager.v1.WalletManagerService.FinalizePsbt:output_type -> walletmanager.v1.FinalizePsbtResponse + 107, // 211: walletmanager.v1.WalletManagerService.MultisigPsbtStatus:output_type -> walletmanager.v1.MultisigPsbtStatusResponse + 109, // 212: walletmanager.v1.WalletManagerService.BroadcastTransaction:output_type -> walletmanager.v1.BroadcastTransactionResponse + 197, // 213: walletmanager.v1.WalletManagerService.GetAddressDerivationPath:output_type -> walletmanager.v1.GetAddressDerivationPathResponse + 112, // 214: walletmanager.v1.WalletManagerService.GetAddressUnspent:output_type -> walletmanager.v1.GetAddressUnspentResponse + 114, // 215: walletmanager.v1.WalletManagerService.GetAddressSpends:output_type -> walletmanager.v1.GetAddressSpendsResponse + 116, // 216: walletmanager.v1.WalletManagerService.BroadcastElectrumTransaction:output_type -> walletmanager.v1.BroadcastElectrumTransactionResponse + 120, // 217: walletmanager.v1.WalletManagerService.EnumerateHardwareDevices:output_type -> walletmanager.v1.EnumerateHardwareDevicesResponse + 122, // 218: walletmanager.v1.WalletManagerService.GetHardwareXpub:output_type -> walletmanager.v1.GetHardwareXpubResponse + 124, // 219: walletmanager.v1.WalletManagerService.SignPsbtWithDevice:output_type -> walletmanager.v1.SignPsbtWithDeviceResponse + 126, // 220: walletmanager.v1.WalletManagerService.PromptDevicePin:output_type -> walletmanager.v1.PromptDevicePinResponse + 128, // 221: walletmanager.v1.WalletManagerService.SendDevicePin:output_type -> walletmanager.v1.SendDevicePinResponse + 130, // 222: walletmanager.v1.WalletManagerService.CloseDevice:output_type -> walletmanager.v1.CloseDeviceResponse + 132, // 223: walletmanager.v1.WalletManagerService.DeriveKeystore:output_type -> walletmanager.v1.DeriveKeystoreResponse + 135, // 224: walletmanager.v1.WalletManagerService.ExploreSeed:output_type -> walletmanager.v1.ExploreSeedResponse + 137, // 225: walletmanager.v1.WalletManagerService.GenerateMnemonic:output_type -> walletmanager.v1.GenerateMnemonicResponse + 139, // 226: walletmanager.v1.WalletManagerService.ValidateMnemonic:output_type -> walletmanager.v1.ValidateMnemonicResponse + 173, // 227: walletmanager.v1.WalletManagerService.PreviewWalletFromEntropy:output_type -> walletmanager.v1.PreviewWalletFromEntropyResponse + 175, // 228: walletmanager.v1.WalletManagerService.GetWalletSeed:output_type -> walletmanager.v1.GetWalletSeedResponse + 178, // 229: walletmanager.v1.WalletManagerService.ListCoreVariants:output_type -> walletmanager.v1.ListCoreVariantsResponse + 180, // 230: walletmanager.v1.WalletManagerService.GetCoreVariant:output_type -> walletmanager.v1.GetCoreVariantResponse + 182, // 231: walletmanager.v1.WalletManagerService.SetCoreVariant:output_type -> walletmanager.v1.SetCoreVariantResponse + 184, // 232: walletmanager.v1.WalletManagerService.GetElectrumServer:output_type -> walletmanager.v1.GetElectrumServerResponse + 186, // 233: walletmanager.v1.WalletManagerService.SetElectrumServer:output_type -> walletmanager.v1.SetElectrumServerResponse + 188, // 234: walletmanager.v1.WalletManagerService.GetTorConfig:output_type -> walletmanager.v1.GetTorConfigResponse + 190, // 235: walletmanager.v1.WalletManagerService.SetTorConfig:output_type -> walletmanager.v1.SetTorConfigResponse + 191, // 236: walletmanager.v1.WalletManagerService.WatchWalletData:output_type -> walletmanager.v1.WatchWalletDataResponse + 193, // 237: walletmanager.v1.WalletManagerService.WatchBalance:output_type -> walletmanager.v1.WatchBalanceResponse + 157, // [157:238] is the sub-list for method output_type + 76, // [76:157] is the sub-list for method input_type + 76, // [76:76] is the sub-list for extension type_name + 76, // [76:76] is the sub-list for extension extendee + 0, // [0:76] is the sub-list for field type_name } func init() { file_walletmanager_v1_walletmanager_proto_init() } @@ -13623,16 +13713,16 @@ func file_walletmanager_v1_walletmanager_proto_init() { if File_walletmanager_v1_walletmanager_proto != nil { return } - file_walletmanager_v1_walletmanager_proto_msgTypes[136].OneofWrappers = []any{} - file_walletmanager_v1_walletmanager_proto_msgTypes[147].OneofWrappers = []any{} - file_walletmanager_v1_walletmanager_proto_msgTypes[149].OneofWrappers = []any{} + file_walletmanager_v1_walletmanager_proto_msgTypes[137].OneofWrappers = []any{} + file_walletmanager_v1_walletmanager_proto_msgTypes[148].OneofWrappers = []any{} + file_walletmanager_v1_walletmanager_proto_msgTypes[150].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_walletmanager_v1_walletmanager_proto_rawDesc), len(file_walletmanager_v1_walletmanager_proto_rawDesc)), NumEnums: 8, - NumMessages: 192, + NumMessages: 193, NumExtensions: 0, NumServices: 1, }, diff --git a/sidechain-orchestrator/gen/walletmanager/v1/walletmanagerv1connect/walletmanager.connect.go b/sidechain-orchestrator/gen/walletmanager/v1/walletmanagerv1connect/walletmanager.connect.go index a6c0a96de..6a5fd358d 100644 --- a/sidechain-orchestrator/gen/walletmanager/v1/walletmanagerv1connect/walletmanager.connect.go +++ b/sidechain-orchestrator/gen/walletmanager/v1/walletmanagerv1connect/walletmanager.connect.go @@ -895,8 +895,9 @@ type WalletManagerServiceClient interface { EstimateFee(context.Context, *v1.EstimateFeeRequest) (*v1.EstimateFeeResponse, error) GetNewAddress(context.Context, *v1.GetNewAddressRequest) (*v1.GetNewAddressResponse, error) SendTransaction(context.Context, *v1.SendTransactionRequest) (*v1.SendTransactionResponse, error) - // PreviewSend builds a send at a fee rate, with the same coin selection as - // SendTransaction, and reports its fee and size. It broadcasts nothing. + // PreviewSend builds a send at a fee rate or a fixed fee, with the same coin + // selection as SendTransaction, and reports its coins, outputs, fee and size. + // It broadcasts nothing. PreviewSend(context.Context, *v1.PreviewSendRequest) (*v1.PreviewSendResponse, error) // SetFrozenCoins records the coins the frontend froze. Every send after it // leaves those coins alone, and Bitcoin Core holds them locked for the @@ -1116,8 +1117,9 @@ type WalletManagerServiceHandler interface { EstimateFee(context.Context, *v1.EstimateFeeRequest) (*v1.EstimateFeeResponse, error) GetNewAddress(context.Context, *v1.GetNewAddressRequest) (*v1.GetNewAddressResponse, error) SendTransaction(context.Context, *v1.SendTransactionRequest) (*v1.SendTransactionResponse, error) - // PreviewSend builds a send at a fee rate, with the same coin selection as - // SendTransaction, and reports its fee and size. It broadcasts nothing. + // PreviewSend builds a send at a fee rate or a fixed fee, with the same coin + // selection as SendTransaction, and reports its coins, outputs, fee and size. + // It broadcasts nothing. PreviewSend(context.Context, *v1.PreviewSendRequest) (*v1.PreviewSendResponse, error) // SetFrozenCoins records the coins the frontend froze. Every send after it // leaves those coins alone, and Bitcoin Core holds them locked for the diff --git a/sidechain-orchestrator/proto/walletmanager/v1/walletmanager.proto b/sidechain-orchestrator/proto/walletmanager/v1/walletmanager.proto index 46ffbf79a..45622e812 100644 --- a/sidechain-orchestrator/proto/walletmanager/v1/walletmanager.proto +++ b/sidechain-orchestrator/proto/walletmanager/v1/walletmanager.proto @@ -63,8 +63,9 @@ service WalletManagerService { rpc EstimateFee(EstimateFeeRequest) returns (EstimateFeeResponse); rpc GetNewAddress(GetNewAddressRequest) returns (GetNewAddressResponse); rpc SendTransaction(SendTransactionRequest) returns (SendTransactionResponse); - // PreviewSend builds a send at a fee rate, with the same coin selection as - // SendTransaction, and reports its fee and size. It broadcasts nothing. + // PreviewSend builds a send at a fee rate or a fixed fee, with the same coin + // selection as SendTransaction, and reports its coins, outputs, fee and size. + // It broadcasts nothing. rpc PreviewSend(PreviewSendRequest) returns (PreviewSendResponse); // SetFrozenCoins records the coins the frontend froze. Every send after it // leaves those coins alone, and Bitcoin Core holds them locked for the @@ -806,9 +807,16 @@ message SendTransactionResponse { } message PreviewSendRequest { + option (buf.validate.message).cel = { + id: "preview.fees" + message: "the request cannot set both fee rate and fixed fee" + expression: "this.fee_rate_sat_per_vbyte <= 0.0 || this.fixed_fee_sats <= 0" + }; + string wallet_id = 1; // empty = active wallet map destinations = 2; // address -> satoshis - double fee_rate_sat_per_vbyte = 3; // must be above 0 for a payment preview + // A payment preview must have a fee rate or a fixed fee. + double fee_rate_sat_per_vbyte = 3; bool subtract_fee_from_amount = 4; repeated UnspentOutput required_inputs = 5; bool allow_replay = 6; @@ -820,9 +828,11 @@ message PreviewSendRequest { CoinOrder coin_order = 9; // The destination whose amount pays the fee. Setting it subtracts the fee. string subtract_fee_from_address = 10; + int64 fixed_fee_sats = 11; } message PreviewSendResponse { + // The fee the send pays. A fixed fee grows by change below dust. int64 fee_sats = 1; // Size of the signed transaction. int64 vsize_vbytes = 2; @@ -834,9 +844,18 @@ message PreviewSendResponse { // The coin the notification spends. Unset when the send publishes none. UnspentOutput notification_input = 5; // True when fee_sats and notification_fee_sats are estimates: a first BIP47 - // payment from a one-coin wallet pays from the notification change, so - // inputs and notification_input stay empty. + // payment can spend the notification change, so inputs, outputs and + // notification_input stay empty. bool fee_is_estimate = 6; + // The outputs of the send, with the change. + repeated PreviewSendOutput outputs = 7; +} + +message PreviewSendOutput { + // The destination as the request names it. Empty for change and OP_RETURN. + string address = 1; + int64 amount_sats = 2; + bool is_change = 3; } message SetFrozenCoinsRequest { diff --git a/sidechain-orchestrator/wallet/core_backend.go b/sidechain-orchestrator/wallet/core_backend.go index 1141e7510..cf1c4929f 100644 --- a/sidechain-orchestrator/wallet/core_backend.go +++ b/sidechain-orchestrator/wallet/core_backend.go @@ -1066,11 +1066,11 @@ func (p *CoreBackend) Send(ctx context.Context, walletID string, req SendRequest } if req.FixedFeeSats > 0 { - rawHex, err := p.fixedFeeRawTx(ctx, walletID, name, req, inputs, outputs, totalDestinationSats, externalSats, locktime) + built, err := p.fixedFeeRawTx(ctx, walletID, name, req, inputs, outputs, totalDestinationSats, externalSats, locktime, "") if err != nil { return "", err } - return p.signAndBroadcast(ctx, name, rawHex, len(req.ExternalInputs) > 0) + return p.signAndBroadcast(ctx, name, built.Hex, len(req.ExternalInputs) > 0) } if len(req.ExternalInputs) == 0 { @@ -1087,22 +1087,23 @@ func (p *CoreBackend) Send(ctx context.Context, walletID string, req SendRequest // fixedFeeRawTx builds the unsigned transaction of a fixed-fee send: the given // inputs, or more of the largest coins when no input is pinned, and change -// above dust. +// above dust. An empty changeAddress takes a new one from the wallet. func (p *CoreBackend) fixedFeeRawTx( ctx context.Context, walletID, name string, req SendRequest, inputs []RawInput, outputs []TxOutSpec, totalDestinationSats, externalSats int64, locktime uint32, -) (string, error) { + changeAddress string, +) (*FundRawTransactionResult, error) { feeOnTopSats := req.FixedFeeSats payerIndex, err := singleFeePayerIndex(req, outputs) if err != nil { - return "", err + return nil, err } if payerIndex >= 0 { outputs = slices.Clone(outputs) payment := &outputs[payerIndex] paymentSats := req.DestinationsSats[payment.Address] - req.FixedFeeSats if minimumSats := dustForOutput(*payment, p.net()); paymentSats < minimumSats { - return "", connect.Errorf(connect.CodeInvalidArgument, "payment after the fee must be at least %d sats", minimumSats) + return nil, connect.Errorf(connect.CodeInvalidArgument, "payment after the fee must be at least %d sats", minimumSats) } payment.AmountBTC = float64(paymentSats) / 1e8 feeOnTopSats = 0 @@ -1115,7 +1116,7 @@ func (p *CoreBackend) fixedFeeRawTx( // and burn the difference as fee. requiredSats, err := p.requiredInputValueSats(ctx, name, req.RequiredInputs) if err != nil { - return "", err + return nil, err } selectedInputAmountSats += requiredSats } @@ -1126,7 +1127,7 @@ func (p *CoreBackend) fixedFeeRawTx( ctx, walletID, neededSats-selectedInputAmountSats, req.CoinOrder, ) if err != nil { - return "", err + return nil, err } inputs = append(inputs, extra...) selectedInputAmountSats += extraSats @@ -1134,22 +1135,29 @@ func (p *CoreBackend) fixedFeeRawTx( changeSats := selectedInputAmountSats - neededSats if changeSats < 0 { - return "", fmt.Errorf( + return nil, fmt.Errorf( "insufficient selected inputs: need %d sats, have %d sats", neededSats, selectedInputAmountSats, ) } - if changeSats >= 546 { - changeAddress, err := p.NextChangeAddress(ctx, walletID) - if err != nil { - return "", fmt.Errorf("get raw change address: %w", err) + feeSats, changePos := req.FixedFeeSats+changeSats, -1 + if changeSats >= fixedFeeChangeDustSats { + if changeAddress == "" { + if changeAddress, err = p.NextChangeAddress(ctx, walletID); err != nil { + return nil, fmt.Errorf("get raw change address: %w", err) + } } + feeSats, changePos = req.FixedFeeSats, len(outputs) outputs = append(outputs, TxOutSpec{Address: changeAddress, AmountBTC: float64(changeSats) / 1e8}) } - return p.createRawTx(ctx, req, inputs, outputs, locktime) + rawHex, err := p.createRawTx(ctx, req, inputs, outputs, locktime) + if err != nil { + return nil, err + } + return &FundRawTransactionResult{Hex: rawHex, Fee: float64(feeSats) / 1e8, ChangePos: changePos}, nil } // fundWithCoreSelection lets Core add inputs, change and the fee to the send. @@ -1479,11 +1487,11 @@ func (p *CoreBackend) CreatePSBT(ctx context.Context, walletID string, req SendR options["subtractFeeFromOutputs"] = payerIndexes } if req.FixedFeeSats > 0 { - rawHex, err := p.fixedFeeRawTx(ctx, walletID, name, req, inputs, outputs, totalDestinationSats, 0, locktime) + built, err := p.fixedFeeRawTx(ctx, walletID, name, req, inputs, outputs, totalDestinationSats, 0, locktime, "") if err != nil { return "", err } - unsigned, err := psbtFromRawTx(rawHex) + unsigned, err := psbtFromRawTx(built.Hex) if err != nil { return "", err } diff --git a/sidechain-orchestrator/wallet/send_preview.go b/sidechain-orchestrator/wallet/send_preview.go index 8f535362b..3cd755e7d 100644 --- a/sidechain-orchestrator/wallet/send_preview.go +++ b/sidechain-orchestrator/wallet/send_preview.go @@ -12,6 +12,7 @@ import ( "connectrpc.com/connect/v2" "github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator/config" + "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/samber/lo" @@ -24,6 +25,35 @@ type SendPreview struct { VsizeVBytes int64 // Inputs are the coins the send spends. A send that pins them pays FeeSats. Inputs []RequiredInput + // Outputs are the outputs of the send, with the change. + Outputs []SendPreviewOutput +} + +// SendPreviewOutput is one output of a previewed send. Address is the +// destination as the request names it, and empty for change and OP_RETURN. +type SendPreviewOutput struct { + Address string + AmountSats int64 + IsChange bool +} + +// previewOutputs names the outputs of tx. changePos is -1 for a send with no +// change. +func previewOutputs(tx *wire.MsgTx, req SendRequest, changePos int, net *chaincfg.Params) ([]SendPreviewOutput, error) { + addresses := make(map[string]string, len(req.DestinationsSats)) + for address := range req.DestinationsSats { + out, err := outputToTxOut(TxOutSpec{Address: address}, net) + if err != nil { + return nil, err + } + addresses[string(out.PkScript)] = address + } + return lo.Map(tx.TxOut, func(out *wire.TxOut, i int) SendPreviewOutput { + if i == changePos { + return SendPreviewOutput{AmountSats: out.Value, IsChange: true} + } + return SendPreviewOutput{Address: addresses[string(out.PkScript)], AmountSats: out.Value} + }), nil } // signedVsize is the vsize of tx after its inputs are signed. inputWeights @@ -53,19 +83,19 @@ func refuseExcludedRequiredInputs(req SendRequest) error { return nil } -// requireSendPreviewRate refuses a payment preview with no rate. A send with -// only an OP_RETURN output can take the send default. -func requireSendPreviewRate(req SendRequest) error { - if req.FeeRateSatPerVB <= 0 && len(req.DestinationsSats) > 0 { - return connect.NewError(connect.CodeInvalidArgument, "a send preview needs a fee rate") +// requireSendPreviewFee refuses a payment preview with no rate and no fixed +// fee. A send with only an OP_RETURN output can take the send default. +func requireSendPreviewFee(req SendRequest) error { + if req.FeeRateSatPerVB <= 0 && req.FixedFeeSats <= 0 && len(req.DestinationsSats) > 0 { + return connect.NewError(connect.CodeInvalidArgument, "a send preview needs a fee rate or a fixed fee") } return nil } -// PreviewSend funds the send with Core's coin selection at req's fee rate, and -// reports the fee and size without a signature or a broadcast. +// PreviewSend builds the send as Send does, at req's fee rate or fixed fee, and +// reports its coins, outputs, fee and size without a signature or a broadcast. func (p *CoreBackend) PreviewSend(ctx context.Context, walletID string, req SendRequest) (_ *SendPreview, err error) { - if err := requireSendPreviewRate(req); err != nil { + if err := requireSendPreviewFee(req); err != nil { return nil, err } if err := refuseExcludedRequiredInputs(req); err != nil { @@ -105,7 +135,7 @@ func (p *CoreBackend) PreviewSend(ctx context.Context, walletID string, req Send return nil, err } } - outputs, _ := buildSendOutputs(req) + outputs, totalDestinationSats := buildSendOutputs(req) inputs := make([]RawInput, 0, len(req.RequiredInputs)) for _, in := range req.RequiredInputs { inputs = append(inputs, RawInput{TxID: in.TxID, Vout: in.Vout}) @@ -117,15 +147,24 @@ func (p *CoreBackend) PreviewSend(ctx context.Context, walletID string, req Send return fmt.Sprint(addressKind(addr, p.net())) })) sort.Strings(kinds) + if req.FixedFeeSats > 0 { + // A fixed-fee send takes its change type from the wallet. + kinds = []string{"fixed"} + } changeKey := p.net().Name + "|" + name + "|" + strings.Join(kinds, ",") p.previewMu.Lock() changeAddress := p.previewChange[changeKey] p.previewMu.Unlock() - if inputs, err = p.coinOrderInputs(ctx, walletID, req, inputs, outputs); err != nil { - return nil, err + var funded *FundRawTransactionResult + if req.FixedFeeSats > 0 { + funded, err = p.fixedFeeRawTx(ctx, walletID, name, req, inputs, outputs, totalDestinationSats, 0, locktime, changeAddress) + } else { + if inputs, err = p.coinOrderInputs(ctx, walletID, req, inputs, outputs); err != nil { + return nil, err + } + funded, err = p.fundWithCoreSelection(ctx, walletID, name, req, inputs, outputs, locktime, protect, changeAddress) } - funded, err := p.fundWithCoreSelection(ctx, walletID, name, req, inputs, outputs, locktime, protect, changeAddress) if err != nil { return nil, err } @@ -185,13 +224,19 @@ func (p *CoreBackend) PreviewSend(ctx context.Context, walletID string, req Send if err != nil { return nil, err } - return &SendPreview{FeeSats: int64(math.Round(funded.Fee * 1e8)), VsizeVBytes: vsize, Inputs: spent}, nil + outs, err := previewOutputs(&tx, req, funded.ChangePos, p.net()) + if err != nil { + return nil, err + } + return &SendPreview{ + FeeSats: int64(math.Round(funded.Fee * 1e8)), VsizeVBytes: vsize, Inputs: spent, Outputs: outs, + }, nil } -// PreviewSend selects coins for the send at req's fee rate, as Send does, and -// reports the fee and size without a signature or a broadcast. +// PreviewSend builds the send as Send does, at req's fee rate or fixed fee, and +// reports its coins, outputs, fee and size without a signature or a broadcast. func (p *ElectrumBackend) PreviewSend(ctx context.Context, walletID string, req SendRequest) (*SendPreview, error) { - if err := requireSendPreviewRate(req); err != nil { + if err := requireSendPreviewFee(req); err != nil { return nil, err } if err := p.requireElectrum(walletID); err != nil { @@ -201,7 +246,7 @@ func (p *ElectrumBackend) PreviewSend(ctx context.Context, walletID string, req if err != nil { return nil, err } - packet, psbtInputs, _, err := p.buildSendPSBT(ctx, walletID, scan, req) + packet, psbtInputs, effect, err := p.buildSendPSBT(ctx, walletID, scan, req) if err != nil { return nil, err } @@ -231,5 +276,13 @@ func (p *ElectrumBackend) PreviewSend(ctx context.Context, walletID string, req if err != nil { return nil, err } - return &SendPreview{FeeSats: feeSats, VsizeVBytes: vsize, Inputs: spent}, nil + changePos := -1 + if effect.change != nil { + changePos = len(packet.UnsignedTx.TxOut) - 1 + } + outs, err := previewOutputs(packet.UnsignedTx, req, changePos, p.params()) + if err != nil { + return nil, err + } + return &SendPreview{FeeSats: feeSats, VsizeVBytes: vsize, Inputs: spent, Outputs: outs}, nil } diff --git a/sidechain-orchestrator/wallet/send_preview_integration_test.go b/sidechain-orchestrator/wallet/send_preview_integration_test.go index 5fe848990..e41ef75a1 100644 --- a/sidechain-orchestrator/wallet/send_preview_integration_test.go +++ b/sidechain-orchestrator/wallet/send_preview_integration_test.go @@ -459,6 +459,52 @@ func TestFixedFeeBip47RejectsAnUnfundedPayment(t *testing.T) { require.Zero(t, preview.NotificationFeeSats) } +// TestPreviewSendMatchesAFixedFeeBroadcast previews fixed-fee sends and holds +// each preview to the transaction in the mempool of Core. +func TestPreviewSendMatchesAFixedFeeBroadcast(t *testing.T) { + h := testharness.New(t, 1) + defer h.Close() + node := h.Nodes[0] + ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) + defer cancel() + client := node.WalletClient + smallID, to := smallCoinWallet(ctx, t, node, 5) + + for _, tc := range []struct { + name string + sats int64 + subtract bool + feeSats int64 + }{ + {"change", 50_000, false, 1_000}, + {"change below dust", 98_700, false, 1_300}, + {"fee from the amount and change below dust", 99_700, true, 1_300}, + } { + t.Run(tc.name, func(t *testing.T) { + send := map[string]int64{to: tc.sats} + preview, err := client.PreviewSend(ctx, &pb.PreviewSendRequest{ + WalletId: smallID, Destinations: send, FixedFeeSats: 1_000, SubtractFeeFromAmount: tc.subtract, + }) + require.NoError(t, err) + require.Equal(t, tc.feeSats, preview.FeeSats) + sent, err := client.SendTransaction(ctx, &pb.SendTransactionRequest{ + WalletId: smallID, Destinations: send, FixedFeeSats: 1_000, SubtractFeeFromAmount: tc.subtract, + RequiredInputs: preview.Inputs, + }) + require.NoError(t, err) + entry, err := node.CoreRPC.GetMempoolEntry(ctx, sent.Txid) + require.NoError(t, err) + assert.Equal(t, preview.FeeSats, int64(math.Round(entry.Fees.Base*1e8))) + tx, err := node.CoreRPC.GetRawTransaction(ctx, sent.Txid) + require.NoError(t, err) + require.Len(t, tx.Vout, len(preview.Outputs)) + for i, out := range tx.Vout { + assert.Equal(t, preview.Outputs[i].AmountSats, int64(math.Round(out.Value*1e8))) + } + }) + } +} + // TestPreviewSendMatchesAnOpReturnBroadcast previews an OP_RETURN send with no // rate, and holds the preview to the transaction in the mempool of Core. func TestPreviewSendMatchesAnOpReturnBroadcast(t *testing.T) { diff --git a/sidechain-orchestrator/wallet/send_preview_test.go b/sidechain-orchestrator/wallet/send_preview_test.go index cb3b14793..a587da9f6 100644 --- a/sidechain-orchestrator/wallet/send_preview_test.go +++ b/sidechain-orchestrator/wallet/send_preview_test.go @@ -284,3 +284,144 @@ func TestCoreBackendPreviewSendLetsCorePriceAnOpReturn(t *testing.T) { assert.NotContains(t, opts, "fee_rate", "Core prices a send with no rate") assert.Empty(t, fake.callsFor("sendrawtransaction")) } + +// fixedFeePreviewFixture is a Core wallet with one 100,000 sat coin. It records +// the outputs of each createrawtransaction and answers with a real transaction. +func fixedFeePreviewFixture(t *testing.T) (*CoreBackend, *fakeBitcoind, string) { + t.Helper() + backend, fake, coreID := newCoreBackendFixture(t) + fake.stubEnsureFlow() + net := &chaincfg.RegressionNetParams + _, utxos := fundedCoreTx(t, 1, net) + utxos[0]["amount"] = 0.001 + fake.handle("listunspent", func(bitcoindCall) (any, string) { return utxos, "" }) + fake.handle("getaddressinfo", func(bitcoindCall) (any, string) { return map[string]any{}, "" }) + fake.handle("gettransaction", func(bitcoindCall) (any, string) { return map[string]any{}, "" }) + fake.handle("getrawchangeaddress", func(bitcoindCall) (any, string) { return p2wpkhAddr(t, fixedKey(0x99), net), "" }) + fake.handle("createrawtransaction", func(c bitcoindCall) (any, string) { + var inputs []RawInput + require.NoError(t, json.Unmarshal(c.Params[0], &inputs)) + var outputs []map[string]float64 + require.NoError(t, json.Unmarshal(c.Params[1], &outputs)) + tx := wire.NewMsgTx(wire.TxVersion) + for _, in := range inputs { + hash, err := chainhash.NewHashFromStr(in.TxID) + require.NoError(t, err) + tx.AddTxIn(wire.NewTxIn(wire.NewOutPoint(hash, uint32(in.Vout)), nil, nil)) + } + for _, o := range outputs { + for address, btc := range o { + out, err := outputToTxOut(TxOutSpec{Address: address, AmountBTC: btc}, net) + require.NoError(t, err) + tx.AddTxOut(out) + } + } + var buf bytes.Buffer + require.NoError(t, tx.SerializeNoWitness(&buf)) + return hex.EncodeToString(buf.Bytes()), "" + }) + return backend, fake, coreID +} + +func TestCoreBackendPreviewSendBuildsAFixedFee(t *testing.T) { + to := p2wpkhAddr(t, fixedKey(0x88), &chaincfg.RegressionNetParams) + for _, tc := range []struct { + name string + sats int64 + subtract bool + fee int64 + outputs []SendPreviewOutput + }{ + {"change", 50_000, false, 1_000, []SendPreviewOutput{{Address: to, AmountSats: 50_000}, {AmountSats: 49_000, IsChange: true}}}, + {"change below dust", 98_700, false, 1_300, []SendPreviewOutput{{Address: to, AmountSats: 98_700}}}, + {"fee from the amount", 50_000, true, 1_000, []SendPreviewOutput{{Address: to, AmountSats: 49_000}, {AmountSats: 50_000, IsChange: true}}}, + {"fee from the amount and change below dust", 99_700, true, 1_300, []SendPreviewOutput{{Address: to, AmountSats: 98_700}}}, + {"no change", 100_000, true, 1_000, []SendPreviewOutput{{Address: to, AmountSats: 99_000}}}, + } { + t.Run(tc.name, func(t *testing.T) { + backend, fake, coreID := fixedFeePreviewFixture(t) + preview, err := backend.PreviewSend(context.Background(), coreID, SendRequest{ + DestinationsSats: map[string]int64{to: tc.sats}, + FixedFeeSats: 1_000, + SubtractFeeFromAmount: tc.subtract, + }) + require.NoError(t, err) + assert.Equal(t, tc.fee, preview.FeeSats) + assert.Equal(t, tc.outputs, preview.Outputs) + assert.Equal(t, []RequiredInput{{TxID: strings.Repeat("01", 32), Vout: 1, AmountSats: 100_000}}, preview.Inputs) + assert.Empty(t, fake.callsFor("fundrawtransaction")) + assert.Empty(t, fake.callsFor("sendrawtransaction")) + }) + } +} + +func TestCoreBackendPreviewSendFixedFeeReusesOneChangeAddress(t *testing.T) { + backend, fake, coreID := fixedFeePreviewFixture(t) + for range 3 { + _, err := backend.PreviewSend(context.Background(), coreID, SendRequest{ + DestinationsSats: map[string]int64{p2wpkhAddr(t, fixedKey(0x88), &chaincfg.RegressionNetParams): 50_000}, + FixedFeeSats: 1_000, + }) + require.NoError(t, err) + } + assert.Len(t, fake.callsFor("getrawchangeaddress"), 1) +} + +func TestCoreBackendPreviewSendRefusesAFixedFeeTheCoinsCannotPay(t *testing.T) { + backend, _, coreID := fixedFeePreviewFixture(t) + _, err := backend.PreviewSend(context.Background(), coreID, SendRequest{ + DestinationsSats: map[string]int64{p2wpkhAddr(t, fixedKey(0x88), &chaincfg.RegressionNetParams): 100_000}, + FixedFeeSats: 1_000, + }) + require.ErrorContains(t, err, "insufficient funds") +} + +func TestCoreBackendPreviewSendNamesAnUpperCaseAddress(t *testing.T) { + backend, _, coreID := fixedFeePreviewFixture(t) + to := strings.ToUpper(p2wpkhAddr(t, fixedKey(0x88), &chaincfg.RegressionNetParams)) + preview, err := backend.PreviewSend(context.Background(), coreID, SendRequest{ + DestinationsSats: map[string]int64{to: 50_000}, + FixedFeeSats: 1_000, + }) + require.NoError(t, err) + assert.Equal(t, to, preview.Outputs[0].Address) +} + +func TestElectrumPreviewSendMatchesAFixedFeeSend(t *testing.T) { + const to = "tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx" + for _, tc := range []struct { + name string + sats int64 + change bool + }{ + {"change", 12_000, true}, + {"change below dust", 13_900, false}, + } { + t.Run(tc.name, func(t *testing.T) { + p, fake, w, addr := newElectrumFixture(t) + fundManyCoins(fake, addr) + req := SendRequest{DestinationsSats: map[string]int64{to: tc.sats}, FixedFeeSats: 1_000} + + preview, err := p.PreviewSend(context.Background(), w.ID, req) + require.NoError(t, err) + assert.Empty(t, fake.broadcast, "a preview broadcasts nothing") + req.RequiredInputs = preview.Inputs + _, err = p.Send(context.Background(), w.ID, req) + require.NoError(t, err) + raw, err := hex.DecodeString(fake.broadcast[0]) + require.NoError(t, err) + var tx wire.MsgTx + require.NoError(t, tx.Deserialize(bytes.NewReader(raw))) + + require.Len(t, preview.Outputs, len(tx.TxOut)) + paid := int64(len(tx.TxIn)) * previewCoinSats + for i, out := range tx.TxOut { + assert.Equal(t, out.Value, preview.Outputs[i].AmountSats) + paid -= out.Value + } + assert.Equal(t, paid, preview.FeeSats, "the send pays the fee the preview showed") + assert.Equal(t, SendPreviewOutput{Address: to, AmountSats: tc.sats}, preview.Outputs[0]) + assert.Equal(t, tc.change, preview.Outputs[len(preview.Outputs)-1].IsChange) + }) + } +} diff --git a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.client.dart b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.client.dart index 0eadac99a..8bb30f9f7 100644 --- a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.client.dart +++ b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.client.dart @@ -608,8 +608,9 @@ extension type WalletManagerServiceClient(connect.Transport _transport) { ); } - /// PreviewSend builds a send at a fee rate, with the same coin selection as - /// SendTransaction, and reports its fee and size. It broadcasts nothing. + /// PreviewSend builds a send at a fee rate or a fixed fee, with the same coin + /// selection as SendTransaction, and reports its coins, outputs, fee and size. + /// It broadcasts nothing. Future previewSend( walletmanagerv1walletmanager.PreviewSendRequest input, { connect.Headers? headers, diff --git a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.spec.dart b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.spec.dart index 8bcb38dff..32b147543 100644 --- a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.spec.dart +++ b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.connect.spec.dart @@ -270,8 +270,9 @@ abstract final class WalletManagerService { walletmanagerv1walletmanager.SendTransactionResponse.new, ); - /// PreviewSend builds a send at a fee rate, with the same coin selection as - /// SendTransaction, and reports its fee and size. It broadcasts nothing. + /// PreviewSend builds a send at a fee rate or a fixed fee, with the same coin + /// selection as SendTransaction, and reports its coins, outputs, fee and size. + /// It broadcasts nothing. static const previewSend = connect.Spec( '/$name/PreviewSend', connect.StreamType.unary, diff --git a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pb.dart b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pb.dart index 91ccaf7eb..6b20b8702 100644 --- a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pb.dart +++ b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pb.dart @@ -5735,6 +5735,7 @@ class PreviewSendRequest extends $pb.GeneratedMessage { $core.String? opReturnHex, CoinOrder? coinOrder, $core.String? subtractFeeFromAddress, + $fixnum.Int64? fixedFeeSats, }) { final result = PreviewSendRequest._(); if (walletId != null) result.walletId = walletId; @@ -5747,6 +5748,7 @@ class PreviewSendRequest extends $pb.GeneratedMessage { if (opReturnHex != null) result.opReturnHex = opReturnHex; if (coinOrder != null) result.coinOrder = coinOrder; if (subtractFeeFromAddress != null) result.subtractFeeFromAddress = subtractFeeFromAddress; + if (fixedFeeSats != null) result.fixedFeeSats = fixedFeeSats; return result; } @@ -5776,6 +5778,7 @@ class PreviewSendRequest extends $pb.GeneratedMessage { ..aOS(8, _omitFieldNames ? '' : 'opReturnHex') ..aE(9, _omitFieldNames ? '' : 'coinOrder', enumValues: CoinOrder.values) ..aOS(10, _omitFieldNames ? '' : 'subtractFeeFromAddress') + ..aInt64(11, _omitFieldNames ? '' : 'fixedFeeSats') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -5810,6 +5813,7 @@ class PreviewSendRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $pb.PbMap<$core.String, $fixnum.Int64> get destinations => $_getMap(1); + /// A payment preview must have a fee rate or a fixed fee. @$pb.TagNumber(3) $core.double get feeRateSatPerVbyte => $_getN(2); @$pb.TagNumber(3) @@ -5879,6 +5883,15 @@ class PreviewSendRequest extends $pb.GeneratedMessage { $core.bool hasSubtractFeeFromAddress() => $_has(9); @$pb.TagNumber(10) void clearSubtractFeeFromAddress() => $_clearField(10); + + @$pb.TagNumber(11) + $fixnum.Int64 get fixedFeeSats => $_getI64(10); + @$pb.TagNumber(11) + set fixedFeeSats($fixnum.Int64 value) => $_setInt64(10, value); + @$pb.TagNumber(11) + $core.bool hasFixedFeeSats() => $_has(10); + @$pb.TagNumber(11) + void clearFixedFeeSats() => $_clearField(11); } class PreviewSendResponse extends $pb.GeneratedMessage { @@ -5889,6 +5902,7 @@ class PreviewSendResponse extends $pb.GeneratedMessage { $fixnum.Int64? notificationFeeSats, UnspentOutput? notificationInput, $core.bool? feeIsEstimate, + $core.Iterable? outputs, }) { final result = PreviewSendResponse._(); if (feeSats != null) result.feeSats = feeSats; @@ -5897,6 +5911,7 @@ class PreviewSendResponse extends $pb.GeneratedMessage { if (notificationFeeSats != null) result.notificationFeeSats = notificationFeeSats; if (notificationInput != null) result.notificationInput = notificationInput; if (feeIsEstimate != null) result.feeIsEstimate = feeIsEstimate; + if (outputs != null) result.outputs.addAll(outputs); return result; } @@ -5918,6 +5933,7 @@ class PreviewSendResponse extends $pb.GeneratedMessage { ..aInt64(4, _omitFieldNames ? '' : 'notificationFeeSats') ..aOM(5, _omitFieldNames ? '' : 'notificationInput', subBuilder: UnspentOutput.$_createMessage) ..aOB(6, _omitFieldNames ? '' : 'feeIsEstimate') + ..pPM(7, _omitFieldNames ? '' : 'outputs', subBuilder: PreviewSendOutput.$_createMessage) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -5940,6 +5956,7 @@ class PreviewSendResponse extends $pb.GeneratedMessage { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(PreviewSendResponse.$_createMessage); static PreviewSendResponse? _defaultInstance; + /// The fee the send pays. A fixed fee grows by change below dust. @$pb.TagNumber(1) $fixnum.Int64 get feeSats => $_getI64(0); @$pb.TagNumber(1) @@ -5987,8 +6004,8 @@ class PreviewSendResponse extends $pb.GeneratedMessage { UnspentOutput ensureNotificationInput() => $_ensure(4); /// True when fee_sats and notification_fee_sats are estimates: a first BIP47 - /// payment from a one-coin wallet pays from the notification change, so - /// inputs and notification_input stay empty. + /// payment can spend the notification change, so inputs, outputs and + /// notification_input stay empty. @$pb.TagNumber(6) $core.bool get feeIsEstimate => $_getBF(5); @$pb.TagNumber(6) @@ -5997,6 +6014,89 @@ class PreviewSendResponse extends $pb.GeneratedMessage { $core.bool hasFeeIsEstimate() => $_has(5); @$pb.TagNumber(6) void clearFeeIsEstimate() => $_clearField(6); + + /// The outputs of the send, with the change. + @$pb.TagNumber(7) + $pb.PbList get outputs => $_getList(6); +} + +class PreviewSendOutput extends $pb.GeneratedMessage { + factory PreviewSendOutput({ + $core.String? address, + $fixnum.Int64? amountSats, + $core.bool? isChange, + }) { + final result = PreviewSendOutput._(); + if (address != null) result.address = address; + if (amountSats != null) result.amountSats = amountSats; + if (isChange != null) result.isChange = isChange; + return result; + } + + PreviewSendOutput._(); + + factory PreviewSendOutput.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + PreviewSendOutput()..mergeFromBuffer(data, registry); + factory PreviewSendOutput.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + PreviewSendOutput()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreviewSendOutput', + package: const $pb.PackageName(_omitMessageNames ? '' : 'walletmanager.v1'), + createEmptyInstance: PreviewSendOutput.$_createMessage) + ..aOS(1, _omitFieldNames ? '' : 'address') + ..aInt64(2, _omitFieldNames ? '' : 'amountSats') + ..aOB(3, _omitFieldNames ? '' : 'isChange') + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PreviewSendOutput clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PreviewSendOutput copyWith(void Function(PreviewSendOutput) updates) => + super.copyWith((message) => updates(message as PreviewSendOutput)) as PreviewSendOutput; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + @$core.Deprecated('Use PreviewSendOutput() / PreviewSendOutput.new instead') + static PreviewSendOutput create() => PreviewSendOutput._(); + static $pb.GeneratedMessage $_createMessage() => PreviewSendOutput._(); + @$core.override + PreviewSendOutput createEmptyInstance() => PreviewSendOutput._(); + @$core.pragma('dart2js:noInline') + static PreviewSendOutput getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(PreviewSendOutput.$_createMessage); + static PreviewSendOutput? _defaultInstance; + + /// The destination as the request names it. Empty for change and OP_RETURN. + @$pb.TagNumber(1) + $core.String get address => $_getSZ(0); + @$pb.TagNumber(1) + set address($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasAddress() => $_has(0); + @$pb.TagNumber(1) + void clearAddress() => $_clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get amountSats => $_getI64(1); + @$pb.TagNumber(2) + set amountSats($fixnum.Int64 value) => $_setInt64(1, value); + @$pb.TagNumber(2) + $core.bool hasAmountSats() => $_has(1); + @$pb.TagNumber(2) + void clearAmountSats() => $_clearField(2); + + @$pb.TagNumber(3) + $core.bool get isChange => $_getBF(2); + @$pb.TagNumber(3) + set isChange($core.bool value) => $_setBool(2, value); + @$pb.TagNumber(3) + $core.bool hasIsChange() => $_has(2); + @$pb.TagNumber(3) + void clearIsChange() => $_clearField(3); } class SetFrozenCoinsRequest extends $pb.GeneratedMessage { @@ -14904,8 +15004,9 @@ class WalletManagerServiceApi { _client.invoke( ctx, 'WalletManagerService', 'SendTransaction', request, SendTransactionResponse()); - /// PreviewSend builds a send at a fee rate, with the same coin selection as - /// SendTransaction, and reports its fee and size. It broadcasts nothing. + /// PreviewSend builds a send at a fee rate or a fixed fee, with the same coin + /// selection as SendTransaction, and reports its coins, outputs, fee and size. + /// It broadcasts nothing. $async.Future previewSend($pb.ClientContext? ctx, PreviewSendRequest request) => _client.invoke(ctx, 'WalletManagerService', 'PreviewSend', request, PreviewSendResponse()); diff --git a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pbjson.dart b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pbjson.dart index b7d9f6c77..59a566df3 100644 --- a/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pbjson.dart +++ b/sidechain_core/lib/gen/walletmanager/v1/walletmanager.pbjson.dart @@ -1409,8 +1409,10 @@ const PreviewSendRequest$json = { {'1': 'op_return_hex', '3': 8, '4': 1, '5': 9, '10': 'opReturnHex'}, {'1': 'coin_order', '3': 9, '4': 1, '5': 14, '6': '.walletmanager.v1.CoinOrder', '10': 'coinOrder'}, {'1': 'subtract_fee_from_address', '3': 10, '4': 1, '5': 9, '10': 'subtractFeeFromAddress'}, + {'1': 'fixed_fee_sats', '3': 11, '4': 1, '5': 3, '10': 'fixedFeeSats'}, ], '3': [PreviewSendRequest_DestinationsEntry$json], + '7': {}, }; @$core.Deprecated('Use previewSendRequestDescriptor instead') @@ -1435,8 +1437,11 @@ final $typed_data.Uint8List previewSendRequestDescriptor = '5vdGlmaWNhdGlvbk9ubHkSIgoNb3BfcmV0dXJuX2hleBgIIAEoCVILb3BSZXR1cm5IZXgSOgoK' 'Y29pbl9vcmRlchgJIAEoDjIbLndhbGxldG1hbmFnZXIudjEuQ29pbk9yZGVyUgljb2luT3JkZX' 'ISOQoZc3VidHJhY3RfZmVlX2Zyb21fYWRkcmVzcxgKIAEoCVIWc3VidHJhY3RGZWVGcm9tQWRk' - 'cmVzcxo/ChFEZXN0aW5hdGlvbnNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIA' - 'EoA1IFdmFsdWU6AjgB'); + 'cmVzcxIkCg5maXhlZF9mZWVfc2F0cxgLIAEoA1IMZml4ZWRGZWVTYXRzGj8KEURlc3RpbmF0aW' + '9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgDUgV2YWx1ZToCOAE6iQG6' + 'SIUBGoIBCgxwcmV2aWV3LmZlZXMSMnRoZSByZXF1ZXN0IGNhbm5vdCBzZXQgYm90aCBmZWUgcm' + 'F0ZSBhbmQgZml4ZWQgZmVlGj50aGlzLmZlZV9yYXRlX3NhdF9wZXJfdmJ5dGUgPD0gMC4wIHx8' + 'IHRoaXMuZml4ZWRfZmVlX3NhdHMgPD0gMA=='); @$core.Deprecated('Use previewSendResponseDescriptor instead') const PreviewSendResponse$json = { @@ -1455,6 +1460,7 @@ const PreviewSendResponse$json = { '10': 'notificationInput' }, {'1': 'fee_is_estimate', '3': 6, '4': 1, '5': 8, '10': 'feeIsEstimate'}, + {'1': 'outputs', '3': 7, '4': 3, '5': 11, '6': '.walletmanager.v1.PreviewSendOutput', '10': 'outputs'}, ], }; @@ -1465,7 +1471,23 @@ final $typed_data.Uint8List previewSendResponseDescriptor = 'YWdlci52MS5VbnNwZW50T3V0cHV0UgZpbnB1dHMSMgoVbm90aWZpY2F0aW9uX2ZlZV9zYXRzGA' 'QgASgDUhNub3RpZmljYXRpb25GZWVTYXRzEk4KEm5vdGlmaWNhdGlvbl9pbnB1dBgFIAEoCzIf' 'LndhbGxldG1hbmFnZXIudjEuVW5zcGVudE91dHB1dFIRbm90aWZpY2F0aW9uSW5wdXQSJgoPZm' - 'VlX2lzX2VzdGltYXRlGAYgASgIUg1mZWVJc0VzdGltYXRl'); + 'VlX2lzX2VzdGltYXRlGAYgASgIUg1mZWVJc0VzdGltYXRlEj0KB291dHB1dHMYByADKAsyIy53' + 'YWxsZXRtYW5hZ2VyLnYxLlByZXZpZXdTZW5kT3V0cHV0UgdvdXRwdXRz'); + +@$core.Deprecated('Use previewSendOutputDescriptor instead') +const PreviewSendOutput$json = { + '1': 'PreviewSendOutput', + '2': [ + {'1': 'address', '3': 1, '4': 1, '5': 9, '10': 'address'}, + {'1': 'amount_sats', '3': 2, '4': 1, '5': 3, '10': 'amountSats'}, + {'1': 'is_change', '3': 3, '4': 1, '5': 8, '10': 'isChange'}, + ], +}; + +/// Descriptor for `PreviewSendOutput`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List previewSendOutputDescriptor = + $convert.base64Decode('ChFQcmV2aWV3U2VuZE91dHB1dBIYCgdhZGRyZXNzGAEgASgJUgdhZGRyZXNzEh8KC2Ftb3VudF' + '9zYXRzGAIgASgDUgphbW91bnRTYXRzEhsKCWlzX2NoYW5nZRgDIAEoCFIIaXNDaGFuZ2U='); @$core.Deprecated('Use setFrozenCoinsRequestDescriptor instead') const SetFrozenCoinsRequest$json = { @@ -3641,6 +3663,7 @@ const $core.Map<$core.String, $core.Map<$core.String, $core.dynamic>> WalletMana '.walletmanager.v1.PreviewSendRequest': PreviewSendRequest$json, '.walletmanager.v1.PreviewSendRequest.DestinationsEntry': PreviewSendRequest_DestinationsEntry$json, '.walletmanager.v1.PreviewSendResponse': PreviewSendResponse$json, + '.walletmanager.v1.PreviewSendOutput': PreviewSendOutput$json, '.walletmanager.v1.SetFrozenCoinsRequest': SetFrozenCoinsRequest$json, '.walletmanager.v1.FrozenOutpoint': FrozenOutpoint$json, '.google.protobuf.Empty': $1.Empty$json, diff --git a/sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart b/sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart index 361957bdd..a6e1516df 100644 --- a/sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart +++ b/sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart @@ -385,12 +385,13 @@ class OrchestratorWalletRPC { ); } - /// The fee and size of a send at a fee rate, with the coins the backend - /// picks for it. Nothing is signed or broadcast. + /// The fee, size, coins and outputs of a send at a fee rate or a fixed fee. + /// Nothing is signed or broadcast. Future previewSend({ required String walletId, required Map destinations, - required double feeRateSatPerVbyte, + double? feeRateSatPerVbyte, + int? fixedFeeSats, bool subtractFeeFromAmount = false, String subtractFeeFromAddress = '', bool notificationOnly = false, @@ -402,7 +403,8 @@ class OrchestratorWalletRPC { wmpb.PreviewSendRequest( walletId: walletId, destinations: destinations.entries.map((e) => MapEntry(e.key, Int64(e.value))), - feeRateSatPerVbyte: feeRateSatPerVbyte, + feeRateSatPerVbyte: feeRateSatPerVbyte ?? 0, + fixedFeeSats: Int64(fixedFeeSats ?? 0), subtractFeeFromAmount: subtractFeeFromAmount, subtractFeeFromAddress: subtractFeeFromAddress, notificationOnly: notificationOnly,