From 3e95ce9fbe79aa6b26e571c1d423692a095d8ada Mon Sep 17 00:00:00 2001 From: x100111010 <167847953+x100111010@users.noreply.github.com> Date: Sun, 29 Sep 2024 16:26:16 +0200 Subject: [PATCH] refactor and bug fixes * cleanup and remove unused code * support bip39 passphrase * support 12 word standard wallets * reduce unused address buffer size * refactor utils and update imports * update send tx flow * fix allow fiat feature * refactor backup secret phrase * refactor privacy overlay * refactor database boxes * refactor navigation * refactor settings * update auth flow * bump version to `v0.3.17` --- .github/workflows/ci.yml | 2 +- lib/app.dart | 65 +- lib/app_router.dart | 121 + lib/chain_state/chain_state.dart | 2 +- lib/coingecko/coingecko_price_notifier.dart | 2 +- lib/contacts/contact_add_sheet.dart | 5 +- lib/contacts/contact_details.dart | 7 +- lib/core/core_providers.dart | 1 + lib/database/boxes.dart | 226 +- lib/database/boxes/generic_box.dart | 98 + lib/database/boxes/indexed_typed_box.dart | 26 + lib/database/boxes/lazy_typed_box.dart | 28 + lib/database/boxes/typed_box.dart | 30 + lib/database/database.dart | 28 +- lib/encrypt/crypter.dart | 29 +- lib/encrypt/kdf/pbkdf2_kdf.dart | 4 +- lib/encrypt/kdf/sha256_kdf.dart | 4 +- lib/intro/import_seed_options.dart | 81 + lib/intro/intro_actions_widget.dart | 9 +- lib/intro/intro_backup_seed.dart | 34 +- lib/intro/intro_data_notifier.dart | 43 +- lib/intro/intro_import_seed.dart | 74 +- lib/intro/intro_import_select.dart | 8 +- lib/intro/intro_state_notifier.dart | 12 +- lib/intro/intro_types.dart | 2 + lib/intro/invalid_checksum_dialog.dart | 5 +- .../widgets/bip39_passphrase_button.dart | 44 + lib/intro/widgets/bip39_passphrase_label.dart | 31 + lib/intro/widgets/bip39_passphrase_sheet.dart | 180 + lib/intro/widgets/new_mnemonic_button.dart | 52 + lib/l10n/app_en.arb | 20 +- lib/node_settings/node_add_sheet.dart | 9 +- lib/node_settings/node_providers.dart | 57 +- lib/node_settings/node_settings_notifier.dart | 58 + lib/node_settings/nodes_sheet.dart | 3 +- lib/receive/receive_amount_field.dart | 34 +- lib/receive/share_card.dart | 2 +- lib/screens/home_screen.dart | 120 +- lib/screens/intro_screen.dart | 23 +- lib/screens/lock_screen.dart | 121 +- lib/screens/logout_screen.dart | 3 +- lib/screens/password_lock_page.dart | 146 + lib/screens/password_lock_screen.dart | 156 +- lib/screens/privacy_overlay.dart | 1 + lib/screens/privacy_screen.dart | 56 + lib/screens/setup_wallet_screen.dart | 14 +- lib/screens/splash_screen.dart | 49 +- lib/send_sheet/send_complete_sheet.dart | 3 +- lib/send_sheet/send_confirm_sheet.dart | 38 +- lib/send_sheet/send_sheet.dart | 31 +- .../address_settings.dart | 0 .../address_settings_notifier.dart | 2 +- .../address_settings_providers.dart | 2 +- .../address_settings_types.dart | 0 lib/settings/block_explorer_notifier.dart | 6 +- lib/settings/device_lock_timeout.dart | 51 - lib/settings/settings.dart | 1 - lib/settings/settings_providers.dart | 11 +- lib/settings/settings_repository.dart | 8 + lib/settings/tx_settings.dart | 3 + .../tx_settings/tx_settings_notifier.dart | 2 +- .../tx_settings/tx_settings_providers.dart | 2 +- .../tx_settings/tx_settings_types.dart | 0 lib/settings/wallet_settings.dart | 4 + .../wallet_settings/request_password.dart | 22 + .../wallet_settings_notifier.dart | 36 + .../wallet_settings_providers.dart | 16 + .../wallet_settings_types.dart | 16 + .../address_discovery_dialog.dart | 5 +- .../compound_utxos_dialog.dart | 16 +- lib/settings_advanced/kpub_sheet.dart | 3 +- lib/settings_drawer/currency_dialog.dart | 3 +- .../disable_password_sheet.dart | 5 +- lib/settings_drawer/language_dialog.dart | 6 +- lib/settings_drawer/network_menu.dart | 3 +- lib/settings_drawer/security_menu.dart | 284 +- lib/settings_drawer/seed_backup_sheet.dart | 55 +- lib/settings_drawer/set_password_sheet.dart | 7 +- lib/settings_drawer/settings_drawer.dart | 99 +- lib/settings_drawer/theme_dialog.dart | 3 +- lib/spectre/grpc/messages.pb.dart | 3057 ++---- lib/spectre/grpc/messages.pbenum.dart | 1 + lib/spectre/grpc/messages.pbjson.dart | 1307 +-- lib/spectre/grpc/p2p.pb.dart | 4136 +++------ lib/spectre/grpc/p2p.pbenum.dart | 1 + lib/spectre/grpc/p2p.pbjson.dart | 826 +- lib/spectre/grpc/rpc.pb.dart | 8263 +++++------------ lib/spectre/grpc/rpc.pbenum.dart | 34 +- lib/spectre/grpc/rpc.pbjson.dart | 1550 +--- lib/spectre/spectre.dart | 10 +- lib/spectre/spectre_api.dart | 1 + lib/spectre/spectre_api/spectre_api.dart | 6 +- lib/spectre/spectre_api/spectre_api_base.dart | 6 - .../spectre_api/spectre_api_mainnet.dart | 2 +- lib/spectre/spectre_api/types.dart | 6 + lib/spectre/spectre_client.dart | 1 + lib/spectre/transaction.dart | 3 + .../transaction/transaction_builder.dart | 49 +- lib/spectre/transaction/transaction_util.dart | 6 +- .../{ => transaction}/txmass_calculator.dart | 2 +- lib/spectre/transaction/types.dart | 16 +- lib/spectre/types.dart | 1 - lib/spectre/types/address.dart | 3 +- lib/spectre/types/amount.dart | 2 +- lib/spectre/utils.dart | 96 +- lib/spectre/wallet_service.dart | 155 +- .../address_generator.dart | 3 +- .../wallet_service}/send_tx.dart | 7 +- .../{ => wallet_service}/signer_base.dart | 2 +- lib/spectre/{ => wallet_service}/wallet.dart | 6 +- .../wallet_service/wallet_service.dart | 104 + .../transaction_details_sheet.dart | 5 +- lib/transactions/transaction_types.dart | 2 +- lib/transactions/transactions_widget.dart | 3 +- lib/transactions/tx_cache_service.dart | 5 +- lib/transactions/tx_filter_dialog.dart | 15 +- lib/transactions/tx_filter_settings.dart | 3 +- lib/transfer/transfer_complete_sheet.dart | 86 - lib/transfer/transfer_confirm_sheet.dart | 271 - lib/transfer/transfer_manual_entry_sheet.dart | 174 - lib/transfer/transfer_overview_sheet.dart | 254 - lib/tx_report/tx_report_dialog.dart | 3 +- lib/tx_report/tx_report_sheet.dart | 3 +- lib/util/auth_util.dart | 99 +- ...spectre_util.dart => encryption_util.dart} | 32 +- lib/util/lock_settings.dart | 17 +- lib/util/routes.dart | 11 + lib/util/ui_util.dart | 25 +- lib/util/user_data_util.dart | 16 +- lib/util/vault.dart | 7 +- lib/utils.dart | 95 - lib/wallet/wallet_bundle_notifier.dart | 22 +- lib/wallet/wallet_card.dart | 3 +- lib/wallet/wallet_repository.dart | 4 +- lib/wallet/wallet_types.dart | 12 +- lib/wallet/wallet_vault.dart | 22 +- lib/wallet_address/address_details_sheet.dart | 3 +- lib/wallet_address/address_filter_dialog.dart | 13 +- .../address_selection_sheet.dart | 11 +- .../wallet_address_providers.dart | 6 +- .../wallet_addresses_sheet.dart | 5 +- lib/wallet_auth/wallet_auth_notifier.dart | 54 +- lib/wallet_auth/wallet_auth_types.dart | 15 +- lib/wallet_home/wallet_home.dart | 6 +- lib/widgets/dialog.dart | 9 +- lib/widgets/fiat_mode_icon.dart | 26 + lib/widgets/keyboard_widget.dart | 8 +- lib/widgets/logout_button.dart | 7 +- lib/widgets/notice_dialog.dart | 3 +- lib/widgets/pin_screen.dart | 14 +- lib/widgets/qr_scanner_widget.dart | 9 +- lib/widgets/sheet_util.dart | 17 +- missing_translations.txt | 883 ++ pubspec.yaml | 2 +- test/bech32_test.dart | 1 - 155 files changed, 7999 insertions(+), 16812 deletions(-) create mode 100644 lib/app_router.dart create mode 100644 lib/database/boxes/generic_box.dart create mode 100644 lib/database/boxes/indexed_typed_box.dart create mode 100644 lib/database/boxes/lazy_typed_box.dart create mode 100644 lib/database/boxes/typed_box.dart create mode 100644 lib/intro/import_seed_options.dart create mode 100644 lib/intro/widgets/bip39_passphrase_button.dart create mode 100644 lib/intro/widgets/bip39_passphrase_label.dart create mode 100644 lib/intro/widgets/bip39_passphrase_sheet.dart create mode 100644 lib/intro/widgets/new_mnemonic_button.dart create mode 100644 lib/node_settings/node_settings_notifier.dart create mode 100644 lib/screens/password_lock_page.dart create mode 100644 lib/screens/privacy_screen.dart rename lib/{wallet_address => settings}/address_settings.dart (100%) rename lib/{wallet_address => settings}/address_settings/address_settings_notifier.dart (96%) rename lib/{wallet_address => settings}/address_settings/address_settings_providers.dart (92%) rename lib/{wallet_address => settings}/address_settings/address_settings_types.dart (100%) delete mode 100644 lib/settings/device_lock_timeout.dart delete mode 100644 lib/settings/settings.dart create mode 100644 lib/settings/settings_repository.dart create mode 100644 lib/settings/tx_settings.dart rename lib/{transactions => settings}/tx_settings/tx_settings_notifier.dart (94%) rename lib/{transactions => settings}/tx_settings/tx_settings_providers.dart (90%) rename lib/{transactions => settings}/tx_settings/tx_settings_types.dart (100%) create mode 100644 lib/settings/wallet_settings.dart create mode 100644 lib/settings/wallet_settings/request_password.dart create mode 100644 lib/settings/wallet_settings/wallet_settings_notifier.dart create mode 100644 lib/settings/wallet_settings/wallet_settings_providers.dart create mode 100644 lib/settings/wallet_settings/wallet_settings_types.dart create mode 100644 lib/spectre/spectre_api.dart create mode 100644 lib/spectre/spectre_client.dart create mode 100644 lib/spectre/transaction.dart rename lib/spectre/{ => transaction}/txmass_calculator.dart (99%) rename lib/spectre/{ => wallet_service}/address_generator.dart (98%) rename lib/{transactions => spectre/wallet_service}/send_tx.dart (82%) rename lib/spectre/{ => wallet_service}/signer_base.dart (84%) rename lib/spectre/{ => wallet_service}/wallet.dart (98%) create mode 100644 lib/spectre/wallet_service/wallet_service.dart delete mode 100644 lib/transfer/transfer_complete_sheet.dart delete mode 100644 lib/transfer/transfer_confirm_sheet.dart delete mode 100644 lib/transfer/transfer_manual_entry_sheet.dart delete mode 100644 lib/transfer/transfer_overview_sheet.dart rename lib/util/{spectre_util.dart => encryption_util.dart} (65%) delete mode 100644 lib/utils.dart create mode 100644 lib/widgets/fiat_mode_icon.dart create mode 100644 missing_translations.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec32611..1b8a30b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: run: dart run build_runner build - name: Check Dart Code Formatting - run: dart format --output=none --set-exit-if-changed . + run: dart format --output=none --set-exit-if-changed --exclude lib/spectre/grpc . - name: Analyze Dart Code run: dart analyze diff --git a/lib/app.dart b/lib/app.dart index 219e635..e4b3ac2 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -3,24 +3,17 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_displaymode/flutter_displaymode.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; -import 'package:flutter_portal/flutter_portal.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:oktoast/oktoast.dart'; import 'app_constants.dart'; import 'app_providers.dart'; +import 'app_router.dart'; import 'app_styles.dart'; import 'l10n/l10n.dart'; -import 'screens/home_screen.dart'; -import 'screens/intro_screen.dart'; -import 'screens/lock_screen.dart'; -import 'screens/logout_screen.dart'; -import 'screens/password_lock_screen.dart'; -import 'screens/setup_wallet_screen.dart'; -import 'screens/splash_screen.dart'; +import 'screens/privacy_screen.dart'; import 'themes/themes.dart'; import 'util/platform.dart'; -import 'util/routes.dart'; class App extends HookConsumerWidget { const App({Key? key}) : super(key: key); @@ -66,7 +59,7 @@ class App extends HookConsumerWidget { minHeight: 480, maxWidth: 720, ), - child: Portal( + child: PrivacyScreen( child: OKToast( position: ToastPosition(align: Alignment.topCenter, offset: 40), textStyle: styles.textStyleSnackbar, @@ -104,56 +97,8 @@ class App extends HookConsumerWidget { localizationsDelegates: AppLocalizations.localizationsDelegates, supportedLocales: AppLocalizations.supportedLocales, locale: language.getLocale(), - initialRoute: '/', - onGenerateRoute: (RouteSettings settings) { - switch (settings.name) { - case '/intro': - return NoTransitionRoute( - builder: (_) => const IntroScreen(), - settings: settings, - ); - case '/home': - return NoTransitionRoute( - builder: (_) => const HomeScreen(), - settings: settings, - ); - // case '/home_transition': - // return NoPopTransitionRoute( - // builder: (_) => const HomeScreen(), - // settings: settings, - // ); - case '/lock_screen': - return NoTransitionRoute( - builder: (_) => const LockScreen(), - settings: settings, - ); - case '/lock_screen_transition': - return MaterialPageRoute( - builder: (_) => const LockScreen(), - settings: settings, - ); - case '/password_lock_screen': - return NoTransitionRoute( - builder: (_) => const PasswordLockScreen(), - settings: settings, - ); - case '/logout': - return NoTransitionRoute( - builder: (_) => const LogoutScreen(), - settings: settings, - ); - case '/wallet_setup': - return NoTransitionRoute( - builder: (_) => const SetupWalletScreen(), - settings: settings, - ); - default: - return NoTransitionRoute( - builder: (_) => const SplashScreen(), - settings: settings, - ); - } - }, + initialRoute: appRouter.initialRoute, + onGenerateRoute: appRouter.onGenerateRoute, ), ), ), diff --git a/lib/app_router.dart b/lib/app_router.dart new file mode 100644 index 0000000..4b22d99 --- /dev/null +++ b/lib/app_router.dart @@ -0,0 +1,121 @@ +import 'package:flutter/material.dart'; + +import 'screens/screens.dart'; +import 'util/routes.dart'; + +final appRouter = AppRouter(); + +class _AppScreens { + static const splash = '/'; + static const intro = '/intro'; + static const wallet = '/wallet'; + static const locked = '/locked'; + static const lockedWithTransition = '/locked_with_transition'; + static const passwordLocked = '/password_locked'; + static const logout = '/logout'; + static const setupWallet = '/setup_wallet'; +} + +class AppRouter { + void reload(BuildContext context) => + _replaceWith(_AppScreens.splash, context); + + void startIntro(BuildContext context) => + _replaceWith(_AppScreens.intro, context); + + void setupWallet(BuildContext context) => + _replaceWith(_AppScreens.setupWallet, context); + + void requireUnlock(BuildContext context) => + _replaceWith(_AppScreens.locked, context); + + void lockoutkWithTransition(BuildContext context) => + _replaceWith(_AppScreens.lockedWithTransition, context); + + void requirePassword(BuildContext context) => + _replaceWith(_AppScreens.passwordLocked, context); + + void openWallet(BuildContext context) => + _replaceWith(_AppScreens.wallet, context); + + void logout(BuildContext context) => + _replaceWith(_AppScreens.logout, context); + + bool isTopRoute(BuildContext context) { + bool isTopRoute = false; + Navigator.of(context).popUntil((route) { + isTopRoute = route is T; + return true; + }); + return isTopRoute; + } + + Future _replaceWith(String screenName, BuildContext context) { + return Navigator.of(context).pushNamedAndRemoveUntil( + screenName, + (_) => false, + ); + } + + Future push(BuildContext context, Route route) { + return Navigator.of(context).push(route); + } + + void pop(BuildContext context, {T? withResult = null}) { + Navigator.of(context).pop(withResult); + } + + Future pushAndRemoveUntilHome(BuildContext context, Route route) { + return Navigator.of(context).pushAndRemoveUntil( + route, + RouteUtils.withNameLike(_AppScreens.wallet), + ); + } + + String initialRoute = _AppScreens.splash; + + RouteFactory onGenerateRoute = (RouteSettings settings) { + switch (settings.name) { + case _AppScreens.intro: + return NoTransitionRoute( + builder: (_) => const IntroScreen(), + settings: settings, + ); + case _AppScreens.wallet: + return NoTransitionRoute( + builder: (_) => const HomeScreen(), + settings: settings, + ); + case _AppScreens.locked: + return BarrierRoute( + builder: (_) => const LockScreen(), + settings: settings, + ); + case _AppScreens.lockedWithTransition: + return BarrierRoute( + builder: (_) => const LockScreen(), + settings: settings, + ); + case _AppScreens.passwordLocked: + return NoTransitionRoute( + builder: (_) => const PasswordLockScreen(), + settings: settings, + ); + case _AppScreens.logout: + return NoTransitionRoute( + builder: (_) => const LogoutScreen(), + settings: settings, + ); + case _AppScreens.setupWallet: + return NoTransitionRoute( + builder: (_) => const SetupWalletScreen(), + settings: settings, + ); + default: + return NoTransitionRoute( + builder: (_) => const SplashScreen(), + settings: settings, + ); + } + }; +} diff --git a/lib/chain_state/chain_state.dart b/lib/chain_state/chain_state.dart index 51f402c..55382fc 100644 --- a/lib/chain_state/chain_state.dart +++ b/lib/chain_state/chain_state.dart @@ -1,4 +1,4 @@ -import '../settings/settings_providers.dart'; +import '../settings/settings_repository.dart'; import 'chain_state_types.dart'; export 'chain_state_types.dart'; diff --git a/lib/coingecko/coingecko_price_notifier.dart b/lib/coingecko/coingecko_price_notifier.dart index d2bbe8c..b3e5b4f 100644 --- a/lib/coingecko/coingecko_price_notifier.dart +++ b/lib/coingecko/coingecko_price_notifier.dart @@ -1,6 +1,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../app_providers.dart'; +import '../settings/settings_repository.dart'; import 'coingecko_types.dart'; const _kCoinGeckoPriceKey = '_coingeckoPriceKey'; diff --git a/lib/contacts/contact_add_sheet.dart b/lib/contacts/contact_add_sheet.dart index 65e3d6e..bbdd9b8 100644 --- a/lib/contacts/contact_add_sheet.dart +++ b/lib/contacts/contact_add_sheet.dart @@ -4,6 +4,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; import '../util/formatters.dart'; @@ -263,7 +264,7 @@ class _ContactAddSheetState extends ConsumerState { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ], ), @@ -286,7 +287,7 @@ class _ContactAddSheetState extends ConsumerState { await contacts.addContact(newContact); final l10n = l10nOf(context); UIUtil.showSnackbar(l10n.contactAdded(newContact.name), context); - Navigator.of(context).pop(); + appRouter.pop(context); } Future _validateForm() async { diff --git a/lib/contacts/contact_details.dart b/lib/contacts/contact_details.dart index f060647..ae61fc9 100644 --- a/lib/contacts/contact_details.dart +++ b/lib/contacts/contact_details.dart @@ -6,6 +6,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../send_sheet/send_sheet.dart'; import '../util/ui_util.dart'; @@ -43,7 +44,7 @@ class ContactDetails extends HookConsumerWidget { ref.read(contactsProvider).removeContact(contact); final message = l10n.contactRemoved(contact.name); UIUtil.showSnackbar(message, context); - Navigator.of(context).pop(); + appRouter.pop(context); } void confirmDeleteContact() { @@ -68,7 +69,7 @@ class ContactDetails extends HookConsumerWidget { } void showSendSheet() { - Navigator.of(context).pop(); + appRouter.pop(context); Sheets.showAppHeightNineSheet( context: context, theme: theme, @@ -213,7 +214,7 @@ class ContactDetails extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/core/core_providers.dart b/lib/core/core_providers.dart index f52f08c..b8fb436 100644 --- a/lib/core/core_providers.dart +++ b/lib/core/core_providers.dart @@ -176,6 +176,7 @@ final virtualSelectedParentBlueScoreStreamProvider = StreamProvider((ref) { final remoteRefreshProvider = StateProvider((ref) => 0); final lockDisabledProvider = StateProvider((ref) => false); +final privacyOverlayDisabledProvider = StateProvider((ref) => false); final maxSendProvider = Provider.autoDispose((ref) { final utxos = ref.watch(spendableUtxosProvider); diff --git a/lib/database/boxes.dart b/lib/database/boxes.dart index 0a92676..73bca5c 100644 --- a/lib/database/boxes.dart +++ b/lib/database/boxes.dart @@ -1,222 +1,4 @@ -import 'package:hive/hive.dart'; - -typedef TypeFactory = T Function(Map); - -Map _toJson(dynamic value) => value.toJson(); - -class IndexedTypedBox { - final Box box; - const IndexedTypedBox(this.box); - - T getAt(int index) { - final value = box.getAt(index); - if (value == null) { - throw Exception('Null value for index $index'); - } - return value; - } - - T? tryGetAt(int index) => box.getAt(index); - - Iterable getAll() => box.values; - - Future add(T value) => box.add(value); - - Future> addAll(Iterable values) => box.addAll(values); - - Future clear() => box.clear(); - - Future close() => box.close(); -} - -class TypedBox { - final Box box; - const TypedBox(this.box); - - T get(String key, {T? defaultValue}) { - final value = box.get(key) ?? defaultValue; - if (value == null) { - throw Exception('Null value for key $key'); - } - return value; - } - - T? tryGet(String key) => box.get(key); - - Map getAll() => box.toMap().cast(); - - Future set(String key, T value) => box.put(key, value); - - Future setAll(Map entries) => box.putAll(entries); - - Future remove(String key) => box.delete(key); - - Future removeAll(Iterable keys) => box.deleteAll(keys); - - Future clear() => box.clear(); - - Future close() => box.close(); -} - -class LazyTypedBox { - final LazyBox box; - const LazyTypedBox(this.box); - - Future get(String key) async { - final value = await tryGet(key); - if (value != null) { - return value; - } - throw Exception('Null value for key $key'); - } - - Future tryGet(String key) => box.get(key); - - Future set(String key, T value) => box.put(key, value); - - Future setAll(Map entries) => box.putAll(entries); - - Future remove(String key) => box.delete(key); - - Future removeAll(Iterable keys) => box.deleteAll(keys); - - Future clear() => box.clear(); - - Future close() => box.close(); -} - -class GenericBox { - final Box box; - const GenericBox(this.box); - - T convert(dynamic value, {TypeFactory? typeFactory}) { - if (value is T) return value; - if (typeFactory == null) { - throw Exception('Missing type factory for $T'); - } - if (!(value is Map)) { - throw Exception('Value is not a Map'); - } - return typeFactory(value.cast()); - } - - T get(String key, {TypeFactory? typeFactory}) { - final value = tryGet(key, typeFactory: typeFactory); - if (value == null) { - throw Exception('Null value for key $key'); - } - return value; - } - - T? tryGet(String key, {TypeFactory? typeFactory}) { - final value = box.get(key); - if (value is T) return value; - if (value != null) { - return convert(value, typeFactory: typeFactory); - } - return null; - } - - List getList(String key, {TypeFactory? typeFactory}) { - final value = box.get(key); - if (value is List) { - if (typeFactory != null) { - return value - .map((e) => typeFactory(e.cast())) - .toList(); - } - return value.cast(); - } - return []; - } - - List? tryGetList(String key, {TypeFactory? typeFactory}) { - final value = box.get(key); - if (value is List) { - if (typeFactory != null) { - return value - .map((e) => typeFactory(e.cast())) - .toList(); - } - return value.cast(); - } - return null; - } - - Future setList( - String key, - List list, { - dynamic convert(R value)?, - }) async { - if (convert == null) { - return box.put(key, list); - } - - final value = list.map((e) => convert(e)).toList(); - return box.put(key, value); - } - - Map getAll({ - TypeFactory? typeFactory, - bool Function(String key)? where, - }) { - final map = box.toMap().cast(); - if (where != null) { - map.removeWhere((key, value) => !where(key)); - } - return map.map( - (key, value) => MapEntry( - key, - value is T ? value : convert(value, typeFactory: typeFactory), - ), - ); - } - - Future set(String key, T value) { - if (value is Map || value == null) { - return box.put(key, value); - } - final json = _toJson(value); - return box.put(key, json); - } - - Future setAll(Map map) => - box.putAll(map.map((key, value) => MapEntry(key, _toJson(value)))); - - Future remove(String key) => box.delete(key); - - Future removeAll(Iterable keys) => box.deleteAll(keys); - - Future clear() => box.clear(); - - Future close() => box.close(); -} - -class LazyGenericBox { - final LazyBox box; - const LazyGenericBox(this.box); - - Future get(String key) async { - return (await box.get(key))!; - } - - Future tryGet(String key) async { - try { - return get(key); - } catch (_) { - return null; - } - } - - Future set(String key, T value) { - return box.put(key, value); - } - - Future remove(String key) => box.delete(key); - - Future removeAll(Iterable keys) => box.deleteAll(keys); - - Future clear() => box.clear(); - - Future close() => box.close(); -} +export 'boxes/generic_box.dart'; +export 'boxes/indexed_typed_box.dart'; +export 'boxes/lazy_typed_box.dart'; +export 'boxes/typed_box.dart'; diff --git a/lib/database/boxes/generic_box.dart b/lib/database/boxes/generic_box.dart new file mode 100644 index 0000000..b19cc89 --- /dev/null +++ b/lib/database/boxes/generic_box.dart @@ -0,0 +1,98 @@ +import 'package:hive/hive.dart'; + +typedef TypeFactory = T Function(Map); + +dynamic _toJson(T value) { + if (value == null || + value is Map || + value is String || + value is bool || + value is int || + value is double) { + return value; + } + return (value as dynamic).toJson(); +} + +T _convert(dynamic value, {TypeFactory? typeFactory}) { + if (value is T) return value; + if (typeFactory == null) { + throw Exception('Missing type factory for $T'); + } + if (!(value is Map)) { + throw Exception('Value is not a Map'); + } + return typeFactory(value.cast()); +} + +class GenericBox { + final Box box; + const GenericBox(this.box); + + T get(String key, {TypeFactory? typeFactory}) { + final value = tryGet(key, typeFactory: typeFactory); + if (value == null) { + throw Exception('Null value for key $key'); + } + return value; + } + + T? tryGet(String key, {TypeFactory? typeFactory}) { + final value = box.get(key); + if (value == null) { + return null; + } + return _convert(value, typeFactory: typeFactory); + } + + List getList(String key, {TypeFactory? typeFactory}) { + return tryGetList(key, typeFactory: typeFactory) ?? []; + } + + List? tryGetList(String key, {TypeFactory? typeFactory}) { + final value = box.get(key); + if (value is List) { + if (typeFactory == null) { + return value.cast(); + } + return value.map((e) => _convert(e, typeFactory: typeFactory)).toList(); + } + return null; + } + + Future set( + String key, + T value, { + dynamic Function(T value)? convert, + }) { + if (value == null || + value is Map || + value is String || + value is bool || + value is int || + value is double) { + return box.put(key, value); + } + convert ??= _toJson; + return box.put(key, convert(value)); + } + + Future setList( + String key, + List list, { + dynamic Function(T value)? convert, + }) async { + if (convert == null) { + return box.put(key, list); + } + + final value = list.map(convert).toList(); + return box.put(key, value); + } + + Future remove(String key) => box.delete(key); + + Future clear() => box.clear(); + + Future close() => box.close(); +} diff --git a/lib/database/boxes/indexed_typed_box.dart b/lib/database/boxes/indexed_typed_box.dart new file mode 100644 index 0000000..756411c --- /dev/null +++ b/lib/database/boxes/indexed_typed_box.dart @@ -0,0 +1,26 @@ +import 'package:hive_flutter/hive_flutter.dart'; + +class IndexedTypedBox { + final Box box; + const IndexedTypedBox(this.box); + + T getAt(int index) { + final value = box.getAt(index); + if (value == null) { + throw Exception('Null value for index $index'); + } + return value; + } + + T? tryGetAt(int index) => box.getAt(index); + + Iterable getAll() => box.values; + + Future add(T value) => box.add(value); + + Future> addAll(Iterable values) => box.addAll(values); + + Future clear() => box.clear(); + + Future close() => box.close(); +} diff --git a/lib/database/boxes/lazy_typed_box.dart b/lib/database/boxes/lazy_typed_box.dart new file mode 100644 index 0000000..0913499 --- /dev/null +++ b/lib/database/boxes/lazy_typed_box.dart @@ -0,0 +1,28 @@ +import 'package:hive_flutter/hive_flutter.dart'; + +class LazyTypedBox { + final LazyBox box; + const LazyTypedBox(this.box); + + Future get(String key) async { + final value = await tryGet(key); + if (value != null) { + return value; + } + throw Exception('Null value for key $key'); + } + + Future tryGet(String key) => box.get(key); + + Future set(String key, T value) => box.put(key, value); + + Future setAll(Map entries) => box.putAll(entries); + + Future remove(String key) => box.delete(key); + + Future removeAll(Iterable keys) => box.deleteAll(keys); + + Future clear() => box.clear(); + + Future close() => box.close(); +} diff --git a/lib/database/boxes/typed_box.dart b/lib/database/boxes/typed_box.dart new file mode 100644 index 0000000..98befed --- /dev/null +++ b/lib/database/boxes/typed_box.dart @@ -0,0 +1,30 @@ +import 'package:hive_flutter/hive_flutter.dart'; + +class TypedBox { + final Box box; + const TypedBox(this.box); + + T get(String key, {T? defaultValue}) { + final value = box.get(key) ?? defaultValue; + if (value == null) { + throw Exception('Null value for key $key'); + } + return value; + } + + T? tryGet(String key) => box.get(key); + + Map getAll() => box.toMap().cast(); + + Future set(String key, T value) => box.put(key, value); + + Future setAll(Map entries) => box.putAll(entries); + + Future remove(String key) => box.delete(key); + + Future removeAll(Iterable keys) => box.deleteAll(keys); + + Future clear() => box.clear(); + + Future close() => box.close(); +} diff --git a/lib/database/database.dart b/lib/database/database.dart index 63d1834..0182f0c 100644 --- a/lib/database/database.dart +++ b/lib/database/database.dart @@ -7,7 +7,6 @@ import '../spectre/spectre.dart'; import '../transactions/transaction_types.dart'; import '../txnotes/txnotes_types.dart'; import '../util/vault.dart'; -import '../utils.dart'; import '../wallet_address/wallet_address.dart'; import 'boxes.dart'; import 'json_type_adapter.dart'; @@ -58,7 +57,6 @@ final txNoteAdapter = JsonTypeAdapter( typeId: _getTypeId(), fromJson: TxNote.fromJson, ); - final txIndexAdapter = JsonTypeAdapter( typeId: _getTypeId(), fromJson: TxIndex.fromJson, @@ -116,22 +114,12 @@ class Database { Future _init() async { await Hive.initFlutter('spectrum'); - const kContactsBoxId = '_contactsBox'; - const kSettingsBoxId = '_settingsBox'; - const kPushInfoBoxId = '_pushInfoBox'; - const kTxNotesBoxId = '_txNotesBox'; - final vault = Vault(); - var secureKey = await vault.getDbKey(); - - contactsBox = - digest(data: stringToBytesUtf8('$kContactsBoxId#$secureKey')).hex; - settingsBox = - digest(data: stringToBytesUtf8('$kSettingsBoxId#$secureKey')).hex; - pushInfoBox = - digest(data: stringToBytesUtf8('$kPushInfoBoxId#$secureKey')).hex; - txNotesBox = - digest(data: stringToBytesUtf8('$kTxNotesBoxId#$secureKey')).hex; + final dbKey = await vault.getDbKey(); + contactsBox = hash('_contactsBox#$dbKey'); + settingsBox = hash('_settingsBox#$dbKey'); + pushInfoBox = hash('_pushInfoBox#$dbKey'); + txNotesBox = hash('_txNotesBox#$dbKey'); Future _openBox(String box, {bool encrypted = false}) async { return Hive.openBox( @@ -204,10 +192,4 @@ class Database { final box = Hive.box(boxKey); return GenericBox(box); } - - LazyGenericBox getLazyGenericBox(BoxKey boxKey) { - assert(Hive.isBoxOpen(boxKey)); - final box = Hive.lazyBox(boxKey); - return LazyGenericBox(box); - } } diff --git a/lib/encrypt/crypter.dart b/lib/encrypt/crypter.dart index 2df9f8b..dbcaf43 100644 --- a/lib/encrypt/crypter.dart +++ b/lib/encrypt/crypter.dart @@ -1,7 +1,7 @@ +import 'dart:convert'; import 'dart:math'; import 'dart:typed_data'; -import '../utils.dart'; import 'aes/aes_cbcpkcs7.dart'; import 'kdf/kdf.dart'; import 'kdf/sha256_kdf.dart'; @@ -11,16 +11,9 @@ import 'model/keyiv.dart'; class NanoCrypt { /// Decrypts a value with a password using AES/CBC/PKCS7 /// KDF is Sha256KDF if not specified - static Uint8List decrypt(dynamic value, String password, {KDF? kdf}) { + static Uint8List decrypt(Uint8List value, String password, {KDF? kdf}) { kdf = kdf ?? Sha256KDF(); - Uint8List valBytes; - if (value is String) { - valBytes = hexToBytes(value); - } else if (value is Uint8List) { - valBytes = value; - } else { - throw Exception('Value should be a string or a byte array'); - } + Uint8List valBytes = Uint8List.fromList(value); Uint8List salt = valBytes.sublist(8, 16); KeyIV key = kdf.deriveKey(password, salt: salt); @@ -33,22 +26,15 @@ class NanoCrypt { /// Encrypts a value using AES/CBC/PKCS7 /// KDF is Sha256KDF if not specified - static Uint8List encrypt(dynamic value, String password, {KDF? kdf}) { + static Uint8List encrypt(Uint8List value, String password, {KDF? kdf}) { kdf = kdf ?? Sha256KDF(); - Uint8List valBytes; - if (value is String) { - valBytes = hexToBytes(value); - } else if (value is Uint8List) { - valBytes = value; - } else { - throw Exception('Seed should be a string or uint8list'); - } + Uint8List valBytes = Uint8List.fromList(value); // Generate a random salt Uint8List salt = Uint8List(8); Random rng = Random.secure(); for (int i = 0; i < 8; i++) { - salt[i] = rng.nextInt(255); + salt[i] = rng.nextInt(256); } KeyIV keyInfo = kdf.deriveKey(password, salt: salt); @@ -56,7 +42,6 @@ class NanoCrypt { Uint8List seedEncrypted = AesCbcPkcs7.encrypt(valBytes, key: keyInfo.key, iv: keyInfo.iv); - return Uint8List.fromList( - stringToBytesUtf8("Salted__") + salt + seedEncrypted); + return Uint8List.fromList(utf8.encode('Salted__') + salt + seedEncrypted); } } diff --git a/lib/encrypt/kdf/pbkdf2_kdf.dart b/lib/encrypt/kdf/pbkdf2_kdf.dart index 7bc2d9d..f8c482d 100644 --- a/lib/encrypt/kdf/pbkdf2_kdf.dart +++ b/lib/encrypt/kdf/pbkdf2_kdf.dart @@ -1,8 +1,8 @@ +import 'dart:convert'; import 'dart:typed_data'; import 'package:pointycastle/export.dart'; -import '../../utils.dart'; import '../model/keyiv.dart'; import 'kdf.dart'; @@ -12,7 +12,7 @@ class PBKDF2 extends KDF { /// Expects password to be a utf-8 string /// If salt is not provided, a random 8-byte one will be generated KeyIV deriveKey(String password, {Uint8List? salt}) { - Uint8List pwBytes = stringToBytesUtf8(password); + Uint8List pwBytes = utf8.encode(password); Uint8List saltBytes = salt == null ? Uint8List(1) : salt; // Use pbkdf2 from pointycastle diff --git a/lib/encrypt/kdf/sha256_kdf.dart b/lib/encrypt/kdf/sha256_kdf.dart index 8cb528c..11877bf 100644 --- a/lib/encrypt/kdf/sha256_kdf.dart +++ b/lib/encrypt/kdf/sha256_kdf.dart @@ -1,6 +1,6 @@ +import 'dart:convert'; import 'dart:typed_data'; -import '../../utils.dart'; import '../model/keyiv.dart'; import '../sha.dart'; import 'kdf.dart'; @@ -12,7 +12,7 @@ import 'kdf.dart'; class Sha256KDF extends KDF { /// Gets the key and iv KeyIV deriveKey(String password, {Uint8List? salt}) { - Uint8List pwBytes = stringToBytesUtf8(password); + Uint8List pwBytes = utf8.encode(password); Uint8List saltBytes = salt == null ? Uint8List(1) : salt; // Key = sha256 (password + salt); diff --git a/lib/intro/import_seed_options.dart b/lib/intro/import_seed_options.dart new file mode 100644 index 0000000..35f5a10 --- /dev/null +++ b/lib/intro/import_seed_options.dart @@ -0,0 +1,81 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../app_icons.dart'; +import '../app_providers.dart'; +import '../app_router.dart'; +import '../l10n/l10n.dart'; +import '../widgets/app_simpledialog.dart'; +import '../widgets/sheet_util.dart'; +import 'widgets/bip39_passphrase_sheet.dart'; + +enum ImportSeedOptions { + bip39Passphrase, +} + +class ImportSeedOptionsDialog extends ConsumerWidget { + const ImportSeedOptionsDialog({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final styles = ref.watch(stylesProvider); + final l10n = l10nOf(context); + + return AppSimpleDialog( + title: Padding( + padding: const EdgeInsets.only(bottom: 10), + child: Text( + l10n.importWalletAdvancedOptions, + style: styles.textStyleDialogHeader, + ), + ), + children: [ + SimpleDialogOption( + child: Text( + l10n.bip39Passphrase, + style: styles.textStyleDialogOptions, + ), + onPressed: () => appRouter.pop( + context, + withResult: ImportSeedOptions.bip39Passphrase, + ), + ), + ], + ); + } +} + +class ImportSeedOptionsButton extends ConsumerWidget { + const ImportSeedOptionsButton({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final theme = ref.watch(themeProvider); + final styles = ref.watch(stylesProvider); + + return Container( + height: 50, + width: 50, + child: TextButton( + style: styles.roundedTextButtonStyle, + onPressed: () async { + final selection = await showAppDialog( + context: context, + builder: (_) => const ImportSeedOptionsDialog(), + ); + + switch (selection) { + case ImportSeedOptions.bip39Passphrase: + Sheets.showAppHeightEightSheet( + context: context, + widget: Bip39PassphraseSheet(), + theme: theme, + ); + default: + } + }, + child: Icon(AppIcons.settings, color: theme.text, size: 24), + ), + ); + } +} diff --git a/lib/intro/intro_actions_widget.dart b/lib/intro/intro_actions_widget.dart index 5739084..29e4f6e 100644 --- a/lib/intro/intro_actions_widget.dart +++ b/lib/intro/intro_actions_widget.dart @@ -1,7 +1,9 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; +import '../util/ui_util.dart'; import '../widgets/buttons.dart'; import 'intro_providers.dart'; @@ -13,7 +15,12 @@ class IntroActionsWidget extends ConsumerWidget { void newWallet() { final notifier = ref.read(introStateProvider.notifier); - notifier.newWallet(); + try { + notifier.newWallet(); + } catch (e) { + UIUtil.showSnackbar(l10n.somethingWentWrong, context); + appRouter.reload(context); + } } void importWallet() { diff --git a/lib/intro/intro_backup_seed.dart b/lib/intro/intro_backup_seed.dart index 2db6d45..f983d53 100644 --- a/lib/intro/intro_backup_seed.dart +++ b/lib/intro/intro_backup_seed.dart @@ -7,6 +7,7 @@ import '../widgets/buttons/primary_button.dart'; import '../widgets/mnemonic_display.dart'; import 'intro_back_button.dart'; import 'intro_providers.dart'; +import 'widgets/new_mnemonic_button.dart'; class IntroBackupSeed extends ConsumerWidget { const IntroBackupSeed({Key? key}) : super(key: key); @@ -112,36 +113,11 @@ class IntroBackupSeed extends ConsumerWidget { if (mnemonic != null) ...[ MnemonicDisplay(wordList: mnemonic), const SizedBox(height: 20), - // Builder(builder: (context) { - // final is12Word = mnemonic.length == 12; - // final strength = is12Word ? 256 : 128; - // final text = is12Word ? '24 WORDS' : '12 WORDS'; - // return TextButton( - // style: styles.smallOutlinedPrimaryButtonStyle, - // child: Padding( - // padding: const EdgeInsets.symmetric(horizontal: 8), - // child: Row( - // mainAxisSize: MainAxisSize.min, - // children: [ - // Icon( - // Icons.cached, - // size: 20, - // ), - // const SizedBox(width: 8), - // Text(text), - // ], - // ), - // ), - // onPressed: () { - // final notifier = ref.read(introDataProvider.notifier); - // Future.delayed(Duration.zero, () { - // notifier.generateMnemonic(strength: strength); - // }); - // }, - // ); - // }), + NewMnemonicButton( + strength: mnemonic.length == 12 ? 256 : 128, + ), ] else - Text(''), + const SizedBox(), ], ), ), diff --git a/lib/intro/intro_data_notifier.dart b/lib/intro/intro_data_notifier.dart index 3889f53..0407868 100644 --- a/lib/intro/intro_data_notifier.dart +++ b/lib/intro/intro_data_notifier.dart @@ -1,12 +1,14 @@ import 'package:flutter/foundation.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../util/spectre_util.dart'; -import '../utils.dart'; +import '../spectre/utils.dart'; import 'intro_types.dart'; -String _computeSeed(String mnemonic) { - return SpectreUtil.seedFromMnemonic(mnemonic); +String _computeSeed(({String mnemonic, String passphrase}) data) { + final mnemonic = data.mnemonic; + final passphrase = data.passphrase; + + return mnemonicToSeedHex(mnemonic, passphrase: passphrase); } class IntroDataNotifier extends StateNotifier { @@ -29,7 +31,24 @@ class IntroDataNotifier extends StateNotifier { } void setMnemonic(String mnemonic, {bool generated = false}) { - final seed = compute(_computeSeed, mnemonic, debugLabel: 'ComputeSeed'); + if (mnemonic.isEmpty) { + throw Exception('Mnemonic can\'t be empty'); + } + + if (!isValidMnemonic(mnemonic, verifyChecksum: false)) { + throw Exception('Invalid mnemonic'); + } + + final passphrase = state.bip39Passphrase; + if (generated && passphrase.isNotEmpty) { + throw Exception('Can\'t use passphrase with generated mnemonic'); + } + + final seed = compute( + _computeSeed, + (mnemonic: mnemonic, passphrase: passphrase), + debugLabel: 'ComputeSeed', + ); state = state.copyWith( mnemonic: mnemonic, generated: generated, @@ -60,11 +79,17 @@ class IntroDataNotifier extends StateNotifier { state = state.copyWith(pin: pin); } - void clear() { - state = const IntroData(); + void setLegacyWallet() { + state = state.copyWith(isLegacyWallet: true); } - void restore(IntroData introData) { - state = introData; + void setBip39Passphrase(String bip39Passphrase) { + state = state.copyWith( + bip39Passphrase: bip39Passphrase, + ); + } + + void clear() { + state = const IntroData(); } } diff --git a/lib/intro/intro_import_seed.dart b/lib/intro/intro_import_seed.dart index 9903811..2c9d6e7 100644 --- a/lib/intro/intro_import_seed.dart +++ b/lib/intro/intro_import_seed.dart @@ -5,32 +5,39 @@ import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; +import '../spectre/utils.dart'; import '../l10n/l10n.dart'; import '../util/formatters.dart'; import '../util/ui_util.dart'; import '../util/user_data_util.dart'; -import '../utils.dart'; import '../widgets/app_text_field.dart'; import '../widgets/keyboard_widget.dart'; +import 'import_seed_options.dart'; import 'intro_back_button.dart'; import 'intro_providers.dart'; import 'invalid_checksum_dialog.dart'; +import 'widgets/bip39_passphrase_button.dart'; + +const kLegacyMnemonicLengths = [12]; +const kStandardMnemonicLengths = [12, 24]; final _mnemonicProvider = StateProvider.autoDispose((ref) => ''); final _mnemonicIsValidProvider = - Provider.autoDispose.family((ref, length) { + Provider.autoDispose.family>((ref, allowedLengths) { final mnemonic = ref.watch(_mnemonicProvider); final trimmed = mnemonic.trim(); + final length = trimmed.split(' ').length; return mnemonic.endsWith(' ') && - trimmed.split(' ').length == length && + allowedLengths.contains(length) && isValidMnemonic(trimmed, verifyChecksum: false); }); final _showInvalidChecksumProvider = - Provider.autoDispose.family((ref, length) { + Provider.autoDispose.family>((ref, allowedLengths) { final mnemonic = ref.watch(_mnemonicProvider).trim(); - final isValid = ref.watch(_mnemonicIsValidProvider(length)); + final isValid = ref.watch(_mnemonicIsValidProvider(allowedLengths)); final hasValidChecksum = isValidMnemonic( mnemonic, verifyChecksum: true, @@ -42,7 +49,8 @@ class IntroImportSeed extends HookConsumerWidget { final bool isLegacy; const IntroImportSeed({Key? key, this.isLegacy = false}) : super(key: key); - int get mnemonicLength => isLegacy ? 12 : 24; + List get allowedLengths => + isLegacy ? kLegacyMnemonicLengths : kStandardMnemonicLengths; @override Widget build(BuildContext context, WidgetRef ref) { @@ -50,7 +58,7 @@ class IntroImportSeed extends HookConsumerWidget { final styles = ref.watch(stylesProvider); final l10n = l10nOf(context); - final mnemonicIsValid = ref.watch(_mnemonicIsValidProvider(mnemonicLength)); + final mnemonicIsValid = ref.watch(_mnemonicIsValidProvider(allowedLengths)); final mnemonicFocusNode = useFocusNode(); final mnemonicController = useTextEditingController(); @@ -111,7 +119,7 @@ class IntroImportSeed extends HookConsumerWidget { }); Future scanQrCode() async { - final isValid = ref.read(_mnemonicIsValidProvider(isLegacy ? 12 : 24)); + final isValid = ref.read(_mnemonicIsValidProvider(allowedLengths)); if (isValid) { return; } @@ -122,8 +130,9 @@ class IntroImportSeed extends HookConsumerWidget { } final data = result!.code!.trim(); final mData = data.toLowerCase(); + final length = mData.split(' ').length; if (isValidMnemonic(mData, verifyChecksum: false) && - mData.split(' ').length == mnemonicLength) { + allowedLengths.contains(length)) { ref.read(_mnemonicProvider.notifier).state = mData + ' '; updateFocus(mData.length + 1); ref.read(wordPrefixProvider.notifier).update((state) => ''); @@ -133,7 +142,7 @@ class IntroImportSeed extends HookConsumerWidget { } Future pasteFromClipboard() async { - final isValid = ref.read(_mnemonicIsValidProvider(mnemonicLength)); + final isValid = ref.read(_mnemonicIsValidProvider(allowedLengths)); if (isValid) { return; } @@ -144,18 +153,16 @@ class IntroImportSeed extends HookConsumerWidget { return; } final text = data.text!.trim().toLowerCase(); + final length = text.split(' ').length; if (isValidMnemonic(text, verifyChecksum: false) && - text.split(' ').length == mnemonicLength) { + allowedLengths.contains(length)) { final mnemonic = ref.read(_mnemonicProvider.notifier); mnemonic.state = text + ' '; updateFocus(text.length + 1); ref.read(wordPrefixProvider.notifier).update((state) => ''); return; } - UIUtil.showSnackbar( - l10n.pasteMnemonicError, - context, - ); + UIUtil.showSnackbar(l10n.pasteMnemonicError, context); } Future submitMnemonic() async { @@ -169,7 +176,7 @@ class IntroImportSeed extends HookConsumerWidget { barrierColor: ref.read(themeProvider).barrier, barrierDismissible: false, context: context, - builder: (_) => InvalidChecksumDialog(), + builder: (_) => const InvalidChecksumDialog(), ); if (confirmed != true) { @@ -178,7 +185,12 @@ class IntroImportSeed extends HookConsumerWidget { } if (isValidMnemonic(mnemonic, verifyChecksum: false)) { - intro.setMnemonic(mnemonic); + try { + intro.setMnemonic(mnemonic); + } catch (e) { + UIUtil.showSnackbar(l10n.somethingWentWrong, context); + appRouter.reload(context); + } } } @@ -197,11 +209,16 @@ class IntroImportSeed extends HookConsumerWidget { child: ListView( shrinkWrap: true, children: [ - Align( - alignment: Alignment.centerLeft, - child: Padding( - padding: const EdgeInsetsDirectional.only(start: 20), - child: const IntroBackButton(), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 20), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + const IntroBackButton(), + isLegacy + ? const SizedBox() + : const ImportSeedOptionsButton(), + ], ), ), Container( @@ -210,7 +227,9 @@ class IntroImportSeed extends HookConsumerWidget { child: FittedBox( fit: BoxFit.scaleDown, child: Text( - l10n.importSecretPhrase, + isLegacy + ? l10n.importOptionLegacyWalletTitle + : l10n.importOptionStandardWalletTitle, style: styles.textStyleHeaderColored, maxLines: 1, ), @@ -222,7 +241,7 @@ class IntroImportSeed extends HookConsumerWidget { child: Text( isLegacy ? l10n.importSecretPhraseHintLegacy - : l10n.importSecretPhraseHint, + : l10n.importSecretPhraseHintCombo, style: styles.textStyleParagraph, textAlign: TextAlign.start, ), @@ -268,9 +287,9 @@ class IntroImportSeed extends HookConsumerWidget { ), Consumer(builder: (context, ref, _) { final l10n = l10nOf(context); - final provider = - _showInvalidChecksumProvider(mnemonicLength); - final showInvalidChecksum = ref.watch(provider); + final showInvalidChecksum = ref.watch( + _showInvalidChecksumProvider(allowedLengths), + ); final invalidChecksumText = showInvalidChecksum ? l10n.invalidChecksumMessage : ''; @@ -285,6 +304,7 @@ class IntroImportSeed extends HookConsumerWidget { ), ); }), + if (!isLegacy) const Bip39PassphraseButton(), ]), ], ), diff --git a/lib/intro/intro_import_select.dart b/lib/intro/intro_import_select.dart index c83e0f3..3786045 100644 --- a/lib/intro/intro_import_select.dart +++ b/lib/intro/intro_import_select.dart @@ -129,13 +129,13 @@ class IntroImportSelect extends ConsumerWidget { ), ), ImportWalletTypeCard( - title: l10n.importOption24WordsTitle, - description: l10n.importOption24WordsDescription, + title: l10n.importOptionStandardWalletTitle, + description: l10n.importOptionStandardWalletDescription, onPressed: importWallet, ), ImportWalletTypeCard( - title: l10n.importOption12WordsTitle, - description: l10n.importOption12WordsDescription, + title: l10n.importOptionLegacyWalletTitle, + description: l10n.importOptionLegacyWalletDescription, onPressed: importLegacyWallet, ), ImportWalletTypeCard( diff --git a/lib/intro/intro_state_notifier.dart b/lib/intro/intro_state_notifier.dart index c275eba..a7544bc 100644 --- a/lib/intro/intro_state_notifier.dart +++ b/lib/intro/intro_state_notifier.dart @@ -9,7 +9,8 @@ class IntroStateNotifier extends StateNotifier { IntroStateNotifier(this.introData) : super(IntroState.init()); void newWallet() { - introData.generateNewMnemonic(); + introData.clear(); + introData.generateNewMnemonic(strength: 128); _goToPage(IntroPage.walletName); } @@ -19,14 +20,18 @@ class IntroStateNotifier extends StateNotifier { } void importWallet() { + introData.clear(); _goToPage(IntroPage.importSeed); } void importLegacyWallet() { + introData.clear(); + introData.setLegacyWallet(); _goToPage(IntroPage.importLegacySeed); } void importViewOnlyWallet() { + introData.clear(); _goToPage(IntroPage.importKpub); } @@ -62,10 +67,7 @@ class IntroStateNotifier extends StateNotifier { } } - void setMnemonic(String mnemonic, {String? walletName}) { - if (walletName != null) { - introData.setName(walletName); - } + void setMnemonic(String mnemonic) { introData.setMnemonic(mnemonic); _goToPage(IntroPage.walletName); } diff --git a/lib/intro/intro_types.dart b/lib/intro/intro_types.dart index 277224b..1fa3a66 100644 --- a/lib/intro/intro_types.dart +++ b/lib/intro/intro_types.dart @@ -32,6 +32,8 @@ class IntroData with _$IntroData { String? pin, String? password, @Default(false) bool generated, + @Default(false) bool isLegacyWallet, + @Default('') String bip39Passphrase, @Default(false) bool completed, }) = _IntroData; } diff --git a/lib/intro/invalid_checksum_dialog.dart b/lib/intro/invalid_checksum_dialog.dart index 348fc2b..b480eb3 100644 --- a/lib/intro/invalid_checksum_dialog.dart +++ b/lib/intro/invalid_checksum_dialog.dart @@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../widgets/app_simpledialog.dart'; @@ -63,9 +64,7 @@ class InvalidChecksumDialog extends HookConsumerWidget { isChecked.value ? l10n.doContinue : l10n.goBackButton, style: styles.textStyleDialogOptions, ), - onPressed: () { - Navigator.of(context).pop(isChecked.value); - }, + onPressed: () => appRouter.pop(context, withResult: isChecked.value), ) ], ); diff --git a/lib/intro/widgets/bip39_passphrase_button.dart b/lib/intro/widgets/bip39_passphrase_button.dart new file mode 100644 index 0000000..67fba5c --- /dev/null +++ b/lib/intro/widgets/bip39_passphrase_button.dart @@ -0,0 +1,44 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../../core/core_providers.dart'; +import '../../widgets/sheet_util.dart'; +import '../intro_providers.dart'; +import 'bip39_passphrase_label.dart'; +import 'bip39_passphrase_sheet.dart'; + +class Bip39PassphraseButton extends ConsumerWidget { + const Bip39PassphraseButton({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final theme = ref.watch(themeProvider); + final styles = ref.watch(stylesProvider); + + final hasBip39Passphrase = ref.watch( + introDataProvider.select((value) => value.bip39Passphrase.isNotEmpty), + ); + + if (!hasBip39Passphrase) { + return const SizedBox(); + } + + return Column( + mainAxisSize: MainAxisSize.min, + children: [ + const SizedBox(height: 20), + TextButton( + style: styles.dialogButtonStyle, + child: const Bip39PassphraseLabel(), + onPressed: () { + Sheets.showAppHeightEightSheet( + context: context, + widget: const Bip39PassphraseSheet(), + theme: theme, + ); + }, + ), + ], + ); + } +} diff --git a/lib/intro/widgets/bip39_passphrase_label.dart b/lib/intro/widgets/bip39_passphrase_label.dart new file mode 100644 index 0000000..c7e0cc9 --- /dev/null +++ b/lib/intro/widgets/bip39_passphrase_label.dart @@ -0,0 +1,31 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../../core/core_providers.dart'; +import '../../l10n/l10n.dart'; + +class Bip39PassphraseLabel extends ConsumerWidget { + const Bip39PassphraseLabel({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final theme = ref.watch(themeProvider); + final styles = ref.watch(stylesProvider); + final l10n = l10nOf(context); + + return Padding( + padding: const EdgeInsets.symmetric(horizontal: 8), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon(Icons.check_box_outlined, size: 20, color: theme.primary), + const SizedBox(width: 8, height: 40), + Text( + l10n.bip39Passphrase, + style: styles.textStyleDialogOptions, + ), + ], + ), + ); + } +} diff --git a/lib/intro/widgets/bip39_passphrase_sheet.dart b/lib/intro/widgets/bip39_passphrase_sheet.dart new file mode 100644 index 0000000..d7555da --- /dev/null +++ b/lib/intro/widgets/bip39_passphrase_sheet.dart @@ -0,0 +1,180 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_hooks/flutter_hooks.dart'; +import 'package:hooks_riverpod/hooks_riverpod.dart'; + +import '../../app_providers.dart'; +import '../../app_router.dart'; +import '../../l10n/l10n.dart'; +import '../../widgets/app_text_field.dart'; +import '../../widgets/buttons.dart'; +import '../../widgets/sheet_widget.dart'; +import '../intro_providers.dart'; + +class Bip39PassphraseSheet extends HookConsumerWidget { + const Bip39PassphraseSheet({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final styles = ref.watch(stylesProvider); + final l10n = l10nOf(context); + + // use read instead of watch so we don't trigger rerenders + final passphrase = ref.read( + introDataProvider.select((value) => value.bip39Passphrase), + ); + + final enterController = useTextEditingController(text: passphrase); + final enterFocusNode = useFocusNode(); + final confirmController = useTextEditingController(text: passphrase); + final confirmFocusNode = useFocusNode(); + + final passphraseVisible = useState(false); + final enterHint = useState(l10n.bip39PassphraseEnter); + final confirmHint = useState(l10n.bip39PassphraseConfirm); + final showEnterClearButton = useState(passphrase.isNotEmpty); + final showConfirmClearButton = useState(passphrase.isNotEmpty); + + final passphraseError = useState(''); + final passphraseMatch = useState(passphrase.isNotEmpty); + + final textStyle = passphraseMatch.value + ? styles.textStyleParagraphPrimary + : styles.textStyleParagraphText; + + void inputChanged(String _) { + passphraseError.value = ''; + passphraseMatch.value = enterController.text == confirmController.text; + showEnterClearButton.value = enterController.text.isNotEmpty; + showConfirmClearButton.value = confirmController.text.isNotEmpty; + } + + useEffect(() { + final listener = () { + enterHint.value = + enterFocusNode.hasFocus ? '' : l10n.bip39PassphraseEnter; + }; + enterFocusNode.addListener(listener); + return () => enterFocusNode.removeListener(listener); + }, [enterFocusNode]); + + useEffect(() { + final listener = () { + confirmHint.value = + confirmFocusNode.hasFocus ? '' : l10n.bip39PassphraseConfirm; + }; + confirmFocusNode.addListener(listener); + return () => confirmFocusNode.removeListener(listener); + }, [confirmFocusNode]); + + void clearEnter() { + enterController.clear(); + showEnterClearButton.value = false; + inputChanged(''); + enterFocusNode.requestFocus(); + } + + void clearConfirm() { + confirmController.clear(); + showConfirmClearButton.value = false; + inputChanged(''); + confirmFocusNode.requestFocus(); + } + + void setPassphrase() { + final enter = enterController.text; + final confirm = confirmController.text; + if (enter != confirm) { + passphraseError.value = l10n.bip39PassphraseMismatch; + return; + } + + final introData = ref.read(introDataProvider.notifier); + introData.setBip39Passphrase(enterController.text); + + appRouter.pop(context); + } + + return SheetWidget( + title: l10n.bip39Passphrase, + mainWidget: Column( + children: [ + const SizedBox(height: 20), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 40), + child: Text( + l10n.bip39PassphraseWarning, + style: styles.textStyleParagraphThinPrimary, + ), + ), + const SizedBox(height: 20), + AppTextField( + controller: enterController, + focusNode: enterFocusNode, + autocorrect: false, + autofocus: false, + style: textStyle, + obscureText: !passphraseVisible.value, + textInputAction: TextInputAction.done, + hintText: enterHint.value, + onChanged: inputChanged, + prefixButton: TextFieldButton( + icon: passphraseVisible.value + ? Icons.visibility_off + : Icons.visibility, + onPressed: () => + passphraseVisible.value = !passphraseVisible.value, + ), + suffixButton: TextFieldButton( + icon: Icons.clear, + onPressed: clearEnter, + ), + fadeSuffixOnCondition: true, + suffixShowFirstCondition: showEnterClearButton.value, + ), + const SizedBox(height: 20), + AppTextField( + controller: confirmController, + focusNode: confirmFocusNode, + autocorrect: false, + autofocus: false, + style: textStyle, + obscureText: !passphraseVisible.value, + textInputAction: TextInputAction.done, + hintText: confirmHint.value, + onChanged: inputChanged, + prefixButton: TextFieldButton( + widget: const SizedBox(width: 40), + ), + suffixButton: TextFieldButton( + icon: Icons.clear, + onPressed: clearConfirm, + ), + fadeSuffixOnCondition: true, + suffixShowFirstCondition: showConfirmClearButton.value, + ), + Container( + alignment: AlignmentDirectional(0, 0), + margin: EdgeInsets.only(top: 3), + child: Text( + passphraseError.value, + style: styles.textStyleParagraphThinPrimary, + ), + ), + ], + ), + bottomWidget: Padding( + padding: const EdgeInsets.symmetric(horizontal: 28), + child: Column( + children: [ + PrimaryButton(title: l10n.confirm, onPressed: setPassphrase), + const SizedBox(height: 16), + PrimaryOutlineButton( + title: l10n.cancel, + onPressed: () => appRouter.pop(context), + ), + ], + ), + ), + ); + } +} diff --git a/lib/intro/widgets/new_mnemonic_button.dart b/lib/intro/widgets/new_mnemonic_button.dart new file mode 100644 index 0000000..fa40b4c --- /dev/null +++ b/lib/intro/widgets/new_mnemonic_button.dart @@ -0,0 +1,52 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../../app_providers.dart'; +import '../../app_router.dart'; +import '../../l10n/l10n.dart'; +import '../../util/ui_util.dart'; +import '../intro_providers.dart'; + +class NewMnemonicButton extends ConsumerWidget { + final int strength; + const NewMnemonicButton({ + super.key, + required this.strength, + }); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final styles = ref.watch(stylesProvider); + final l10n = l10nOf(context); + final text = + strength == 128 ? l10n.secretPhrase12Words : l10n.secretPhrase24Words; + + void generateNewMnemonic() { + final notifier = ref.read(introDataProvider.notifier); + Future.microtask(() { + try { + notifier.generateNewMnemonic(strength: strength); + } catch (e) { + UIUtil.showSnackbar(l10n.somethingWentWrong, context); + appRouter.reload(context); + } + }); + } + + return TextButton( + style: styles.smallOutlinedPrimaryButtonStyle, + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 8), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon(Icons.cached, size: 20), + const SizedBox(width: 8), + Text(text), + ], + ), + ), + onPressed: generateNewMnemonic, + ); + } +} diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 47ab45b..65801a3 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -50,6 +50,7 @@ "available": "Available", "backupConfirmButton": "I've backed it up", "backupSecretPhrase": "Backup Secret Phrase", + "missingSecretPhrase": "Missing Secret Phrase", "biometricsMethod": "Biometrics", "blockExplorer": "Block Explorer", "cancel": "Cancel", @@ -287,6 +288,8 @@ "secretInfo": "On the next screen, you will see your secret phrase. It is a password to access your funds. It is crucial that you back it up and never share it with anyone.", "secretInfoHeader": "Safety First!", "secretPhrase": "Secret Phrase", + "secretPhrase12Words": "12 WORDS", + "secretPhrase24Words": "24 WORDS", "secretWarning": "If you lose your device or uninstall the application, you'll need your secret phrase to recover your funds!", "securityHeader": "Security", "seed": "Seed", @@ -435,6 +438,10 @@ "importOption24WordsDescription": "Compatible with CLI Wallet", "importOption12WordsTitle": "Import 12-Word Secret Phrase", "importOption12WordsDescription": "Compatible with Web Wallet and Spectre Desktop", + "importOptionStandardWalletTitle": "Import Standard Wallet", + "importOptionStandardWalletDescription": "Standard derivation 12 or 24 word wallets with optional BIP39 passphrase", + "importOptionLegacyWalletTitle": "Import Legacy Wallet", + "importOptionLegacyWalletDescription": "Legacy derivation 12 word wallets compatible with legacy Web Wallet and Spectre Desktop", "importOptionKpubTitle": "Import Watch-Only Wallet", "importOptionKpubDescription": "Monitor the balance and transactions of a wallet using an extended public key", "importKpub": "Import Watch-Only Wallet", @@ -529,5 +536,16 @@ }, "txFilterDialogTitle": "Transaction Filter", "txFilterDialogOptionAllTxs": "Show all transactions", - "txFilterDialogOptionHideNotAcceptedCoinbase": "Hide not accepted Coinbase transactions" + "txFilterDialogOptionHideNotAcceptedCoinbase": "Hide Not Accepted Coinbase Transactions", + "requestPasswordHeader": "Request Password", + "requestPasswordAtLaunch": "At Launch", + "requestPasswordWhenLocked": "When Locked", + "requestPasswordWhenSigning": "When Signing", + "importWalletAdvancedOptions": "Advanced Options", + "bip39Passphrase": "BIP39 Passphrase", + "bip39PassphraseWarning": "NOTE: This is not a wallet password, different BIP39 passphrases will open different wallets.", + "bip39PassphraseEnter": "Enter Passphrase", + "bip39PassphraseConfirm": "Confirm Passphrase", + "bip39PassphraseMismatch": "Passphrases do not match!", + "bip39PassphraseNote": "Wallet with BIP39 passphrase." } \ No newline at end of file diff --git a/lib/node_settings/node_add_sheet.dart b/lib/node_settings/node_add_sheet.dart index 5057479..ade8c6c 100644 --- a/lib/node_settings/node_add_sheet.dart +++ b/lib/node_settings/node_add_sheet.dart @@ -6,6 +6,7 @@ import 'package:validators/validators.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; import '../util/random_util.dart'; @@ -136,11 +137,11 @@ class NodeAddSheet extends HookConsumerWidget { ); if (!cancelled) { - Navigator.of(context).pop(); + appRouter.pop(context); final success = await notifier.addOption(config); if (success) { // pop sheet - Navigator.of(context).pop(); + appRouter.pop(context); UIUtil.showSnackbar(l10n.addNodeSuccess, context); } else { UIUtil.showSnackbar(l10n.addNodeFailed, context); @@ -149,7 +150,7 @@ class NodeAddSheet extends HookConsumerWidget { } catch (e, st) { if (!cancelled) { // pop dialog - Navigator.of(context).pop(); + appRouter.pop(context); } final log = ref.read(loggerProvider); log.e('Failed to add node', error: e, stackTrace: st); @@ -223,7 +224,7 @@ class NodeAddSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.cancel, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/node_settings/node_providers.dart b/lib/node_settings/node_providers.dart index 2d550e0..5d5c4b4 100644 --- a/lib/node_settings/node_providers.dart +++ b/lib/node_settings/node_providers.dart @@ -1,62 +1,9 @@ -import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../settings/settings_providers.dart'; +import '../app_providers.dart'; +import 'node_settings_notifier.dart'; import 'node_types.dart'; -const kNodeConfigKey = '_kNodeConfigKeyV2'; - -extension NodeSettingsExtension on SettingsRepository { - NodeConfigSettings getNodeConfigSettings() { - return box.tryGet( - kNodeConfigKey, - typeFactory: NodeConfigSettings.fromJson, - ) ?? - const NodeConfigSettings(); - } - - Future setNodeConfigSettings(NodeConfigSettings settings) { - return box.set(kNodeConfigKey, settings); - } -} - -class NodeSettingsNotifier extends StateNotifier { - final SettingsRepository repository; - - NodeSettingsNotifier(this.repository) - : super(repository.getNodeConfigSettings()); - - Future updateSelected(NodeConfig config) { - state = state.copyWith(selected: config); - return repository.setNodeConfigSettings(state); - } - - Future updateOptions(IList options) { - state = state.copyWith( - options: options, - ); - return repository.setNodeConfigSettings(state); - } - - Future addOption(NodeConfig config) async { - if (state.options.contains(config)) { - return false; - } - final options = state.options.add(config); - await updateOptions(options); - return true; - } - - Future removeOption(NodeConfig config) async { - if (config == state.selected) { - return false; - } - final options = state.options.remove(config); - await updateOptions(options); - return true; - } -} - final spectreNodeSettingsProvider = StateNotifierProvider((ref) { final repository = ref.watch(settingsRepositoryProvider); diff --git a/lib/node_settings/node_settings_notifier.dart b/lib/node_settings/node_settings_notifier.dart new file mode 100644 index 0000000..ec323b7 --- /dev/null +++ b/lib/node_settings/node_settings_notifier.dart @@ -0,0 +1,58 @@ +import 'package:fast_immutable_collections/fast_immutable_collections.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../settings/settings_repository.dart'; +import 'node_types.dart'; + +const kNodeConfigKey = '_kNodeConfigKeyV2'; + +extension NodeSettingsExtension on SettingsRepository { + NodeConfigSettings getNodeConfigSettings() { + return box.tryGet( + kNodeConfigKey, + typeFactory: NodeConfigSettings.fromJson, + ) ?? + const NodeConfigSettings(); + } + + Future setNodeConfigSettings(NodeConfigSettings settings) { + return box.set(kNodeConfigKey, settings); + } +} + +class NodeSettingsNotifier extends StateNotifier { + final SettingsRepository repository; + + NodeSettingsNotifier(this.repository) + : super(repository.getNodeConfigSettings()); + + Future updateSelected(NodeConfig config) { + state = state.copyWith(selected: config); + return repository.setNodeConfigSettings(state); + } + + Future updateOptions(IList options) { + state = state.copyWith( + options: options, + ); + return repository.setNodeConfigSettings(state); + } + + Future addOption(NodeConfig config) async { + if (state.options.contains(config)) { + return false; + } + final options = state.options.add(config); + await updateOptions(options); + return true; + } + + Future removeOption(NodeConfig config) async { + if (config == state.selected) { + return false; + } + final options = state.options.remove(config); + await updateOptions(options); + return true; + } +} diff --git a/lib/node_settings/nodes_sheet.dart b/lib/node_settings/nodes_sheet.dart index 4a819ce..c62bca0 100644 --- a/lib/node_settings/nodes_sheet.dart +++ b/lib/node_settings/nodes_sheet.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../widgets/buttons.dart'; import '../widgets/gradient_widgets.dart'; @@ -86,7 +87,7 @@ class SpectreNodesSheet extends ConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/receive/receive_amount_field.dart b/lib/receive/receive_amount_field.dart index 62be6ec..596c952 100644 --- a/lib/receive/receive_amount_field.dart +++ b/lib/receive/receive_amount_field.dart @@ -3,14 +3,13 @@ import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; -import '../app_icons.dart'; import '../app_providers.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; import '../util/numberutil.dart'; import '../widgets/app_text_field.dart'; +import '../widgets/fiat_mode_icon.dart'; import '../widgets/fiat_value_container.dart'; -import '../widgets/spr_icon_widget.dart'; final amountProvider = StateProvider.autoDispose((ref) => null); @@ -32,22 +31,24 @@ class ReceiveAmountField extends HookConsumerWidget { final spectreFormatter = ref.watch(spectreFormatterProvider); final fiatFormatter = ref.watch(fiatFormatterProvider); + final amount = ref.watch(amountProvider); final amountController = useTextEditingController(); final amountFocusNode = useFocusNode(); - final fiatMode = ref.watch(fiatModeProvider); + final fiatMode = allowFiat ? ref.watch(fiatModeProvider) : false; final amountHint = useState(null); final hintText = fiatMode ? l10n.enterFiatValue : l10n.enterAmount; useEffect(() { - amountFocusNode.addListener(() { + final listener = () { amountHint.value = amountFocusNode.hasFocus ? '' : null; - }); - return null; - }); + }; + amountFocusNode.addListener(listener); + return () => amountFocusNode.removeListener(listener); + }, [amountFocusNode]); useEffect(() { if (amount != null) { @@ -103,16 +104,15 @@ class ReceiveAmountField extends HookConsumerWidget { maxLines: null, autocorrect: false, hintText: amountHint.value ?? hintText, - prefixButton: allowFiat - ? TextFieldButton( - icon: AppIcons.swapcurrency, - onPressed: () => ref - .read(fiatModeProvider.notifier) - .update((state) => !state), - ) - : TextFieldButton( - widget: Image.asset(kSprIconPath, width: 40, height: 40), - ), + prefixButton: TextFieldButton( + widget: FiatModeIcon(fiatMode: fiatMode), + onPressed: () { + if (allowFiat) { + final notifier = ref.read(fiatModeProvider.notifier); + notifier.update((state) => !state); + } + }, + ), suffixButton: TextFieldButton( icon: Icons.clear, onPressed: clearAmount, diff --git a/lib/receive/share_card.dart b/lib/receive/share_card.dart index a8e1192..46a4d6e 100644 --- a/lib/receive/share_card.dart +++ b/lib/receive/share_card.dart @@ -27,7 +27,7 @@ class _AppShareCardState extends State { key: globalKey, child: Consumer(builder: (context, ref, _) { final theme = ref.watch(themeProvider); - final selected = ref.watch(receiveAddressProvider); + final selected = ref.watch(selectedAddressProvider); return Container( height: 126, width: 236, diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart index 777e00f..422adab 100644 --- a/lib/screens/home_screen.dart +++ b/lib/screens/home_screen.dart @@ -1,22 +1,23 @@ import 'dart:async'; -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; -import 'package:flutter_portal/flutter_portal.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../chain_state/chain_state.dart'; import '../l10n/l10n.dart'; import '../main_card/main_card.dart'; +import '../settings/wallet_settings.dart'; import '../settings_drawer/settings_drawer.dart'; import '../util/lock_settings.dart'; -import '../util/platform.dart'; +import '../util/routes.dart'; import '../util/ui_util.dart'; import '../wallet_home/wallet_home.dart'; import '../widgets/network_banner.dart'; -import 'privacy_overlay.dart'; +import 'lock_screen.dart'; +import 'password_lock_screen.dart'; class HomeScreen extends HookConsumerWidget { const HomeScreen({Key? key}) : super(key: key); @@ -26,37 +27,50 @@ class HomeScreen extends HookConsumerWidget { final theme = ref.watch(themeProvider); l10nWrapper.l10n = l10nOf(context); - // To lock and unlock the app - final lockStreamListener = useRef(null); - final inactive = useState(false); + final scaffoldKey = ref.watch(homePageScaffoldKeyProvider); + + ref.listen(walletAuthProvider.select((walletAuth) => walletAuth.isLocked), + (wasLocked, isLocked) { + if (wasLocked == isLocked) { + return; + } + if (isLocked) { + final walletSettings = ref.read(walletSettingsProvider); + final requestPassword = walletSettings.requestPassword; + final lockScreen = switch (requestPassword) { + RequestPassword.whenLocked => const PasswordLockScreen(), + _ => LockScreen(autoTransition: false), + }; - Future setAppLockEvent() async { + appRouter.push( + context, + BarrierRoute(builder: (_) => lockScreen), + ); + } else { + if (appRouter.isTopRoute(context)) { + appRouter.pop(context); + } + } + }); + + Future checkAutoLock() async { // whether we should avoid locking the app final lockDisabled = ref.read(lockDisabledProvider); - if (lockDisabled) { + final isLocked = ref.read(walletAuthProvider).isLocked; + if (lockDisabled || isLocked) { return; } - final auth = ref.read(walletAuthProvider); final vault = ref.read(vaultProvider); final lockSettings = LockSettings(vault); - final shouldLock = await lockSettings.getLock(); + final shouldAutoLock = await lockSettings.getAutoLock(); - if ((shouldLock || auth.encryptedSecret != null)) { - final notifier = ref.read(walletAuthNotifierProvider); - await lockStreamListener.value?.cancel(); - final timeout = await lockSettings.getLockTimeout(); - Future delayed = Future.delayed(timeout.getDuration()); - lockStreamListener.value = delayed.asStream().listen((_) { - notifier?.lock(); - }); + if (shouldAutoLock) { + final notifier = ref.read(walletAuthProvider.notifier); + notifier.lock(); } } - Future cancelLockEvent() async { - await lockStreamListener.value?.cancel(); - } - Future saveChainState() async { final virtualDaaScore = ref.read(lastKnownVirtualDaaScoreProvider); final blueScore = ref.read(virtualSelectedParentBlueScoreProvider); @@ -75,64 +89,44 @@ class HomeScreen extends HookConsumerWidget { switch (state) { case AppLifecycleState.inactive: - if (kDebugMode && kPlatformIsMacOS) { - break; - } - inactive.value = true; + await saveChainState(); break; case AppLifecycleState.hidden: - await setAppLockEvent(); - await saveChainState(); break; case AppLifecycleState.paused: final inBackground = ref.read(inBackgroundProvider.notifier); inBackground.state = true; + await checkAutoLock(); break; case AppLifecycleState.resumed: - await cancelLockEvent(); // refresh remote data final remote = ref.read(remoteRefreshProvider.notifier); remote.update((state) => state + 1); final inBackground = ref.read(inBackgroundProvider.notifier); - final notifier = ref.read(walletAuthNotifierProvider); - if (notifier?.walletLocked == true) { - Navigator.of(context).pushNamedAndRemoveUntil('/', (_) => false); - Future.delayed(const Duration(milliseconds: 1000), () { - inBackground.state = false; - }); - } else { - inBackground.state = false; - inactive.value = false; - } + inBackground.state = false; break; - default: + case AppLifecycleState.detached: break; } }); - final scaffoldKey = ref.watch(homePageScaffoldKeyProvider); - - return PortalTarget( - visible: inactive.value, - portalFollower: const PrivacyOverlay(), - child: Scaffold( - key: scaffoldKey, - drawerEdgeDragWidth: 60, - resizeToAvoidBottomInset: false, - backgroundColor: theme.background, - drawerScrimColor: theme.barrierWeaker, - drawer: SizedBox( - width: UIUtil.drawerWidth(context), - child: const Drawer(child: SettingsSheet()), - ), - body: SafeArea( - child: ClipRect( - child: NetworkBanner( - child: Padding( - padding: const EdgeInsets.only(top: 4), - child: const WalletHome(), - ), + return Scaffold( + key: scaffoldKey, + drawerEdgeDragWidth: 60, + resizeToAvoidBottomInset: false, + backgroundColor: theme.background, + drawerScrimColor: theme.barrierWeaker, + drawer: SizedBox( + width: UIUtil.drawerWidth(context), + child: const Drawer(child: SettingsSheet()), + ), + body: SafeArea( + child: ClipRect( + child: NetworkBanner( + child: Padding( + padding: const EdgeInsets.only(top: 4), + child: const WalletHome(), ), ), ), diff --git a/lib/screens/intro_screen.dart b/lib/screens/intro_screen.dart index b55792f..f2baeae 100644 --- a/lib/screens/intro_screen.dart +++ b/lib/screens/intro_screen.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../intro/intro.dart'; import '../intro/intro_providers.dart'; import '../intro/intro_types.dart'; @@ -17,11 +18,12 @@ class IntroScreen extends HookConsumerWidget { final walletBundle = ref.watch(walletBundleProvider); Future checkPin() async { + final l10n = l10nOf(context); + final vault = ref.read(vaultProvider); final pinIsSet = await vault.pinIsSet; if (pinIsSet) { - final l10n = l10nOf(context); final authUtil = ref.read(authUtilProvider); final auth = authUtil.authenticate( context, @@ -31,12 +33,13 @@ class IntroScreen extends HookConsumerWidget { return auth; } - final pin = await Navigator.of(context).push( + final pin = await appRouter.push( + context, MaterialPageRoute( - builder: (context) { - final l10n = l10nOf(context); - return PinScreen(PinOverlayType.NEW_PIN, l10n: l10n); - }, + builder: (_) => PinScreen( + PinOverlayType.NEW_PIN, + l10n: l10n, + ), ), ); if (pin != null && pin.length > 5) { @@ -63,8 +66,7 @@ class IntroScreen extends HookConsumerWidget { return; } - Navigator.of(context) - .pushNamedAndRemoveUntil('/wallet_setup', (route) => false); + appRouter.setupWallet(context); }); Widget widgetForPage(IntroPage page) { @@ -86,11 +88,12 @@ class IntroScreen extends HookConsumerWidget { state.whenOrNull( push: (page) { final widget = widgetForPage(page); - Navigator.of(context).push( + appRouter.push( + context, MaterialPageRoute(builder: (_) => widget), ); }, - pop: () => Navigator.of(context).pop(), + pop: () => appRouter.pop(context), ); }); diff --git a/lib/screens/lock_screen.dart b/lib/screens/lock_screen.dart index 83a3356..4ea3c14 100644 --- a/lib/screens/lock_screen.dart +++ b/lib/screens/lock_screen.dart @@ -1,8 +1,10 @@ import 'package:flutter/material.dart'; +import 'package:flutter/scheduler.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../settings/authentication_method.dart'; import '../util/caseconverter.dart'; @@ -10,10 +12,10 @@ import '../util/pin_lockout.dart'; import '../util/routes.dart'; import '../widgets/buttons.dart'; import '../widgets/logout_button.dart'; -import '../widgets/pin_screen.dart'; class LockScreen extends ConsumerStatefulWidget { - const LockScreen({Key? key}) : super(key: key); + final bool autoTransition; + const LockScreen({super.key, this.autoTransition = true}); @override _LockScreenState createState() => _LockScreenState(); @@ -25,13 +27,36 @@ class _LockScreenState extends ConsumerState { bool _lockedOut = true; String _countDownTxt = ""; - Future _goHome() async { - final walletAuth = ref.read(walletAuthNotifierProvider); - if (walletAuth != null) { - await walletAuth.unlock(); + late final AppLifecycleListener _appStateListener; + + @override + void initState() { + super.initState(); + + _appStateListener = AppLifecycleListener(onResume: () { + if (appRouter.isTopRoute(context)) { + _authenticate(useTransition: true); + } + }); + + if (SchedulerBinding.instance.lifecycleState == AppLifecycleState.resumed) { + _authenticate(useTransition: true); } + } - Navigator.of(context).pushNamedAndRemoveUntil('/', (_) => false); + @override + void dispose() { + _appStateListener.dispose(); + super.dispose(); + } + + Future _unlock() async { + final walletAuth = ref.read(walletAuthProvider.notifier); + final unlocked = await walletAuth.unlock(); + + if (unlocked && widget.autoTransition) { + appRouter.reload(context); + } } String _formatCountDisplay(int count) { @@ -109,49 +134,60 @@ class _LockScreenState extends ConsumerState { } } - Future authenticateWithBiometrics() async { + Future _authenticateWithBiometrics() async { final l10n = l10nOf(context); + + final privacyOverlayDisabled = + ref.read(privacyOverlayDisabledProvider.notifier); + privacyOverlayDisabled.state = true; + final biometricUtil = ref.read(biometricUtilProvider); - final authenticated = await biometricUtil.authenticateWithBiometrics( - l10n.unlockBiometrics, - ); - if (authenticated) { - _goHome(); - } else { - setState(() { - _showUnlockButton = true; + bool authenticated = false; + + try { + authenticated = await biometricUtil.authenticateWithBiometrics( + l10n.unlockBiometrics, + ); + + if (authenticated) { + _unlock(); + } else { + setState(() { + _showUnlockButton = true; + }); + throw Exception('Authentication failed'); + } + } catch (_) { + rethrow; + } finally { + final privacyOverlayDisabled = + ref.read(privacyOverlayDisabledProvider.notifier); + Future.delayed(Duration(milliseconds: 500), () { + privacyOverlayDisabled.state = false; }); } } - Future authenticateWithPin({bool useTransition = false}) async { - final theme = ref.read(themeProvider); + Future _authenticateWithPin({bool useTransition = false}) async { final l10n = l10nOf(context); + final authUtil = ref.read(authUtilProvider); - String? expectedPin = await ref.read(vaultProvider).getPin(); - - final pinScreen = PinScreen( - PinOverlayType.ENTER_PIN, - expectedPin: expectedPin, + final auth = authUtil.authenticateWithPin( + context, description: l10n.unlockPin, - pinScreenBackgroundColor: theme.backgroundDark, - l10n: l10n, + useTransition: useTransition, ); - final transition = useTransition - ? MaterialPageRoute(builder: (context) => pinScreen) - : NoTransitionRoute(builder: (context) => pinScreen); - final auth = await Navigator.of(context).push(transition); await Future.delayed(Duration(milliseconds: 200)); - if (mounted) { setState(() { _showUnlockButton = true; _showLock = true; }); } - if (auth == true) { - _goHome(); + + if ((await auth) == true) { + _unlock(); } } @@ -184,25 +220,22 @@ class _LockScreenState extends ConsumerState { _showLock = true; _showUnlockButton = true; }); - try { - await authenticateWithBiometrics(); - } catch (e) { - await authenticateWithPin(useTransition: true); + if (SchedulerBinding.instance.lifecycleState == + AppLifecycleState.resumed) { + try { + await _authenticateWithBiometrics(); + } catch (e) { + await _authenticateWithPin(useTransition: true); + } } } else { - await authenticateWithPin(useTransition: true); + await _authenticateWithPin(useTransition: true); } } else { - await authenticateWithPin(useTransition: useTransition); + await _authenticateWithPin(useTransition: useTransition); } } - @override - void initState() { - super.initState(); - _authenticate(); - } - @override Widget build(BuildContext context) { final theme = ref.watch(themeProvider); diff --git a/lib/screens/logout_screen.dart b/lib/screens/logout_screen.dart index 78359c7..351b898 100644 --- a/lib/screens/logout_screen.dart +++ b/lib/screens/logout_screen.dart @@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; class LogoutScreen extends HookConsumerWidget { @@ -23,7 +24,7 @@ class LogoutScreen extends HookConsumerWidget { final log = ref.read(loggerProvider); log.e('Failed to logout', error: e, stackTrace: st); } finally { - Navigator.of(context).pushNamedAndRemoveUntil('/', (_) => false); + appRouter.reload(context); } } diff --git a/lib/screens/password_lock_page.dart b/lib/screens/password_lock_page.dart new file mode 100644 index 0000000..136757a --- /dev/null +++ b/lib/screens/password_lock_page.dart @@ -0,0 +1,146 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_hooks/flutter_hooks.dart'; +import 'package:hooks_riverpod/hooks_riverpod.dart'; + +import '../app_icons.dart'; +import '../app_providers.dart'; +import '../app_router.dart'; +import '../l10n/l10n.dart'; +import '../util/caseconverter.dart'; +import '../widgets/app_text_field.dart'; +import '../widgets/buttons.dart'; +import '../widgets/logout_button.dart'; +import '../widgets/tap_outside_unfocus.dart'; + +class PasswordLockPage extends HookConsumerWidget { + final bool canCancel; + final Future Function(String password) validator; + + const PasswordLockPage({ + super.key, + required this.canCancel, + required this.validator, + }); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final theme = ref.watch(themeProvider); + final styles = ref.watch(stylesProvider); + final l10n = l10nOf(context); + + final wallet = ref.watch(walletProvider); + + final enterFocusNode = useFocusNode(); + final enterController = useTextEditingController(); + final passwordError = useState(''); + final unlockDisabled = useState(false); + + Future validateAndUnlock() async { + try { + final password = enterController.text; + final valid = await validator(password); + if (!valid) { + throw Exception('Invalid password'); + } + if (canCancel) { + appRouter.pop(context, withResult: valid); + } + } catch (e) { + passwordError.value = l10n.invalidPassword; + unlockDisabled.value = true; + Future.delayed(const Duration(seconds: 2), () { + if (context.mounted) { + unlockDisabled.value = false; + } + }); + } + } + + return Scaffold( + resizeToAvoidBottomInset: false, + body: TapOutsideUnfocus( + child: Container( + color: theme.backgroundDark, + width: double.infinity, + child: SafeArea( + minimum: EdgeInsets.only( + bottom: MediaQuery.of(context).size.height * 0.035, + ), + child: Column(children: [ + Row(children: [ + Padding( + padding: const EdgeInsetsDirectional.fromSTEB(20, 16, 12, 4), + child: canCancel ? const BackButton() : const LogoutButton(), + ), + ]), + Expanded( + child: Column(children: [ + Container( + child: Icon( + AppIcons.lock, + size: 80, + color: theme.primary, + ), + margin: EdgeInsets.only( + top: MediaQuery.of(context).size.height * 0.1, + ), + ), + Container( + child: Text( + CaseChange.toUpperCase(l10n.locked, ref), + style: styles.textStyleHeaderColored, + ), + margin: const EdgeInsets.only(top: 10), + ), + Expanded( + child: Column(children: [ + const SizedBox(height: 20), + Text(wallet.name, style: styles.textStyleAccount), + AppTextField( + topMargin: 10, + padding: EdgeInsetsDirectional.only( + start: 16, + end: 16, + ), + focusNode: enterFocusNode, + controller: enterController, + textInputAction: TextInputAction.go, + autofocus: true, + onChanged: (_) => passwordError.value = '', + onSubmitted: (value) { + FocusScope.of(context).unfocus(); + if (!unlockDisabled.value) { + validateAndUnlock(); + } + }, + hintText: l10n.enterPasswordHint, + keyboardType: TextInputType.text, + obscureText: true, + textAlign: TextAlign.center, + style: styles.textStyleParagraphPrimary, + ), + Container( + alignment: AlignmentDirectional(0, 0), + margin: const EdgeInsets.only(top: 3), + child: Text( + passwordError.value, + style: styles.textStyleParagraphThinPrimary, + ), + ), + ]), + ), + ]), + ), + PrimaryButton( + title: l10n.unlock, + margin: const EdgeInsets.fromLTRB(28, 8, 28, 0), + disabled: unlockDisabled.value, + onPressed: validateAndUnlock, + ), + ]), + ), + ), + ), + ); + } +} diff --git a/lib/screens/password_lock_screen.dart b/lib/screens/password_lock_screen.dart index eeabb4e..f6058ba 100644 --- a/lib/screens/password_lock_screen.dart +++ b/lib/screens/password_lock_screen.dart @@ -1,154 +1,28 @@ import 'package:flutter/material.dart'; -import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; -import '../app_icons.dart'; import '../app_providers.dart'; -import '../l10n/l10n.dart'; -import '../util/caseconverter.dart'; -import '../widgets/app_text_field.dart'; -import '../widgets/buttons.dart'; -import '../widgets/logout_button.dart'; -import '../widgets/tap_outside_unfocus.dart'; +import '../app_router.dart'; +import 'password_lock_page.dart'; -class PasswordLockScreen extends HookConsumerWidget { - final Future Function(String)? validator; - - const PasswordLockScreen({ - Key? key, - this.validator, - }) : super(key: key); +class PasswordLockScreen extends ConsumerWidget { + const PasswordLockScreen({super.key}); @override Widget build(BuildContext context, WidgetRef ref) { - final theme = ref.watch(themeProvider); - final styles = ref.watch(stylesProvider); - final l10n = l10nOf(context); - - final wallet = ref.watch(walletProvider); - - final enterFocusNode = useFocusNode(); - final enterController = useTextEditingController(); - final passwordError = useState(''); - final unlockDisabled = useState(false); - - Future validateAndUnlock() async { - try { - final validator = this.validator; - final password = enterController.text; - if (validator == null) { - final walletAuth = ref.read(walletAuthNotifierProvider); - if (walletAuth != null) { - await walletAuth.unlockWithPassword(password); + return PasswordLockPage( + canCancel: false, + validator: (password) async { + final walletAuth = ref.read(walletAuthNotifierProvider); + if (walletAuth != null) { + final unlocked = await walletAuth.unlock(password: password); + if (!unlocked) { + return false; } - Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false); - } else { - final valid = await validator(password); - if (!valid) { - throw Exception('Invalid password'); - } - Navigator.of(context).pop(true); } - } catch (e) { - passwordError.value = l10n.invalidPassword; - unlockDisabled.value = true; - Future.delayed(const Duration(seconds: 2), () { - if (context.mounted) { - unlockDisabled.value = false; - } - }); - } - } - - return Scaffold( - resizeToAvoidBottomInset: false, - body: TapOutsideUnfocus( - child: Container( - color: theme.backgroundDark, - width: double.infinity, - child: SafeArea( - minimum: EdgeInsets.only( - bottom: MediaQuery.of(context).size.height * 0.035, - ), - child: Column(children: [ - Row(children: [ - Padding( - padding: const EdgeInsetsDirectional.fromSTEB(20, 16, 12, 4), - child: validator != null - ? const BackButton() - : const LogoutButton(), - ), - ]), - Expanded( - child: Column(children: [ - Container( - child: Icon( - AppIcons.lock, - size: 80, - color: theme.primary, - ), - margin: EdgeInsets.only( - top: MediaQuery.of(context).size.height * 0.1, - ), - ), - Container( - child: Text( - CaseChange.toUpperCase(l10n.locked, ref), - style: styles.textStyleHeaderColored, - ), - margin: const EdgeInsets.only(top: 10), - ), - Expanded( - child: Column(children: [ - const SizedBox(height: 20), - Text(wallet.name, style: styles.textStyleAccount), - AppTextField( - topMargin: 10, - padding: EdgeInsetsDirectional.only( - start: 16, - end: 16, - ), - focusNode: enterFocusNode, - controller: enterController, - textInputAction: TextInputAction.go, - autofocus: true, - onChanged: (String newText) { - passwordError.value = ''; - }, - onSubmitted: (value) { - FocusScope.of(context).unfocus(); - if (!unlockDisabled.value) { - validateAndUnlock(); - } - }, - hintText: l10n.enterPasswordHint, - keyboardType: TextInputType.text, - obscureText: true, - textAlign: TextAlign.center, - style: styles.textStyleParagraphPrimary, - ), - Container( - alignment: AlignmentDirectional(0, 0), - margin: const EdgeInsets.only(top: 3), - child: Text( - passwordError.value, - style: styles.textStyleParagraphThinPrimary, - ), - ), - ]), - ), - ]), - ), - PrimaryButton( - title: l10n.unlock, - margin: const EdgeInsets.fromLTRB(28, 8, 28, 0), - disabled: unlockDisabled.value, - onPressed: validateAndUnlock, - ), - ]), - ), - ), - ), + appRouter.reload(context); + return true; + }, ); } } diff --git a/lib/screens/privacy_overlay.dart b/lib/screens/privacy_overlay.dart index f8567ad..e2542e2 100644 --- a/lib/screens/privacy_overlay.dart +++ b/lib/screens/privacy_overlay.dart @@ -11,6 +11,7 @@ class PrivacyOverlay extends ConsumerWidget { Widget build(BuildContext context, WidgetRef ref) { final theme = ref.watch(themeProvider); final styles = ref.watch(stylesProvider); + return Scaffold( backgroundColor: theme.backgroundDark, body: SafeArea( diff --git a/lib/screens/privacy_screen.dart b/lib/screens/privacy_screen.dart new file mode 100644 index 0000000..67e4664 --- /dev/null +++ b/lib/screens/privacy_screen.dart @@ -0,0 +1,56 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_hooks/flutter_hooks.dart'; +import 'package:flutter_portal/flutter_portal.dart'; +import 'package:hooks_riverpod/hooks_riverpod.dart'; + +import '../app_providers.dart'; +import 'privacy_overlay.dart'; + +class PrivacyScreen extends HookConsumerWidget { + final Widget child; + const PrivacyScreen({ + super.key, + required this.child, + }); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final disabled = ref.watch(privacyOverlayDisabledProvider); + final inactive = useState(false); + + useEffect(() { + Future.microtask( + () => precacheImage(AssetImage('assets/spectre.png'), context), + ); + return null; + }, const []); + + useOnAppLifecycleStateChange((previous, state) { + switch (state) { + case AppLifecycleState.detached: + break; + case AppLifecycleState.resumed: + inactive.value = false; + break; + case AppLifecycleState.inactive: + inactive.value = true; + break; + case AppLifecycleState.hidden: + break; + case AppLifecycleState.paused: + break; + } + }); + + return Portal( + child: Directionality( + textDirection: TextDirection.ltr, + child: PortalTarget( + visible: inactive.value && !disabled, + portalFollower: const PrivacyOverlay(), + child: child, + ), + ), + ); + } +} diff --git a/lib/screens/setup_wallet_screen.dart b/lib/screens/setup_wallet_screen.dart index b8047f9..0fba746 100644 --- a/lib/screens/setup_wallet_screen.dart +++ b/lib/screens/setup_wallet_screen.dart @@ -3,10 +3,10 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../intro/intro_providers.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; -import '../utils.dart'; import '../wallet/wallet_types.dart'; import '../wallet_address/address_discovery.dart'; import '../wallet_address/wallet_address.dart'; @@ -48,7 +48,7 @@ class SetupWalletScreen extends HookConsumerWidget { throw Exception('Missing seed'); } WalletKind walletKind; - if (introData.mnemonic?.split(' ').length == 12) { + if (introData.isLegacyWallet) { final wallet = HdWallet.forSeedHex(seed, type: HdWalletType.legacy); final pubKey = wallet.derivePublicKey(typeIndex: 0, index: 0); walletKind = WalletKind.localHdLegacy(mainPubKey: pubKey.hex); @@ -60,6 +60,7 @@ class SetupWalletScreen extends HookConsumerWidget { name: introData.name ?? l10n.defaultWalletName, kind: walletKind, seed: seed, + usesBip39Passphrase: introData.bip39Passphrase.isNotEmpty, mnemonic: introData.mnemonic, password: introData.password, ); @@ -140,7 +141,8 @@ class SetupWalletScreen extends HookConsumerWidget { message.value = l10n.fetchingTransactions; details.value = ''; - Navigator.of(context).pushNamedAndRemoveUntil('/', (_) => false); + + appRouter.reload(context); } catch (e, st) { final log = ref.read(loggerProvider); log.e('Failed to create wallet', error: e, stackTrace: st); @@ -150,10 +152,6 @@ class SetupWalletScreen extends HookConsumerWidget { } } - void restartSetup() { - Navigator.of(context).pushNamedAndRemoveUntil('/', (_) => false); - } - useEffect(() { Future.delayed(const Duration(milliseconds: 200), setupWallet); return null; @@ -162,7 +160,7 @@ class SetupWalletScreen extends HookConsumerWidget { if (setupFailed.value) { return SetupFailedPage( error: setupError.value, - onRestart: restartSetup, + onRestart: () => appRouter.reload(context), ); } diff --git a/lib/screens/splash_screen.dart b/lib/screens/splash_screen.dart index 9b1c0a5..2b8ea2c 100644 --- a/lib/screens/splash_screen.dart +++ b/lib/screens/splash_screen.dart @@ -4,9 +4,11 @@ import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:package_info_plus/package_info_plus.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../database/database.dart'; import '../intro/intro_providers.dart'; import '../l10n/l10n.dart'; +import '../settings/wallet_settings.dart'; import '../util/lock_settings.dart'; import '../util/ui_util.dart'; import '../widgets/notice_dialog.dart'; @@ -43,18 +45,21 @@ class SplashScreen extends HookConsumerWidget { final walletBundle = ref.read(walletBundleProvider); final wallet = walletBundle.selected; if (wallet == null) { - final vault = ref.read(vaultProvider); - final pinIsSet = await vault.pinIsSet; - // on iOS the Vault is not cleared on app uninstall - // check if pin is set but wallets is null then reset vault and database - if (pinIsSet && walletBundle.wallets == null) { - await vault.deleteAll(); - final db = await Database.reset(); - ref.read(dbProvider.notifier).state = db; + if (walletBundle.wallets == null) { + final vault = ref.read(vaultProvider); + final pinIsSet = await vault.pinIsSet; + // on iOS the Vault is not cleared on app uninstall + // check if pin is set but wallets is null then reset vault and database + if (pinIsSet) { + await vault.deleteAll(); + final db = await Database.reset(); + ref.read(dbProvider.notifier).state = db; + } } ref.read(introDataProvider.notifier).clear(); - Navigator.of(context).pushReplacementNamed('/intro'); + + appRouter.startIntro(context); return; } @@ -62,22 +67,32 @@ class SplashScreen extends HookConsumerWidget { if (walletAuthNotifier == null) { final l10n = l10nOf(context); UIUtil.showSnackbar(l10n.somethingWentWrong, context); - Navigator.of(context).pushReplacementNamed('/intro'); + appRouter.startIntro(context); return; } await walletAuthNotifier.checkEncryptedState(); - if (walletAuthNotifier.walletLocked) { - if (walletAuthNotifier.walletEncrypted) { - Navigator.of(context).pushReplacementNamed('/password_lock_screen'); - return; - } + if (walletAuthNotifier.walletIsLocked) { final vault = ref.read(vaultProvider); final lockSettings = LockSettings(vault); final authOnLaunch = await lockSettings.getLock(); + + final walletSettings = ref.read(walletSettingsProvider); + final requirePassword = switch (walletSettings.requestPassword) { + RequestPassword.atLaunch => walletAuthNotifier.walletIsEncrypted, + RequestPassword.whenLocked => + walletAuthNotifier.walletIsEncrypted && authOnLaunch, + RequestPassword.whenSigning => false, + }; + + if (requirePassword) { + appRouter.requirePassword(context); + return; + } + if (authOnLaunch) { - Navigator.of(context).pushReplacementNamed('/lock_screen'); + appRouter.requireUnlock(context); return; } else { await walletAuthNotifier.unlock(); @@ -88,7 +103,7 @@ class SplashScreen extends HookConsumerWidget { final network = ref.read(networkProvider); await walletRepository.openWalletBoxes(wallet, network: network); - Navigator.of(context).pushReplacementNamed('/home'); + appRouter.openWallet(context); } useEffect(() { diff --git a/lib/send_sheet/send_complete_sheet.dart b/lib/send_sheet/send_complete_sheet.dart index 3ba80b9..be2bb14 100644 --- a/lib/send_sheet/send_complete_sheet.dart +++ b/lib/send_sheet/send_complete_sheet.dart @@ -3,6 +3,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; import '../widgets/address_card.dart'; @@ -93,7 +94,7 @@ class SendCompleteSheet extends HookConsumerWidget { PrimaryOutlineButton( title: l10n.close, margin: const EdgeInsets.only(left: 28, right: 28, top: 8), - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), ), ], ), diff --git a/lib/send_sheet/send_confirm_sheet.dart b/lib/send_sheet/send_confirm_sheet.dart index 038f0a1..e05fbd5 100644 --- a/lib/send_sheet/send_confirm_sheet.dart +++ b/lib/send_sheet/send_confirm_sheet.dart @@ -4,9 +4,9 @@ import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; -import '../transactions/send_tx.dart'; import '../util/numberutil.dart'; import '../util/ui_util.dart'; import '../widgets/address_card.dart'; @@ -52,29 +52,24 @@ class SendConfirmSheet extends HookConsumerWidget { l10n.sendTxProgressDescription, ); - final addressNotifier = ref.read(addressNotifierProvider); - final changeAddress = await addressNotifier.nextChangeAddress; + final txId = await walletService.sendTransaction(tx); - final result = await walletService.sendTransaction( - tx, - changeAddress: changeAddress.address, - ); - - if (result.changeAddressUsed) { - await addressNotifier.addAddress(changeAddress); + if (tx.changeAddress case final changeAddress?) { + final addressNotifier = ref.read(addressNotifierProvider); + await addressNotifier.markUsed([changeAddress.encoded]); } if (tx.note case final txNote?) { final notes = ref.read(txNotesProvider); - notes.addNoteForTxId(result.txId, txNote); + notes.addNoteForTxId(txId, txNote); } - Navigator.of(context).pop(); + appRouter.pop(context); final sheet = SendCompleteSheet( amount: tx.amount, toAddress: tx.toAddress, - txId: result.txId, + txId: txId, note: tx.note, ); @@ -90,7 +85,7 @@ class SendConfirmSheet extends HookConsumerWidget { log.e('Failed to send transaction', error: e, stackTrace: st); UIUtil.showSnackbar(l10n.sendError, context); - Navigator.of(context).pop(); + appRouter.pop(context); } } @@ -125,9 +120,18 @@ class SendConfirmSheet extends HookConsumerWidget { } // Authenticate + final walletAuth = ref.read(walletAuthProvider.notifier); final authUtil = ref.read(authUtilProvider); - final message = authMessage(); - final auth = await authUtil.authenticate(context, message, message); + bool auth = false; + if (walletAuth.needsPasswordAuth) { + auth = await authUtil.authenticateWithPassword( + context, + validator: (password) => walletAuth.unlock(password: password), + ); + } else { + final message = authMessage(); + auth = await authUtil.authenticate(context, message, message); + } if (auth) { await sendTransaction(); } @@ -190,7 +194,7 @@ class SendConfirmSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.cancel, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), ), ], ), diff --git a/lib/send_sheet/send_sheet.dart b/lib/send_sheet/send_sheet.dart index d0d4b5b..55f1241 100644 --- a/lib/send_sheet/send_sheet.dart +++ b/lib/send_sheet/send_sheet.dart @@ -8,6 +8,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../contacts/contact.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; @@ -19,6 +20,7 @@ import '../widgets/address_widgets.dart'; import '../widgets/app_simpledialog.dart'; import '../widgets/app_text_field.dart'; import '../widgets/buttons.dart'; +import '../widgets/fiat_mode_icon.dart'; import '../widgets/fiat_value_container.dart'; import '../widgets/gradient_widgets.dart'; import '../widgets/sheet_handle.dart'; @@ -520,7 +522,7 @@ class _SendSheetState extends ConsumerState { else PrimaryOutlineButton( title: l10n.cancel, - onPressed: Navigator.of(context).pop, + onPressed: () => appRouter.pop(context), ), ], ), @@ -733,9 +735,11 @@ class _SendSheetState extends ConsumerState { autocorrect: false, hintText: _amountHint ?? hintText, prefixButton: TextFieldButton( - icon: AppIcons.swapcurrency, - onPressed: () => - ref.read(fiatModeProvider.notifier).update((state) => !state), + widget: FiatModeIcon(fiatMode: fiatMode), + onPressed: () { + final notifier = ref.read(fiatModeProvider.notifier); + notifier.update((state) => !state); + }, ), suffixButton: TextFieldButton( icon: AppIcons.max, @@ -963,25 +967,6 @@ class _SendSheetState extends ConsumerState { textInputAction: TextInputAction.done, maxLines: null, autocorrect: false, - hintText: _noteHint ?? l10n.enterNote, - prefixButton: TextFieldButton( - icon: AppIcons.scan, - onPressed: () async { - FocusManager.instance.primaryFocus?.unfocus(); - - final qr = await UserDataUtil.scanQrCode(context); - final data = qr?.code; - if (data == null) { - return; - } - - _noteController.text = data; - _notePasteButtonVisible = false; - _noteQrButtonVisible = false; - - setState(() => _noteValidAndUnfocused = true); - }, - ), fadePrefixOnCondition: true, prefixShowFirstCondition: _noteQrButtonVisible, suffixButton: TextFieldButton( diff --git a/lib/wallet_address/address_settings.dart b/lib/settings/address_settings.dart similarity index 100% rename from lib/wallet_address/address_settings.dart rename to lib/settings/address_settings.dart diff --git a/lib/wallet_address/address_settings/address_settings_notifier.dart b/lib/settings/address_settings/address_settings_notifier.dart similarity index 96% rename from lib/wallet_address/address_settings/address_settings_notifier.dart rename to lib/settings/address_settings/address_settings_notifier.dart index 530bfd7..fddb9be 100644 --- a/lib/wallet_address/address_settings/address_settings_notifier.dart +++ b/lib/settings/address_settings/address_settings_notifier.dart @@ -1,6 +1,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../../settings/settings.dart'; +import '../settings_repository.dart'; import 'address_settings_types.dart'; const kAddressSettingsKey = '_kAddressSettingsKey'; diff --git a/lib/wallet_address/address_settings/address_settings_providers.dart b/lib/settings/address_settings/address_settings_providers.dart similarity index 92% rename from lib/wallet_address/address_settings/address_settings_providers.dart rename to lib/settings/address_settings/address_settings_providers.dart index 5dadcf3..1d7a541 100644 --- a/lib/wallet_address/address_settings/address_settings_providers.dart +++ b/lib/settings/address_settings/address_settings_providers.dart @@ -1,6 +1,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../../settings/settings.dart'; +import '../../app_providers.dart'; import 'address_settings_notifier.dart'; import 'address_settings_types.dart'; diff --git a/lib/wallet_address/address_settings/address_settings_types.dart b/lib/settings/address_settings/address_settings_types.dart similarity index 100% rename from lib/wallet_address/address_settings/address_settings_types.dart rename to lib/settings/address_settings/address_settings_types.dart diff --git a/lib/settings/block_explorer_notifier.dart b/lib/settings/block_explorer_notifier.dart index a582bb4..3f58beb 100644 --- a/lib/settings/block_explorer_notifier.dart +++ b/lib/settings/block_explorer_notifier.dart @@ -1,9 +1,9 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../spectre/spectre.dart'; -import '../settings/block_explorer_settings.dart'; -import '../settings/block_explorers.dart'; -import '../settings/settings.dart'; +import 'block_explorer_settings.dart'; +import 'block_explorers.dart'; +import 'settings_repository.dart'; const _kBlockExplorerConfigKey = '_kBlockExplorerConfigKey'; diff --git a/lib/settings/device_lock_timeout.dart b/lib/settings/device_lock_timeout.dart deleted file mode 100644 index 31ea5c2..0000000 --- a/lib/settings/device_lock_timeout.dart +++ /dev/null @@ -1,51 +0,0 @@ -import 'package:flutter/material.dart'; - -import '../l10n/l10n.dart'; -import 'setting_item.dart'; - -enum LockTimeoutOption { ZERO, ONE, FIVE, FIFTEEN, THIRTY, SIXTY } - -/// Represent auto-lock delay when requiring auth to open -class LockTimeoutSetting extends SettingSelectionItem { - final LockTimeoutOption setting; - - const LockTimeoutSetting(this.setting); - - String getDisplayName(BuildContext context) { - final l10n = l10nOf(context); - switch (setting) { - case LockTimeoutOption.ZERO: - return l10n.instantly; - case LockTimeoutOption.ONE: - return l10n.xMinutes(1); - case LockTimeoutOption.FIVE: - return l10n.xMinutes(5); - case LockTimeoutOption.FIFTEEN: - return l10n.xMinutes(15); - case LockTimeoutOption.THIRTY: - return l10n.xMinutes(30); - case LockTimeoutOption.SIXTY: - return l10n.xMinutes(60); - } - } - - Duration getDuration() { - switch (setting) { - case LockTimeoutOption.ZERO: - return Duration(seconds: 1); - case LockTimeoutOption.ONE: - return Duration(minutes: 1); - case LockTimeoutOption.FIVE: - return Duration(minutes: 5); - case LockTimeoutOption.FIFTEEN: - return Duration(minutes: 15); - case LockTimeoutOption.THIRTY: - return Duration(minutes: 30); - case LockTimeoutOption.SIXTY: - return Duration(hours: 1); - } - } - - // For saving to shared prefs - String getId() => setting.name; -} diff --git a/lib/settings/settings.dart b/lib/settings/settings.dart deleted file mode 100644 index bcbc506..0000000 --- a/lib/settings/settings.dart +++ /dev/null @@ -1 +0,0 @@ -export 'settings_providers.dart'; diff --git a/lib/settings/settings_providers.dart b/lib/settings/settings_providers.dart index c786485..1f76ae4 100644 --- a/lib/settings/settings_providers.dart +++ b/lib/settings/settings_providers.dart @@ -1,7 +1,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../core/core_providers.dart'; -import '../database/boxes.dart'; import 'available_currency.dart'; import 'available_language.dart'; import 'available_themes.dart'; @@ -9,17 +8,9 @@ import 'block_explorer_notifier.dart'; import 'block_explorer_settings.dart'; import 'currency_notifier.dart'; import 'language_notifier.dart'; +import 'settings_repository.dart'; import 'theme_setting_notifier.dart'; -typedef TypeFactory = T Function(dynamic); - -class SettingsRepository { - final GenericBox box; - const SettingsRepository(this.box); - - Future remove(String key) => box.remove(key); -} - final _settingsBoxProvider = Provider((ref) { final db = ref.watch(dbProvider); final box = db.getGenericBox(db.settingsBox); diff --git a/lib/settings/settings_repository.dart b/lib/settings/settings_repository.dart new file mode 100644 index 0000000..a014441 --- /dev/null +++ b/lib/settings/settings_repository.dart @@ -0,0 +1,8 @@ +import '../database/boxes.dart'; + +class SettingsRepository { + final GenericBox box; + const SettingsRepository(this.box); + + Future remove(String key) => box.remove(key); +} diff --git a/lib/settings/tx_settings.dart b/lib/settings/tx_settings.dart new file mode 100644 index 0000000..801186e --- /dev/null +++ b/lib/settings/tx_settings.dart @@ -0,0 +1,3 @@ +export 'tx_settings/tx_settings_notifier.dart'; +export 'tx_settings/tx_settings_providers.dart'; +export 'tx_settings/tx_settings_types.dart'; diff --git a/lib/transactions/tx_settings/tx_settings_notifier.dart b/lib/settings/tx_settings/tx_settings_notifier.dart similarity index 94% rename from lib/transactions/tx_settings/tx_settings_notifier.dart rename to lib/settings/tx_settings/tx_settings_notifier.dart index 4aa8916..8b498fe 100644 --- a/lib/transactions/tx_settings/tx_settings_notifier.dart +++ b/lib/settings/tx_settings/tx_settings_notifier.dart @@ -1,6 +1,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../../settings/settings_providers.dart'; +import '../settings_repository.dart'; import 'tx_settings_types.dart'; const kTxSettingsKey = '_kTxSettingsKey'; diff --git a/lib/transactions/tx_settings/tx_settings_providers.dart b/lib/settings/tx_settings/tx_settings_providers.dart similarity index 90% rename from lib/transactions/tx_settings/tx_settings_providers.dart rename to lib/settings/tx_settings/tx_settings_providers.dart index fcb4b3b..7a532d0 100644 --- a/lib/transactions/tx_settings/tx_settings_providers.dart +++ b/lib/settings/tx_settings/tx_settings_providers.dart @@ -1,6 +1,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../../settings/settings_providers.dart'; +import '../settings_providers.dart'; import 'tx_settings_notifier.dart'; import 'tx_settings_types.dart'; diff --git a/lib/transactions/tx_settings/tx_settings_types.dart b/lib/settings/tx_settings/tx_settings_types.dart similarity index 100% rename from lib/transactions/tx_settings/tx_settings_types.dart rename to lib/settings/tx_settings/tx_settings_types.dart diff --git a/lib/settings/wallet_settings.dart b/lib/settings/wallet_settings.dart new file mode 100644 index 0000000..d0f2665 --- /dev/null +++ b/lib/settings/wallet_settings.dart @@ -0,0 +1,4 @@ +export 'wallet_settings/request_password.dart'; +export 'wallet_settings/wallet_settings_notifier.dart'; +export 'wallet_settings/wallet_settings_providers.dart'; +export 'wallet_settings/wallet_settings_types.dart'; diff --git a/lib/settings/wallet_settings/request_password.dart b/lib/settings/wallet_settings/request_password.dart new file mode 100644 index 0000000..1ef7535 --- /dev/null +++ b/lib/settings/wallet_settings/request_password.dart @@ -0,0 +1,22 @@ +import 'package:flutter/material.dart'; + +import '../../l10n/l10n.dart'; +import '../setting_item.dart'; + +enum RequestPassword { atLaunch, whenLocked, whenSigning } + +class RequestPasswordSetting extends SettingSelectionItem { + final RequestPassword setting; + + const RequestPasswordSetting(this.setting); + + String getDisplayName(BuildContext context) { + final l10n = l10nOf(context); + + return switch (setting) { + RequestPassword.atLaunch => l10n.requestPasswordAtLaunch, + RequestPassword.whenLocked => l10n.requestPasswordWhenLocked, + RequestPassword.whenSigning => l10n.requestPasswordWhenSigning, + }; + } +} diff --git a/lib/settings/wallet_settings/wallet_settings_notifier.dart b/lib/settings/wallet_settings/wallet_settings_notifier.dart new file mode 100644 index 0000000..87eeec7 --- /dev/null +++ b/lib/settings/wallet_settings/wallet_settings_notifier.dart @@ -0,0 +1,36 @@ +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../settings_repository.dart'; +import 'request_password.dart'; +import 'wallet_settings_types.dart'; + +extension WalletSettingsExtension on SettingsRepository { + WalletSettings getWalletSettings(String key) { + return box.tryGet(key, + typeFactory: WalletSettings.fromJson) ?? + WalletSettings(); + } + + Future setWalletSettings( + String key, WalletSettings walletSettings) async { + await box.set(key, walletSettings); + } +} + +class WalletSettingsStateNotifier extends StateNotifier { + final SettingsRepository repository; + final String key; + + WalletSettingsStateNotifier({ + required this.repository, + required this.key, + }) : super(repository.getWalletSettings(key)); + + Future setRequestPassword(RequestPassword requestPassword) async { + if (state.requestPassword == requestPassword) { + return; + } + state = state.copyWith(requestPassword: requestPassword); + return repository.setWalletSettings(key, state); + } +} diff --git a/lib/settings/wallet_settings/wallet_settings_providers.dart b/lib/settings/wallet_settings/wallet_settings_providers.dart new file mode 100644 index 0000000..8eaa137 --- /dev/null +++ b/lib/settings/wallet_settings/wallet_settings_providers.dart @@ -0,0 +1,16 @@ +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../../app_providers.dart'; +import 'wallet_settings_notifier.dart'; +import 'wallet_settings_types.dart'; + +final walletSettingsProvider = StateNotifierProvider.autoDispose< + WalletSettingsStateNotifier, WalletSettings>((ref) { + final settings = ref.watch(settingsRepositoryProvider); + final wallet = ref.watch(walletProvider); + + return WalletSettingsStateNotifier( + repository: settings, + key: wallet.settingsKey, + ); +}); diff --git a/lib/settings/wallet_settings/wallet_settings_types.dart b/lib/settings/wallet_settings/wallet_settings_types.dart new file mode 100644 index 0000000..77bfa34 --- /dev/null +++ b/lib/settings/wallet_settings/wallet_settings_types.dart @@ -0,0 +1,16 @@ +import 'package:freezed_annotation/freezed_annotation.dart'; + +import 'request_password.dart'; + +part 'wallet_settings_types.freezed.dart'; +part 'wallet_settings_types.g.dart'; + +@freezed +class WalletSettings with _$WalletSettings { + const factory WalletSettings({ + @Default(RequestPassword.atLaunch) RequestPassword requestPassword, + }) = _WalletSettings; + + factory WalletSettings.fromJson(Map json) => + _$WalletSettingsFromJson(json); +} diff --git a/lib/settings_advanced/address_discovery_dialog.dart b/lib/settings_advanced/address_discovery_dialog.dart index 9b914fe..2d9b577 100644 --- a/lib/settings_advanced/address_discovery_dialog.dart +++ b/lib/settings_advanced/address_discovery_dialog.dart @@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/ui_util.dart'; import '../wallet_address/address_discovery.dart'; @@ -96,7 +97,7 @@ class AddressDiscoveryDialog extends HookConsumerWidget { } catch (e) { UIUtil.showSnackbar(l10n.scanFailedMessage, context); } finally { - Navigator.of(context).pop(); + appRouter.pop(context); } } @@ -149,7 +150,7 @@ class AddressDiscoveryDialog extends HookConsumerWidget { actions: [ TextButton( style: styles.dialogButtonStyle, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), child: Text( l10n.closeUppercased, style: styles.textStyleDialogOptions, diff --git a/lib/settings_advanced/compound_utxos_dialog.dart b/lib/settings_advanced/compound_utxos_dialog.dart index 2785519..e258fa7 100644 --- a/lib/settings_advanced/compound_utxos_dialog.dart +++ b/lib/settings_advanced/compound_utxos_dialog.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; import '../util/numberutil.dart'; @@ -41,7 +42,7 @@ class CompoundUtxosDialog extends ConsumerWidget { final spendableUtxos = ref.read(spendableUtxosProvider); if (spendableUtxos.length <= 1) { UIUtil.showSnackbar(l10n.compoundTooFewUtxos, context); - Navigator.of(context).pop(); + appRouter.pop(context); return; } final compoundTx = walletService.createCompoundTx( @@ -49,24 +50,21 @@ class CompoundUtxosDialog extends ConsumerWidget { spendableUtxos: spendableUtxos, feePerInput: kFeePerInput, ); - await walletService.sendTransaction( - compoundTx, - changeAddress: changeAddress.address, - ); - await addressNotifier.addAddress(changeAddress); + await walletService.sendTransaction(compoundTx); + await addressNotifier.addAddress(changeAddress.copyWith(used: true)); if (lightMode) { // give some time for compound tx to broadcast and get accepted await Future.delayed(const Duration(seconds: 5)); // close both dialogs - Navigator.of(context).pop(); + appRouter.pop(context); } UIUtil.showSnackbar(l10n.compoundSuccess, context); } catch (e) { UIUtil.showSnackbar(l10n.compoundFailure, context); } finally { - Navigator.of(context).pop(); + appRouter.pop(context); } } @@ -147,7 +145,7 @@ class CompoundUtxosDialog extends ConsumerWidget { actions: [ TextButton( style: styles.dialogButtonStyle, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), child: Text( l10n.closeUppercased, style: styles.textStyleDialogOptions, diff --git a/lib/settings_advanced/kpub_sheet.dart b/lib/settings_advanced/kpub_sheet.dart index 3bd0a0d..b49ed54 100644 --- a/lib/settings_advanced/kpub_sheet.dart +++ b/lib/settings_advanced/kpub_sheet.dart @@ -3,6 +3,7 @@ import 'package:flutter/services.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/ui_util.dart'; import '../widgets/buttons.dart'; @@ -97,7 +98,7 @@ class KpubSheet extends ConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ], ), diff --git a/lib/settings_drawer/currency_dialog.dart b/lib/settings_drawer/currency_dialog.dart index 1a73e18..94ccd78 100644 --- a/lib/settings_drawer/currency_dialog.dart +++ b/lib/settings_drawer/currency_dialog.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../settings/available_currency.dart'; import '../widgets/app_simpledialog.dart'; @@ -26,7 +27,7 @@ class CurrencyDialog extends ConsumerWidget { children: [ for (final value in AvailableCurrencies.values) SimpleDialogOption( - onPressed: () => Navigator.pop(context, value), + onPressed: () => appRouter.pop(context, withResult: value), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( diff --git a/lib/settings_drawer/disable_password_sheet.dart b/lib/settings_drawer/disable_password_sheet.dart index 86b70b8..d04c197 100644 --- a/lib/settings_drawer/disable_password_sheet.dart +++ b/lib/settings_drawer/disable_password_sheet.dart @@ -4,6 +4,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/ui_util.dart'; import '../widgets/app_text_field.dart'; @@ -34,7 +35,7 @@ class DisablePasswordSheet extends HookConsumerWidget { await auth.removePassword(password); UIUtil.showSnackbar(l10n.disablePasswordSuccess, context); - Navigator.of(context).pop(); + appRouter.pop(context); } catch (e) { passwordError.value = l10n.invalidPassword; } @@ -90,7 +91,7 @@ class DisablePasswordSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/settings_drawer/language_dialog.dart b/lib/settings_drawer/language_dialog.dart index bf2d4f5..d06a94d 100644 --- a/lib/settings_drawer/language_dialog.dart +++ b/lib/settings_drawer/language_dialog.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../settings/available_language.dart'; import '../widgets/app_simpledialog.dart'; @@ -30,8 +31,9 @@ class LanguageDialog extends ConsumerWidget { Builder(builder: (context) { final isAvailable = LanguageSetting.isAvailable(value); return SimpleDialogOption( - onPressed: - isAvailable ? () => Navigator.pop(context, value) : null, + onPressed: isAvailable + ? () => appRouter.pop(context, withResult: value) + : null, child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( diff --git a/lib/settings_drawer/network_menu.dart b/lib/settings_drawer/network_menu.dart index ed5ffc7..92b9683 100644 --- a/lib/settings_drawer/network_menu.dart +++ b/lib/settings_drawer/network_menu.dart @@ -3,6 +3,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../node_settings/node_providers.dart'; import '../node_settings/node_setting.dart'; @@ -226,7 +227,7 @@ class NetworkMenu extends ConsumerWidget { return options.map((value) { final styles = ref.read(stylesProvider); return SimpleDialogOption( - onPressed: () => Navigator.pop(context, value), + onPressed: () => appRouter.pop(context, withResult: value), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Column( diff --git a/lib/settings_drawer/security_menu.dart b/lib/settings_drawer/security_menu.dart index 6371b16..ef6c10c 100644 --- a/lib/settings_drawer/security_menu.dart +++ b/lib/settings_drawer/security_menu.dart @@ -3,10 +3,11 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../settings/authentication_method.dart'; -import '../settings/device_lock_timeout.dart'; import '../settings/device_unlock_option.dart'; +import '../settings/wallet_settings.dart'; import '../util/lock_settings.dart'; import '../widgets/app_icon_button.dart'; import '../widgets/app_simpledialog.dart'; @@ -31,11 +32,10 @@ class SecurityMenu extends ConsumerStatefulWidget { class _SecurityMenuState extends ConsumerState { bool _hasBiometrics = false; - AuthenticationMethod _curAuthMethod = + AuthenticationMethod _authMethod = AuthenticationMethod(AuthMethod.BIOMETRICS); - UnlockSetting _curUnlockSetting = UnlockSetting(UnlockOption.NO); - LockTimeoutSetting _curTimeoutSetting = - LockTimeoutSetting(LockTimeoutOption.ONE); + UnlockSetting _unlockSetting = UnlockSetting(UnlockOption.NO); + UnlockSetting _autoLockSetting = UnlockSetting(UnlockOption.NO); @override void initState() { @@ -46,22 +46,26 @@ class _SecurityMenuState extends ConsumerState { final vault = ref.read(vaultProvider); final lockSettings = LockSettings(vault); final sharedPrefsUtil = ref.read(sharedPrefsUtilProvider); - biometricUtil.hasBiometrics().then((bool hasBiometrics) { + biometricUtil.hasBiometrics().then((hasBiometrics) { setState(() => _hasBiometrics = hasBiometrics); }); // Get default auth method setting - _curAuthMethod = sharedPrefsUtil.getAuthMethod(); + _authMethod = sharedPrefsUtil.getAuthMethod(); // Get default unlock settings - lockSettings.getLock().then( - (lock) { - setState(() => _curUnlockSetting = lock + lockSettings.getLock().then((lock) { + setState( + () => _unlockSetting = (lock ? UnlockSetting(UnlockOption.YES) - : UnlockSetting(UnlockOption.NO)); - }, - ); + : UnlockSetting(UnlockOption.NO)), + ); + }); - lockSettings.getLockTimeout().then((value) { - setState(() => _curTimeoutSetting = value); + lockSettings.getAutoLock().then((autolock) { + setState( + () => _autoLockSetting = (autolock + ? UnlockSetting(UnlockOption.YES) + : UnlockSetting(UnlockOption.NO)), + ); }); } @@ -73,7 +77,11 @@ class _SecurityMenuState extends ConsumerState { final wallet = ref.watch(walletProvider); final walletAuth = ref.watch(walletAuthProvider); - final encryptedSecret = walletAuth.encryptedSecret; + + final requestPassword = ref.watch( + walletSettingsProvider.select((settings) => settings.requestPassword), + ); + final requestPasswordSetting = RequestPasswordSetting(requestPassword); return Container( decoration: BoxDecoration( @@ -137,56 +145,61 @@ class _SecurityMenuState extends ConsumerState { Divider(height: 2, color: theme.text15), DoubleLineItem( heading: l10n.authMethod, - defaultMethod: _curAuthMethod, + defaultMethod: _authMethod, icon: AppIcons.fingerprint, onPressed: _authMethodDialog, ), ], // Authenticate on Launch - if (encryptedSecret == null) ...[ - Divider(height: 2, color: theme.text15), - DoubleLineItem( - heading: l10n.lockAppSetting, - defaultMethod: _curUnlockSetting, - icon: AppIcons.lock, - onPressed: _lockDialog, - ), - ], - // Authentication Timer + Divider(height: 2, color: theme.text15), + DoubleLineItem( + heading: l10n.lockAppSetting, + defaultMethod: _unlockSetting, + icon: AppIcons.lock, + onPressed: _lockDialog, + ), + + // Autolock Divider(height: 2, color: theme.text15), DoubleLineItem( heading: l10n.autoLockHeader, - defaultMethod: _curTimeoutSetting, - icon: AppIcons.timer, - onPressed: _lockTimeoutDialog, - disabled: _curUnlockSetting.setting == UnlockOption.NO && - encryptedSecret == null, + defaultMethod: _autoLockSetting, + icon: Icons.sync_lock, + onPressed: _autoLockDialog, + disabled: _unlockSetting.setting == UnlockOption.NO, ), - if (!wallet.isViewOnly) + if (wallet.canSetPassword) // Encrypt option - if (encryptedSecret == null) ...[ + if (walletAuth.isEncrypted) ...[ Divider(height: 2, color: theme.text15), SingleLineItem( - heading: l10n.setWalletPassword, - settingIcon: AppIcons.walletpassword, + heading: l10n.disableWalletPassword, + settingIcon: AppIcons.walletpassworddisabled, onPressed: () { Sheets.showAppHeightNineSheet( context: context, - widget: const SetPasswordSheet(), - theme: ref.read(themeProvider), + widget: const DisablePasswordSheet(), + theme: theme, ); }, ), + Divider(height: 2, color: theme.text15), + DoubleLineItem( + heading: l10n.requestPasswordHeader, + defaultMethod: requestPasswordSetting, + icon: Icons.password, + onPressed: _requestPasswordDialog, + ), ] else ...[ Divider(height: 2, color: theme.text15), SingleLineItem( - heading: l10n.disableWalletPassword, - settingIcon: AppIcons.walletpassworddisabled, + heading: l10n.setWalletPassword, + settingIcon: AppIcons.walletpassword, onPressed: () { Sheets.showAppHeightNineSheet( context: context, - widget: const DisablePasswordSheet(), - theme: ref.read(themeProvider), + widget: const SetPasswordSheet(), + theme: theme, ); }, ), @@ -220,9 +233,10 @@ class _SecurityMenuState extends ConsumerState { ), children: [ AppSimpleDialogOption( - onPressed: () { - Navigator.pop(context, AuthMethod.BIOMETRICS); - }, + onPressed: () => appRouter.pop( + context, + withResult: AuthMethod.BIOMETRICS, + ), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( @@ -232,9 +246,10 @@ class _SecurityMenuState extends ConsumerState { ), ), AppSimpleDialogOption( - onPressed: () { - Navigator.pop(context, AuthMethod.PIN); - }, + onPressed: () => appRouter.pop( + context, + withResult: AuthMethod.PIN, + ), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( @@ -251,7 +266,7 @@ class _SecurityMenuState extends ConsumerState { .setAuthMethod(AuthenticationMethod(AuthMethod.PIN)) .then((result) { setState(() { - _curAuthMethod = AuthenticationMethod(AuthMethod.PIN); + _authMethod = AuthenticationMethod(AuthMethod.PIN); }); }); break; @@ -260,7 +275,7 @@ class _SecurityMenuState extends ConsumerState { .setAuthMethod(AuthenticationMethod(AuthMethod.BIOMETRICS)) .then((result) { setState(() { - _curAuthMethod = AuthenticationMethod(AuthMethod.BIOMETRICS); + _authMethod = AuthenticationMethod(AuthMethod.BIOMETRICS); }); }); break; @@ -269,75 +284,107 @@ class _SecurityMenuState extends ConsumerState { } } - Future _lockDialog() async { + Future _getOption({required String title}) async { final theme = ref.read(themeProvider); final styles = ref.read(stylesProvider); final l10n = l10nOf(context); - final vault = ref.read(vaultProvider); - final lockSettings = LockSettings(vault); - switch (await showDialog( - context: context, - barrierColor: theme.barrier, - builder: (BuildContext context) { - return AppSimpleDialog( - title: Text( - l10n.lockAppSetting, - style: styles.textStyleDialogHeader, - ), - children: [ - AppSimpleDialogOption( - onPressed: () { - Navigator.pop(context, UnlockOption.NO); - }, - child: Padding( - padding: const EdgeInsets.symmetric(vertical: 8), - child: Text( - l10n.no, - style: styles.textStyleDialogOptions, - ), + final unlockOption = await showDialog( + context: context, + barrierColor: theme.barrier, + builder: (BuildContext context) { + return AppSimpleDialog( + title: Text(title, style: styles.textStyleDialogHeader), + children: [ + AppSimpleDialogOption( + onPressed: () => appRouter.pop( + context, + withResult: UnlockOption.YES, + ), + child: Padding( + padding: const EdgeInsets.symmetric(vertical: 8), + child: Text( + l10n.yes, + style: styles.textStyleDialogOptions, ), ), - AppSimpleDialogOption( - onPressed: () { - Navigator.pop(context, UnlockOption.YES); - }, - child: Padding( - padding: const EdgeInsets.symmetric(vertical: 8), - child: Text( - l10n.yes, - style: styles.textStyleDialogOptions, - ), + ), + AppSimpleDialogOption( + onPressed: () => appRouter.pop( + context, + withResult: UnlockOption.NO, + ), + child: Padding( + padding: const EdgeInsets.symmetric(vertical: 8), + child: Text( + l10n.no, + style: styles.textStyleDialogOptions, ), ), - ], - ); - })) { + ), + ], + ); + }, + ); + return unlockOption; + } + + Future _lockDialog() async { + final l10n = l10nOf(context); + final vault = ref.read(vaultProvider); + final lockSettings = LockSettings(vault); + + final unlockOption = await _getOption(title: l10n.lockAppSetting); + + switch (unlockOption) { case UnlockOption.YES: - lockSettings.setLock(true).then((_) { - setState(() => _curUnlockSetting = UnlockSetting(UnlockOption.YES)); - }); + await lockSettings.setLock(true); + setState(() => _unlockSetting = UnlockSetting(UnlockOption.YES)); + break; case UnlockOption.NO: - lockSettings.setLock(false).then((_) { - setState(() => _curUnlockSetting = UnlockSetting(UnlockOption.NO)); + await lockSettings.setLock(false); + await lockSettings.setAutoLock(false); + setState(() { + _unlockSetting = UnlockSetting(UnlockOption.NO); + _autoLockSetting = UnlockSetting(UnlockOption.NO); }); + break; - default: + case null: break; } } - List _buildLockTimeoutOptions() { - return LockTimeoutOption.values.map((LockTimeoutOption value) { + Future _autoLockDialog() async { + final l10n = l10nOf(context); + final vault = ref.read(vaultProvider); + final lockSettings = LockSettings(vault); + + final unlockOption = await _getOption(title: l10n.autoLockHeader); + + switch (unlockOption) { + case UnlockOption.YES: + await lockSettings.setAutoLock(true); + setState(() => _autoLockSetting = UnlockSetting(UnlockOption.YES)); + break; + case UnlockOption.NO: + await lockSettings.setAutoLock(false); + setState(() => _autoLockSetting = UnlockSetting(UnlockOption.NO)); + break; + case null: + break; + } + } + + List _buildPasswordOptions() { + return RequestPassword.values.map((value) { return SimpleDialogOption( - onPressed: () { - Navigator.pop(context, value); - }, + onPressed: () => appRouter.pop(context, withResult: value), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( - LockTimeoutSetting(value).getDisplayName(context), + RequestPasswordSetting(value).getDisplayName(context), style: ref.read(stylesProvider).textStyleDialogOptions, ), ), @@ -345,34 +392,27 @@ class _SecurityMenuState extends ConsumerState { }).toList(); } - Future _lockTimeoutDialog() async { - LockTimeoutOption? selection = await showAppDialog( - context: context, - builder: (BuildContext context) { - return AppSimpleDialog( - title: Padding( - padding: const EdgeInsets.only(bottom: 10), - child: Text( - l10nOf(context).autoLockHeader, - style: ref.read(stylesProvider).textStyleDialogHeader, - ), + Future _requestPasswordDialog() async { + final selection = await showAppDialog( + context: context, + builder: (context) { + return AppSimpleDialog( + title: Padding( + padding: const EdgeInsets.only(bottom: 10), + child: Text( + l10nOf(context).requestPasswordHeader, + style: ref.read(stylesProvider).textStyleDialogHeader, ), - children: _buildLockTimeoutOptions(), - ); - }); + ), + children: _buildPasswordOptions(), + ); + }, + ); if (selection == null) { return; } - final vault = ref.read(vaultProvider); - final lockSettings = LockSettings(vault); - - lockSettings.setLockTimeout(LockTimeoutSetting(selection)).then((_) { - if (_curTimeoutSetting.setting != selection) { - setState(() { - _curTimeoutSetting = LockTimeoutSetting(selection); - }); - } - }); + final walletSettings = ref.read(walletSettingsProvider.notifier); + return walletSettings.setRequestPassword(selection); } } diff --git a/lib/settings_drawer/seed_backup_sheet.dart b/lib/settings_drawer/seed_backup_sheet.dart index fcffdd6..65b832b 100644 --- a/lib/settings_drawer/seed_backup_sheet.dart +++ b/lib/settings_drawer/seed_backup_sheet.dart @@ -1,7 +1,8 @@ import 'package:flutter/material.dart'; -import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; +import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../widgets/buttons.dart'; import '../widgets/mnemonic_display.dart'; @@ -13,50 +14,32 @@ class SeedBackupSheet extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { + final styles = ref.watch(stylesProvider); final l10n = l10nOf(context); - final showMnemonic = useState(true); - - final title = showMnemonic.value ? l10n.secretPhrase : l10n.seed; + final wallet = ref.watch(walletProvider); return SheetWidget( - title: title, - //rightWidget: FlatButton( - // highlightColor: theme.text15, - // splashColor: theme.text15, - // onPressed: () { - // setState(() => _showMnemonic = !_showMnemonic); - // }, - // child: Icon( - // _showMnemonic ? AppIcons.seed : Icons.vpn_key, - // size: 24, - // color: theme.text, - // ), - // padding: const EdgeInsets.all(13.0), - // shape: RoundedRectangleBorder( - // borderRadius: BorderRadius.circular(100.0), - // ), - // materialTapTargetSize: MaterialTapTargetSize.padded, - // ), - mainWidget: Container( - child: Column(children: [ - //if (mnemonic.value != null) - MnemonicDisplay( - wordList: mnemonic, - obscured: true, - ) - // else - // PlainSeedDisplay( - // seed: _seed, - // obscureSeed: true, - // ), - ]), + title: l10n.secretPhrase, + mainWidget: ListView( + children: [ + Container( + child: MnemonicDisplay(wordList: mnemonic, obscured: true), + ), + const SizedBox(height: 30), + if (wallet.usesBip39Passphrase) + Text( + l10n.bip39PassphraseNote, + style: styles.textStyleAddressText60, + textAlign: TextAlign.center, + ), + ], ), bottomWidget: Padding( padding: const EdgeInsets.symmetric(horizontal: 28), child: PrimaryButton( title: l10n.close, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), ), ), ); diff --git a/lib/settings_drawer/set_password_sheet.dart b/lib/settings_drawer/set_password_sheet.dart index 56be8ef..c2b407f 100644 --- a/lib/settings_drawer/set_password_sheet.dart +++ b/lib/settings_drawer/set_password_sheet.dart @@ -4,6 +4,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/ui_util.dart'; import '../widgets/app_text_field.dart'; @@ -55,12 +56,12 @@ class SetPasswordSheet extends HookConsumerWidget { await auth.setPassword(password); UIUtil.showSnackbar(l10n.setPasswordSuccess, context); - Navigator.pop(context); + appRouter.pop(context); } catch (e, st) { final log = ref.read(loggerProvider); log.e('Failed to set password', error: e, stackTrace: st); - Navigator.pop(context); + appRouter.pop(context); UIUtil.showSnackbar(l10n.encryptionFailedError, context); } } @@ -139,7 +140,7 @@ class SetPasswordSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/settings_drawer/settings_drawer.dart b/lib/settings_drawer/settings_drawer.dart index 5a16c99..85b4136 100644 --- a/lib/settings_drawer/settings_drawer.dart +++ b/lib/settings_drawer/settings_drawer.dart @@ -6,6 +6,7 @@ import 'package:share_plus/share_plus.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../contacts/contact_labels.dart'; import '../contacts/contacts_widget.dart'; import '../spectre/spectre.dart'; @@ -17,6 +18,7 @@ import '../settings/available_themes.dart'; import '../settings/setting_item.dart'; import '../settings_advanced/advanced_menu.dart'; import '../util/platform.dart'; +import '../util/ui_util.dart'; import '../widgets/app_simpledialog.dart'; import '../widgets/dialog.dart'; import '../widgets/gradient_widgets.dart'; @@ -159,6 +161,8 @@ class _SettingsSheetState extends ConsumerState } else if (_advancedOpen) { setState(() => _advancedOpen = false); _advancedController.reverse(); + } else if (!didPop) { + appRouter.pop(context); } } @@ -222,6 +226,40 @@ class _SettingsSheetState extends ConsumerState final wallet = ref.watch(walletProvider); final hasMnemonic = ref.watch(walletHasMnemonic); + Future backupSecretPhrase() async { + final authUtil = ref.read(authUtilProvider); + final mnemonic = await authUtil.getMnemonic(context); + if (mnemonic == null) { + return; + } + if (mnemonic.isEmpty) { + UIUtil.showSnackbar(l10n.missingSecretPhrase, context); + return; + } + Sheets.showAppHeightNineSheet( + context: context, + theme: theme, + widget: SeedBackupSheet(mnemonic: mnemonic), + ); + } + + void share() { + Share.share( + l10n.shareSpectrumText, + subject: l10n.shareSpectrumSubject, + ); + } + + void logout() { + AppDialogs.showConfirmDialog( + context, + l10n.areYouSure, + l10n.logoutDialogContent, + l10n.yesUppercase, + () => appRouter.logout(context), + ); + } + return Container( decoration: BoxDecoration(color: theme.backgroundDark), child: SafeArea( @@ -330,44 +368,7 @@ class _SettingsSheetState extends ConsumerState SingleLineItem( heading: l10n.backupSecretPhrase, settingIcon: AppIcons.backupseed, - onPressed: () async { - final authUtil = ref.read(authUtilProvider); - final walletAuth = ref.read(walletAuthProvider); - final notifier = - ref.read(walletAuthProvider.notifier); - var auth = false; - List? mnemonic = null; - if (walletAuth.isEncrypted) { - final notifier = - ref.read(walletAuthProvider.notifier); - auth = await authUtil.authenticateWithPassword( - context, (password) async { - try { - mnemonic = await notifier.getMnemonic( - password: password); - return true; - } catch (e) { - return false; - } - }); - } else { - auth = await authUtil.authenticate( - context, - l10n.pinSeedBackup, - l10n.fingerprintSeedBackup, - ); - } - if (auth) { - if (mnemonic == null) { - mnemonic = await notifier.getMnemonic(); - } - Sheets.showAppHeightNineSheet( - context: context, - theme: theme, - widget: SeedBackupSheet(mnemonic: mnemonic!), - ); - } - }, + onPressed: backupSecretPhrase, ), ], if (!kPlatformIsIOS && @@ -398,31 +399,13 @@ class _SettingsSheetState extends ConsumerState SingleLineItem( heading: l10n.shareSpectrum, settingIcon: AppIcons.share, - onPressed: () { - Share.share( - l10n.shareSpectrumText, - subject: l10n.shareSpectrumSubject, - ); - }, + onPressed: share, ), Divider(height: 2, color: theme.text15), SingleLineItem( heading: l10n.logoutOrSwitchWallet, settingIcon: AppIcons.logout, - onPressed: () { - AppDialogs.showConfirmDialog( - context, - l10n.areYouSure, - l10n.logoutDialogContent, - l10n.yesUppercase, - () { - Navigator.of(context).pushNamedAndRemoveUntil( - '/logout', - (_) => false, - ); - }, - ); - }, + onPressed: logout, ), Divider(height: 2, color: theme.text15), const VersionWidget(), diff --git a/lib/settings_drawer/theme_dialog.dart b/lib/settings_drawer/theme_dialog.dart index 3c37126..93a0118 100644 --- a/lib/settings_drawer/theme_dialog.dart +++ b/lib/settings_drawer/theme_dialog.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; +import '../app_router.dart'; import '../core/core_providers.dart'; import '../l10n/l10n.dart'; import '../settings/available_themes.dart'; @@ -25,7 +26,7 @@ class ThemeDialog extends ConsumerWidget { children: [ for (final value in ThemeOptions.values) SimpleDialogOption( - onPressed: () => Navigator.pop(context, value), + onPressed: () => appRouter.pop(context, withResult: value), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( diff --git a/lib/spectre/grpc/messages.pb.dart b/lib/spectre/grpc/messages.pb.dart index 4270ed7..f9d45b1 100644 --- a/lib/spectre/grpc/messages.pb.dart +++ b/lib/spectre/grpc/messages.pb.dart @@ -13,1336 +13,407 @@ import 'p2p.pb.dart' as $1; import 'rpc.pb.dart' as $2; enum SpectredMessage_Payload { - addresses, - block, - transaction, - blockLocator, - requestAddresses, - requestRelayBlocks, - requestTransactions, - ibdBlock, - invRelayBlock, - invTransactions, - ping, - pong, - verack, - version, - transactionNotFound, - reject, - pruningPointUtxoSetChunk, - requestIBDBlocks, - unexpectedPruningPoint, - ibdBlockLocator, - ibdBlockLocatorHighestHash, - requestNextPruningPointUtxoSetChunk, - donePruningPointUtxoSetChunks, - ibdBlockLocatorHighestHashNotFound, - blockWithTrustedData, - doneBlocksWithTrustedData, - requestPruningPointAndItsAnticone, - blockHeaders, - requestNextHeaders, - doneHeaders, - requestPruningPointUTXOSet, - requestHeaders, - requestBlockLocator, - pruningPoints, - requestPruningPointProof, - pruningPointProof, - ready, - blockWithTrustedDataV4, - trustedData, - requestIBDChainBlockLocator, - ibdChainBlockLocator, - requestAnticone, - requestNextPruningPointAndItsAnticoneBlocks, - getCurrentNetworkRequest, - getCurrentNetworkResponse, - submitBlockRequest, - submitBlockResponse, - getBlockTemplateRequest, - getBlockTemplateResponse, - notifyBlockAddedRequest, - notifyBlockAddedResponse, - blockAddedNotification, - getPeerAddressesRequest, - getPeerAddressesResponse, - getSelectedTipHashRequest, - getSelectedTipHashResponse, - getMempoolEntryRequest, - getMempoolEntryResponse, - getConnectedPeerInfoRequest, - getConnectedPeerInfoResponse, - addPeerRequest, - addPeerResponse, - submitTransactionRequest, - submitTransactionResponse, - notifyVirtualSelectedParentChainChangedRequest, - notifyVirtualSelectedParentChainChangedResponse, - virtualSelectedParentChainChangedNotification, - getBlockRequest, - getBlockResponse, - getSubnetworkRequest, - getSubnetworkResponse, - getVirtualSelectedParentChainFromBlockRequest, - getVirtualSelectedParentChainFromBlockResponse, - getBlocksRequest, - getBlocksResponse, - getBlockCountRequest, - getBlockCountResponse, - getBlockDagInfoRequest, - getBlockDagInfoResponse, - resolveFinalityConflictRequest, - resolveFinalityConflictResponse, - notifyFinalityConflictsRequest, - notifyFinalityConflictsResponse, - finalityConflictNotification, - finalityConflictResolvedNotification, - getMempoolEntriesRequest, - getMempoolEntriesResponse, - shutDownRequest, - shutDownResponse, - getHeadersRequest, - getHeadersResponse, - notifyUtxosChangedRequest, - notifyUtxosChangedResponse, - utxosChangedNotification, - getUtxosByAddressesRequest, - getUtxosByAddressesResponse, - getVirtualSelectedParentBlueScoreRequest, - getVirtualSelectedParentBlueScoreResponse, - notifyVirtualSelectedParentBlueScoreChangedRequest, - notifyVirtualSelectedParentBlueScoreChangedResponse, - virtualSelectedParentBlueScoreChangedNotification, - banRequest, - banResponse, - unbanRequest, - unbanResponse, - getInfoRequest, - getInfoResponse, - stopNotifyingUtxosChangedRequest, - stopNotifyingUtxosChangedResponse, - notifyPruningPointUTXOSetOverrideRequest, - notifyPruningPointUTXOSetOverrideResponse, - pruningPointUTXOSetOverrideNotification, - stopNotifyingPruningPointUTXOSetOverrideRequest, - stopNotifyingPruningPointUTXOSetOverrideResponse, - estimateNetworkHashesPerSecondRequest, - estimateNetworkHashesPerSecondResponse, - notifyVirtualDaaScoreChangedRequest, - notifyVirtualDaaScoreChangedResponse, - virtualDaaScoreChangedNotification, - getBalanceByAddressRequest, - getBalanceByAddressResponse, - getBalancesByAddressesRequest, - getBalancesByAddressesResponse, - notifyNewBlockTemplateRequest, - notifyNewBlockTemplateResponse, - newBlockTemplateNotification, - getMempoolEntriesByAddressesRequest, - getMempoolEntriesByAddressesResponse, - getCoinSupplyRequest, - getCoinSupplyResponse, + addresses, + block, + transaction, + blockLocator, + requestAddresses, + requestRelayBlocks, + requestTransactions, + ibdBlock, + invRelayBlock, + invTransactions, + ping, + pong, + verack, + version, + transactionNotFound, + reject, + pruningPointUtxoSetChunk, + requestIBDBlocks, + unexpectedPruningPoint, + ibdBlockLocator, + ibdBlockLocatorHighestHash, + requestNextPruningPointUtxoSetChunk, + donePruningPointUtxoSetChunks, + ibdBlockLocatorHighestHashNotFound, + blockWithTrustedData, + doneBlocksWithTrustedData, + requestPruningPointAndItsAnticone, + blockHeaders, + requestNextHeaders, + doneHeaders, + requestPruningPointUTXOSet, + requestHeaders, + requestBlockLocator, + pruningPoints, + requestPruningPointProof, + pruningPointProof, + ready, + blockWithTrustedDataV4, + trustedData, + requestIBDChainBlockLocator, + ibdChainBlockLocator, + requestAnticone, + requestNextPruningPointAndItsAnticoneBlocks, + getCurrentNetworkRequest, + getCurrentNetworkResponse, + submitBlockRequest, + submitBlockResponse, + getBlockTemplateRequest, + getBlockTemplateResponse, + notifyBlockAddedRequest, + notifyBlockAddedResponse, + blockAddedNotification, + getPeerAddressesRequest, + getPeerAddressesResponse, + getSelectedTipHashRequest, + getSelectedTipHashResponse, + getMempoolEntryRequest, + getMempoolEntryResponse, + getConnectedPeerInfoRequest, + getConnectedPeerInfoResponse, + addPeerRequest, + addPeerResponse, + submitTransactionRequest, + submitTransactionResponse, + notifyVirtualSelectedParentChainChangedRequest, + notifyVirtualSelectedParentChainChangedResponse, + virtualSelectedParentChainChangedNotification, + getBlockRequest, + getBlockResponse, + getSubnetworkRequest, + getSubnetworkResponse, + getVirtualSelectedParentChainFromBlockRequest, + getVirtualSelectedParentChainFromBlockResponse, + getBlocksRequest, + getBlocksResponse, + getBlockCountRequest, + getBlockCountResponse, + getBlockDagInfoRequest, + getBlockDagInfoResponse, + resolveFinalityConflictRequest, + resolveFinalityConflictResponse, + notifyFinalityConflictsRequest, + notifyFinalityConflictsResponse, + finalityConflictNotification, + finalityConflictResolvedNotification, + getMempoolEntriesRequest, + getMempoolEntriesResponse, + shutDownRequest, + shutDownResponse, + getHeadersRequest, + getHeadersResponse, + notifyUtxosChangedRequest, + notifyUtxosChangedResponse, + utxosChangedNotification, + getUtxosByAddressesRequest, + getUtxosByAddressesResponse, + getVirtualSelectedParentBlueScoreRequest, + getVirtualSelectedParentBlueScoreResponse, + notifyVirtualSelectedParentBlueScoreChangedRequest, + notifyVirtualSelectedParentBlueScoreChangedResponse, + virtualSelectedParentBlueScoreChangedNotification, + banRequest, + banResponse, + unbanRequest, + unbanResponse, + getInfoRequest, + getInfoResponse, + stopNotifyingUtxosChangedRequest, + stopNotifyingUtxosChangedResponse, + notifyPruningPointUTXOSetOverrideRequest, + notifyPruningPointUTXOSetOverrideResponse, + pruningPointUTXOSetOverrideNotification, + stopNotifyingPruningPointUTXOSetOverrideRequest, + stopNotifyingPruningPointUTXOSetOverrideResponse, + estimateNetworkHashesPerSecondRequest, + estimateNetworkHashesPerSecondResponse, + notifyVirtualDaaScoreChangedRequest, + notifyVirtualDaaScoreChangedResponse, + virtualDaaScoreChangedNotification, + getBalanceByAddressRequest, + getBalanceByAddressResponse, + getBalancesByAddressesRequest, + getBalancesByAddressesResponse, + notifyNewBlockTemplateRequest, + notifyNewBlockTemplateResponse, + newBlockTemplateNotification, + getMempoolEntriesByAddressesRequest, + getMempoolEntriesByAddressesResponse, + getCoinSupplyRequest, + getCoinSupplyResponse, notSet } class SpectredMessage extends $pb.GeneratedMessage { - static const $core.Map<$core.int, SpectredMessage_Payload> - _SpectredMessage_PayloadByTag = { - 1: SpectredMessage_Payload.addresses, - 2: SpectredMessage_Payload.block, - 3: SpectredMessage_Payload.transaction, - 5: SpectredMessage_Payload.blockLocator, - 6: SpectredMessage_Payload.requestAddresses, - 10: SpectredMessage_Payload.requestRelayBlocks, - 12: SpectredMessage_Payload.requestTransactions, - 13: SpectredMessage_Payload.ibdBlock, - 14: SpectredMessage_Payload.invRelayBlock, - 15: SpectredMessage_Payload.invTransactions, - 16: SpectredMessage_Payload.ping, - 17: SpectredMessage_Payload.pong, - 19: SpectredMessage_Payload.verack, - 20: SpectredMessage_Payload.version, - 21: SpectredMessage_Payload.transactionNotFound, - 22: SpectredMessage_Payload.reject, - 25: SpectredMessage_Payload.pruningPointUtxoSetChunk, - 26: SpectredMessage_Payload.requestIBDBlocks, - 27: SpectredMessage_Payload.unexpectedPruningPoint, - 30: SpectredMessage_Payload.ibdBlockLocator, - 31: SpectredMessage_Payload.ibdBlockLocatorHighestHash, - 33: SpectredMessage_Payload.requestNextPruningPointUtxoSetChunk, - 34: SpectredMessage_Payload.donePruningPointUtxoSetChunks, - 35: SpectredMessage_Payload.ibdBlockLocatorHighestHashNotFound, - 36: SpectredMessage_Payload.blockWithTrustedData, - 37: SpectredMessage_Payload.doneBlocksWithTrustedData, - 40: SpectredMessage_Payload.requestPruningPointAndItsAnticone, - 41: SpectredMessage_Payload.blockHeaders, - 42: SpectredMessage_Payload.requestNextHeaders, - 43: SpectredMessage_Payload.doneHeaders, - 44: SpectredMessage_Payload.requestPruningPointUTXOSet, - 45: SpectredMessage_Payload.requestHeaders, - 46: SpectredMessage_Payload.requestBlockLocator, - 47: SpectredMessage_Payload.pruningPoints, - 48: SpectredMessage_Payload.requestPruningPointProof, - 49: SpectredMessage_Payload.pruningPointProof, - 50: SpectredMessage_Payload.ready, - 51: SpectredMessage_Payload.blockWithTrustedDataV4, - 52: SpectredMessage_Payload.trustedData, - 53: SpectredMessage_Payload.requestIBDChainBlockLocator, - 54: SpectredMessage_Payload.ibdChainBlockLocator, - 55: SpectredMessage_Payload.requestAnticone, - 56: SpectredMessage_Payload.requestNextPruningPointAndItsAnticoneBlocks, - 1001: SpectredMessage_Payload.getCurrentNetworkRequest, - 1002: SpectredMessage_Payload.getCurrentNetworkResponse, - 1003: SpectredMessage_Payload.submitBlockRequest, - 1004: SpectredMessage_Payload.submitBlockResponse, - 1005: SpectredMessage_Payload.getBlockTemplateRequest, - 1006: SpectredMessage_Payload.getBlockTemplateResponse, - 1007: SpectredMessage_Payload.notifyBlockAddedRequest, - 1008: SpectredMessage_Payload.notifyBlockAddedResponse, - 1009: SpectredMessage_Payload.blockAddedNotification, - 1010: SpectredMessage_Payload.getPeerAddressesRequest, - 1011: SpectredMessage_Payload.getPeerAddressesResponse, - 1012: SpectredMessage_Payload.getSelectedTipHashRequest, - 1013: SpectredMessage_Payload.getSelectedTipHashResponse, - 1014: SpectredMessage_Payload.getMempoolEntryRequest, - 1015: SpectredMessage_Payload.getMempoolEntryResponse, - 1016: SpectredMessage_Payload.getConnectedPeerInfoRequest, - 1017: SpectredMessage_Payload.getConnectedPeerInfoResponse, - 1018: SpectredMessage_Payload.addPeerRequest, - 1019: SpectredMessage_Payload.addPeerResponse, - 1020: SpectredMessage_Payload.submitTransactionRequest, - 1021: SpectredMessage_Payload.submitTransactionResponse, - 1022: - SpectredMessage_Payload.notifyVirtualSelectedParentChainChangedRequest, - 1023: - SpectredMessage_Payload.notifyVirtualSelectedParentChainChangedResponse, - 1024: SpectredMessage_Payload.virtualSelectedParentChainChangedNotification, - 1025: SpectredMessage_Payload.getBlockRequest, - 1026: SpectredMessage_Payload.getBlockResponse, - 1027: SpectredMessage_Payload.getSubnetworkRequest, - 1028: SpectredMessage_Payload.getSubnetworkResponse, - 1029: SpectredMessage_Payload.getVirtualSelectedParentChainFromBlockRequest, - 1030: - SpectredMessage_Payload.getVirtualSelectedParentChainFromBlockResponse, - 1031: SpectredMessage_Payload.getBlocksRequest, - 1032: SpectredMessage_Payload.getBlocksResponse, - 1033: SpectredMessage_Payload.getBlockCountRequest, - 1034: SpectredMessage_Payload.getBlockCountResponse, - 1035: SpectredMessage_Payload.getBlockDagInfoRequest, - 1036: SpectredMessage_Payload.getBlockDagInfoResponse, - 1037: SpectredMessage_Payload.resolveFinalityConflictRequest, - 1038: SpectredMessage_Payload.resolveFinalityConflictResponse, - 1039: SpectredMessage_Payload.notifyFinalityConflictsRequest, - 1040: SpectredMessage_Payload.notifyFinalityConflictsResponse, - 1041: SpectredMessage_Payload.finalityConflictNotification, - 1042: SpectredMessage_Payload.finalityConflictResolvedNotification, - 1043: SpectredMessage_Payload.getMempoolEntriesRequest, - 1044: SpectredMessage_Payload.getMempoolEntriesResponse, - 1045: SpectredMessage_Payload.shutDownRequest, - 1046: SpectredMessage_Payload.shutDownResponse, - 1047: SpectredMessage_Payload.getHeadersRequest, - 1048: SpectredMessage_Payload.getHeadersResponse, - 1049: SpectredMessage_Payload.notifyUtxosChangedRequest, - 1050: SpectredMessage_Payload.notifyUtxosChangedResponse, - 1051: SpectredMessage_Payload.utxosChangedNotification, - 1052: SpectredMessage_Payload.getUtxosByAddressesRequest, - 1053: SpectredMessage_Payload.getUtxosByAddressesResponse, - 1054: SpectredMessage_Payload.getVirtualSelectedParentBlueScoreRequest, - 1055: SpectredMessage_Payload.getVirtualSelectedParentBlueScoreResponse, - 1056: SpectredMessage_Payload - .notifyVirtualSelectedParentBlueScoreChangedRequest, - 1057: SpectredMessage_Payload - .notifyVirtualSelectedParentBlueScoreChangedResponse, - 1058: SpectredMessage_Payload - .virtualSelectedParentBlueScoreChangedNotification, - 1059: SpectredMessage_Payload.banRequest, - 1060: SpectredMessage_Payload.banResponse, - 1061: SpectredMessage_Payload.unbanRequest, - 1062: SpectredMessage_Payload.unbanResponse, - 1063: SpectredMessage_Payload.getInfoRequest, - 1064: SpectredMessage_Payload.getInfoResponse, - 1065: SpectredMessage_Payload.stopNotifyingUtxosChangedRequest, - 1066: SpectredMessage_Payload.stopNotifyingUtxosChangedResponse, - 1067: SpectredMessage_Payload.notifyPruningPointUTXOSetOverrideRequest, - 1068: SpectredMessage_Payload.notifyPruningPointUTXOSetOverrideResponse, - 1069: SpectredMessage_Payload.pruningPointUTXOSetOverrideNotification, - 1070: - SpectredMessage_Payload.stopNotifyingPruningPointUTXOSetOverrideRequest, - 1071: SpectredMessage_Payload - .stopNotifyingPruningPointUTXOSetOverrideResponse, - 1072: SpectredMessage_Payload.estimateNetworkHashesPerSecondRequest, - 1073: SpectredMessage_Payload.estimateNetworkHashesPerSecondResponse, - 1074: SpectredMessage_Payload.notifyVirtualDaaScoreChangedRequest, - 1075: SpectredMessage_Payload.notifyVirtualDaaScoreChangedResponse, - 1076: SpectredMessage_Payload.virtualDaaScoreChangedNotification, - 1077: SpectredMessage_Payload.getBalanceByAddressRequest, - 1078: SpectredMessage_Payload.getBalanceByAddressResponse, - 1079: SpectredMessage_Payload.getBalancesByAddressesRequest, - 1080: SpectredMessage_Payload.getBalancesByAddressesResponse, - 1081: SpectredMessage_Payload.notifyNewBlockTemplateRequest, - 1082: SpectredMessage_Payload.notifyNewBlockTemplateResponse, - 1083: SpectredMessage_Payload.newBlockTemplateNotification, - 1084: SpectredMessage_Payload.getMempoolEntriesByAddressesRequest, - 1085: SpectredMessage_Payload.getMempoolEntriesByAddressesResponse, - 1086: SpectredMessage_Payload.getCoinSupplyRequest, - 1087: SpectredMessage_Payload.getCoinSupplyResponse, - 0: SpectredMessage_Payload.notSet + static const $core.Map<$core.int, SpectredMessage_Payload> _SpectredMessage_PayloadByTag = { + 1 : SpectredMessage_Payload.addresses, + 2 : SpectredMessage_Payload.block, + 3 : SpectredMessage_Payload.transaction, + 5 : SpectredMessage_Payload.blockLocator, + 6 : SpectredMessage_Payload.requestAddresses, + 10 : SpectredMessage_Payload.requestRelayBlocks, + 12 : SpectredMessage_Payload.requestTransactions, + 13 : SpectredMessage_Payload.ibdBlock, + 14 : SpectredMessage_Payload.invRelayBlock, + 15 : SpectredMessage_Payload.invTransactions, + 16 : SpectredMessage_Payload.ping, + 17 : SpectredMessage_Payload.pong, + 19 : SpectredMessage_Payload.verack, + 20 : SpectredMessage_Payload.version, + 21 : SpectredMessage_Payload.transactionNotFound, + 22 : SpectredMessage_Payload.reject, + 25 : SpectredMessage_Payload.pruningPointUtxoSetChunk, + 26 : SpectredMessage_Payload.requestIBDBlocks, + 27 : SpectredMessage_Payload.unexpectedPruningPoint, + 30 : SpectredMessage_Payload.ibdBlockLocator, + 31 : SpectredMessage_Payload.ibdBlockLocatorHighestHash, + 33 : SpectredMessage_Payload.requestNextPruningPointUtxoSetChunk, + 34 : SpectredMessage_Payload.donePruningPointUtxoSetChunks, + 35 : SpectredMessage_Payload.ibdBlockLocatorHighestHashNotFound, + 36 : SpectredMessage_Payload.blockWithTrustedData, + 37 : SpectredMessage_Payload.doneBlocksWithTrustedData, + 40 : SpectredMessage_Payload.requestPruningPointAndItsAnticone, + 41 : SpectredMessage_Payload.blockHeaders, + 42 : SpectredMessage_Payload.requestNextHeaders, + 43 : SpectredMessage_Payload.doneHeaders, + 44 : SpectredMessage_Payload.requestPruningPointUTXOSet, + 45 : SpectredMessage_Payload.requestHeaders, + 46 : SpectredMessage_Payload.requestBlockLocator, + 47 : SpectredMessage_Payload.pruningPoints, + 48 : SpectredMessage_Payload.requestPruningPointProof, + 49 : SpectredMessage_Payload.pruningPointProof, + 50 : SpectredMessage_Payload.ready, + 51 : SpectredMessage_Payload.blockWithTrustedDataV4, + 52 : SpectredMessage_Payload.trustedData, + 53 : SpectredMessage_Payload.requestIBDChainBlockLocator, + 54 : SpectredMessage_Payload.ibdChainBlockLocator, + 55 : SpectredMessage_Payload.requestAnticone, + 56 : SpectredMessage_Payload.requestNextPruningPointAndItsAnticoneBlocks, + 1001 : SpectredMessage_Payload.getCurrentNetworkRequest, + 1002 : SpectredMessage_Payload.getCurrentNetworkResponse, + 1003 : SpectredMessage_Payload.submitBlockRequest, + 1004 : SpectredMessage_Payload.submitBlockResponse, + 1005 : SpectredMessage_Payload.getBlockTemplateRequest, + 1006 : SpectredMessage_Payload.getBlockTemplateResponse, + 1007 : SpectredMessage_Payload.notifyBlockAddedRequest, + 1008 : SpectredMessage_Payload.notifyBlockAddedResponse, + 1009 : SpectredMessage_Payload.blockAddedNotification, + 1010 : SpectredMessage_Payload.getPeerAddressesRequest, + 1011 : SpectredMessage_Payload.getPeerAddressesResponse, + 1012 : SpectredMessage_Payload.getSelectedTipHashRequest, + 1013 : SpectredMessage_Payload.getSelectedTipHashResponse, + 1014 : SpectredMessage_Payload.getMempoolEntryRequest, + 1015 : SpectredMessage_Payload.getMempoolEntryResponse, + 1016 : SpectredMessage_Payload.getConnectedPeerInfoRequest, + 1017 : SpectredMessage_Payload.getConnectedPeerInfoResponse, + 1018 : SpectredMessage_Payload.addPeerRequest, + 1019 : SpectredMessage_Payload.addPeerResponse, + 1020 : SpectredMessage_Payload.submitTransactionRequest, + 1021 : SpectredMessage_Payload.submitTransactionResponse, + 1022 : SpectredMessage_Payload.notifyVirtualSelectedParentChainChangedRequest, + 1023 : SpectredMessage_Payload.notifyVirtualSelectedParentChainChangedResponse, + 1024 : SpectredMessage_Payload.virtualSelectedParentChainChangedNotification, + 1025 : SpectredMessage_Payload.getBlockRequest, + 1026 : SpectredMessage_Payload.getBlockResponse, + 1027 : SpectredMessage_Payload.getSubnetworkRequest, + 1028 : SpectredMessage_Payload.getSubnetworkResponse, + 1029 : SpectredMessage_Payload.getVirtualSelectedParentChainFromBlockRequest, + 1030 : SpectredMessage_Payload.getVirtualSelectedParentChainFromBlockResponse, + 1031 : SpectredMessage_Payload.getBlocksRequest, + 1032 : SpectredMessage_Payload.getBlocksResponse, + 1033 : SpectredMessage_Payload.getBlockCountRequest, + 1034 : SpectredMessage_Payload.getBlockCountResponse, + 1035 : SpectredMessage_Payload.getBlockDagInfoRequest, + 1036 : SpectredMessage_Payload.getBlockDagInfoResponse, + 1037 : SpectredMessage_Payload.resolveFinalityConflictRequest, + 1038 : SpectredMessage_Payload.resolveFinalityConflictResponse, + 1039 : SpectredMessage_Payload.notifyFinalityConflictsRequest, + 1040 : SpectredMessage_Payload.notifyFinalityConflictsResponse, + 1041 : SpectredMessage_Payload.finalityConflictNotification, + 1042 : SpectredMessage_Payload.finalityConflictResolvedNotification, + 1043 : SpectredMessage_Payload.getMempoolEntriesRequest, + 1044 : SpectredMessage_Payload.getMempoolEntriesResponse, + 1045 : SpectredMessage_Payload.shutDownRequest, + 1046 : SpectredMessage_Payload.shutDownResponse, + 1047 : SpectredMessage_Payload.getHeadersRequest, + 1048 : SpectredMessage_Payload.getHeadersResponse, + 1049 : SpectredMessage_Payload.notifyUtxosChangedRequest, + 1050 : SpectredMessage_Payload.notifyUtxosChangedResponse, + 1051 : SpectredMessage_Payload.utxosChangedNotification, + 1052 : SpectredMessage_Payload.getUtxosByAddressesRequest, + 1053 : SpectredMessage_Payload.getUtxosByAddressesResponse, + 1054 : SpectredMessage_Payload.getVirtualSelectedParentBlueScoreRequest, + 1055 : SpectredMessage_Payload.getVirtualSelectedParentBlueScoreResponse, + 1056 : SpectredMessage_Payload.notifyVirtualSelectedParentBlueScoreChangedRequest, + 1057 : SpectredMessage_Payload.notifyVirtualSelectedParentBlueScoreChangedResponse, + 1058 : SpectredMessage_Payload.virtualSelectedParentBlueScoreChangedNotification, + 1059 : SpectredMessage_Payload.banRequest, + 1060 : SpectredMessage_Payload.banResponse, + 1061 : SpectredMessage_Payload.unbanRequest, + 1062 : SpectredMessage_Payload.unbanResponse, + 1063 : SpectredMessage_Payload.getInfoRequest, + 1064 : SpectredMessage_Payload.getInfoResponse, + 1065 : SpectredMessage_Payload.stopNotifyingUtxosChangedRequest, + 1066 : SpectredMessage_Payload.stopNotifyingUtxosChangedResponse, + 1067 : SpectredMessage_Payload.notifyPruningPointUTXOSetOverrideRequest, + 1068 : SpectredMessage_Payload.notifyPruningPointUTXOSetOverrideResponse, + 1069 : SpectredMessage_Payload.pruningPointUTXOSetOverrideNotification, + 1070 : SpectredMessage_Payload.stopNotifyingPruningPointUTXOSetOverrideRequest, + 1071 : SpectredMessage_Payload.stopNotifyingPruningPointUTXOSetOverrideResponse, + 1072 : SpectredMessage_Payload.estimateNetworkHashesPerSecondRequest, + 1073 : SpectredMessage_Payload.estimateNetworkHashesPerSecondResponse, + 1074 : SpectredMessage_Payload.notifyVirtualDaaScoreChangedRequest, + 1075 : SpectredMessage_Payload.notifyVirtualDaaScoreChangedResponse, + 1076 : SpectredMessage_Payload.virtualDaaScoreChangedNotification, + 1077 : SpectredMessage_Payload.getBalanceByAddressRequest, + 1078 : SpectredMessage_Payload.getBalanceByAddressResponse, + 1079 : SpectredMessage_Payload.getBalancesByAddressesRequest, + 1080 : SpectredMessage_Payload.getBalancesByAddressesResponse, + 1081 : SpectredMessage_Payload.notifyNewBlockTemplateRequest, + 1082 : SpectredMessage_Payload.notifyNewBlockTemplateResponse, + 1083 : SpectredMessage_Payload.newBlockTemplateNotification, + 1084 : SpectredMessage_Payload.getMempoolEntriesByAddressesRequest, + 1085 : SpectredMessage_Payload.getMempoolEntriesByAddressesResponse, + 1086 : SpectredMessage_Payload.getCoinSupplyRequest, + 1087 : SpectredMessage_Payload.getCoinSupplyResponse, + 0 : SpectredMessage_Payload.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'SpectredMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..oo(0, [ - 1, - 2, - 3, - 5, - 6, - 10, - 12, - 13, - 14, - 15, - 16, - 17, - 19, - 20, - 21, - 22, - 25, - 26, - 27, - 30, - 31, - 33, - 34, - 35, - 36, - 37, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48, - 49, - 50, - 51, - 52, - 53, - 54, - 55, - 56, - 1001, - 1002, - 1003, - 1004, - 1005, - 1006, - 1007, - 1008, - 1009, - 1010, - 1011, - 1012, - 1013, - 1014, - 1015, - 1016, - 1017, - 1018, - 1019, - 1020, - 1021, - 1022, - 1023, - 1024, - 1025, - 1026, - 1027, - 1028, - 1029, - 1030, - 1031, - 1032, - 1033, - 1034, - 1035, - 1036, - 1037, - 1038, - 1039, - 1040, - 1041, - 1042, - 1043, - 1044, - 1045, - 1046, - 1047, - 1048, - 1049, - 1050, - 1051, - 1052, - 1053, - 1054, - 1055, - 1056, - 1057, - 1058, - 1059, - 1060, - 1061, - 1062, - 1063, - 1064, - 1065, - 1066, - 1067, - 1068, - 1069, - 1070, - 1071, - 1072, - 1073, - 1074, - 1075, - 1076, - 1077, - 1078, - 1079, - 1080, - 1081, - 1082, - 1083, - 1084, - 1085, - 1086, - 1087 - ]) - ..aOM<$1.AddressesMessage>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses', - subBuilder: $1.AddressesMessage.create) - ..aOM<$1.BlockMessage>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: $1.BlockMessage.create) - ..aOM<$1.TransactionMessage>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transaction', - subBuilder: $1.TransactionMessage.create) - ..aOM<$1.BlockLocatorMessage>( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockLocator', - protoName: 'blockLocator', - subBuilder: $1.BlockLocatorMessage.create) - ..aOM<$1.RequestAddressesMessage>( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestAddresses', - protoName: 'requestAddresses', - subBuilder: $1.RequestAddressesMessage.create) - ..aOM<$1.RequestRelayBlocksMessage>( - 10, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestRelayBlocks', - protoName: 'requestRelayBlocks', - subBuilder: $1.RequestRelayBlocksMessage.create) - ..aOM<$1.RequestTransactionsMessage>( - 12, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestTransactions', - protoName: 'requestTransactions', - subBuilder: $1.RequestTransactionsMessage.create) - ..aOM<$1.BlockMessage>( - 13, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ibdBlock', - protoName: 'ibdBlock', - subBuilder: $1.BlockMessage.create) - ..aOM<$1.InvRelayBlockMessage>( - 14, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'invRelayBlock', - protoName: 'invRelayBlock', - subBuilder: $1.InvRelayBlockMessage.create) - ..aOM<$1.InvTransactionsMessage>( - 15, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'invTransactions', - protoName: 'invTransactions', - subBuilder: $1.InvTransactionsMessage.create) - ..aOM<$1.PingMessage>( - 16, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ping', - subBuilder: $1.PingMessage.create) - ..aOM<$1.PongMessage>( - 17, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pong', - subBuilder: $1.PongMessage.create) - ..aOM<$1.VerackMessage>( - 19, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'verack', - subBuilder: $1.VerackMessage.create) - ..aOM<$1.VersionMessage>( - 20, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - subBuilder: $1.VersionMessage.create) - ..aOM<$1.TransactionNotFoundMessage>( - 21, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactionNotFound', - protoName: 'transactionNotFound', - subBuilder: $1.TransactionNotFoundMessage.create) - ..aOM<$1.RejectMessage>( - 22, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'reject', - subBuilder: $1.RejectMessage.create) - ..aOM<$1.PruningPointUtxoSetChunkMessage>( - 25, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPointUtxoSetChunk', - protoName: 'pruningPointUtxoSetChunk', - subBuilder: $1.PruningPointUtxoSetChunkMessage.create) - ..aOM<$1.RequestIBDBlocksMessage>( - 26, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestIBDBlocks', - protoName: 'requestIBDBlocks', - subBuilder: $1.RequestIBDBlocksMessage.create) - ..aOM<$1.UnexpectedPruningPointMessage>( - 27, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'unexpectedPruningPoint', - protoName: 'unexpectedPruningPoint', - subBuilder: $1.UnexpectedPruningPointMessage.create) - ..aOM<$1.IbdBlockLocatorMessage>( - 30, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ibdBlockLocator', - protoName: 'ibdBlockLocator', - subBuilder: $1.IbdBlockLocatorMessage.create) - ..aOM<$1.IbdBlockLocatorHighestHashMessage>( - 31, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ibdBlockLocatorHighestHash', - protoName: 'ibdBlockLocatorHighestHash', - subBuilder: $1.IbdBlockLocatorHighestHashMessage.create) - ..aOM<$1.RequestNextPruningPointUtxoSetChunkMessage>( - 33, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestNextPruningPointUtxoSetChunk', - protoName: 'requestNextPruningPointUtxoSetChunk', - subBuilder: $1.RequestNextPruningPointUtxoSetChunkMessage.create) - ..aOM<$1.DonePruningPointUtxoSetChunksMessage>( - 34, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'donePruningPointUtxoSetChunks', - protoName: 'donePruningPointUtxoSetChunks', - subBuilder: $1.DonePruningPointUtxoSetChunksMessage.create) - ..aOM<$1.IbdBlockLocatorHighestHashNotFoundMessage>( - 35, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ibdBlockLocatorHighestHashNotFound', - protoName: 'ibdBlockLocatorHighestHashNotFound', - subBuilder: $1.IbdBlockLocatorHighestHashNotFoundMessage.create) - ..aOM<$1.BlockWithTrustedDataMessage>( - 36, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockWithTrustedData', - protoName: 'blockWithTrustedData', - subBuilder: $1.BlockWithTrustedDataMessage.create) - ..aOM<$1.DoneBlocksWithTrustedDataMessage>( - 37, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'doneBlocksWithTrustedData', - protoName: 'doneBlocksWithTrustedData', - subBuilder: $1.DoneBlocksWithTrustedDataMessage.create) - ..aOM<$1.RequestPruningPointAndItsAnticoneMessage>( - 40, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestPruningPointAndItsAnticone', - protoName: 'requestPruningPointAndItsAnticone', - subBuilder: $1.RequestPruningPointAndItsAnticoneMessage.create) - ..aOM<$1.BlockHeadersMessage>( - 41, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockHeaders', - protoName: 'blockHeaders', - subBuilder: $1.BlockHeadersMessage.create) - ..aOM<$1.RequestNextHeadersMessage>( - 42, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestNextHeaders', - protoName: 'requestNextHeaders', - subBuilder: $1.RequestNextHeadersMessage.create) - ..aOM<$1.DoneHeadersMessage>( - 43, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'DoneHeaders', - protoName: 'DoneHeaders', - subBuilder: $1.DoneHeadersMessage.create) - ..aOM<$1.RequestPruningPointUTXOSetMessage>( - 44, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestPruningPointUTXOSet', - protoName: 'requestPruningPointUTXOSet', - subBuilder: $1.RequestPruningPointUTXOSetMessage.create) - ..aOM<$1.RequestHeadersMessage>( - 45, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestHeaders', - protoName: 'requestHeaders', - subBuilder: $1.RequestHeadersMessage.create) - ..aOM<$1.RequestBlockLocatorMessage>( - 46, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestBlockLocator', - protoName: 'requestBlockLocator', - subBuilder: $1.RequestBlockLocatorMessage.create) - ..aOM<$1.PruningPointsMessage>( - 47, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPoints', - protoName: 'pruningPoints', - subBuilder: $1.PruningPointsMessage.create) - ..aOM<$1.RequestPruningPointProofMessage>( - 48, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestPruningPointProof', - protoName: 'requestPruningPointProof', - subBuilder: $1.RequestPruningPointProofMessage.create) - ..aOM<$1.PruningPointProofMessage>( - 49, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPointProof', - protoName: 'pruningPointProof', - subBuilder: $1.PruningPointProofMessage.create) - ..aOM<$1.ReadyMessage>( - 50, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ready', - subBuilder: $1.ReadyMessage.create) - ..aOM<$1.BlockWithTrustedDataV4Message>( - 51, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockWithTrustedDataV4', - protoName: 'blockWithTrustedDataV4', - subBuilder: $1.BlockWithTrustedDataV4Message.create) - ..aOM<$1.TrustedDataMessage>( - 52, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'trustedData', - protoName: 'trustedData', - subBuilder: $1.TrustedDataMessage.create) - ..aOM<$1.RequestIBDChainBlockLocatorMessage>( - 53, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestIBDChainBlockLocator', - protoName: 'requestIBDChainBlockLocator', - subBuilder: $1.RequestIBDChainBlockLocatorMessage.create) - ..aOM<$1.IbdChainBlockLocatorMessage>( - 54, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ibdChainBlockLocator', - protoName: 'ibdChainBlockLocator', - subBuilder: $1.IbdChainBlockLocatorMessage.create) - ..aOM<$1.RequestAnticoneMessage>( - 55, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestAnticone', - protoName: 'requestAnticone', - subBuilder: $1.RequestAnticoneMessage.create) - ..aOM<$1.RequestNextPruningPointAndItsAnticoneBlocksMessage>( - 56, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'requestNextPruningPointAndItsAnticoneBlocks', - protoName: 'requestNextPruningPointAndItsAnticoneBlocks', - subBuilder: - $1.RequestNextPruningPointAndItsAnticoneBlocksMessage.create) - ..aOM<$2.GetCurrentNetworkRequestMessage>( - 1001, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getCurrentNetworkRequest', - protoName: 'getCurrentNetworkRequest', - subBuilder: $2.GetCurrentNetworkRequestMessage.create) - ..aOM<$2.GetCurrentNetworkResponseMessage>( - 1002, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getCurrentNetworkResponse', - protoName: 'getCurrentNetworkResponse', - subBuilder: $2.GetCurrentNetworkResponseMessage.create) - ..aOM<$2.SubmitBlockRequestMessage>( - 1003, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'submitBlockRequest', - protoName: 'submitBlockRequest', - subBuilder: $2.SubmitBlockRequestMessage.create) - ..aOM<$2.SubmitBlockResponseMessage>( - 1004, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'submitBlockResponse', - protoName: 'submitBlockResponse', - subBuilder: $2.SubmitBlockResponseMessage.create) - ..aOM<$2.GetBlockTemplateRequestMessage>( - 1005, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockTemplateRequest', - protoName: 'getBlockTemplateRequest', - subBuilder: $2.GetBlockTemplateRequestMessage.create) - ..aOM<$2.GetBlockTemplateResponseMessage>( - 1006, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockTemplateResponse', - protoName: 'getBlockTemplateResponse', - subBuilder: $2.GetBlockTemplateResponseMessage.create) - ..aOM<$2.NotifyBlockAddedRequestMessage>( - 1007, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyBlockAddedRequest', - protoName: 'notifyBlockAddedRequest', - subBuilder: $2.NotifyBlockAddedRequestMessage.create) - ..aOM<$2.NotifyBlockAddedResponseMessage>( - 1008, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyBlockAddedResponse', - protoName: 'notifyBlockAddedResponse', - subBuilder: $2.NotifyBlockAddedResponseMessage.create) - ..aOM<$2.BlockAddedNotificationMessage>( - 1009, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockAddedNotification', - protoName: 'blockAddedNotification', - subBuilder: $2.BlockAddedNotificationMessage.create) - ..aOM<$2.GetPeerAddressesRequestMessage>( - 1010, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getPeerAddressesRequest', - protoName: 'getPeerAddressesRequest', - subBuilder: $2.GetPeerAddressesRequestMessage.create) - ..aOM<$2.GetPeerAddressesResponseMessage>( - 1011, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getPeerAddressesResponse', - protoName: 'getPeerAddressesResponse', - subBuilder: $2.GetPeerAddressesResponseMessage.create) - ..aOM<$2.GetSelectedTipHashRequestMessage>( - 1012, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getSelectedTipHashRequest', - protoName: 'getSelectedTipHashRequest', - subBuilder: $2.GetSelectedTipHashRequestMessage.create) - ..aOM<$2.GetSelectedTipHashResponseMessage>( - 1013, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getSelectedTipHashResponse', - protoName: 'getSelectedTipHashResponse', - subBuilder: $2.GetSelectedTipHashResponseMessage.create) - ..aOM<$2.GetMempoolEntryRequestMessage>( - 1014, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getMempoolEntryRequest', - protoName: 'getMempoolEntryRequest', - subBuilder: $2.GetMempoolEntryRequestMessage.create) - ..aOM<$2.GetMempoolEntryResponseMessage>( - 1015, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getMempoolEntryResponse', - protoName: 'getMempoolEntryResponse', - subBuilder: $2.GetMempoolEntryResponseMessage.create) - ..aOM<$2.GetConnectedPeerInfoRequestMessage>( - 1016, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getConnectedPeerInfoRequest', - protoName: 'getConnectedPeerInfoRequest', - subBuilder: $2.GetConnectedPeerInfoRequestMessage.create) - ..aOM<$2.GetConnectedPeerInfoResponseMessage>( - 1017, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getConnectedPeerInfoResponse', - protoName: 'getConnectedPeerInfoResponse', - subBuilder: $2.GetConnectedPeerInfoResponseMessage.create) - ..aOM<$2.AddPeerRequestMessage>( - 1018, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addPeerRequest', - protoName: 'addPeerRequest', - subBuilder: $2.AddPeerRequestMessage.create) - ..aOM<$2.AddPeerResponseMessage>( - 1019, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addPeerResponse', - protoName: 'addPeerResponse', - subBuilder: $2.AddPeerResponseMessage.create) - ..aOM<$2.SubmitTransactionRequestMessage>( - 1020, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'submitTransactionRequest', - protoName: 'submitTransactionRequest', - subBuilder: $2.SubmitTransactionRequestMessage.create) - ..aOM<$2.SubmitTransactionResponseMessage>( - 1021, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'submitTransactionResponse', - protoName: 'submitTransactionResponse', - subBuilder: $2.SubmitTransactionResponseMessage.create) - ..aOM<$2.NotifyVirtualSelectedParentChainChangedRequestMessage>( - 1022, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyVirtualSelectedParentChainChangedRequest', - protoName: 'notifyVirtualSelectedParentChainChangedRequest', - subBuilder: - $2.NotifyVirtualSelectedParentChainChangedRequestMessage.create) - ..aOM<$2.NotifyVirtualSelectedParentChainChangedResponseMessage>( - 1023, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyVirtualSelectedParentChainChangedResponse', - protoName: 'notifyVirtualSelectedParentChainChangedResponse', - subBuilder: - $2.NotifyVirtualSelectedParentChainChangedResponseMessage.create) - ..aOM<$2.VirtualSelectedParentChainChangedNotificationMessage>( - 1024, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualSelectedParentChainChangedNotification', - protoName: 'virtualSelectedParentChainChangedNotification', - subBuilder: - $2.VirtualSelectedParentChainChangedNotificationMessage.create) - ..aOM<$2.GetBlockRequestMessage>( - 1025, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockRequest', - protoName: 'getBlockRequest', - subBuilder: $2.GetBlockRequestMessage.create) - ..aOM<$2.GetBlockResponseMessage>( - 1026, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockResponse', - protoName: 'getBlockResponse', - subBuilder: $2.GetBlockResponseMessage.create) - ..aOM<$2.GetSubnetworkRequestMessage>( - 1027, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getSubnetworkRequest', - protoName: 'getSubnetworkRequest', - subBuilder: $2.GetSubnetworkRequestMessage.create) - ..aOM<$2.GetSubnetworkResponseMessage>( - 1028, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getSubnetworkResponse', - protoName: 'getSubnetworkResponse', - subBuilder: $2.GetSubnetworkResponseMessage.create) - ..aOM<$2.GetVirtualSelectedParentChainFromBlockRequestMessage>( - 1029, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getVirtualSelectedParentChainFromBlockRequest', - protoName: 'getVirtualSelectedParentChainFromBlockRequest', - subBuilder: - $2.GetVirtualSelectedParentChainFromBlockRequestMessage.create) - ..aOM<$2.GetVirtualSelectedParentChainFromBlockResponseMessage>( - 1030, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getVirtualSelectedParentChainFromBlockResponse', - protoName: 'getVirtualSelectedParentChainFromBlockResponse', - subBuilder: - $2.GetVirtualSelectedParentChainFromBlockResponseMessage.create) - ..aOM<$2.GetBlocksRequestMessage>( - 1031, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlocksRequest', - protoName: 'getBlocksRequest', - subBuilder: $2.GetBlocksRequestMessage.create) - ..aOM<$2.GetBlocksResponseMessage>( - 1032, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlocksResponse', - protoName: 'getBlocksResponse', - subBuilder: $2.GetBlocksResponseMessage.create) - ..aOM<$2.GetBlockCountRequestMessage>( - 1033, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockCountRequest', - protoName: 'getBlockCountRequest', - subBuilder: $2.GetBlockCountRequestMessage.create) - ..aOM<$2.GetBlockCountResponseMessage>( - 1034, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockCountResponse', - protoName: 'getBlockCountResponse', - subBuilder: $2.GetBlockCountResponseMessage.create) - ..aOM<$2.GetBlockDagInfoRequestMessage>( - 1035, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockDagInfoRequest', - protoName: 'getBlockDagInfoRequest', - subBuilder: $2.GetBlockDagInfoRequestMessage.create) - ..aOM<$2.GetBlockDagInfoResponseMessage>( - 1036, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBlockDagInfoResponse', - protoName: 'getBlockDagInfoResponse', - subBuilder: $2.GetBlockDagInfoResponseMessage.create) - ..aOM<$2.ResolveFinalityConflictRequestMessage>( - 1037, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'resolveFinalityConflictRequest', - protoName: 'resolveFinalityConflictRequest', - subBuilder: $2.ResolveFinalityConflictRequestMessage.create) - ..aOM<$2.ResolveFinalityConflictResponseMessage>( - 1038, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'resolveFinalityConflictResponse', - protoName: 'resolveFinalityConflictResponse', - subBuilder: $2.ResolveFinalityConflictResponseMessage.create) - ..aOM<$2.NotifyFinalityConflictsRequestMessage>( - 1039, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyFinalityConflictsRequest', - protoName: 'notifyFinalityConflictsRequest', - subBuilder: $2.NotifyFinalityConflictsRequestMessage.create) - ..aOM<$2.NotifyFinalityConflictsResponseMessage>( - 1040, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyFinalityConflictsResponse', - protoName: 'notifyFinalityConflictsResponse', - subBuilder: $2.NotifyFinalityConflictsResponseMessage.create) - ..aOM<$2.FinalityConflictNotificationMessage>( - 1041, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'finalityConflictNotification', - protoName: 'finalityConflictNotification', - subBuilder: $2.FinalityConflictNotificationMessage.create) - ..aOM<$2.FinalityConflictResolvedNotificationMessage>( - 1042, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'finalityConflictResolvedNotification', - protoName: 'finalityConflictResolvedNotification', - subBuilder: $2.FinalityConflictResolvedNotificationMessage.create) - ..aOM<$2.GetMempoolEntriesRequestMessage>( - 1043, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getMempoolEntriesRequest', - protoName: 'getMempoolEntriesRequest', - subBuilder: $2.GetMempoolEntriesRequestMessage.create) - ..aOM<$2.GetMempoolEntriesResponseMessage>( - 1044, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getMempoolEntriesResponse', - protoName: 'getMempoolEntriesResponse', - subBuilder: $2.GetMempoolEntriesResponseMessage.create) - ..aOM<$2.ShutDownRequestMessage>( - 1045, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'shutDownRequest', - protoName: 'shutDownRequest', - subBuilder: $2.ShutDownRequestMessage.create) - ..aOM<$2.ShutDownResponseMessage>( - 1046, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'shutDownResponse', - protoName: 'shutDownResponse', - subBuilder: $2.ShutDownResponseMessage.create) - ..aOM<$2.GetHeadersRequestMessage>( - 1047, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getHeadersRequest', - protoName: 'getHeadersRequest', - subBuilder: $2.GetHeadersRequestMessage.create) - ..aOM<$2.GetHeadersResponseMessage>( - 1048, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getHeadersResponse', - protoName: 'getHeadersResponse', - subBuilder: $2.GetHeadersResponseMessage.create) - ..aOM<$2.NotifyUtxosChangedRequestMessage>( - 1049, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyUtxosChangedRequest', - protoName: 'notifyUtxosChangedRequest', - subBuilder: $2.NotifyUtxosChangedRequestMessage.create) - ..aOM<$2.NotifyUtxosChangedResponseMessage>( - 1050, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyUtxosChangedResponse', - protoName: 'notifyUtxosChangedResponse', - subBuilder: $2.NotifyUtxosChangedResponseMessage.create) - ..aOM<$2.UtxosChangedNotificationMessage>( - 1051, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'utxosChangedNotification', - protoName: 'utxosChangedNotification', - subBuilder: $2.UtxosChangedNotificationMessage.create) - ..aOM<$2.GetUtxosByAddressesRequestMessage>( - 1052, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getUtxosByAddressesRequest', - protoName: 'getUtxosByAddressesRequest', - subBuilder: $2.GetUtxosByAddressesRequestMessage.create) - ..aOM<$2.GetUtxosByAddressesResponseMessage>( - 1053, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getUtxosByAddressesResponse', - protoName: 'getUtxosByAddressesResponse', - subBuilder: $2.GetUtxosByAddressesResponseMessage.create) - ..aOM<$2.GetVirtualSelectedParentBlueScoreRequestMessage>( - 1054, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getVirtualSelectedParentBlueScoreRequest', - protoName: 'getVirtualSelectedParentBlueScoreRequest', - subBuilder: $2.GetVirtualSelectedParentBlueScoreRequestMessage.create) - ..aOM<$2.GetVirtualSelectedParentBlueScoreResponseMessage>( - 1055, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getVirtualSelectedParentBlueScoreResponse', - protoName: 'getVirtualSelectedParentBlueScoreResponse', - subBuilder: $2.GetVirtualSelectedParentBlueScoreResponseMessage.create) - ..aOM<$2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage>( - 1056, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyVirtualSelectedParentBlueScoreChangedRequest', - protoName: 'notifyVirtualSelectedParentBlueScoreChangedRequest', - subBuilder: - $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.create) - ..aOM<$2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage>( - 1057, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyVirtualSelectedParentBlueScoreChangedResponse', - protoName: 'notifyVirtualSelectedParentBlueScoreChangedResponse', - subBuilder: $2 - .NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.create) - ..aOM<$2.VirtualSelectedParentBlueScoreChangedNotificationMessage>( - 1058, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualSelectedParentBlueScoreChangedNotification', - protoName: 'virtualSelectedParentBlueScoreChangedNotification', - subBuilder: - $2.VirtualSelectedParentBlueScoreChangedNotificationMessage.create) - ..aOM<$2.BanRequestMessage>( - 1059, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'banRequest', - protoName: 'banRequest', - subBuilder: $2.BanRequestMessage.create) - ..aOM<$2.BanResponseMessage>( - 1060, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'banResponse', - protoName: 'banResponse', - subBuilder: $2.BanResponseMessage.create) - ..aOM<$2.UnbanRequestMessage>( - 1061, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'unbanRequest', - protoName: 'unbanRequest', - subBuilder: $2.UnbanRequestMessage.create) - ..aOM<$2.UnbanResponseMessage>( - 1062, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'unbanResponse', - protoName: 'unbanResponse', - subBuilder: $2.UnbanResponseMessage.create) - ..aOM<$2.GetInfoRequestMessage>( - 1063, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getInfoRequest', - protoName: 'getInfoRequest', - subBuilder: $2.GetInfoRequestMessage.create) - ..aOM<$2.GetInfoResponseMessage>( - 1064, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getInfoResponse', - protoName: 'getInfoResponse', - subBuilder: $2.GetInfoResponseMessage.create) - ..aOM<$2.StopNotifyingUtxosChangedRequestMessage>( - 1065, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'stopNotifyingUtxosChangedRequest', - protoName: 'stopNotifyingUtxosChangedRequest', - subBuilder: $2.StopNotifyingUtxosChangedRequestMessage.create) - ..aOM<$2.StopNotifyingUtxosChangedResponseMessage>( - 1066, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'stopNotifyingUtxosChangedResponse', - protoName: 'stopNotifyingUtxosChangedResponse', - subBuilder: $2.StopNotifyingUtxosChangedResponseMessage.create) - ..aOM<$2.NotifyPruningPointUTXOSetOverrideRequestMessage>( - 1067, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyPruningPointUTXOSetOverrideRequest', - protoName: 'notifyPruningPointUTXOSetOverrideRequest', - subBuilder: $2.NotifyPruningPointUTXOSetOverrideRequestMessage.create) - ..aOM<$2.NotifyPruningPointUTXOSetOverrideResponseMessage>( - 1068, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyPruningPointUTXOSetOverrideResponse', - protoName: 'notifyPruningPointUTXOSetOverrideResponse', - subBuilder: $2.NotifyPruningPointUTXOSetOverrideResponseMessage.create) - ..aOM<$2.PruningPointUTXOSetOverrideNotificationMessage>( - 1069, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPointUTXOSetOverrideNotification', - protoName: 'pruningPointUTXOSetOverrideNotification', - subBuilder: $2.PruningPointUTXOSetOverrideNotificationMessage.create) - ..aOM<$2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage>( - 1070, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'stopNotifyingPruningPointUTXOSetOverrideRequest', - protoName: 'stopNotifyingPruningPointUTXOSetOverrideRequest', - subBuilder: - $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage.create) - ..aOM<$2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage>( - 1071, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'stopNotifyingPruningPointUTXOSetOverrideResponse', - protoName: 'stopNotifyingPruningPointUTXOSetOverrideResponse', - subBuilder: - $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage.create) - ..aOM<$2.EstimateNetworkHashesPerSecondRequestMessage>( - 1072, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'estimateNetworkHashesPerSecondRequest', - protoName: 'estimateNetworkHashesPerSecondRequest', - subBuilder: $2.EstimateNetworkHashesPerSecondRequestMessage.create) - ..aOM<$2.EstimateNetworkHashesPerSecondResponseMessage>( - 1073, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'estimateNetworkHashesPerSecondResponse', - protoName: 'estimateNetworkHashesPerSecondResponse', - subBuilder: $2.EstimateNetworkHashesPerSecondResponseMessage.create) - ..aOM<$2.NotifyVirtualDaaScoreChangedRequestMessage>( - 1074, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyVirtualDaaScoreChangedRequest', - protoName: 'notifyVirtualDaaScoreChangedRequest', - subBuilder: $2.NotifyVirtualDaaScoreChangedRequestMessage.create) - ..aOM<$2.NotifyVirtualDaaScoreChangedResponseMessage>( - 1075, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyVirtualDaaScoreChangedResponse', - protoName: 'notifyVirtualDaaScoreChangedResponse', - subBuilder: $2.NotifyVirtualDaaScoreChangedResponseMessage.create) - ..aOM<$2.VirtualDaaScoreChangedNotificationMessage>( - 1076, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualDaaScoreChangedNotification', - protoName: 'virtualDaaScoreChangedNotification', - subBuilder: $2.VirtualDaaScoreChangedNotificationMessage.create) - ..aOM<$2.GetBalanceByAddressRequestMessage>( - 1077, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBalanceByAddressRequest', - protoName: 'getBalanceByAddressRequest', - subBuilder: $2.GetBalanceByAddressRequestMessage.create) - ..aOM<$2.GetBalanceByAddressResponseMessage>( - 1078, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBalanceByAddressResponse', - protoName: 'getBalanceByAddressResponse', - subBuilder: $2.GetBalanceByAddressResponseMessage.create) - ..aOM<$2.GetBalancesByAddressesRequestMessage>( - 1079, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBalancesByAddressesRequest', - protoName: 'getBalancesByAddressesRequest', - subBuilder: $2.GetBalancesByAddressesRequestMessage.create) - ..aOM<$2.GetBalancesByAddressesResponseMessage>( - 1080, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getBalancesByAddressesResponse', - protoName: 'getBalancesByAddressesResponse', - subBuilder: $2.GetBalancesByAddressesResponseMessage.create) - ..aOM<$2.NotifyNewBlockTemplateRequestMessage>( - 1081, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyNewBlockTemplateRequest', - protoName: 'notifyNewBlockTemplateRequest', - subBuilder: $2.NotifyNewBlockTemplateRequestMessage.create) - ..aOM<$2.NotifyNewBlockTemplateResponseMessage>( - 1082, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'notifyNewBlockTemplateResponse', - protoName: 'notifyNewBlockTemplateResponse', - subBuilder: $2.NotifyNewBlockTemplateResponseMessage.create) - ..aOM<$2.NewBlockTemplateNotificationMessage>( - 1083, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'newBlockTemplateNotification', - protoName: 'newBlockTemplateNotification', - subBuilder: $2.NewBlockTemplateNotificationMessage.create) - ..aOM<$2.GetMempoolEntriesByAddressesRequestMessage>( - 1084, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getMempoolEntriesByAddressesRequest', - protoName: 'getMempoolEntriesByAddressesRequest', - subBuilder: $2.GetMempoolEntriesByAddressesRequestMessage.create) - ..aOM<$2.GetMempoolEntriesByAddressesResponseMessage>( - 1085, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getMempoolEntriesByAddressesResponse', - protoName: 'getMempoolEntriesByAddressesResponse', - subBuilder: $2.GetMempoolEntriesByAddressesResponseMessage.create) - ..aOM<$2.GetCoinSupplyRequestMessage>( - 1086, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getCoinSupplyRequest', - protoName: 'getCoinSupplyRequest', - subBuilder: $2.GetCoinSupplyRequestMessage.create) - ..aOM<$2.GetCoinSupplyResponseMessage>( - 1087, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'getCoinSupplyResponse', - protoName: 'getCoinSupplyResponse', - subBuilder: $2.GetCoinSupplyResponseMessage.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SpectredMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 5, 6, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 25, 26, 27, 30, 31, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087]) + ..aOM<$1.AddressesMessage>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses', subBuilder: $1.AddressesMessage.create) + ..aOM<$1.BlockMessage>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: $1.BlockMessage.create) + ..aOM<$1.TransactionMessage>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transaction', subBuilder: $1.TransactionMessage.create) + ..aOM<$1.BlockLocatorMessage>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockLocator', protoName: 'blockLocator', subBuilder: $1.BlockLocatorMessage.create) + ..aOM<$1.RequestAddressesMessage>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestAddresses', protoName: 'requestAddresses', subBuilder: $1.RequestAddressesMessage.create) + ..aOM<$1.RequestRelayBlocksMessage>(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestRelayBlocks', protoName: 'requestRelayBlocks', subBuilder: $1.RequestRelayBlocksMessage.create) + ..aOM<$1.RequestTransactionsMessage>(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestTransactions', protoName: 'requestTransactions', subBuilder: $1.RequestTransactionsMessage.create) + ..aOM<$1.BlockMessage>(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ibdBlock', protoName: 'ibdBlock', subBuilder: $1.BlockMessage.create) + ..aOM<$1.InvRelayBlockMessage>(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'invRelayBlock', protoName: 'invRelayBlock', subBuilder: $1.InvRelayBlockMessage.create) + ..aOM<$1.InvTransactionsMessage>(15, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'invTransactions', protoName: 'invTransactions', subBuilder: $1.InvTransactionsMessage.create) + ..aOM<$1.PingMessage>(16, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ping', subBuilder: $1.PingMessage.create) + ..aOM<$1.PongMessage>(17, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pong', subBuilder: $1.PongMessage.create) + ..aOM<$1.VerackMessage>(19, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'verack', subBuilder: $1.VerackMessage.create) + ..aOM<$1.VersionMessage>(20, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', subBuilder: $1.VersionMessage.create) + ..aOM<$1.TransactionNotFoundMessage>(21, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactionNotFound', protoName: 'transactionNotFound', subBuilder: $1.TransactionNotFoundMessage.create) + ..aOM<$1.RejectMessage>(22, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'reject', subBuilder: $1.RejectMessage.create) + ..aOM<$1.PruningPointUtxoSetChunkMessage>(25, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPointUtxoSetChunk', protoName: 'pruningPointUtxoSetChunk', subBuilder: $1.PruningPointUtxoSetChunkMessage.create) + ..aOM<$1.RequestIBDBlocksMessage>(26, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestIBDBlocks', protoName: 'requestIBDBlocks', subBuilder: $1.RequestIBDBlocksMessage.create) + ..aOM<$1.UnexpectedPruningPointMessage>(27, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unexpectedPruningPoint', protoName: 'unexpectedPruningPoint', subBuilder: $1.UnexpectedPruningPointMessage.create) + ..aOM<$1.IbdBlockLocatorMessage>(30, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ibdBlockLocator', protoName: 'ibdBlockLocator', subBuilder: $1.IbdBlockLocatorMessage.create) + ..aOM<$1.IbdBlockLocatorHighestHashMessage>(31, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ibdBlockLocatorHighestHash', protoName: 'ibdBlockLocatorHighestHash', subBuilder: $1.IbdBlockLocatorHighestHashMessage.create) + ..aOM<$1.RequestNextPruningPointUtxoSetChunkMessage>(33, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestNextPruningPointUtxoSetChunk', protoName: 'requestNextPruningPointUtxoSetChunk', subBuilder: $1.RequestNextPruningPointUtxoSetChunkMessage.create) + ..aOM<$1.DonePruningPointUtxoSetChunksMessage>(34, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'donePruningPointUtxoSetChunks', protoName: 'donePruningPointUtxoSetChunks', subBuilder: $1.DonePruningPointUtxoSetChunksMessage.create) + ..aOM<$1.IbdBlockLocatorHighestHashNotFoundMessage>(35, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ibdBlockLocatorHighestHashNotFound', protoName: 'ibdBlockLocatorHighestHashNotFound', subBuilder: $1.IbdBlockLocatorHighestHashNotFoundMessage.create) + ..aOM<$1.BlockWithTrustedDataMessage>(36, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockWithTrustedData', protoName: 'blockWithTrustedData', subBuilder: $1.BlockWithTrustedDataMessage.create) + ..aOM<$1.DoneBlocksWithTrustedDataMessage>(37, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'doneBlocksWithTrustedData', protoName: 'doneBlocksWithTrustedData', subBuilder: $1.DoneBlocksWithTrustedDataMessage.create) + ..aOM<$1.RequestPruningPointAndItsAnticoneMessage>(40, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestPruningPointAndItsAnticone', protoName: 'requestPruningPointAndItsAnticone', subBuilder: $1.RequestPruningPointAndItsAnticoneMessage.create) + ..aOM<$1.BlockHeadersMessage>(41, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockHeaders', protoName: 'blockHeaders', subBuilder: $1.BlockHeadersMessage.create) + ..aOM<$1.RequestNextHeadersMessage>(42, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestNextHeaders', protoName: 'requestNextHeaders', subBuilder: $1.RequestNextHeadersMessage.create) + ..aOM<$1.DoneHeadersMessage>(43, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'DoneHeaders', protoName: 'DoneHeaders', subBuilder: $1.DoneHeadersMessage.create) + ..aOM<$1.RequestPruningPointUTXOSetMessage>(44, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestPruningPointUTXOSet', protoName: 'requestPruningPointUTXOSet', subBuilder: $1.RequestPruningPointUTXOSetMessage.create) + ..aOM<$1.RequestHeadersMessage>(45, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestHeaders', protoName: 'requestHeaders', subBuilder: $1.RequestHeadersMessage.create) + ..aOM<$1.RequestBlockLocatorMessage>(46, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestBlockLocator', protoName: 'requestBlockLocator', subBuilder: $1.RequestBlockLocatorMessage.create) + ..aOM<$1.PruningPointsMessage>(47, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPoints', protoName: 'pruningPoints', subBuilder: $1.PruningPointsMessage.create) + ..aOM<$1.RequestPruningPointProofMessage>(48, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestPruningPointProof', protoName: 'requestPruningPointProof', subBuilder: $1.RequestPruningPointProofMessage.create) + ..aOM<$1.PruningPointProofMessage>(49, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPointProof', protoName: 'pruningPointProof', subBuilder: $1.PruningPointProofMessage.create) + ..aOM<$1.ReadyMessage>(50, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ready', subBuilder: $1.ReadyMessage.create) + ..aOM<$1.BlockWithTrustedDataV4Message>(51, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockWithTrustedDataV4', protoName: 'blockWithTrustedDataV4', subBuilder: $1.BlockWithTrustedDataV4Message.create) + ..aOM<$1.TrustedDataMessage>(52, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'trustedData', protoName: 'trustedData', subBuilder: $1.TrustedDataMessage.create) + ..aOM<$1.RequestIBDChainBlockLocatorMessage>(53, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestIBDChainBlockLocator', protoName: 'requestIBDChainBlockLocator', subBuilder: $1.RequestIBDChainBlockLocatorMessage.create) + ..aOM<$1.IbdChainBlockLocatorMessage>(54, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ibdChainBlockLocator', protoName: 'ibdChainBlockLocator', subBuilder: $1.IbdChainBlockLocatorMessage.create) + ..aOM<$1.RequestAnticoneMessage>(55, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestAnticone', protoName: 'requestAnticone', subBuilder: $1.RequestAnticoneMessage.create) + ..aOM<$1.RequestNextPruningPointAndItsAnticoneBlocksMessage>(56, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestNextPruningPointAndItsAnticoneBlocks', protoName: 'requestNextPruningPointAndItsAnticoneBlocks', subBuilder: $1.RequestNextPruningPointAndItsAnticoneBlocksMessage.create) + ..aOM<$2.GetCurrentNetworkRequestMessage>(1001, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getCurrentNetworkRequest', protoName: 'getCurrentNetworkRequest', subBuilder: $2.GetCurrentNetworkRequestMessage.create) + ..aOM<$2.GetCurrentNetworkResponseMessage>(1002, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getCurrentNetworkResponse', protoName: 'getCurrentNetworkResponse', subBuilder: $2.GetCurrentNetworkResponseMessage.create) + ..aOM<$2.SubmitBlockRequestMessage>(1003, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'submitBlockRequest', protoName: 'submitBlockRequest', subBuilder: $2.SubmitBlockRequestMessage.create) + ..aOM<$2.SubmitBlockResponseMessage>(1004, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'submitBlockResponse', protoName: 'submitBlockResponse', subBuilder: $2.SubmitBlockResponseMessage.create) + ..aOM<$2.GetBlockTemplateRequestMessage>(1005, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockTemplateRequest', protoName: 'getBlockTemplateRequest', subBuilder: $2.GetBlockTemplateRequestMessage.create) + ..aOM<$2.GetBlockTemplateResponseMessage>(1006, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockTemplateResponse', protoName: 'getBlockTemplateResponse', subBuilder: $2.GetBlockTemplateResponseMessage.create) + ..aOM<$2.NotifyBlockAddedRequestMessage>(1007, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyBlockAddedRequest', protoName: 'notifyBlockAddedRequest', subBuilder: $2.NotifyBlockAddedRequestMessage.create) + ..aOM<$2.NotifyBlockAddedResponseMessage>(1008, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyBlockAddedResponse', protoName: 'notifyBlockAddedResponse', subBuilder: $2.NotifyBlockAddedResponseMessage.create) + ..aOM<$2.BlockAddedNotificationMessage>(1009, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockAddedNotification', protoName: 'blockAddedNotification', subBuilder: $2.BlockAddedNotificationMessage.create) + ..aOM<$2.GetPeerAddressesRequestMessage>(1010, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getPeerAddressesRequest', protoName: 'getPeerAddressesRequest', subBuilder: $2.GetPeerAddressesRequestMessage.create) + ..aOM<$2.GetPeerAddressesResponseMessage>(1011, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getPeerAddressesResponse', protoName: 'getPeerAddressesResponse', subBuilder: $2.GetPeerAddressesResponseMessage.create) + ..aOM<$2.GetSelectedTipHashRequestMessage>(1012, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getSelectedTipHashRequest', protoName: 'getSelectedTipHashRequest', subBuilder: $2.GetSelectedTipHashRequestMessage.create) + ..aOM<$2.GetSelectedTipHashResponseMessage>(1013, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getSelectedTipHashResponse', protoName: 'getSelectedTipHashResponse', subBuilder: $2.GetSelectedTipHashResponseMessage.create) + ..aOM<$2.GetMempoolEntryRequestMessage>(1014, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getMempoolEntryRequest', protoName: 'getMempoolEntryRequest', subBuilder: $2.GetMempoolEntryRequestMessage.create) + ..aOM<$2.GetMempoolEntryResponseMessage>(1015, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getMempoolEntryResponse', protoName: 'getMempoolEntryResponse', subBuilder: $2.GetMempoolEntryResponseMessage.create) + ..aOM<$2.GetConnectedPeerInfoRequestMessage>(1016, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getConnectedPeerInfoRequest', protoName: 'getConnectedPeerInfoRequest', subBuilder: $2.GetConnectedPeerInfoRequestMessage.create) + ..aOM<$2.GetConnectedPeerInfoResponseMessage>(1017, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getConnectedPeerInfoResponse', protoName: 'getConnectedPeerInfoResponse', subBuilder: $2.GetConnectedPeerInfoResponseMessage.create) + ..aOM<$2.AddPeerRequestMessage>(1018, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addPeerRequest', protoName: 'addPeerRequest', subBuilder: $2.AddPeerRequestMessage.create) + ..aOM<$2.AddPeerResponseMessage>(1019, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addPeerResponse', protoName: 'addPeerResponse', subBuilder: $2.AddPeerResponseMessage.create) + ..aOM<$2.SubmitTransactionRequestMessage>(1020, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'submitTransactionRequest', protoName: 'submitTransactionRequest', subBuilder: $2.SubmitTransactionRequestMessage.create) + ..aOM<$2.SubmitTransactionResponseMessage>(1021, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'submitTransactionResponse', protoName: 'submitTransactionResponse', subBuilder: $2.SubmitTransactionResponseMessage.create) + ..aOM<$2.NotifyVirtualSelectedParentChainChangedRequestMessage>(1022, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyVirtualSelectedParentChainChangedRequest', protoName: 'notifyVirtualSelectedParentChainChangedRequest', subBuilder: $2.NotifyVirtualSelectedParentChainChangedRequestMessage.create) + ..aOM<$2.NotifyVirtualSelectedParentChainChangedResponseMessage>(1023, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyVirtualSelectedParentChainChangedResponse', protoName: 'notifyVirtualSelectedParentChainChangedResponse', subBuilder: $2.NotifyVirtualSelectedParentChainChangedResponseMessage.create) + ..aOM<$2.VirtualSelectedParentChainChangedNotificationMessage>(1024, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualSelectedParentChainChangedNotification', protoName: 'virtualSelectedParentChainChangedNotification', subBuilder: $2.VirtualSelectedParentChainChangedNotificationMessage.create) + ..aOM<$2.GetBlockRequestMessage>(1025, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockRequest', protoName: 'getBlockRequest', subBuilder: $2.GetBlockRequestMessage.create) + ..aOM<$2.GetBlockResponseMessage>(1026, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockResponse', protoName: 'getBlockResponse', subBuilder: $2.GetBlockResponseMessage.create) + ..aOM<$2.GetSubnetworkRequestMessage>(1027, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getSubnetworkRequest', protoName: 'getSubnetworkRequest', subBuilder: $2.GetSubnetworkRequestMessage.create) + ..aOM<$2.GetSubnetworkResponseMessage>(1028, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getSubnetworkResponse', protoName: 'getSubnetworkResponse', subBuilder: $2.GetSubnetworkResponseMessage.create) + ..aOM<$2.GetVirtualSelectedParentChainFromBlockRequestMessage>(1029, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getVirtualSelectedParentChainFromBlockRequest', protoName: 'getVirtualSelectedParentChainFromBlockRequest', subBuilder: $2.GetVirtualSelectedParentChainFromBlockRequestMessage.create) + ..aOM<$2.GetVirtualSelectedParentChainFromBlockResponseMessage>(1030, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getVirtualSelectedParentChainFromBlockResponse', protoName: 'getVirtualSelectedParentChainFromBlockResponse', subBuilder: $2.GetVirtualSelectedParentChainFromBlockResponseMessage.create) + ..aOM<$2.GetBlocksRequestMessage>(1031, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlocksRequest', protoName: 'getBlocksRequest', subBuilder: $2.GetBlocksRequestMessage.create) + ..aOM<$2.GetBlocksResponseMessage>(1032, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlocksResponse', protoName: 'getBlocksResponse', subBuilder: $2.GetBlocksResponseMessage.create) + ..aOM<$2.GetBlockCountRequestMessage>(1033, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockCountRequest', protoName: 'getBlockCountRequest', subBuilder: $2.GetBlockCountRequestMessage.create) + ..aOM<$2.GetBlockCountResponseMessage>(1034, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockCountResponse', protoName: 'getBlockCountResponse', subBuilder: $2.GetBlockCountResponseMessage.create) + ..aOM<$2.GetBlockDagInfoRequestMessage>(1035, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockDagInfoRequest', protoName: 'getBlockDagInfoRequest', subBuilder: $2.GetBlockDagInfoRequestMessage.create) + ..aOM<$2.GetBlockDagInfoResponseMessage>(1036, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBlockDagInfoResponse', protoName: 'getBlockDagInfoResponse', subBuilder: $2.GetBlockDagInfoResponseMessage.create) + ..aOM<$2.ResolveFinalityConflictRequestMessage>(1037, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'resolveFinalityConflictRequest', protoName: 'resolveFinalityConflictRequest', subBuilder: $2.ResolveFinalityConflictRequestMessage.create) + ..aOM<$2.ResolveFinalityConflictResponseMessage>(1038, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'resolveFinalityConflictResponse', protoName: 'resolveFinalityConflictResponse', subBuilder: $2.ResolveFinalityConflictResponseMessage.create) + ..aOM<$2.NotifyFinalityConflictsRequestMessage>(1039, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyFinalityConflictsRequest', protoName: 'notifyFinalityConflictsRequest', subBuilder: $2.NotifyFinalityConflictsRequestMessage.create) + ..aOM<$2.NotifyFinalityConflictsResponseMessage>(1040, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyFinalityConflictsResponse', protoName: 'notifyFinalityConflictsResponse', subBuilder: $2.NotifyFinalityConflictsResponseMessage.create) + ..aOM<$2.FinalityConflictNotificationMessage>(1041, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'finalityConflictNotification', protoName: 'finalityConflictNotification', subBuilder: $2.FinalityConflictNotificationMessage.create) + ..aOM<$2.FinalityConflictResolvedNotificationMessage>(1042, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'finalityConflictResolvedNotification', protoName: 'finalityConflictResolvedNotification', subBuilder: $2.FinalityConflictResolvedNotificationMessage.create) + ..aOM<$2.GetMempoolEntriesRequestMessage>(1043, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getMempoolEntriesRequest', protoName: 'getMempoolEntriesRequest', subBuilder: $2.GetMempoolEntriesRequestMessage.create) + ..aOM<$2.GetMempoolEntriesResponseMessage>(1044, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getMempoolEntriesResponse', protoName: 'getMempoolEntriesResponse', subBuilder: $2.GetMempoolEntriesResponseMessage.create) + ..aOM<$2.ShutDownRequestMessage>(1045, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'shutDownRequest', protoName: 'shutDownRequest', subBuilder: $2.ShutDownRequestMessage.create) + ..aOM<$2.ShutDownResponseMessage>(1046, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'shutDownResponse', protoName: 'shutDownResponse', subBuilder: $2.ShutDownResponseMessage.create) + ..aOM<$2.GetHeadersRequestMessage>(1047, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getHeadersRequest', protoName: 'getHeadersRequest', subBuilder: $2.GetHeadersRequestMessage.create) + ..aOM<$2.GetHeadersResponseMessage>(1048, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getHeadersResponse', protoName: 'getHeadersResponse', subBuilder: $2.GetHeadersResponseMessage.create) + ..aOM<$2.NotifyUtxosChangedRequestMessage>(1049, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyUtxosChangedRequest', protoName: 'notifyUtxosChangedRequest', subBuilder: $2.NotifyUtxosChangedRequestMessage.create) + ..aOM<$2.NotifyUtxosChangedResponseMessage>(1050, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyUtxosChangedResponse', protoName: 'notifyUtxosChangedResponse', subBuilder: $2.NotifyUtxosChangedResponseMessage.create) + ..aOM<$2.UtxosChangedNotificationMessage>(1051, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'utxosChangedNotification', protoName: 'utxosChangedNotification', subBuilder: $2.UtxosChangedNotificationMessage.create) + ..aOM<$2.GetUtxosByAddressesRequestMessage>(1052, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getUtxosByAddressesRequest', protoName: 'getUtxosByAddressesRequest', subBuilder: $2.GetUtxosByAddressesRequestMessage.create) + ..aOM<$2.GetUtxosByAddressesResponseMessage>(1053, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getUtxosByAddressesResponse', protoName: 'getUtxosByAddressesResponse', subBuilder: $2.GetUtxosByAddressesResponseMessage.create) + ..aOM<$2.GetVirtualSelectedParentBlueScoreRequestMessage>(1054, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getVirtualSelectedParentBlueScoreRequest', protoName: 'getVirtualSelectedParentBlueScoreRequest', subBuilder: $2.GetVirtualSelectedParentBlueScoreRequestMessage.create) + ..aOM<$2.GetVirtualSelectedParentBlueScoreResponseMessage>(1055, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getVirtualSelectedParentBlueScoreResponse', protoName: 'getVirtualSelectedParentBlueScoreResponse', subBuilder: $2.GetVirtualSelectedParentBlueScoreResponseMessage.create) + ..aOM<$2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage>(1056, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyVirtualSelectedParentBlueScoreChangedRequest', protoName: 'notifyVirtualSelectedParentBlueScoreChangedRequest', subBuilder: $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.create) + ..aOM<$2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage>(1057, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyVirtualSelectedParentBlueScoreChangedResponse', protoName: 'notifyVirtualSelectedParentBlueScoreChangedResponse', subBuilder: $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.create) + ..aOM<$2.VirtualSelectedParentBlueScoreChangedNotificationMessage>(1058, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualSelectedParentBlueScoreChangedNotification', protoName: 'virtualSelectedParentBlueScoreChangedNotification', subBuilder: $2.VirtualSelectedParentBlueScoreChangedNotificationMessage.create) + ..aOM<$2.BanRequestMessage>(1059, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'banRequest', protoName: 'banRequest', subBuilder: $2.BanRequestMessage.create) + ..aOM<$2.BanResponseMessage>(1060, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'banResponse', protoName: 'banResponse', subBuilder: $2.BanResponseMessage.create) + ..aOM<$2.UnbanRequestMessage>(1061, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unbanRequest', protoName: 'unbanRequest', subBuilder: $2.UnbanRequestMessage.create) + ..aOM<$2.UnbanResponseMessage>(1062, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unbanResponse', protoName: 'unbanResponse', subBuilder: $2.UnbanResponseMessage.create) + ..aOM<$2.GetInfoRequestMessage>(1063, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getInfoRequest', protoName: 'getInfoRequest', subBuilder: $2.GetInfoRequestMessage.create) + ..aOM<$2.GetInfoResponseMessage>(1064, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getInfoResponse', protoName: 'getInfoResponse', subBuilder: $2.GetInfoResponseMessage.create) + ..aOM<$2.StopNotifyingUtxosChangedRequestMessage>(1065, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stopNotifyingUtxosChangedRequest', protoName: 'stopNotifyingUtxosChangedRequest', subBuilder: $2.StopNotifyingUtxosChangedRequestMessage.create) + ..aOM<$2.StopNotifyingUtxosChangedResponseMessage>(1066, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stopNotifyingUtxosChangedResponse', protoName: 'stopNotifyingUtxosChangedResponse', subBuilder: $2.StopNotifyingUtxosChangedResponseMessage.create) + ..aOM<$2.NotifyPruningPointUTXOSetOverrideRequestMessage>(1067, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyPruningPointUTXOSetOverrideRequest', protoName: 'notifyPruningPointUTXOSetOverrideRequest', subBuilder: $2.NotifyPruningPointUTXOSetOverrideRequestMessage.create) + ..aOM<$2.NotifyPruningPointUTXOSetOverrideResponseMessage>(1068, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyPruningPointUTXOSetOverrideResponse', protoName: 'notifyPruningPointUTXOSetOverrideResponse', subBuilder: $2.NotifyPruningPointUTXOSetOverrideResponseMessage.create) + ..aOM<$2.PruningPointUTXOSetOverrideNotificationMessage>(1069, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPointUTXOSetOverrideNotification', protoName: 'pruningPointUTXOSetOverrideNotification', subBuilder: $2.PruningPointUTXOSetOverrideNotificationMessage.create) + ..aOM<$2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage>(1070, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stopNotifyingPruningPointUTXOSetOverrideRequest', protoName: 'stopNotifyingPruningPointUTXOSetOverrideRequest', subBuilder: $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage.create) + ..aOM<$2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage>(1071, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'stopNotifyingPruningPointUTXOSetOverrideResponse', protoName: 'stopNotifyingPruningPointUTXOSetOverrideResponse', subBuilder: $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage.create) + ..aOM<$2.EstimateNetworkHashesPerSecondRequestMessage>(1072, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'estimateNetworkHashesPerSecondRequest', protoName: 'estimateNetworkHashesPerSecondRequest', subBuilder: $2.EstimateNetworkHashesPerSecondRequestMessage.create) + ..aOM<$2.EstimateNetworkHashesPerSecondResponseMessage>(1073, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'estimateNetworkHashesPerSecondResponse', protoName: 'estimateNetworkHashesPerSecondResponse', subBuilder: $2.EstimateNetworkHashesPerSecondResponseMessage.create) + ..aOM<$2.NotifyVirtualDaaScoreChangedRequestMessage>(1074, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyVirtualDaaScoreChangedRequest', protoName: 'notifyVirtualDaaScoreChangedRequest', subBuilder: $2.NotifyVirtualDaaScoreChangedRequestMessage.create) + ..aOM<$2.NotifyVirtualDaaScoreChangedResponseMessage>(1075, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyVirtualDaaScoreChangedResponse', protoName: 'notifyVirtualDaaScoreChangedResponse', subBuilder: $2.NotifyVirtualDaaScoreChangedResponseMessage.create) + ..aOM<$2.VirtualDaaScoreChangedNotificationMessage>(1076, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualDaaScoreChangedNotification', protoName: 'virtualDaaScoreChangedNotification', subBuilder: $2.VirtualDaaScoreChangedNotificationMessage.create) + ..aOM<$2.GetBalanceByAddressRequestMessage>(1077, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBalanceByAddressRequest', protoName: 'getBalanceByAddressRequest', subBuilder: $2.GetBalanceByAddressRequestMessage.create) + ..aOM<$2.GetBalanceByAddressResponseMessage>(1078, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBalanceByAddressResponse', protoName: 'getBalanceByAddressResponse', subBuilder: $2.GetBalanceByAddressResponseMessage.create) + ..aOM<$2.GetBalancesByAddressesRequestMessage>(1079, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBalancesByAddressesRequest', protoName: 'getBalancesByAddressesRequest', subBuilder: $2.GetBalancesByAddressesRequestMessage.create) + ..aOM<$2.GetBalancesByAddressesResponseMessage>(1080, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getBalancesByAddressesResponse', protoName: 'getBalancesByAddressesResponse', subBuilder: $2.GetBalancesByAddressesResponseMessage.create) + ..aOM<$2.NotifyNewBlockTemplateRequestMessage>(1081, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyNewBlockTemplateRequest', protoName: 'notifyNewBlockTemplateRequest', subBuilder: $2.NotifyNewBlockTemplateRequestMessage.create) + ..aOM<$2.NotifyNewBlockTemplateResponseMessage>(1082, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'notifyNewBlockTemplateResponse', protoName: 'notifyNewBlockTemplateResponse', subBuilder: $2.NotifyNewBlockTemplateResponseMessage.create) + ..aOM<$2.NewBlockTemplateNotificationMessage>(1083, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'newBlockTemplateNotification', protoName: 'newBlockTemplateNotification', subBuilder: $2.NewBlockTemplateNotificationMessage.create) + ..aOM<$2.GetMempoolEntriesByAddressesRequestMessage>(1084, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getMempoolEntriesByAddressesRequest', protoName: 'getMempoolEntriesByAddressesRequest', subBuilder: $2.GetMempoolEntriesByAddressesRequestMessage.create) + ..aOM<$2.GetMempoolEntriesByAddressesResponseMessage>(1085, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getMempoolEntriesByAddressesResponse', protoName: 'getMempoolEntriesByAddressesResponse', subBuilder: $2.GetMempoolEntriesByAddressesResponseMessage.create) + ..aOM<$2.GetCoinSupplyRequestMessage>(1086, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getCoinSupplyRequest', protoName: 'getCoinSupplyRequest', subBuilder: $2.GetCoinSupplyRequestMessage.create) + ..aOM<$2.GetCoinSupplyResponseMessage>(1087, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'getCoinSupplyResponse', protoName: 'getCoinSupplyResponse', subBuilder: $2.GetCoinSupplyResponseMessage.create) + ..hasRequiredFields = false + ; SpectredMessage._() : super(); factory SpectredMessage({ @@ -1367,15 +438,12 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.UnexpectedPruningPointMessage? unexpectedPruningPoint, $1.IbdBlockLocatorMessage? ibdBlockLocator, $1.IbdBlockLocatorHighestHashMessage? ibdBlockLocatorHighestHash, - $1.RequestNextPruningPointUtxoSetChunkMessage? - requestNextPruningPointUtxoSetChunk, + $1.RequestNextPruningPointUtxoSetChunkMessage? requestNextPruningPointUtxoSetChunk, $1.DonePruningPointUtxoSetChunksMessage? donePruningPointUtxoSetChunks, - $1.IbdBlockLocatorHighestHashNotFoundMessage? - ibdBlockLocatorHighestHashNotFound, + $1.IbdBlockLocatorHighestHashNotFoundMessage? ibdBlockLocatorHighestHashNotFound, $1.BlockWithTrustedDataMessage? blockWithTrustedData, $1.DoneBlocksWithTrustedDataMessage? doneBlocksWithTrustedData, - $1.RequestPruningPointAndItsAnticoneMessage? - requestPruningPointAndItsAnticone, + $1.RequestPruningPointAndItsAnticoneMessage? requestPruningPointAndItsAnticone, $1.BlockHeadersMessage? blockHeaders, $1.RequestNextHeadersMessage? requestNextHeaders, $1.DoneHeadersMessage? doneHeaders, @@ -1391,8 +459,7 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.RequestIBDChainBlockLocatorMessage? requestIBDChainBlockLocator, $1.IbdChainBlockLocatorMessage? ibdChainBlockLocator, $1.RequestAnticoneMessage? requestAnticone, - $1.RequestNextPruningPointAndItsAnticoneBlocksMessage? - requestNextPruningPointAndItsAnticoneBlocks, + $1.RequestNextPruningPointAndItsAnticoneBlocksMessage? requestNextPruningPointAndItsAnticoneBlocks, $2.GetCurrentNetworkRequestMessage? getCurrentNetworkRequest, $2.GetCurrentNetworkResponseMessage? getCurrentNetworkResponse, $2.SubmitBlockRequestMessage? submitBlockRequest, @@ -1414,20 +481,15 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.AddPeerResponseMessage? addPeerResponse, $2.SubmitTransactionRequestMessage? submitTransactionRequest, $2.SubmitTransactionResponseMessage? submitTransactionResponse, - $2.NotifyVirtualSelectedParentChainChangedRequestMessage? - notifyVirtualSelectedParentChainChangedRequest, - $2.NotifyVirtualSelectedParentChainChangedResponseMessage? - notifyVirtualSelectedParentChainChangedResponse, - $2.VirtualSelectedParentChainChangedNotificationMessage? - virtualSelectedParentChainChangedNotification, + $2.NotifyVirtualSelectedParentChainChangedRequestMessage? notifyVirtualSelectedParentChainChangedRequest, + $2.NotifyVirtualSelectedParentChainChangedResponseMessage? notifyVirtualSelectedParentChainChangedResponse, + $2.VirtualSelectedParentChainChangedNotificationMessage? virtualSelectedParentChainChangedNotification, $2.GetBlockRequestMessage? getBlockRequest, $2.GetBlockResponseMessage? getBlockResponse, $2.GetSubnetworkRequestMessage? getSubnetworkRequest, $2.GetSubnetworkResponseMessage? getSubnetworkResponse, - $2.GetVirtualSelectedParentChainFromBlockRequestMessage? - getVirtualSelectedParentChainFromBlockRequest, - $2.GetVirtualSelectedParentChainFromBlockResponseMessage? - getVirtualSelectedParentChainFromBlockResponse, + $2.GetVirtualSelectedParentChainFromBlockRequestMessage? getVirtualSelectedParentChainFromBlockRequest, + $2.GetVirtualSelectedParentChainFromBlockResponseMessage? getVirtualSelectedParentChainFromBlockResponse, $2.GetBlocksRequestMessage? getBlocksRequest, $2.GetBlocksResponseMessage? getBlocksResponse, $2.GetBlockCountRequestMessage? getBlockCountRequest, @@ -1439,8 +501,7 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.NotifyFinalityConflictsRequestMessage? notifyFinalityConflictsRequest, $2.NotifyFinalityConflictsResponseMessage? notifyFinalityConflictsResponse, $2.FinalityConflictNotificationMessage? finalityConflictNotification, - $2.FinalityConflictResolvedNotificationMessage? - finalityConflictResolvedNotification, + $2.FinalityConflictResolvedNotificationMessage? finalityConflictResolvedNotification, $2.GetMempoolEntriesRequestMessage? getMempoolEntriesRequest, $2.GetMempoolEntriesResponseMessage? getMempoolEntriesResponse, $2.ShutDownRequestMessage? shutDownRequest, @@ -1452,46 +513,29 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.UtxosChangedNotificationMessage? utxosChangedNotification, $2.GetUtxosByAddressesRequestMessage? getUtxosByAddressesRequest, $2.GetUtxosByAddressesResponseMessage? getUtxosByAddressesResponse, - $2.GetVirtualSelectedParentBlueScoreRequestMessage? - getVirtualSelectedParentBlueScoreRequest, - $2.GetVirtualSelectedParentBlueScoreResponseMessage? - getVirtualSelectedParentBlueScoreResponse, - $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage? - notifyVirtualSelectedParentBlueScoreChangedRequest, - $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage? - notifyVirtualSelectedParentBlueScoreChangedResponse, - $2.VirtualSelectedParentBlueScoreChangedNotificationMessage? - virtualSelectedParentBlueScoreChangedNotification, + $2.GetVirtualSelectedParentBlueScoreRequestMessage? getVirtualSelectedParentBlueScoreRequest, + $2.GetVirtualSelectedParentBlueScoreResponseMessage? getVirtualSelectedParentBlueScoreResponse, + $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage? notifyVirtualSelectedParentBlueScoreChangedRequest, + $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage? notifyVirtualSelectedParentBlueScoreChangedResponse, + $2.VirtualSelectedParentBlueScoreChangedNotificationMessage? virtualSelectedParentBlueScoreChangedNotification, $2.BanRequestMessage? banRequest, $2.BanResponseMessage? banResponse, $2.UnbanRequestMessage? unbanRequest, $2.UnbanResponseMessage? unbanResponse, $2.GetInfoRequestMessage? getInfoRequest, $2.GetInfoResponseMessage? getInfoResponse, - $2.StopNotifyingUtxosChangedRequestMessage? - stopNotifyingUtxosChangedRequest, - $2.StopNotifyingUtxosChangedResponseMessage? - stopNotifyingUtxosChangedResponse, - $2.NotifyPruningPointUTXOSetOverrideRequestMessage? - notifyPruningPointUTXOSetOverrideRequest, - $2.NotifyPruningPointUTXOSetOverrideResponseMessage? - notifyPruningPointUTXOSetOverrideResponse, - $2.PruningPointUTXOSetOverrideNotificationMessage? - pruningPointUTXOSetOverrideNotification, - $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage? - stopNotifyingPruningPointUTXOSetOverrideRequest, - $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage? - stopNotifyingPruningPointUTXOSetOverrideResponse, - $2.EstimateNetworkHashesPerSecondRequestMessage? - estimateNetworkHashesPerSecondRequest, - $2.EstimateNetworkHashesPerSecondResponseMessage? - estimateNetworkHashesPerSecondResponse, - $2.NotifyVirtualDaaScoreChangedRequestMessage? - notifyVirtualDaaScoreChangedRequest, - $2.NotifyVirtualDaaScoreChangedResponseMessage? - notifyVirtualDaaScoreChangedResponse, - $2.VirtualDaaScoreChangedNotificationMessage? - virtualDaaScoreChangedNotification, + $2.StopNotifyingUtxosChangedRequestMessage? stopNotifyingUtxosChangedRequest, + $2.StopNotifyingUtxosChangedResponseMessage? stopNotifyingUtxosChangedResponse, + $2.NotifyPruningPointUTXOSetOverrideRequestMessage? notifyPruningPointUTXOSetOverrideRequest, + $2.NotifyPruningPointUTXOSetOverrideResponseMessage? notifyPruningPointUTXOSetOverrideResponse, + $2.PruningPointUTXOSetOverrideNotificationMessage? pruningPointUTXOSetOverrideNotification, + $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage? stopNotifyingPruningPointUTXOSetOverrideRequest, + $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage? stopNotifyingPruningPointUTXOSetOverrideResponse, + $2.EstimateNetworkHashesPerSecondRequestMessage? estimateNetworkHashesPerSecondRequest, + $2.EstimateNetworkHashesPerSecondResponseMessage? estimateNetworkHashesPerSecondResponse, + $2.NotifyVirtualDaaScoreChangedRequestMessage? notifyVirtualDaaScoreChangedRequest, + $2.NotifyVirtualDaaScoreChangedResponseMessage? notifyVirtualDaaScoreChangedResponse, + $2.VirtualDaaScoreChangedNotificationMessage? virtualDaaScoreChangedNotification, $2.GetBalanceByAddressRequestMessage? getBalanceByAddressRequest, $2.GetBalanceByAddressResponseMessage? getBalanceByAddressResponse, $2.GetBalancesByAddressesRequestMessage? getBalancesByAddressesRequest, @@ -1499,10 +543,8 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.NotifyNewBlockTemplateRequestMessage? notifyNewBlockTemplateRequest, $2.NotifyNewBlockTemplateResponseMessage? notifyNewBlockTemplateResponse, $2.NewBlockTemplateNotificationMessage? newBlockTemplateNotification, - $2.GetMempoolEntriesByAddressesRequestMessage? - getMempoolEntriesByAddressesRequest, - $2.GetMempoolEntriesByAddressesResponseMessage? - getMempoolEntriesByAddressesResponse, + $2.GetMempoolEntriesByAddressesRequestMessage? getMempoolEntriesByAddressesRequest, + $2.GetMempoolEntriesByAddressesResponseMessage? getMempoolEntriesByAddressesResponse, $2.GetCoinSupplyRequestMessage? getCoinSupplyRequest, $2.GetCoinSupplyResponseMessage? getCoinSupplyResponse, }) { @@ -1571,15 +613,13 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.ibdBlockLocatorHighestHash = ibdBlockLocatorHighestHash; } if (requestNextPruningPointUtxoSetChunk != null) { - _result.requestNextPruningPointUtxoSetChunk = - requestNextPruningPointUtxoSetChunk; + _result.requestNextPruningPointUtxoSetChunk = requestNextPruningPointUtxoSetChunk; } if (donePruningPointUtxoSetChunks != null) { _result.donePruningPointUtxoSetChunks = donePruningPointUtxoSetChunks; } if (ibdBlockLocatorHighestHashNotFound != null) { - _result.ibdBlockLocatorHighestHashNotFound = - ibdBlockLocatorHighestHashNotFound; + _result.ibdBlockLocatorHighestHashNotFound = ibdBlockLocatorHighestHashNotFound; } if (blockWithTrustedData != null) { _result.blockWithTrustedData = blockWithTrustedData; @@ -1588,8 +628,7 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.doneBlocksWithTrustedData = doneBlocksWithTrustedData; } if (requestPruningPointAndItsAnticone != null) { - _result.requestPruningPointAndItsAnticone = - requestPruningPointAndItsAnticone; + _result.requestPruningPointAndItsAnticone = requestPruningPointAndItsAnticone; } if (blockHeaders != null) { _result.blockHeaders = blockHeaders; @@ -1637,8 +676,7 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.requestAnticone = requestAnticone; } if (requestNextPruningPointAndItsAnticoneBlocks != null) { - _result.requestNextPruningPointAndItsAnticoneBlocks = - requestNextPruningPointAndItsAnticoneBlocks; + _result.requestNextPruningPointAndItsAnticoneBlocks = requestNextPruningPointAndItsAnticoneBlocks; } if (getCurrentNetworkRequest != null) { _result.getCurrentNetworkRequest = getCurrentNetworkRequest; @@ -1704,16 +742,13 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.submitTransactionResponse = submitTransactionResponse; } if (notifyVirtualSelectedParentChainChangedRequest != null) { - _result.notifyVirtualSelectedParentChainChangedRequest = - notifyVirtualSelectedParentChainChangedRequest; + _result.notifyVirtualSelectedParentChainChangedRequest = notifyVirtualSelectedParentChainChangedRequest; } if (notifyVirtualSelectedParentChainChangedResponse != null) { - _result.notifyVirtualSelectedParentChainChangedResponse = - notifyVirtualSelectedParentChainChangedResponse; + _result.notifyVirtualSelectedParentChainChangedResponse = notifyVirtualSelectedParentChainChangedResponse; } if (virtualSelectedParentChainChangedNotification != null) { - _result.virtualSelectedParentChainChangedNotification = - virtualSelectedParentChainChangedNotification; + _result.virtualSelectedParentChainChangedNotification = virtualSelectedParentChainChangedNotification; } if (getBlockRequest != null) { _result.getBlockRequest = getBlockRequest; @@ -1728,12 +763,10 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.getSubnetworkResponse = getSubnetworkResponse; } if (getVirtualSelectedParentChainFromBlockRequest != null) { - _result.getVirtualSelectedParentChainFromBlockRequest = - getVirtualSelectedParentChainFromBlockRequest; + _result.getVirtualSelectedParentChainFromBlockRequest = getVirtualSelectedParentChainFromBlockRequest; } if (getVirtualSelectedParentChainFromBlockResponse != null) { - _result.getVirtualSelectedParentChainFromBlockResponse = - getVirtualSelectedParentChainFromBlockResponse; + _result.getVirtualSelectedParentChainFromBlockResponse = getVirtualSelectedParentChainFromBlockResponse; } if (getBlocksRequest != null) { _result.getBlocksRequest = getBlocksRequest; @@ -1769,8 +802,7 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.finalityConflictNotification = finalityConflictNotification; } if (finalityConflictResolvedNotification != null) { - _result.finalityConflictResolvedNotification = - finalityConflictResolvedNotification; + _result.finalityConflictResolvedNotification = finalityConflictResolvedNotification; } if (getMempoolEntriesRequest != null) { _result.getMempoolEntriesRequest = getMempoolEntriesRequest; @@ -1806,24 +838,19 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.getUtxosByAddressesResponse = getUtxosByAddressesResponse; } if (getVirtualSelectedParentBlueScoreRequest != null) { - _result.getVirtualSelectedParentBlueScoreRequest = - getVirtualSelectedParentBlueScoreRequest; + _result.getVirtualSelectedParentBlueScoreRequest = getVirtualSelectedParentBlueScoreRequest; } if (getVirtualSelectedParentBlueScoreResponse != null) { - _result.getVirtualSelectedParentBlueScoreResponse = - getVirtualSelectedParentBlueScoreResponse; + _result.getVirtualSelectedParentBlueScoreResponse = getVirtualSelectedParentBlueScoreResponse; } if (notifyVirtualSelectedParentBlueScoreChangedRequest != null) { - _result.notifyVirtualSelectedParentBlueScoreChangedRequest = - notifyVirtualSelectedParentBlueScoreChangedRequest; + _result.notifyVirtualSelectedParentBlueScoreChangedRequest = notifyVirtualSelectedParentBlueScoreChangedRequest; } if (notifyVirtualSelectedParentBlueScoreChangedResponse != null) { - _result.notifyVirtualSelectedParentBlueScoreChangedResponse = - notifyVirtualSelectedParentBlueScoreChangedResponse; + _result.notifyVirtualSelectedParentBlueScoreChangedResponse = notifyVirtualSelectedParentBlueScoreChangedResponse; } if (virtualSelectedParentBlueScoreChangedNotification != null) { - _result.virtualSelectedParentBlueScoreChangedNotification = - virtualSelectedParentBlueScoreChangedNotification; + _result.virtualSelectedParentBlueScoreChangedNotification = virtualSelectedParentBlueScoreChangedNotification; } if (banRequest != null) { _result.banRequest = banRequest; @@ -1844,52 +871,40 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.getInfoResponse = getInfoResponse; } if (stopNotifyingUtxosChangedRequest != null) { - _result.stopNotifyingUtxosChangedRequest = - stopNotifyingUtxosChangedRequest; + _result.stopNotifyingUtxosChangedRequest = stopNotifyingUtxosChangedRequest; } if (stopNotifyingUtxosChangedResponse != null) { - _result.stopNotifyingUtxosChangedResponse = - stopNotifyingUtxosChangedResponse; + _result.stopNotifyingUtxosChangedResponse = stopNotifyingUtxosChangedResponse; } if (notifyPruningPointUTXOSetOverrideRequest != null) { - _result.notifyPruningPointUTXOSetOverrideRequest = - notifyPruningPointUTXOSetOverrideRequest; + _result.notifyPruningPointUTXOSetOverrideRequest = notifyPruningPointUTXOSetOverrideRequest; } if (notifyPruningPointUTXOSetOverrideResponse != null) { - _result.notifyPruningPointUTXOSetOverrideResponse = - notifyPruningPointUTXOSetOverrideResponse; + _result.notifyPruningPointUTXOSetOverrideResponse = notifyPruningPointUTXOSetOverrideResponse; } if (pruningPointUTXOSetOverrideNotification != null) { - _result.pruningPointUTXOSetOverrideNotification = - pruningPointUTXOSetOverrideNotification; + _result.pruningPointUTXOSetOverrideNotification = pruningPointUTXOSetOverrideNotification; } if (stopNotifyingPruningPointUTXOSetOverrideRequest != null) { - _result.stopNotifyingPruningPointUTXOSetOverrideRequest = - stopNotifyingPruningPointUTXOSetOverrideRequest; + _result.stopNotifyingPruningPointUTXOSetOverrideRequest = stopNotifyingPruningPointUTXOSetOverrideRequest; } if (stopNotifyingPruningPointUTXOSetOverrideResponse != null) { - _result.stopNotifyingPruningPointUTXOSetOverrideResponse = - stopNotifyingPruningPointUTXOSetOverrideResponse; + _result.stopNotifyingPruningPointUTXOSetOverrideResponse = stopNotifyingPruningPointUTXOSetOverrideResponse; } if (estimateNetworkHashesPerSecondRequest != null) { - _result.estimateNetworkHashesPerSecondRequest = - estimateNetworkHashesPerSecondRequest; + _result.estimateNetworkHashesPerSecondRequest = estimateNetworkHashesPerSecondRequest; } if (estimateNetworkHashesPerSecondResponse != null) { - _result.estimateNetworkHashesPerSecondResponse = - estimateNetworkHashesPerSecondResponse; + _result.estimateNetworkHashesPerSecondResponse = estimateNetworkHashesPerSecondResponse; } if (notifyVirtualDaaScoreChangedRequest != null) { - _result.notifyVirtualDaaScoreChangedRequest = - notifyVirtualDaaScoreChangedRequest; + _result.notifyVirtualDaaScoreChangedRequest = notifyVirtualDaaScoreChangedRequest; } if (notifyVirtualDaaScoreChangedResponse != null) { - _result.notifyVirtualDaaScoreChangedResponse = - notifyVirtualDaaScoreChangedResponse; + _result.notifyVirtualDaaScoreChangedResponse = notifyVirtualDaaScoreChangedResponse; } if (virtualDaaScoreChangedNotification != null) { - _result.virtualDaaScoreChangedNotification = - virtualDaaScoreChangedNotification; + _result.virtualDaaScoreChangedNotification = virtualDaaScoreChangedNotification; } if (getBalanceByAddressRequest != null) { _result.getBalanceByAddressRequest = getBalanceByAddressRequest; @@ -1913,12 +928,10 @@ class SpectredMessage extends $pb.GeneratedMessage { _result.newBlockTemplateNotification = newBlockTemplateNotification; } if (getMempoolEntriesByAddressesRequest != null) { - _result.getMempoolEntriesByAddressesRequest = - getMempoolEntriesByAddressesRequest; + _result.getMempoolEntriesByAddressesRequest = getMempoolEntriesByAddressesRequest; } if (getMempoolEntriesByAddressesResponse != null) { - _result.getMempoolEntriesByAddressesResponse = - getMempoolEntriesByAddressesResponse; + _result.getMempoolEntriesByAddressesResponse = getMempoolEntriesByAddressesResponse; } if (getCoinSupplyRequest != null) { _result.getCoinSupplyRequest = getCoinSupplyRequest; @@ -1928,44 +941,34 @@ class SpectredMessage extends $pb.GeneratedMessage { } return _result; } - factory SpectredMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SpectredMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory SpectredMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SpectredMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SpectredMessage clone() => SpectredMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SpectredMessage copyWith(void Function(SpectredMessage) updates) => - super.copyWith((message) => updates(message as SpectredMessage)) - as SpectredMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SpectredMessage copyWith(void Function(SpectredMessage) updates) => super.copyWith((message) => updates(message as SpectredMessage)) as SpectredMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SpectredMessage create() => SpectredMessage._(); SpectredMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SpectredMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SpectredMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SpectredMessage? _defaultInstance; - SpectredMessage_Payload whichPayload() => - _SpectredMessage_PayloadByTag[$_whichOneof(0)]!; + SpectredMessage_Payload whichPayload() => _SpectredMessage_PayloadByTag[$_whichOneof(0)]!; void clearPayload() => clearField($_whichOneof(0)); @$pb.TagNumber(1) $1.AddressesMessage get addresses => $_getN(0); @$pb.TagNumber(1) - set addresses($1.AddressesMessage v) { - setField(1, v); - } - + set addresses($1.AddressesMessage v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasAddresses() => $_has(0); @$pb.TagNumber(1) @@ -1976,10 +979,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.BlockMessage get block => $_getN(1); @$pb.TagNumber(2) - set block($1.BlockMessage v) { - setField(2, v); - } - + set block($1.BlockMessage v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasBlock() => $_has(1); @$pb.TagNumber(2) @@ -1990,10 +990,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $1.TransactionMessage get transaction => $_getN(2); @$pb.TagNumber(3) - set transaction($1.TransactionMessage v) { - setField(3, v); - } - + set transaction($1.TransactionMessage v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTransaction() => $_has(2); @$pb.TagNumber(3) @@ -2004,10 +1001,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(5) $1.BlockLocatorMessage get blockLocator => $_getN(3); @$pb.TagNumber(5) - set blockLocator($1.BlockLocatorMessage v) { - setField(5, v); - } - + set blockLocator($1.BlockLocatorMessage v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasBlockLocator() => $_has(3); @$pb.TagNumber(5) @@ -2018,10 +1012,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(6) $1.RequestAddressesMessage get requestAddresses => $_getN(4); @$pb.TagNumber(6) - set requestAddresses($1.RequestAddressesMessage v) { - setField(6, v); - } - + set requestAddresses($1.RequestAddressesMessage v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasRequestAddresses() => $_has(4); @$pb.TagNumber(6) @@ -2032,10 +1023,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(10) $1.RequestRelayBlocksMessage get requestRelayBlocks => $_getN(5); @$pb.TagNumber(10) - set requestRelayBlocks($1.RequestRelayBlocksMessage v) { - setField(10, v); - } - + set requestRelayBlocks($1.RequestRelayBlocksMessage v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasRequestRelayBlocks() => $_has(5); @$pb.TagNumber(10) @@ -2046,10 +1034,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(12) $1.RequestTransactionsMessage get requestTransactions => $_getN(6); @$pb.TagNumber(12) - set requestTransactions($1.RequestTransactionsMessage v) { - setField(12, v); - } - + set requestTransactions($1.RequestTransactionsMessage v) { setField(12, v); } @$pb.TagNumber(12) $core.bool hasRequestTransactions() => $_has(6); @$pb.TagNumber(12) @@ -2060,10 +1045,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(13) $1.BlockMessage get ibdBlock => $_getN(7); @$pb.TagNumber(13) - set ibdBlock($1.BlockMessage v) { - setField(13, v); - } - + set ibdBlock($1.BlockMessage v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasIbdBlock() => $_has(7); @$pb.TagNumber(13) @@ -2074,10 +1056,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(14) $1.InvRelayBlockMessage get invRelayBlock => $_getN(8); @$pb.TagNumber(14) - set invRelayBlock($1.InvRelayBlockMessage v) { - setField(14, v); - } - + set invRelayBlock($1.InvRelayBlockMessage v) { setField(14, v); } @$pb.TagNumber(14) $core.bool hasInvRelayBlock() => $_has(8); @$pb.TagNumber(14) @@ -2088,10 +1067,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(15) $1.InvTransactionsMessage get invTransactions => $_getN(9); @$pb.TagNumber(15) - set invTransactions($1.InvTransactionsMessage v) { - setField(15, v); - } - + set invTransactions($1.InvTransactionsMessage v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasInvTransactions() => $_has(9); @$pb.TagNumber(15) @@ -2102,10 +1078,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(16) $1.PingMessage get ping => $_getN(10); @$pb.TagNumber(16) - set ping($1.PingMessage v) { - setField(16, v); - } - + set ping($1.PingMessage v) { setField(16, v); } @$pb.TagNumber(16) $core.bool hasPing() => $_has(10); @$pb.TagNumber(16) @@ -2116,10 +1089,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(17) $1.PongMessage get pong => $_getN(11); @$pb.TagNumber(17) - set pong($1.PongMessage v) { - setField(17, v); - } - + set pong($1.PongMessage v) { setField(17, v); } @$pb.TagNumber(17) $core.bool hasPong() => $_has(11); @$pb.TagNumber(17) @@ -2130,10 +1100,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(19) $1.VerackMessage get verack => $_getN(12); @$pb.TagNumber(19) - set verack($1.VerackMessage v) { - setField(19, v); - } - + set verack($1.VerackMessage v) { setField(19, v); } @$pb.TagNumber(19) $core.bool hasVerack() => $_has(12); @$pb.TagNumber(19) @@ -2144,10 +1111,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(20) $1.VersionMessage get version => $_getN(13); @$pb.TagNumber(20) - set version($1.VersionMessage v) { - setField(20, v); - } - + set version($1.VersionMessage v) { setField(20, v); } @$pb.TagNumber(20) $core.bool hasVersion() => $_has(13); @$pb.TagNumber(20) @@ -2158,10 +1122,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(21) $1.TransactionNotFoundMessage get transactionNotFound => $_getN(14); @$pb.TagNumber(21) - set transactionNotFound($1.TransactionNotFoundMessage v) { - setField(21, v); - } - + set transactionNotFound($1.TransactionNotFoundMessage v) { setField(21, v); } @$pb.TagNumber(21) $core.bool hasTransactionNotFound() => $_has(14); @$pb.TagNumber(21) @@ -2172,10 +1133,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(22) $1.RejectMessage get reject => $_getN(15); @$pb.TagNumber(22) - set reject($1.RejectMessage v) { - setField(22, v); - } - + set reject($1.RejectMessage v) { setField(22, v); } @$pb.TagNumber(22) $core.bool hasReject() => $_has(15); @$pb.TagNumber(22) @@ -2186,25 +1144,18 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(25) $1.PruningPointUtxoSetChunkMessage get pruningPointUtxoSetChunk => $_getN(16); @$pb.TagNumber(25) - set pruningPointUtxoSetChunk($1.PruningPointUtxoSetChunkMessage v) { - setField(25, v); - } - + set pruningPointUtxoSetChunk($1.PruningPointUtxoSetChunkMessage v) { setField(25, v); } @$pb.TagNumber(25) $core.bool hasPruningPointUtxoSetChunk() => $_has(16); @$pb.TagNumber(25) void clearPruningPointUtxoSetChunk() => clearField(25); @$pb.TagNumber(25) - $1.PruningPointUtxoSetChunkMessage ensurePruningPointUtxoSetChunk() => - $_ensure(16); + $1.PruningPointUtxoSetChunkMessage ensurePruningPointUtxoSetChunk() => $_ensure(16); @$pb.TagNumber(26) $1.RequestIBDBlocksMessage get requestIBDBlocks => $_getN(17); @$pb.TagNumber(26) - set requestIBDBlocks($1.RequestIBDBlocksMessage v) { - setField(26, v); - } - + set requestIBDBlocks($1.RequestIBDBlocksMessage v) { setField(26, v); } @$pb.TagNumber(26) $core.bool hasRequestIBDBlocks() => $_has(17); @$pb.TagNumber(26) @@ -2215,25 +1166,18 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(27) $1.UnexpectedPruningPointMessage get unexpectedPruningPoint => $_getN(18); @$pb.TagNumber(27) - set unexpectedPruningPoint($1.UnexpectedPruningPointMessage v) { - setField(27, v); - } - + set unexpectedPruningPoint($1.UnexpectedPruningPointMessage v) { setField(27, v); } @$pb.TagNumber(27) $core.bool hasUnexpectedPruningPoint() => $_has(18); @$pb.TagNumber(27) void clearUnexpectedPruningPoint() => clearField(27); @$pb.TagNumber(27) - $1.UnexpectedPruningPointMessage ensureUnexpectedPruningPoint() => - $_ensure(18); + $1.UnexpectedPruningPointMessage ensureUnexpectedPruningPoint() => $_ensure(18); @$pb.TagNumber(30) $1.IbdBlockLocatorMessage get ibdBlockLocator => $_getN(19); @$pb.TagNumber(30) - set ibdBlockLocator($1.IbdBlockLocatorMessage v) { - setField(30, v); - } - + set ibdBlockLocator($1.IbdBlockLocatorMessage v) { setField(30, v); } @$pb.TagNumber(30) $core.bool hasIbdBlockLocator() => $_has(19); @$pb.TagNumber(30) @@ -2242,78 +1186,53 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.IbdBlockLocatorMessage ensureIbdBlockLocator() => $_ensure(19); @$pb.TagNumber(31) - $1.IbdBlockLocatorHighestHashMessage get ibdBlockLocatorHighestHash => - $_getN(20); + $1.IbdBlockLocatorHighestHashMessage get ibdBlockLocatorHighestHash => $_getN(20); @$pb.TagNumber(31) - set ibdBlockLocatorHighestHash($1.IbdBlockLocatorHighestHashMessage v) { - setField(31, v); - } - + set ibdBlockLocatorHighestHash($1.IbdBlockLocatorHighestHashMessage v) { setField(31, v); } @$pb.TagNumber(31) $core.bool hasIbdBlockLocatorHighestHash() => $_has(20); @$pb.TagNumber(31) void clearIbdBlockLocatorHighestHash() => clearField(31); @$pb.TagNumber(31) - $1.IbdBlockLocatorHighestHashMessage ensureIbdBlockLocatorHighestHash() => - $_ensure(20); + $1.IbdBlockLocatorHighestHashMessage ensureIbdBlockLocatorHighestHash() => $_ensure(20); @$pb.TagNumber(33) - $1.RequestNextPruningPointUtxoSetChunkMessage - get requestNextPruningPointUtxoSetChunk => $_getN(21); + $1.RequestNextPruningPointUtxoSetChunkMessage get requestNextPruningPointUtxoSetChunk => $_getN(21); @$pb.TagNumber(33) - set requestNextPruningPointUtxoSetChunk( - $1.RequestNextPruningPointUtxoSetChunkMessage v) { - setField(33, v); - } - + set requestNextPruningPointUtxoSetChunk($1.RequestNextPruningPointUtxoSetChunkMessage v) { setField(33, v); } @$pb.TagNumber(33) $core.bool hasRequestNextPruningPointUtxoSetChunk() => $_has(21); @$pb.TagNumber(33) void clearRequestNextPruningPointUtxoSetChunk() => clearField(33); @$pb.TagNumber(33) - $1.RequestNextPruningPointUtxoSetChunkMessage - ensureRequestNextPruningPointUtxoSetChunk() => $_ensure(21); + $1.RequestNextPruningPointUtxoSetChunkMessage ensureRequestNextPruningPointUtxoSetChunk() => $_ensure(21); @$pb.TagNumber(34) - $1.DonePruningPointUtxoSetChunksMessage get donePruningPointUtxoSetChunks => - $_getN(22); + $1.DonePruningPointUtxoSetChunksMessage get donePruningPointUtxoSetChunks => $_getN(22); @$pb.TagNumber(34) - set donePruningPointUtxoSetChunks($1.DonePruningPointUtxoSetChunksMessage v) { - setField(34, v); - } - + set donePruningPointUtxoSetChunks($1.DonePruningPointUtxoSetChunksMessage v) { setField(34, v); } @$pb.TagNumber(34) $core.bool hasDonePruningPointUtxoSetChunks() => $_has(22); @$pb.TagNumber(34) void clearDonePruningPointUtxoSetChunks() => clearField(34); @$pb.TagNumber(34) - $1.DonePruningPointUtxoSetChunksMessage - ensureDonePruningPointUtxoSetChunks() => $_ensure(22); + $1.DonePruningPointUtxoSetChunksMessage ensureDonePruningPointUtxoSetChunks() => $_ensure(22); @$pb.TagNumber(35) - $1.IbdBlockLocatorHighestHashNotFoundMessage - get ibdBlockLocatorHighestHashNotFound => $_getN(23); + $1.IbdBlockLocatorHighestHashNotFoundMessage get ibdBlockLocatorHighestHashNotFound => $_getN(23); @$pb.TagNumber(35) - set ibdBlockLocatorHighestHashNotFound( - $1.IbdBlockLocatorHighestHashNotFoundMessage v) { - setField(35, v); - } - + set ibdBlockLocatorHighestHashNotFound($1.IbdBlockLocatorHighestHashNotFoundMessage v) { setField(35, v); } @$pb.TagNumber(35) $core.bool hasIbdBlockLocatorHighestHashNotFound() => $_has(23); @$pb.TagNumber(35) void clearIbdBlockLocatorHighestHashNotFound() => clearField(35); @$pb.TagNumber(35) - $1.IbdBlockLocatorHighestHashNotFoundMessage - ensureIbdBlockLocatorHighestHashNotFound() => $_ensure(23); + $1.IbdBlockLocatorHighestHashNotFoundMessage ensureIbdBlockLocatorHighestHashNotFound() => $_ensure(23); @$pb.TagNumber(36) $1.BlockWithTrustedDataMessage get blockWithTrustedData => $_getN(24); @$pb.TagNumber(36) - set blockWithTrustedData($1.BlockWithTrustedDataMessage v) { - setField(36, v); - } - + set blockWithTrustedData($1.BlockWithTrustedDataMessage v) { setField(36, v); } @$pb.TagNumber(36) $core.bool hasBlockWithTrustedData() => $_has(24); @$pb.TagNumber(36) @@ -2322,45 +1241,31 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.BlockWithTrustedDataMessage ensureBlockWithTrustedData() => $_ensure(24); @$pb.TagNumber(37) - $1.DoneBlocksWithTrustedDataMessage get doneBlocksWithTrustedData => - $_getN(25); + $1.DoneBlocksWithTrustedDataMessage get doneBlocksWithTrustedData => $_getN(25); @$pb.TagNumber(37) - set doneBlocksWithTrustedData($1.DoneBlocksWithTrustedDataMessage v) { - setField(37, v); - } - + set doneBlocksWithTrustedData($1.DoneBlocksWithTrustedDataMessage v) { setField(37, v); } @$pb.TagNumber(37) $core.bool hasDoneBlocksWithTrustedData() => $_has(25); @$pb.TagNumber(37) void clearDoneBlocksWithTrustedData() => clearField(37); @$pb.TagNumber(37) - $1.DoneBlocksWithTrustedDataMessage ensureDoneBlocksWithTrustedData() => - $_ensure(25); + $1.DoneBlocksWithTrustedDataMessage ensureDoneBlocksWithTrustedData() => $_ensure(25); @$pb.TagNumber(40) - $1.RequestPruningPointAndItsAnticoneMessage - get requestPruningPointAndItsAnticone => $_getN(26); + $1.RequestPruningPointAndItsAnticoneMessage get requestPruningPointAndItsAnticone => $_getN(26); @$pb.TagNumber(40) - set requestPruningPointAndItsAnticone( - $1.RequestPruningPointAndItsAnticoneMessage v) { - setField(40, v); - } - + set requestPruningPointAndItsAnticone($1.RequestPruningPointAndItsAnticoneMessage v) { setField(40, v); } @$pb.TagNumber(40) $core.bool hasRequestPruningPointAndItsAnticone() => $_has(26); @$pb.TagNumber(40) void clearRequestPruningPointAndItsAnticone() => clearField(40); @$pb.TagNumber(40) - $1.RequestPruningPointAndItsAnticoneMessage - ensureRequestPruningPointAndItsAnticone() => $_ensure(26); + $1.RequestPruningPointAndItsAnticoneMessage ensureRequestPruningPointAndItsAnticone() => $_ensure(26); @$pb.TagNumber(41) $1.BlockHeadersMessage get blockHeaders => $_getN(27); @$pb.TagNumber(41) - set blockHeaders($1.BlockHeadersMessage v) { - setField(41, v); - } - + set blockHeaders($1.BlockHeadersMessage v) { setField(41, v); } @$pb.TagNumber(41) $core.bool hasBlockHeaders() => $_has(27); @$pb.TagNumber(41) @@ -2371,10 +1276,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(42) $1.RequestNextHeadersMessage get requestNextHeaders => $_getN(28); @$pb.TagNumber(42) - set requestNextHeaders($1.RequestNextHeadersMessage v) { - setField(42, v); - } - + set requestNextHeaders($1.RequestNextHeadersMessage v) { setField(42, v); } @$pb.TagNumber(42) $core.bool hasRequestNextHeaders() => $_has(28); @$pb.TagNumber(42) @@ -2385,10 +1287,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(43) $1.DoneHeadersMessage get doneHeaders => $_getN(29); @$pb.TagNumber(43) - set doneHeaders($1.DoneHeadersMessage v) { - setField(43, v); - } - + set doneHeaders($1.DoneHeadersMessage v) { setField(43, v); } @$pb.TagNumber(43) $core.bool hasDoneHeaders() => $_has(29); @$pb.TagNumber(43) @@ -2397,28 +1296,20 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.DoneHeadersMessage ensureDoneHeaders() => $_ensure(29); @$pb.TagNumber(44) - $1.RequestPruningPointUTXOSetMessage get requestPruningPointUTXOSet => - $_getN(30); + $1.RequestPruningPointUTXOSetMessage get requestPruningPointUTXOSet => $_getN(30); @$pb.TagNumber(44) - set requestPruningPointUTXOSet($1.RequestPruningPointUTXOSetMessage v) { - setField(44, v); - } - + set requestPruningPointUTXOSet($1.RequestPruningPointUTXOSetMessage v) { setField(44, v); } @$pb.TagNumber(44) $core.bool hasRequestPruningPointUTXOSet() => $_has(30); @$pb.TagNumber(44) void clearRequestPruningPointUTXOSet() => clearField(44); @$pb.TagNumber(44) - $1.RequestPruningPointUTXOSetMessage ensureRequestPruningPointUTXOSet() => - $_ensure(30); + $1.RequestPruningPointUTXOSetMessage ensureRequestPruningPointUTXOSet() => $_ensure(30); @$pb.TagNumber(45) $1.RequestHeadersMessage get requestHeaders => $_getN(31); @$pb.TagNumber(45) - set requestHeaders($1.RequestHeadersMessage v) { - setField(45, v); - } - + set requestHeaders($1.RequestHeadersMessage v) { setField(45, v); } @$pb.TagNumber(45) $core.bool hasRequestHeaders() => $_has(31); @$pb.TagNumber(45) @@ -2429,10 +1320,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(46) $1.RequestBlockLocatorMessage get requestBlockLocator => $_getN(32); @$pb.TagNumber(46) - set requestBlockLocator($1.RequestBlockLocatorMessage v) { - setField(46, v); - } - + set requestBlockLocator($1.RequestBlockLocatorMessage v) { setField(46, v); } @$pb.TagNumber(46) $core.bool hasRequestBlockLocator() => $_has(32); @$pb.TagNumber(46) @@ -2443,10 +1331,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(47) $1.PruningPointsMessage get pruningPoints => $_getN(33); @$pb.TagNumber(47) - set pruningPoints($1.PruningPointsMessage v) { - setField(47, v); - } - + set pruningPoints($1.PruningPointsMessage v) { setField(47, v); } @$pb.TagNumber(47) $core.bool hasPruningPoints() => $_has(33); @$pb.TagNumber(47) @@ -2457,25 +1342,18 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(48) $1.RequestPruningPointProofMessage get requestPruningPointProof => $_getN(34); @$pb.TagNumber(48) - set requestPruningPointProof($1.RequestPruningPointProofMessage v) { - setField(48, v); - } - + set requestPruningPointProof($1.RequestPruningPointProofMessage v) { setField(48, v); } @$pb.TagNumber(48) $core.bool hasRequestPruningPointProof() => $_has(34); @$pb.TagNumber(48) void clearRequestPruningPointProof() => clearField(48); @$pb.TagNumber(48) - $1.RequestPruningPointProofMessage ensureRequestPruningPointProof() => - $_ensure(34); + $1.RequestPruningPointProofMessage ensureRequestPruningPointProof() => $_ensure(34); @$pb.TagNumber(49) $1.PruningPointProofMessage get pruningPointProof => $_getN(35); @$pb.TagNumber(49) - set pruningPointProof($1.PruningPointProofMessage v) { - setField(49, v); - } - + set pruningPointProof($1.PruningPointProofMessage v) { setField(49, v); } @$pb.TagNumber(49) $core.bool hasPruningPointProof() => $_has(35); @$pb.TagNumber(49) @@ -2486,10 +1364,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(50) $1.ReadyMessage get ready => $_getN(36); @$pb.TagNumber(50) - set ready($1.ReadyMessage v) { - setField(50, v); - } - + set ready($1.ReadyMessage v) { setField(50, v); } @$pb.TagNumber(50) $core.bool hasReady() => $_has(36); @$pb.TagNumber(50) @@ -2500,25 +1375,18 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(51) $1.BlockWithTrustedDataV4Message get blockWithTrustedDataV4 => $_getN(37); @$pb.TagNumber(51) - set blockWithTrustedDataV4($1.BlockWithTrustedDataV4Message v) { - setField(51, v); - } - + set blockWithTrustedDataV4($1.BlockWithTrustedDataV4Message v) { setField(51, v); } @$pb.TagNumber(51) $core.bool hasBlockWithTrustedDataV4() => $_has(37); @$pb.TagNumber(51) void clearBlockWithTrustedDataV4() => clearField(51); @$pb.TagNumber(51) - $1.BlockWithTrustedDataV4Message ensureBlockWithTrustedDataV4() => - $_ensure(37); + $1.BlockWithTrustedDataV4Message ensureBlockWithTrustedDataV4() => $_ensure(37); @$pb.TagNumber(52) $1.TrustedDataMessage get trustedData => $_getN(38); @$pb.TagNumber(52) - set trustedData($1.TrustedDataMessage v) { - setField(52, v); - } - + set trustedData($1.TrustedDataMessage v) { setField(52, v); } @$pb.TagNumber(52) $core.bool hasTrustedData() => $_has(38); @$pb.TagNumber(52) @@ -2527,28 +1395,20 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.TrustedDataMessage ensureTrustedData() => $_ensure(38); @$pb.TagNumber(53) - $1.RequestIBDChainBlockLocatorMessage get requestIBDChainBlockLocator => - $_getN(39); + $1.RequestIBDChainBlockLocatorMessage get requestIBDChainBlockLocator => $_getN(39); @$pb.TagNumber(53) - set requestIBDChainBlockLocator($1.RequestIBDChainBlockLocatorMessage v) { - setField(53, v); - } - + set requestIBDChainBlockLocator($1.RequestIBDChainBlockLocatorMessage v) { setField(53, v); } @$pb.TagNumber(53) $core.bool hasRequestIBDChainBlockLocator() => $_has(39); @$pb.TagNumber(53) void clearRequestIBDChainBlockLocator() => clearField(53); @$pb.TagNumber(53) - $1.RequestIBDChainBlockLocatorMessage ensureRequestIBDChainBlockLocator() => - $_ensure(39); + $1.RequestIBDChainBlockLocatorMessage ensureRequestIBDChainBlockLocator() => $_ensure(39); @$pb.TagNumber(54) $1.IbdChainBlockLocatorMessage get ibdChainBlockLocator => $_getN(40); @$pb.TagNumber(54) - set ibdChainBlockLocator($1.IbdChainBlockLocatorMessage v) { - setField(54, v); - } - + set ibdChainBlockLocator($1.IbdChainBlockLocatorMessage v) { setField(54, v); } @$pb.TagNumber(54) $core.bool hasIbdChainBlockLocator() => $_has(40); @$pb.TagNumber(54) @@ -2559,10 +1419,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(55) $1.RequestAnticoneMessage get requestAnticone => $_getN(41); @$pb.TagNumber(55) - set requestAnticone($1.RequestAnticoneMessage v) { - setField(55, v); - } - + set requestAnticone($1.RequestAnticoneMessage v) { setField(55, v); } @$pb.TagNumber(55) $core.bool hasRequestAnticone() => $_has(41); @$pb.TagNumber(55) @@ -2571,60 +1428,42 @@ class SpectredMessage extends $pb.GeneratedMessage { $1.RequestAnticoneMessage ensureRequestAnticone() => $_ensure(41); @$pb.TagNumber(56) - $1.RequestNextPruningPointAndItsAnticoneBlocksMessage - get requestNextPruningPointAndItsAnticoneBlocks => $_getN(42); + $1.RequestNextPruningPointAndItsAnticoneBlocksMessage get requestNextPruningPointAndItsAnticoneBlocks => $_getN(42); @$pb.TagNumber(56) - set requestNextPruningPointAndItsAnticoneBlocks( - $1.RequestNextPruningPointAndItsAnticoneBlocksMessage v) { - setField(56, v); - } - + set requestNextPruningPointAndItsAnticoneBlocks($1.RequestNextPruningPointAndItsAnticoneBlocksMessage v) { setField(56, v); } @$pb.TagNumber(56) $core.bool hasRequestNextPruningPointAndItsAnticoneBlocks() => $_has(42); @$pb.TagNumber(56) void clearRequestNextPruningPointAndItsAnticoneBlocks() => clearField(56); @$pb.TagNumber(56) - $1.RequestNextPruningPointAndItsAnticoneBlocksMessage - ensureRequestNextPruningPointAndItsAnticoneBlocks() => $_ensure(42); + $1.RequestNextPruningPointAndItsAnticoneBlocksMessage ensureRequestNextPruningPointAndItsAnticoneBlocks() => $_ensure(42); @$pb.TagNumber(1001) $2.GetCurrentNetworkRequestMessage get getCurrentNetworkRequest => $_getN(43); @$pb.TagNumber(1001) - set getCurrentNetworkRequest($2.GetCurrentNetworkRequestMessage v) { - setField(1001, v); - } - + set getCurrentNetworkRequest($2.GetCurrentNetworkRequestMessage v) { setField(1001, v); } @$pb.TagNumber(1001) $core.bool hasGetCurrentNetworkRequest() => $_has(43); @$pb.TagNumber(1001) void clearGetCurrentNetworkRequest() => clearField(1001); @$pb.TagNumber(1001) - $2.GetCurrentNetworkRequestMessage ensureGetCurrentNetworkRequest() => - $_ensure(43); + $2.GetCurrentNetworkRequestMessage ensureGetCurrentNetworkRequest() => $_ensure(43); @$pb.TagNumber(1002) - $2.GetCurrentNetworkResponseMessage get getCurrentNetworkResponse => - $_getN(44); + $2.GetCurrentNetworkResponseMessage get getCurrentNetworkResponse => $_getN(44); @$pb.TagNumber(1002) - set getCurrentNetworkResponse($2.GetCurrentNetworkResponseMessage v) { - setField(1002, v); - } - + set getCurrentNetworkResponse($2.GetCurrentNetworkResponseMessage v) { setField(1002, v); } @$pb.TagNumber(1002) $core.bool hasGetCurrentNetworkResponse() => $_has(44); @$pb.TagNumber(1002) void clearGetCurrentNetworkResponse() => clearField(1002); @$pb.TagNumber(1002) - $2.GetCurrentNetworkResponseMessage ensureGetCurrentNetworkResponse() => - $_ensure(44); + $2.GetCurrentNetworkResponseMessage ensureGetCurrentNetworkResponse() => $_ensure(44); @$pb.TagNumber(1003) $2.SubmitBlockRequestMessage get submitBlockRequest => $_getN(45); @$pb.TagNumber(1003) - set submitBlockRequest($2.SubmitBlockRequestMessage v) { - setField(1003, v); - } - + set submitBlockRequest($2.SubmitBlockRequestMessage v) { setField(1003, v); } @$pb.TagNumber(1003) $core.bool hasSubmitBlockRequest() => $_has(45); @$pb.TagNumber(1003) @@ -2635,10 +1474,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1004) $2.SubmitBlockResponseMessage get submitBlockResponse => $_getN(46); @$pb.TagNumber(1004) - set submitBlockResponse($2.SubmitBlockResponseMessage v) { - setField(1004, v); - } - + set submitBlockResponse($2.SubmitBlockResponseMessage v) { setField(1004, v); } @$pb.TagNumber(1004) $core.bool hasSubmitBlockResponse() => $_has(46); @$pb.TagNumber(1004) @@ -2649,209 +1485,150 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1005) $2.GetBlockTemplateRequestMessage get getBlockTemplateRequest => $_getN(47); @$pb.TagNumber(1005) - set getBlockTemplateRequest($2.GetBlockTemplateRequestMessage v) { - setField(1005, v); - } - + set getBlockTemplateRequest($2.GetBlockTemplateRequestMessage v) { setField(1005, v); } @$pb.TagNumber(1005) $core.bool hasGetBlockTemplateRequest() => $_has(47); @$pb.TagNumber(1005) void clearGetBlockTemplateRequest() => clearField(1005); @$pb.TagNumber(1005) - $2.GetBlockTemplateRequestMessage ensureGetBlockTemplateRequest() => - $_ensure(47); + $2.GetBlockTemplateRequestMessage ensureGetBlockTemplateRequest() => $_ensure(47); @$pb.TagNumber(1006) $2.GetBlockTemplateResponseMessage get getBlockTemplateResponse => $_getN(48); @$pb.TagNumber(1006) - set getBlockTemplateResponse($2.GetBlockTemplateResponseMessage v) { - setField(1006, v); - } - + set getBlockTemplateResponse($2.GetBlockTemplateResponseMessage v) { setField(1006, v); } @$pb.TagNumber(1006) $core.bool hasGetBlockTemplateResponse() => $_has(48); @$pb.TagNumber(1006) void clearGetBlockTemplateResponse() => clearField(1006); @$pb.TagNumber(1006) - $2.GetBlockTemplateResponseMessage ensureGetBlockTemplateResponse() => - $_ensure(48); + $2.GetBlockTemplateResponseMessage ensureGetBlockTemplateResponse() => $_ensure(48); @$pb.TagNumber(1007) $2.NotifyBlockAddedRequestMessage get notifyBlockAddedRequest => $_getN(49); @$pb.TagNumber(1007) - set notifyBlockAddedRequest($2.NotifyBlockAddedRequestMessage v) { - setField(1007, v); - } - + set notifyBlockAddedRequest($2.NotifyBlockAddedRequestMessage v) { setField(1007, v); } @$pb.TagNumber(1007) $core.bool hasNotifyBlockAddedRequest() => $_has(49); @$pb.TagNumber(1007) void clearNotifyBlockAddedRequest() => clearField(1007); @$pb.TagNumber(1007) - $2.NotifyBlockAddedRequestMessage ensureNotifyBlockAddedRequest() => - $_ensure(49); + $2.NotifyBlockAddedRequestMessage ensureNotifyBlockAddedRequest() => $_ensure(49); @$pb.TagNumber(1008) $2.NotifyBlockAddedResponseMessage get notifyBlockAddedResponse => $_getN(50); @$pb.TagNumber(1008) - set notifyBlockAddedResponse($2.NotifyBlockAddedResponseMessage v) { - setField(1008, v); - } - + set notifyBlockAddedResponse($2.NotifyBlockAddedResponseMessage v) { setField(1008, v); } @$pb.TagNumber(1008) $core.bool hasNotifyBlockAddedResponse() => $_has(50); @$pb.TagNumber(1008) void clearNotifyBlockAddedResponse() => clearField(1008); @$pb.TagNumber(1008) - $2.NotifyBlockAddedResponseMessage ensureNotifyBlockAddedResponse() => - $_ensure(50); + $2.NotifyBlockAddedResponseMessage ensureNotifyBlockAddedResponse() => $_ensure(50); @$pb.TagNumber(1009) $2.BlockAddedNotificationMessage get blockAddedNotification => $_getN(51); @$pb.TagNumber(1009) - set blockAddedNotification($2.BlockAddedNotificationMessage v) { - setField(1009, v); - } - + set blockAddedNotification($2.BlockAddedNotificationMessage v) { setField(1009, v); } @$pb.TagNumber(1009) $core.bool hasBlockAddedNotification() => $_has(51); @$pb.TagNumber(1009) void clearBlockAddedNotification() => clearField(1009); @$pb.TagNumber(1009) - $2.BlockAddedNotificationMessage ensureBlockAddedNotification() => - $_ensure(51); + $2.BlockAddedNotificationMessage ensureBlockAddedNotification() => $_ensure(51); @$pb.TagNumber(1010) $2.GetPeerAddressesRequestMessage get getPeerAddressesRequest => $_getN(52); @$pb.TagNumber(1010) - set getPeerAddressesRequest($2.GetPeerAddressesRequestMessage v) { - setField(1010, v); - } - + set getPeerAddressesRequest($2.GetPeerAddressesRequestMessage v) { setField(1010, v); } @$pb.TagNumber(1010) $core.bool hasGetPeerAddressesRequest() => $_has(52); @$pb.TagNumber(1010) void clearGetPeerAddressesRequest() => clearField(1010); @$pb.TagNumber(1010) - $2.GetPeerAddressesRequestMessage ensureGetPeerAddressesRequest() => - $_ensure(52); + $2.GetPeerAddressesRequestMessage ensureGetPeerAddressesRequest() => $_ensure(52); @$pb.TagNumber(1011) $2.GetPeerAddressesResponseMessage get getPeerAddressesResponse => $_getN(53); @$pb.TagNumber(1011) - set getPeerAddressesResponse($2.GetPeerAddressesResponseMessage v) { - setField(1011, v); - } - + set getPeerAddressesResponse($2.GetPeerAddressesResponseMessage v) { setField(1011, v); } @$pb.TagNumber(1011) $core.bool hasGetPeerAddressesResponse() => $_has(53); @$pb.TagNumber(1011) void clearGetPeerAddressesResponse() => clearField(1011); @$pb.TagNumber(1011) - $2.GetPeerAddressesResponseMessage ensureGetPeerAddressesResponse() => - $_ensure(53); + $2.GetPeerAddressesResponseMessage ensureGetPeerAddressesResponse() => $_ensure(53); @$pb.TagNumber(1012) - $2.GetSelectedTipHashRequestMessage get getSelectedTipHashRequest => - $_getN(54); + $2.GetSelectedTipHashRequestMessage get getSelectedTipHashRequest => $_getN(54); @$pb.TagNumber(1012) - set getSelectedTipHashRequest($2.GetSelectedTipHashRequestMessage v) { - setField(1012, v); - } - + set getSelectedTipHashRequest($2.GetSelectedTipHashRequestMessage v) { setField(1012, v); } @$pb.TagNumber(1012) $core.bool hasGetSelectedTipHashRequest() => $_has(54); @$pb.TagNumber(1012) void clearGetSelectedTipHashRequest() => clearField(1012); @$pb.TagNumber(1012) - $2.GetSelectedTipHashRequestMessage ensureGetSelectedTipHashRequest() => - $_ensure(54); + $2.GetSelectedTipHashRequestMessage ensureGetSelectedTipHashRequest() => $_ensure(54); @$pb.TagNumber(1013) - $2.GetSelectedTipHashResponseMessage get getSelectedTipHashResponse => - $_getN(55); + $2.GetSelectedTipHashResponseMessage get getSelectedTipHashResponse => $_getN(55); @$pb.TagNumber(1013) - set getSelectedTipHashResponse($2.GetSelectedTipHashResponseMessage v) { - setField(1013, v); - } - + set getSelectedTipHashResponse($2.GetSelectedTipHashResponseMessage v) { setField(1013, v); } @$pb.TagNumber(1013) $core.bool hasGetSelectedTipHashResponse() => $_has(55); @$pb.TagNumber(1013) void clearGetSelectedTipHashResponse() => clearField(1013); @$pb.TagNumber(1013) - $2.GetSelectedTipHashResponseMessage ensureGetSelectedTipHashResponse() => - $_ensure(55); + $2.GetSelectedTipHashResponseMessage ensureGetSelectedTipHashResponse() => $_ensure(55); @$pb.TagNumber(1014) $2.GetMempoolEntryRequestMessage get getMempoolEntryRequest => $_getN(56); @$pb.TagNumber(1014) - set getMempoolEntryRequest($2.GetMempoolEntryRequestMessage v) { - setField(1014, v); - } - + set getMempoolEntryRequest($2.GetMempoolEntryRequestMessage v) { setField(1014, v); } @$pb.TagNumber(1014) $core.bool hasGetMempoolEntryRequest() => $_has(56); @$pb.TagNumber(1014) void clearGetMempoolEntryRequest() => clearField(1014); @$pb.TagNumber(1014) - $2.GetMempoolEntryRequestMessage ensureGetMempoolEntryRequest() => - $_ensure(56); + $2.GetMempoolEntryRequestMessage ensureGetMempoolEntryRequest() => $_ensure(56); @$pb.TagNumber(1015) $2.GetMempoolEntryResponseMessage get getMempoolEntryResponse => $_getN(57); @$pb.TagNumber(1015) - set getMempoolEntryResponse($2.GetMempoolEntryResponseMessage v) { - setField(1015, v); - } - + set getMempoolEntryResponse($2.GetMempoolEntryResponseMessage v) { setField(1015, v); } @$pb.TagNumber(1015) $core.bool hasGetMempoolEntryResponse() => $_has(57); @$pb.TagNumber(1015) void clearGetMempoolEntryResponse() => clearField(1015); @$pb.TagNumber(1015) - $2.GetMempoolEntryResponseMessage ensureGetMempoolEntryResponse() => - $_ensure(57); + $2.GetMempoolEntryResponseMessage ensureGetMempoolEntryResponse() => $_ensure(57); @$pb.TagNumber(1016) - $2.GetConnectedPeerInfoRequestMessage get getConnectedPeerInfoRequest => - $_getN(58); + $2.GetConnectedPeerInfoRequestMessage get getConnectedPeerInfoRequest => $_getN(58); @$pb.TagNumber(1016) - set getConnectedPeerInfoRequest($2.GetConnectedPeerInfoRequestMessage v) { - setField(1016, v); - } - + set getConnectedPeerInfoRequest($2.GetConnectedPeerInfoRequestMessage v) { setField(1016, v); } @$pb.TagNumber(1016) $core.bool hasGetConnectedPeerInfoRequest() => $_has(58); @$pb.TagNumber(1016) void clearGetConnectedPeerInfoRequest() => clearField(1016); @$pb.TagNumber(1016) - $2.GetConnectedPeerInfoRequestMessage ensureGetConnectedPeerInfoRequest() => - $_ensure(58); + $2.GetConnectedPeerInfoRequestMessage ensureGetConnectedPeerInfoRequest() => $_ensure(58); @$pb.TagNumber(1017) - $2.GetConnectedPeerInfoResponseMessage get getConnectedPeerInfoResponse => - $_getN(59); + $2.GetConnectedPeerInfoResponseMessage get getConnectedPeerInfoResponse => $_getN(59); @$pb.TagNumber(1017) - set getConnectedPeerInfoResponse($2.GetConnectedPeerInfoResponseMessage v) { - setField(1017, v); - } - + set getConnectedPeerInfoResponse($2.GetConnectedPeerInfoResponseMessage v) { setField(1017, v); } @$pb.TagNumber(1017) $core.bool hasGetConnectedPeerInfoResponse() => $_has(59); @$pb.TagNumber(1017) void clearGetConnectedPeerInfoResponse() => clearField(1017); @$pb.TagNumber(1017) - $2.GetConnectedPeerInfoResponseMessage ensureGetConnectedPeerInfoResponse() => - $_ensure(59); + $2.GetConnectedPeerInfoResponseMessage ensureGetConnectedPeerInfoResponse() => $_ensure(59); @$pb.TagNumber(1018) $2.AddPeerRequestMessage get addPeerRequest => $_getN(60); @$pb.TagNumber(1018) - set addPeerRequest($2.AddPeerRequestMessage v) { - setField(1018, v); - } - + set addPeerRequest($2.AddPeerRequestMessage v) { setField(1018, v); } @$pb.TagNumber(1018) $core.bool hasAddPeerRequest() => $_has(60); @$pb.TagNumber(1018) @@ -2862,10 +1639,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1019) $2.AddPeerResponseMessage get addPeerResponse => $_getN(61); @$pb.TagNumber(1019) - set addPeerResponse($2.AddPeerResponseMessage v) { - setField(1019, v); - } - + set addPeerResponse($2.AddPeerResponseMessage v) { setField(1019, v); } @$pb.TagNumber(1019) $core.bool hasAddPeerResponse() => $_has(61); @$pb.TagNumber(1019) @@ -2876,94 +1650,62 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1020) $2.SubmitTransactionRequestMessage get submitTransactionRequest => $_getN(62); @$pb.TagNumber(1020) - set submitTransactionRequest($2.SubmitTransactionRequestMessage v) { - setField(1020, v); - } - + set submitTransactionRequest($2.SubmitTransactionRequestMessage v) { setField(1020, v); } @$pb.TagNumber(1020) $core.bool hasSubmitTransactionRequest() => $_has(62); @$pb.TagNumber(1020) void clearSubmitTransactionRequest() => clearField(1020); @$pb.TagNumber(1020) - $2.SubmitTransactionRequestMessage ensureSubmitTransactionRequest() => - $_ensure(62); + $2.SubmitTransactionRequestMessage ensureSubmitTransactionRequest() => $_ensure(62); @$pb.TagNumber(1021) - $2.SubmitTransactionResponseMessage get submitTransactionResponse => - $_getN(63); + $2.SubmitTransactionResponseMessage get submitTransactionResponse => $_getN(63); @$pb.TagNumber(1021) - set submitTransactionResponse($2.SubmitTransactionResponseMessage v) { - setField(1021, v); - } - + set submitTransactionResponse($2.SubmitTransactionResponseMessage v) { setField(1021, v); } @$pb.TagNumber(1021) $core.bool hasSubmitTransactionResponse() => $_has(63); @$pb.TagNumber(1021) void clearSubmitTransactionResponse() => clearField(1021); @$pb.TagNumber(1021) - $2.SubmitTransactionResponseMessage ensureSubmitTransactionResponse() => - $_ensure(63); + $2.SubmitTransactionResponseMessage ensureSubmitTransactionResponse() => $_ensure(63); @$pb.TagNumber(1022) - $2.NotifyVirtualSelectedParentChainChangedRequestMessage - get notifyVirtualSelectedParentChainChangedRequest => $_getN(64); + $2.NotifyVirtualSelectedParentChainChangedRequestMessage get notifyVirtualSelectedParentChainChangedRequest => $_getN(64); @$pb.TagNumber(1022) - set notifyVirtualSelectedParentChainChangedRequest( - $2.NotifyVirtualSelectedParentChainChangedRequestMessage v) { - setField(1022, v); - } - + set notifyVirtualSelectedParentChainChangedRequest($2.NotifyVirtualSelectedParentChainChangedRequestMessage v) { setField(1022, v); } @$pb.TagNumber(1022) $core.bool hasNotifyVirtualSelectedParentChainChangedRequest() => $_has(64); @$pb.TagNumber(1022) - void clearNotifyVirtualSelectedParentChainChangedRequest() => - clearField(1022); + void clearNotifyVirtualSelectedParentChainChangedRequest() => clearField(1022); @$pb.TagNumber(1022) - $2.NotifyVirtualSelectedParentChainChangedRequestMessage - ensureNotifyVirtualSelectedParentChainChangedRequest() => $_ensure(64); + $2.NotifyVirtualSelectedParentChainChangedRequestMessage ensureNotifyVirtualSelectedParentChainChangedRequest() => $_ensure(64); @$pb.TagNumber(1023) - $2.NotifyVirtualSelectedParentChainChangedResponseMessage - get notifyVirtualSelectedParentChainChangedResponse => $_getN(65); + $2.NotifyVirtualSelectedParentChainChangedResponseMessage get notifyVirtualSelectedParentChainChangedResponse => $_getN(65); @$pb.TagNumber(1023) - set notifyVirtualSelectedParentChainChangedResponse( - $2.NotifyVirtualSelectedParentChainChangedResponseMessage v) { - setField(1023, v); - } - + set notifyVirtualSelectedParentChainChangedResponse($2.NotifyVirtualSelectedParentChainChangedResponseMessage v) { setField(1023, v); } @$pb.TagNumber(1023) $core.bool hasNotifyVirtualSelectedParentChainChangedResponse() => $_has(65); @$pb.TagNumber(1023) - void clearNotifyVirtualSelectedParentChainChangedResponse() => - clearField(1023); + void clearNotifyVirtualSelectedParentChainChangedResponse() => clearField(1023); @$pb.TagNumber(1023) - $2.NotifyVirtualSelectedParentChainChangedResponseMessage - ensureNotifyVirtualSelectedParentChainChangedResponse() => $_ensure(65); + $2.NotifyVirtualSelectedParentChainChangedResponseMessage ensureNotifyVirtualSelectedParentChainChangedResponse() => $_ensure(65); @$pb.TagNumber(1024) - $2.VirtualSelectedParentChainChangedNotificationMessage - get virtualSelectedParentChainChangedNotification => $_getN(66); + $2.VirtualSelectedParentChainChangedNotificationMessage get virtualSelectedParentChainChangedNotification => $_getN(66); @$pb.TagNumber(1024) - set virtualSelectedParentChainChangedNotification( - $2.VirtualSelectedParentChainChangedNotificationMessage v) { - setField(1024, v); - } - + set virtualSelectedParentChainChangedNotification($2.VirtualSelectedParentChainChangedNotificationMessage v) { setField(1024, v); } @$pb.TagNumber(1024) $core.bool hasVirtualSelectedParentChainChangedNotification() => $_has(66); @$pb.TagNumber(1024) void clearVirtualSelectedParentChainChangedNotification() => clearField(1024); @$pb.TagNumber(1024) - $2.VirtualSelectedParentChainChangedNotificationMessage - ensureVirtualSelectedParentChainChangedNotification() => $_ensure(66); + $2.VirtualSelectedParentChainChangedNotificationMessage ensureVirtualSelectedParentChainChangedNotification() => $_ensure(66); @$pb.TagNumber(1025) $2.GetBlockRequestMessage get getBlockRequest => $_getN(67); @$pb.TagNumber(1025) - set getBlockRequest($2.GetBlockRequestMessage v) { - setField(1025, v); - } - + set getBlockRequest($2.GetBlockRequestMessage v) { setField(1025, v); } @$pb.TagNumber(1025) $core.bool hasGetBlockRequest() => $_has(67); @$pb.TagNumber(1025) @@ -2974,10 +1716,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1026) $2.GetBlockResponseMessage get getBlockResponse => $_getN(68); @$pb.TagNumber(1026) - set getBlockResponse($2.GetBlockResponseMessage v) { - setField(1026, v); - } - + set getBlockResponse($2.GetBlockResponseMessage v) { setField(1026, v); } @$pb.TagNumber(1026) $core.bool hasGetBlockResponse() => $_has(68); @$pb.TagNumber(1026) @@ -2988,10 +1727,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1027) $2.GetSubnetworkRequestMessage get getSubnetworkRequest => $_getN(69); @$pb.TagNumber(1027) - set getSubnetworkRequest($2.GetSubnetworkRequestMessage v) { - setField(1027, v); - } - + set getSubnetworkRequest($2.GetSubnetworkRequestMessage v) { setField(1027, v); } @$pb.TagNumber(1027) $core.bool hasGetSubnetworkRequest() => $_has(69); @$pb.TagNumber(1027) @@ -3002,10 +1738,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1028) $2.GetSubnetworkResponseMessage get getSubnetworkResponse => $_getN(70); @$pb.TagNumber(1028) - set getSubnetworkResponse($2.GetSubnetworkResponseMessage v) { - setField(1028, v); - } - + set getSubnetworkResponse($2.GetSubnetworkResponseMessage v) { setField(1028, v); } @$pb.TagNumber(1028) $core.bool hasGetSubnetworkResponse() => $_has(70); @$pb.TagNumber(1028) @@ -3014,47 +1747,31 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.GetSubnetworkResponseMessage ensureGetSubnetworkResponse() => $_ensure(70); @$pb.TagNumber(1029) - $2.GetVirtualSelectedParentChainFromBlockRequestMessage - get getVirtualSelectedParentChainFromBlockRequest => $_getN(71); + $2.GetVirtualSelectedParentChainFromBlockRequestMessage get getVirtualSelectedParentChainFromBlockRequest => $_getN(71); @$pb.TagNumber(1029) - set getVirtualSelectedParentChainFromBlockRequest( - $2.GetVirtualSelectedParentChainFromBlockRequestMessage v) { - setField(1029, v); - } - + set getVirtualSelectedParentChainFromBlockRequest($2.GetVirtualSelectedParentChainFromBlockRequestMessage v) { setField(1029, v); } @$pb.TagNumber(1029) $core.bool hasGetVirtualSelectedParentChainFromBlockRequest() => $_has(71); @$pb.TagNumber(1029) void clearGetVirtualSelectedParentChainFromBlockRequest() => clearField(1029); @$pb.TagNumber(1029) - $2.GetVirtualSelectedParentChainFromBlockRequestMessage - ensureGetVirtualSelectedParentChainFromBlockRequest() => $_ensure(71); + $2.GetVirtualSelectedParentChainFromBlockRequestMessage ensureGetVirtualSelectedParentChainFromBlockRequest() => $_ensure(71); @$pb.TagNumber(1030) - $2.GetVirtualSelectedParentChainFromBlockResponseMessage - get getVirtualSelectedParentChainFromBlockResponse => $_getN(72); + $2.GetVirtualSelectedParentChainFromBlockResponseMessage get getVirtualSelectedParentChainFromBlockResponse => $_getN(72); @$pb.TagNumber(1030) - set getVirtualSelectedParentChainFromBlockResponse( - $2.GetVirtualSelectedParentChainFromBlockResponseMessage v) { - setField(1030, v); - } - + set getVirtualSelectedParentChainFromBlockResponse($2.GetVirtualSelectedParentChainFromBlockResponseMessage v) { setField(1030, v); } @$pb.TagNumber(1030) $core.bool hasGetVirtualSelectedParentChainFromBlockResponse() => $_has(72); @$pb.TagNumber(1030) - void clearGetVirtualSelectedParentChainFromBlockResponse() => - clearField(1030); + void clearGetVirtualSelectedParentChainFromBlockResponse() => clearField(1030); @$pb.TagNumber(1030) - $2.GetVirtualSelectedParentChainFromBlockResponseMessage - ensureGetVirtualSelectedParentChainFromBlockResponse() => $_ensure(72); + $2.GetVirtualSelectedParentChainFromBlockResponseMessage ensureGetVirtualSelectedParentChainFromBlockResponse() => $_ensure(72); @$pb.TagNumber(1031) $2.GetBlocksRequestMessage get getBlocksRequest => $_getN(73); @$pb.TagNumber(1031) - set getBlocksRequest($2.GetBlocksRequestMessage v) { - setField(1031, v); - } - + set getBlocksRequest($2.GetBlocksRequestMessage v) { setField(1031, v); } @$pb.TagNumber(1031) $core.bool hasGetBlocksRequest() => $_has(73); @$pb.TagNumber(1031) @@ -3065,10 +1782,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1032) $2.GetBlocksResponseMessage get getBlocksResponse => $_getN(74); @$pb.TagNumber(1032) - set getBlocksResponse($2.GetBlocksResponseMessage v) { - setField(1032, v); - } - + set getBlocksResponse($2.GetBlocksResponseMessage v) { setField(1032, v); } @$pb.TagNumber(1032) $core.bool hasGetBlocksResponse() => $_has(74); @$pb.TagNumber(1032) @@ -3079,10 +1793,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1033) $2.GetBlockCountRequestMessage get getBlockCountRequest => $_getN(75); @$pb.TagNumber(1033) - set getBlockCountRequest($2.GetBlockCountRequestMessage v) { - setField(1033, v); - } - + set getBlockCountRequest($2.GetBlockCountRequestMessage v) { setField(1033, v); } @$pb.TagNumber(1033) $core.bool hasGetBlockCountRequest() => $_has(75); @$pb.TagNumber(1033) @@ -3093,10 +1804,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1034) $2.GetBlockCountResponseMessage get getBlockCountResponse => $_getN(76); @$pb.TagNumber(1034) - set getBlockCountResponse($2.GetBlockCountResponseMessage v) { - setField(1034, v); - } - + set getBlockCountResponse($2.GetBlockCountResponseMessage v) { setField(1034, v); } @$pb.TagNumber(1034) $core.bool hasGetBlockCountResponse() => $_has(76); @$pb.TagNumber(1034) @@ -3107,172 +1815,117 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1035) $2.GetBlockDagInfoRequestMessage get getBlockDagInfoRequest => $_getN(77); @$pb.TagNumber(1035) - set getBlockDagInfoRequest($2.GetBlockDagInfoRequestMessage v) { - setField(1035, v); - } - + set getBlockDagInfoRequest($2.GetBlockDagInfoRequestMessage v) { setField(1035, v); } @$pb.TagNumber(1035) $core.bool hasGetBlockDagInfoRequest() => $_has(77); @$pb.TagNumber(1035) void clearGetBlockDagInfoRequest() => clearField(1035); @$pb.TagNumber(1035) - $2.GetBlockDagInfoRequestMessage ensureGetBlockDagInfoRequest() => - $_ensure(77); + $2.GetBlockDagInfoRequestMessage ensureGetBlockDagInfoRequest() => $_ensure(77); @$pb.TagNumber(1036) $2.GetBlockDagInfoResponseMessage get getBlockDagInfoResponse => $_getN(78); @$pb.TagNumber(1036) - set getBlockDagInfoResponse($2.GetBlockDagInfoResponseMessage v) { - setField(1036, v); - } - + set getBlockDagInfoResponse($2.GetBlockDagInfoResponseMessage v) { setField(1036, v); } @$pb.TagNumber(1036) $core.bool hasGetBlockDagInfoResponse() => $_has(78); @$pb.TagNumber(1036) void clearGetBlockDagInfoResponse() => clearField(1036); @$pb.TagNumber(1036) - $2.GetBlockDagInfoResponseMessage ensureGetBlockDagInfoResponse() => - $_ensure(78); + $2.GetBlockDagInfoResponseMessage ensureGetBlockDagInfoResponse() => $_ensure(78); @$pb.TagNumber(1037) - $2.ResolveFinalityConflictRequestMessage get resolveFinalityConflictRequest => - $_getN(79); + $2.ResolveFinalityConflictRequestMessage get resolveFinalityConflictRequest => $_getN(79); @$pb.TagNumber(1037) - set resolveFinalityConflictRequest( - $2.ResolveFinalityConflictRequestMessage v) { - setField(1037, v); - } - + set resolveFinalityConflictRequest($2.ResolveFinalityConflictRequestMessage v) { setField(1037, v); } @$pb.TagNumber(1037) $core.bool hasResolveFinalityConflictRequest() => $_has(79); @$pb.TagNumber(1037) void clearResolveFinalityConflictRequest() => clearField(1037); @$pb.TagNumber(1037) - $2.ResolveFinalityConflictRequestMessage - ensureResolveFinalityConflictRequest() => $_ensure(79); + $2.ResolveFinalityConflictRequestMessage ensureResolveFinalityConflictRequest() => $_ensure(79); @$pb.TagNumber(1038) - $2.ResolveFinalityConflictResponseMessage - get resolveFinalityConflictResponse => $_getN(80); + $2.ResolveFinalityConflictResponseMessage get resolveFinalityConflictResponse => $_getN(80); @$pb.TagNumber(1038) - set resolveFinalityConflictResponse( - $2.ResolveFinalityConflictResponseMessage v) { - setField(1038, v); - } - + set resolveFinalityConflictResponse($2.ResolveFinalityConflictResponseMessage v) { setField(1038, v); } @$pb.TagNumber(1038) $core.bool hasResolveFinalityConflictResponse() => $_has(80); @$pb.TagNumber(1038) void clearResolveFinalityConflictResponse() => clearField(1038); @$pb.TagNumber(1038) - $2.ResolveFinalityConflictResponseMessage - ensureResolveFinalityConflictResponse() => $_ensure(80); + $2.ResolveFinalityConflictResponseMessage ensureResolveFinalityConflictResponse() => $_ensure(80); @$pb.TagNumber(1039) - $2.NotifyFinalityConflictsRequestMessage get notifyFinalityConflictsRequest => - $_getN(81); + $2.NotifyFinalityConflictsRequestMessage get notifyFinalityConflictsRequest => $_getN(81); @$pb.TagNumber(1039) - set notifyFinalityConflictsRequest( - $2.NotifyFinalityConflictsRequestMessage v) { - setField(1039, v); - } - + set notifyFinalityConflictsRequest($2.NotifyFinalityConflictsRequestMessage v) { setField(1039, v); } @$pb.TagNumber(1039) $core.bool hasNotifyFinalityConflictsRequest() => $_has(81); @$pb.TagNumber(1039) void clearNotifyFinalityConflictsRequest() => clearField(1039); @$pb.TagNumber(1039) - $2.NotifyFinalityConflictsRequestMessage - ensureNotifyFinalityConflictsRequest() => $_ensure(81); + $2.NotifyFinalityConflictsRequestMessage ensureNotifyFinalityConflictsRequest() => $_ensure(81); @$pb.TagNumber(1040) - $2.NotifyFinalityConflictsResponseMessage - get notifyFinalityConflictsResponse => $_getN(82); + $2.NotifyFinalityConflictsResponseMessage get notifyFinalityConflictsResponse => $_getN(82); @$pb.TagNumber(1040) - set notifyFinalityConflictsResponse( - $2.NotifyFinalityConflictsResponseMessage v) { - setField(1040, v); - } - + set notifyFinalityConflictsResponse($2.NotifyFinalityConflictsResponseMessage v) { setField(1040, v); } @$pb.TagNumber(1040) $core.bool hasNotifyFinalityConflictsResponse() => $_has(82); @$pb.TagNumber(1040) void clearNotifyFinalityConflictsResponse() => clearField(1040); @$pb.TagNumber(1040) - $2.NotifyFinalityConflictsResponseMessage - ensureNotifyFinalityConflictsResponse() => $_ensure(82); + $2.NotifyFinalityConflictsResponseMessage ensureNotifyFinalityConflictsResponse() => $_ensure(82); @$pb.TagNumber(1041) - $2.FinalityConflictNotificationMessage get finalityConflictNotification => - $_getN(83); + $2.FinalityConflictNotificationMessage get finalityConflictNotification => $_getN(83); @$pb.TagNumber(1041) - set finalityConflictNotification($2.FinalityConflictNotificationMessage v) { - setField(1041, v); - } - + set finalityConflictNotification($2.FinalityConflictNotificationMessage v) { setField(1041, v); } @$pb.TagNumber(1041) $core.bool hasFinalityConflictNotification() => $_has(83); @$pb.TagNumber(1041) void clearFinalityConflictNotification() => clearField(1041); @$pb.TagNumber(1041) - $2.FinalityConflictNotificationMessage ensureFinalityConflictNotification() => - $_ensure(83); + $2.FinalityConflictNotificationMessage ensureFinalityConflictNotification() => $_ensure(83); @$pb.TagNumber(1042) - $2.FinalityConflictResolvedNotificationMessage - get finalityConflictResolvedNotification => $_getN(84); + $2.FinalityConflictResolvedNotificationMessage get finalityConflictResolvedNotification => $_getN(84); @$pb.TagNumber(1042) - set finalityConflictResolvedNotification( - $2.FinalityConflictResolvedNotificationMessage v) { - setField(1042, v); - } - + set finalityConflictResolvedNotification($2.FinalityConflictResolvedNotificationMessage v) { setField(1042, v); } @$pb.TagNumber(1042) $core.bool hasFinalityConflictResolvedNotification() => $_has(84); @$pb.TagNumber(1042) void clearFinalityConflictResolvedNotification() => clearField(1042); @$pb.TagNumber(1042) - $2.FinalityConflictResolvedNotificationMessage - ensureFinalityConflictResolvedNotification() => $_ensure(84); + $2.FinalityConflictResolvedNotificationMessage ensureFinalityConflictResolvedNotification() => $_ensure(84); @$pb.TagNumber(1043) $2.GetMempoolEntriesRequestMessage get getMempoolEntriesRequest => $_getN(85); @$pb.TagNumber(1043) - set getMempoolEntriesRequest($2.GetMempoolEntriesRequestMessage v) { - setField(1043, v); - } - + set getMempoolEntriesRequest($2.GetMempoolEntriesRequestMessage v) { setField(1043, v); } @$pb.TagNumber(1043) $core.bool hasGetMempoolEntriesRequest() => $_has(85); @$pb.TagNumber(1043) void clearGetMempoolEntriesRequest() => clearField(1043); @$pb.TagNumber(1043) - $2.GetMempoolEntriesRequestMessage ensureGetMempoolEntriesRequest() => - $_ensure(85); + $2.GetMempoolEntriesRequestMessage ensureGetMempoolEntriesRequest() => $_ensure(85); @$pb.TagNumber(1044) - $2.GetMempoolEntriesResponseMessage get getMempoolEntriesResponse => - $_getN(86); + $2.GetMempoolEntriesResponseMessage get getMempoolEntriesResponse => $_getN(86); @$pb.TagNumber(1044) - set getMempoolEntriesResponse($2.GetMempoolEntriesResponseMessage v) { - setField(1044, v); - } - + set getMempoolEntriesResponse($2.GetMempoolEntriesResponseMessage v) { setField(1044, v); } @$pb.TagNumber(1044) $core.bool hasGetMempoolEntriesResponse() => $_has(86); @$pb.TagNumber(1044) void clearGetMempoolEntriesResponse() => clearField(1044); @$pb.TagNumber(1044) - $2.GetMempoolEntriesResponseMessage ensureGetMempoolEntriesResponse() => - $_ensure(86); + $2.GetMempoolEntriesResponseMessage ensureGetMempoolEntriesResponse() => $_ensure(86); @$pb.TagNumber(1045) $2.ShutDownRequestMessage get shutDownRequest => $_getN(87); @$pb.TagNumber(1045) - set shutDownRequest($2.ShutDownRequestMessage v) { - setField(1045, v); - } - + set shutDownRequest($2.ShutDownRequestMessage v) { setField(1045, v); } @$pb.TagNumber(1045) $core.bool hasShutDownRequest() => $_has(87); @$pb.TagNumber(1045) @@ -3283,10 +1936,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1046) $2.ShutDownResponseMessage get shutDownResponse => $_getN(88); @$pb.TagNumber(1046) - set shutDownResponse($2.ShutDownResponseMessage v) { - setField(1046, v); - } - + set shutDownResponse($2.ShutDownResponseMessage v) { setField(1046, v); } @$pb.TagNumber(1046) $core.bool hasShutDownResponse() => $_has(88); @$pb.TagNumber(1046) @@ -3297,10 +1947,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1047) $2.GetHeadersRequestMessage get getHeadersRequest => $_getN(89); @$pb.TagNumber(1047) - set getHeadersRequest($2.GetHeadersRequestMessage v) { - setField(1047, v); - } - + set getHeadersRequest($2.GetHeadersRequestMessage v) { setField(1047, v); } @$pb.TagNumber(1047) $core.bool hasGetHeadersRequest() => $_has(89); @$pb.TagNumber(1047) @@ -3311,10 +1958,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1048) $2.GetHeadersResponseMessage get getHeadersResponse => $_getN(90); @$pb.TagNumber(1048) - set getHeadersResponse($2.GetHeadersResponseMessage v) { - setField(1048, v); - } - + set getHeadersResponse($2.GetHeadersResponseMessage v) { setField(1048, v); } @$pb.TagNumber(1048) $core.bool hasGetHeadersResponse() => $_has(90); @$pb.TagNumber(1048) @@ -3323,185 +1967,119 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.GetHeadersResponseMessage ensureGetHeadersResponse() => $_ensure(90); @$pb.TagNumber(1049) - $2.NotifyUtxosChangedRequestMessage get notifyUtxosChangedRequest => - $_getN(91); + $2.NotifyUtxosChangedRequestMessage get notifyUtxosChangedRequest => $_getN(91); @$pb.TagNumber(1049) - set notifyUtxosChangedRequest($2.NotifyUtxosChangedRequestMessage v) { - setField(1049, v); - } - + set notifyUtxosChangedRequest($2.NotifyUtxosChangedRequestMessage v) { setField(1049, v); } @$pb.TagNumber(1049) $core.bool hasNotifyUtxosChangedRequest() => $_has(91); @$pb.TagNumber(1049) void clearNotifyUtxosChangedRequest() => clearField(1049); @$pb.TagNumber(1049) - $2.NotifyUtxosChangedRequestMessage ensureNotifyUtxosChangedRequest() => - $_ensure(91); + $2.NotifyUtxosChangedRequestMessage ensureNotifyUtxosChangedRequest() => $_ensure(91); @$pb.TagNumber(1050) - $2.NotifyUtxosChangedResponseMessage get notifyUtxosChangedResponse => - $_getN(92); + $2.NotifyUtxosChangedResponseMessage get notifyUtxosChangedResponse => $_getN(92); @$pb.TagNumber(1050) - set notifyUtxosChangedResponse($2.NotifyUtxosChangedResponseMessage v) { - setField(1050, v); - } - + set notifyUtxosChangedResponse($2.NotifyUtxosChangedResponseMessage v) { setField(1050, v); } @$pb.TagNumber(1050) $core.bool hasNotifyUtxosChangedResponse() => $_has(92); @$pb.TagNumber(1050) void clearNotifyUtxosChangedResponse() => clearField(1050); @$pb.TagNumber(1050) - $2.NotifyUtxosChangedResponseMessage ensureNotifyUtxosChangedResponse() => - $_ensure(92); + $2.NotifyUtxosChangedResponseMessage ensureNotifyUtxosChangedResponse() => $_ensure(92); @$pb.TagNumber(1051) $2.UtxosChangedNotificationMessage get utxosChangedNotification => $_getN(93); @$pb.TagNumber(1051) - set utxosChangedNotification($2.UtxosChangedNotificationMessage v) { - setField(1051, v); - } - + set utxosChangedNotification($2.UtxosChangedNotificationMessage v) { setField(1051, v); } @$pb.TagNumber(1051) $core.bool hasUtxosChangedNotification() => $_has(93); @$pb.TagNumber(1051) void clearUtxosChangedNotification() => clearField(1051); @$pb.TagNumber(1051) - $2.UtxosChangedNotificationMessage ensureUtxosChangedNotification() => - $_ensure(93); + $2.UtxosChangedNotificationMessage ensureUtxosChangedNotification() => $_ensure(93); @$pb.TagNumber(1052) - $2.GetUtxosByAddressesRequestMessage get getUtxosByAddressesRequest => - $_getN(94); + $2.GetUtxosByAddressesRequestMessage get getUtxosByAddressesRequest => $_getN(94); @$pb.TagNumber(1052) - set getUtxosByAddressesRequest($2.GetUtxosByAddressesRequestMessage v) { - setField(1052, v); - } - + set getUtxosByAddressesRequest($2.GetUtxosByAddressesRequestMessage v) { setField(1052, v); } @$pb.TagNumber(1052) $core.bool hasGetUtxosByAddressesRequest() => $_has(94); @$pb.TagNumber(1052) void clearGetUtxosByAddressesRequest() => clearField(1052); @$pb.TagNumber(1052) - $2.GetUtxosByAddressesRequestMessage ensureGetUtxosByAddressesRequest() => - $_ensure(94); + $2.GetUtxosByAddressesRequestMessage ensureGetUtxosByAddressesRequest() => $_ensure(94); @$pb.TagNumber(1053) - $2.GetUtxosByAddressesResponseMessage get getUtxosByAddressesResponse => - $_getN(95); + $2.GetUtxosByAddressesResponseMessage get getUtxosByAddressesResponse => $_getN(95); @$pb.TagNumber(1053) - set getUtxosByAddressesResponse($2.GetUtxosByAddressesResponseMessage v) { - setField(1053, v); - } - + set getUtxosByAddressesResponse($2.GetUtxosByAddressesResponseMessage v) { setField(1053, v); } @$pb.TagNumber(1053) $core.bool hasGetUtxosByAddressesResponse() => $_has(95); @$pb.TagNumber(1053) void clearGetUtxosByAddressesResponse() => clearField(1053); @$pb.TagNumber(1053) - $2.GetUtxosByAddressesResponseMessage ensureGetUtxosByAddressesResponse() => - $_ensure(95); + $2.GetUtxosByAddressesResponseMessage ensureGetUtxosByAddressesResponse() => $_ensure(95); @$pb.TagNumber(1054) - $2.GetVirtualSelectedParentBlueScoreRequestMessage - get getVirtualSelectedParentBlueScoreRequest => $_getN(96); + $2.GetVirtualSelectedParentBlueScoreRequestMessage get getVirtualSelectedParentBlueScoreRequest => $_getN(96); @$pb.TagNumber(1054) - set getVirtualSelectedParentBlueScoreRequest( - $2.GetVirtualSelectedParentBlueScoreRequestMessage v) { - setField(1054, v); - } - + set getVirtualSelectedParentBlueScoreRequest($2.GetVirtualSelectedParentBlueScoreRequestMessage v) { setField(1054, v); } @$pb.TagNumber(1054) $core.bool hasGetVirtualSelectedParentBlueScoreRequest() => $_has(96); @$pb.TagNumber(1054) void clearGetVirtualSelectedParentBlueScoreRequest() => clearField(1054); @$pb.TagNumber(1054) - $2.GetVirtualSelectedParentBlueScoreRequestMessage - ensureGetVirtualSelectedParentBlueScoreRequest() => $_ensure(96); + $2.GetVirtualSelectedParentBlueScoreRequestMessage ensureGetVirtualSelectedParentBlueScoreRequest() => $_ensure(96); @$pb.TagNumber(1055) - $2.GetVirtualSelectedParentBlueScoreResponseMessage - get getVirtualSelectedParentBlueScoreResponse => $_getN(97); + $2.GetVirtualSelectedParentBlueScoreResponseMessage get getVirtualSelectedParentBlueScoreResponse => $_getN(97); @$pb.TagNumber(1055) - set getVirtualSelectedParentBlueScoreResponse( - $2.GetVirtualSelectedParentBlueScoreResponseMessage v) { - setField(1055, v); - } - + set getVirtualSelectedParentBlueScoreResponse($2.GetVirtualSelectedParentBlueScoreResponseMessage v) { setField(1055, v); } @$pb.TagNumber(1055) $core.bool hasGetVirtualSelectedParentBlueScoreResponse() => $_has(97); @$pb.TagNumber(1055) void clearGetVirtualSelectedParentBlueScoreResponse() => clearField(1055); @$pb.TagNumber(1055) - $2.GetVirtualSelectedParentBlueScoreResponseMessage - ensureGetVirtualSelectedParentBlueScoreResponse() => $_ensure(97); + $2.GetVirtualSelectedParentBlueScoreResponseMessage ensureGetVirtualSelectedParentBlueScoreResponse() => $_ensure(97); @$pb.TagNumber(1056) - $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage - get notifyVirtualSelectedParentBlueScoreChangedRequest => $_getN(98); + $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage get notifyVirtualSelectedParentBlueScoreChangedRequest => $_getN(98); @$pb.TagNumber(1056) - set notifyVirtualSelectedParentBlueScoreChangedRequest( - $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage v) { - setField(1056, v); - } - + set notifyVirtualSelectedParentBlueScoreChangedRequest($2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage v) { setField(1056, v); } @$pb.TagNumber(1056) - $core.bool hasNotifyVirtualSelectedParentBlueScoreChangedRequest() => - $_has(98); + $core.bool hasNotifyVirtualSelectedParentBlueScoreChangedRequest() => $_has(98); @$pb.TagNumber(1056) - void clearNotifyVirtualSelectedParentBlueScoreChangedRequest() => - clearField(1056); + void clearNotifyVirtualSelectedParentBlueScoreChangedRequest() => clearField(1056); @$pb.TagNumber(1056) - $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage - ensureNotifyVirtualSelectedParentBlueScoreChangedRequest() => - $_ensure(98); + $2.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage ensureNotifyVirtualSelectedParentBlueScoreChangedRequest() => $_ensure(98); @$pb.TagNumber(1057) - $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage - get notifyVirtualSelectedParentBlueScoreChangedResponse => $_getN(99); + $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage get notifyVirtualSelectedParentBlueScoreChangedResponse => $_getN(99); @$pb.TagNumber(1057) - set notifyVirtualSelectedParentBlueScoreChangedResponse( - $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage v) { - setField(1057, v); - } - + set notifyVirtualSelectedParentBlueScoreChangedResponse($2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage v) { setField(1057, v); } @$pb.TagNumber(1057) - $core.bool hasNotifyVirtualSelectedParentBlueScoreChangedResponse() => - $_has(99); + $core.bool hasNotifyVirtualSelectedParentBlueScoreChangedResponse() => $_has(99); @$pb.TagNumber(1057) - void clearNotifyVirtualSelectedParentBlueScoreChangedResponse() => - clearField(1057); + void clearNotifyVirtualSelectedParentBlueScoreChangedResponse() => clearField(1057); @$pb.TagNumber(1057) - $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage - ensureNotifyVirtualSelectedParentBlueScoreChangedResponse() => - $_ensure(99); + $2.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage ensureNotifyVirtualSelectedParentBlueScoreChangedResponse() => $_ensure(99); @$pb.TagNumber(1058) - $2.VirtualSelectedParentBlueScoreChangedNotificationMessage - get virtualSelectedParentBlueScoreChangedNotification => $_getN(100); + $2.VirtualSelectedParentBlueScoreChangedNotificationMessage get virtualSelectedParentBlueScoreChangedNotification => $_getN(100); @$pb.TagNumber(1058) - set virtualSelectedParentBlueScoreChangedNotification( - $2.VirtualSelectedParentBlueScoreChangedNotificationMessage v) { - setField(1058, v); - } - + set virtualSelectedParentBlueScoreChangedNotification($2.VirtualSelectedParentBlueScoreChangedNotificationMessage v) { setField(1058, v); } @$pb.TagNumber(1058) - $core.bool hasVirtualSelectedParentBlueScoreChangedNotification() => - $_has(100); + $core.bool hasVirtualSelectedParentBlueScoreChangedNotification() => $_has(100); @$pb.TagNumber(1058) - void clearVirtualSelectedParentBlueScoreChangedNotification() => - clearField(1058); + void clearVirtualSelectedParentBlueScoreChangedNotification() => clearField(1058); @$pb.TagNumber(1058) - $2.VirtualSelectedParentBlueScoreChangedNotificationMessage - ensureVirtualSelectedParentBlueScoreChangedNotification() => - $_ensure(100); + $2.VirtualSelectedParentBlueScoreChangedNotificationMessage ensureVirtualSelectedParentBlueScoreChangedNotification() => $_ensure(100); @$pb.TagNumber(1059) $2.BanRequestMessage get banRequest => $_getN(101); @$pb.TagNumber(1059) - set banRequest($2.BanRequestMessage v) { - setField(1059, v); - } - + set banRequest($2.BanRequestMessage v) { setField(1059, v); } @$pb.TagNumber(1059) $core.bool hasBanRequest() => $_has(101); @$pb.TagNumber(1059) @@ -3512,10 +2090,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1060) $2.BanResponseMessage get banResponse => $_getN(102); @$pb.TagNumber(1060) - set banResponse($2.BanResponseMessage v) { - setField(1060, v); - } - + set banResponse($2.BanResponseMessage v) { setField(1060, v); } @$pb.TagNumber(1060) $core.bool hasBanResponse() => $_has(102); @$pb.TagNumber(1060) @@ -3526,10 +2101,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1061) $2.UnbanRequestMessage get unbanRequest => $_getN(103); @$pb.TagNumber(1061) - set unbanRequest($2.UnbanRequestMessage v) { - setField(1061, v); - } - + set unbanRequest($2.UnbanRequestMessage v) { setField(1061, v); } @$pb.TagNumber(1061) $core.bool hasUnbanRequest() => $_has(103); @$pb.TagNumber(1061) @@ -3540,10 +2112,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1062) $2.UnbanResponseMessage get unbanResponse => $_getN(104); @$pb.TagNumber(1062) - set unbanResponse($2.UnbanResponseMessage v) { - setField(1062, v); - } - + set unbanResponse($2.UnbanResponseMessage v) { setField(1062, v); } @$pb.TagNumber(1062) $core.bool hasUnbanResponse() => $_has(104); @$pb.TagNumber(1062) @@ -3554,10 +2123,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1063) $2.GetInfoRequestMessage get getInfoRequest => $_getN(105); @$pb.TagNumber(1063) - set getInfoRequest($2.GetInfoRequestMessage v) { - setField(1063, v); - } - + set getInfoRequest($2.GetInfoRequestMessage v) { setField(1063, v); } @$pb.TagNumber(1063) $core.bool hasGetInfoRequest() => $_has(105); @$pb.TagNumber(1063) @@ -3568,10 +2134,7 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1064) $2.GetInfoResponseMessage get getInfoResponse => $_getN(106); @$pb.TagNumber(1064) - set getInfoResponse($2.GetInfoResponseMessage v) { - setField(1064, v); - } - + set getInfoResponse($2.GetInfoResponseMessage v) { setField(1064, v); } @$pb.TagNumber(1064) $core.bool hasGetInfoResponse() => $_has(106); @$pb.TagNumber(1064) @@ -3580,367 +2143,240 @@ class SpectredMessage extends $pb.GeneratedMessage { $2.GetInfoResponseMessage ensureGetInfoResponse() => $_ensure(106); @$pb.TagNumber(1065) - $2.StopNotifyingUtxosChangedRequestMessage - get stopNotifyingUtxosChangedRequest => $_getN(107); + $2.StopNotifyingUtxosChangedRequestMessage get stopNotifyingUtxosChangedRequest => $_getN(107); @$pb.TagNumber(1065) - set stopNotifyingUtxosChangedRequest( - $2.StopNotifyingUtxosChangedRequestMessage v) { - setField(1065, v); - } - + set stopNotifyingUtxosChangedRequest($2.StopNotifyingUtxosChangedRequestMessage v) { setField(1065, v); } @$pb.TagNumber(1065) $core.bool hasStopNotifyingUtxosChangedRequest() => $_has(107); @$pb.TagNumber(1065) void clearStopNotifyingUtxosChangedRequest() => clearField(1065); @$pb.TagNumber(1065) - $2.StopNotifyingUtxosChangedRequestMessage - ensureStopNotifyingUtxosChangedRequest() => $_ensure(107); + $2.StopNotifyingUtxosChangedRequestMessage ensureStopNotifyingUtxosChangedRequest() => $_ensure(107); @$pb.TagNumber(1066) - $2.StopNotifyingUtxosChangedResponseMessage - get stopNotifyingUtxosChangedResponse => $_getN(108); + $2.StopNotifyingUtxosChangedResponseMessage get stopNotifyingUtxosChangedResponse => $_getN(108); @$pb.TagNumber(1066) - set stopNotifyingUtxosChangedResponse( - $2.StopNotifyingUtxosChangedResponseMessage v) { - setField(1066, v); - } - + set stopNotifyingUtxosChangedResponse($2.StopNotifyingUtxosChangedResponseMessage v) { setField(1066, v); } @$pb.TagNumber(1066) $core.bool hasStopNotifyingUtxosChangedResponse() => $_has(108); @$pb.TagNumber(1066) void clearStopNotifyingUtxosChangedResponse() => clearField(1066); @$pb.TagNumber(1066) - $2.StopNotifyingUtxosChangedResponseMessage - ensureStopNotifyingUtxosChangedResponse() => $_ensure(108); + $2.StopNotifyingUtxosChangedResponseMessage ensureStopNotifyingUtxosChangedResponse() => $_ensure(108); @$pb.TagNumber(1067) - $2.NotifyPruningPointUTXOSetOverrideRequestMessage - get notifyPruningPointUTXOSetOverrideRequest => $_getN(109); + $2.NotifyPruningPointUTXOSetOverrideRequestMessage get notifyPruningPointUTXOSetOverrideRequest => $_getN(109); @$pb.TagNumber(1067) - set notifyPruningPointUTXOSetOverrideRequest( - $2.NotifyPruningPointUTXOSetOverrideRequestMessage v) { - setField(1067, v); - } - + set notifyPruningPointUTXOSetOverrideRequest($2.NotifyPruningPointUTXOSetOverrideRequestMessage v) { setField(1067, v); } @$pb.TagNumber(1067) $core.bool hasNotifyPruningPointUTXOSetOverrideRequest() => $_has(109); @$pb.TagNumber(1067) void clearNotifyPruningPointUTXOSetOverrideRequest() => clearField(1067); @$pb.TagNumber(1067) - $2.NotifyPruningPointUTXOSetOverrideRequestMessage - ensureNotifyPruningPointUTXOSetOverrideRequest() => $_ensure(109); + $2.NotifyPruningPointUTXOSetOverrideRequestMessage ensureNotifyPruningPointUTXOSetOverrideRequest() => $_ensure(109); @$pb.TagNumber(1068) - $2.NotifyPruningPointUTXOSetOverrideResponseMessage - get notifyPruningPointUTXOSetOverrideResponse => $_getN(110); + $2.NotifyPruningPointUTXOSetOverrideResponseMessage get notifyPruningPointUTXOSetOverrideResponse => $_getN(110); @$pb.TagNumber(1068) - set notifyPruningPointUTXOSetOverrideResponse( - $2.NotifyPruningPointUTXOSetOverrideResponseMessage v) { - setField(1068, v); - } - + set notifyPruningPointUTXOSetOverrideResponse($2.NotifyPruningPointUTXOSetOverrideResponseMessage v) { setField(1068, v); } @$pb.TagNumber(1068) $core.bool hasNotifyPruningPointUTXOSetOverrideResponse() => $_has(110); @$pb.TagNumber(1068) void clearNotifyPruningPointUTXOSetOverrideResponse() => clearField(1068); @$pb.TagNumber(1068) - $2.NotifyPruningPointUTXOSetOverrideResponseMessage - ensureNotifyPruningPointUTXOSetOverrideResponse() => $_ensure(110); + $2.NotifyPruningPointUTXOSetOverrideResponseMessage ensureNotifyPruningPointUTXOSetOverrideResponse() => $_ensure(110); @$pb.TagNumber(1069) - $2.PruningPointUTXOSetOverrideNotificationMessage - get pruningPointUTXOSetOverrideNotification => $_getN(111); + $2.PruningPointUTXOSetOverrideNotificationMessage get pruningPointUTXOSetOverrideNotification => $_getN(111); @$pb.TagNumber(1069) - set pruningPointUTXOSetOverrideNotification( - $2.PruningPointUTXOSetOverrideNotificationMessage v) { - setField(1069, v); - } - + set pruningPointUTXOSetOverrideNotification($2.PruningPointUTXOSetOverrideNotificationMessage v) { setField(1069, v); } @$pb.TagNumber(1069) $core.bool hasPruningPointUTXOSetOverrideNotification() => $_has(111); @$pb.TagNumber(1069) void clearPruningPointUTXOSetOverrideNotification() => clearField(1069); @$pb.TagNumber(1069) - $2.PruningPointUTXOSetOverrideNotificationMessage - ensurePruningPointUTXOSetOverrideNotification() => $_ensure(111); + $2.PruningPointUTXOSetOverrideNotificationMessage ensurePruningPointUTXOSetOverrideNotification() => $_ensure(111); @$pb.TagNumber(1070) - $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage - get stopNotifyingPruningPointUTXOSetOverrideRequest => $_getN(112); + $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage get stopNotifyingPruningPointUTXOSetOverrideRequest => $_getN(112); @$pb.TagNumber(1070) - set stopNotifyingPruningPointUTXOSetOverrideRequest( - $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage v) { - setField(1070, v); - } - + set stopNotifyingPruningPointUTXOSetOverrideRequest($2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage v) { setField(1070, v); } @$pb.TagNumber(1070) $core.bool hasStopNotifyingPruningPointUTXOSetOverrideRequest() => $_has(112); @$pb.TagNumber(1070) - void clearStopNotifyingPruningPointUTXOSetOverrideRequest() => - clearField(1070); + void clearStopNotifyingPruningPointUTXOSetOverrideRequest() => clearField(1070); @$pb.TagNumber(1070) - $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage - ensureStopNotifyingPruningPointUTXOSetOverrideRequest() => $_ensure(112); + $2.StopNotifyingPruningPointUTXOSetOverrideRequestMessage ensureStopNotifyingPruningPointUTXOSetOverrideRequest() => $_ensure(112); @$pb.TagNumber(1071) - $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage - get stopNotifyingPruningPointUTXOSetOverrideResponse => $_getN(113); + $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage get stopNotifyingPruningPointUTXOSetOverrideResponse => $_getN(113); @$pb.TagNumber(1071) - set stopNotifyingPruningPointUTXOSetOverrideResponse( - $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage v) { - setField(1071, v); - } - + set stopNotifyingPruningPointUTXOSetOverrideResponse($2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage v) { setField(1071, v); } @$pb.TagNumber(1071) - $core.bool hasStopNotifyingPruningPointUTXOSetOverrideResponse() => - $_has(113); + $core.bool hasStopNotifyingPruningPointUTXOSetOverrideResponse() => $_has(113); @$pb.TagNumber(1071) - void clearStopNotifyingPruningPointUTXOSetOverrideResponse() => - clearField(1071); + void clearStopNotifyingPruningPointUTXOSetOverrideResponse() => clearField(1071); @$pb.TagNumber(1071) - $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage - ensureStopNotifyingPruningPointUTXOSetOverrideResponse() => $_ensure(113); + $2.StopNotifyingPruningPointUTXOSetOverrideResponseMessage ensureStopNotifyingPruningPointUTXOSetOverrideResponse() => $_ensure(113); @$pb.TagNumber(1072) - $2.EstimateNetworkHashesPerSecondRequestMessage - get estimateNetworkHashesPerSecondRequest => $_getN(114); + $2.EstimateNetworkHashesPerSecondRequestMessage get estimateNetworkHashesPerSecondRequest => $_getN(114); @$pb.TagNumber(1072) - set estimateNetworkHashesPerSecondRequest( - $2.EstimateNetworkHashesPerSecondRequestMessage v) { - setField(1072, v); - } - + set estimateNetworkHashesPerSecondRequest($2.EstimateNetworkHashesPerSecondRequestMessage v) { setField(1072, v); } @$pb.TagNumber(1072) $core.bool hasEstimateNetworkHashesPerSecondRequest() => $_has(114); @$pb.TagNumber(1072) void clearEstimateNetworkHashesPerSecondRequest() => clearField(1072); @$pb.TagNumber(1072) - $2.EstimateNetworkHashesPerSecondRequestMessage - ensureEstimateNetworkHashesPerSecondRequest() => $_ensure(114); + $2.EstimateNetworkHashesPerSecondRequestMessage ensureEstimateNetworkHashesPerSecondRequest() => $_ensure(114); @$pb.TagNumber(1073) - $2.EstimateNetworkHashesPerSecondResponseMessage - get estimateNetworkHashesPerSecondResponse => $_getN(115); + $2.EstimateNetworkHashesPerSecondResponseMessage get estimateNetworkHashesPerSecondResponse => $_getN(115); @$pb.TagNumber(1073) - set estimateNetworkHashesPerSecondResponse( - $2.EstimateNetworkHashesPerSecondResponseMessage v) { - setField(1073, v); - } - + set estimateNetworkHashesPerSecondResponse($2.EstimateNetworkHashesPerSecondResponseMessage v) { setField(1073, v); } @$pb.TagNumber(1073) $core.bool hasEstimateNetworkHashesPerSecondResponse() => $_has(115); @$pb.TagNumber(1073) void clearEstimateNetworkHashesPerSecondResponse() => clearField(1073); @$pb.TagNumber(1073) - $2.EstimateNetworkHashesPerSecondResponseMessage - ensureEstimateNetworkHashesPerSecondResponse() => $_ensure(115); + $2.EstimateNetworkHashesPerSecondResponseMessage ensureEstimateNetworkHashesPerSecondResponse() => $_ensure(115); @$pb.TagNumber(1074) - $2.NotifyVirtualDaaScoreChangedRequestMessage - get notifyVirtualDaaScoreChangedRequest => $_getN(116); + $2.NotifyVirtualDaaScoreChangedRequestMessage get notifyVirtualDaaScoreChangedRequest => $_getN(116); @$pb.TagNumber(1074) - set notifyVirtualDaaScoreChangedRequest( - $2.NotifyVirtualDaaScoreChangedRequestMessage v) { - setField(1074, v); - } - + set notifyVirtualDaaScoreChangedRequest($2.NotifyVirtualDaaScoreChangedRequestMessage v) { setField(1074, v); } @$pb.TagNumber(1074) $core.bool hasNotifyVirtualDaaScoreChangedRequest() => $_has(116); @$pb.TagNumber(1074) void clearNotifyVirtualDaaScoreChangedRequest() => clearField(1074); @$pb.TagNumber(1074) - $2.NotifyVirtualDaaScoreChangedRequestMessage - ensureNotifyVirtualDaaScoreChangedRequest() => $_ensure(116); + $2.NotifyVirtualDaaScoreChangedRequestMessage ensureNotifyVirtualDaaScoreChangedRequest() => $_ensure(116); @$pb.TagNumber(1075) - $2.NotifyVirtualDaaScoreChangedResponseMessage - get notifyVirtualDaaScoreChangedResponse => $_getN(117); + $2.NotifyVirtualDaaScoreChangedResponseMessage get notifyVirtualDaaScoreChangedResponse => $_getN(117); @$pb.TagNumber(1075) - set notifyVirtualDaaScoreChangedResponse( - $2.NotifyVirtualDaaScoreChangedResponseMessage v) { - setField(1075, v); - } - + set notifyVirtualDaaScoreChangedResponse($2.NotifyVirtualDaaScoreChangedResponseMessage v) { setField(1075, v); } @$pb.TagNumber(1075) $core.bool hasNotifyVirtualDaaScoreChangedResponse() => $_has(117); @$pb.TagNumber(1075) void clearNotifyVirtualDaaScoreChangedResponse() => clearField(1075); @$pb.TagNumber(1075) - $2.NotifyVirtualDaaScoreChangedResponseMessage - ensureNotifyVirtualDaaScoreChangedResponse() => $_ensure(117); + $2.NotifyVirtualDaaScoreChangedResponseMessage ensureNotifyVirtualDaaScoreChangedResponse() => $_ensure(117); @$pb.TagNumber(1076) - $2.VirtualDaaScoreChangedNotificationMessage - get virtualDaaScoreChangedNotification => $_getN(118); + $2.VirtualDaaScoreChangedNotificationMessage get virtualDaaScoreChangedNotification => $_getN(118); @$pb.TagNumber(1076) - set virtualDaaScoreChangedNotification( - $2.VirtualDaaScoreChangedNotificationMessage v) { - setField(1076, v); - } - + set virtualDaaScoreChangedNotification($2.VirtualDaaScoreChangedNotificationMessage v) { setField(1076, v); } @$pb.TagNumber(1076) $core.bool hasVirtualDaaScoreChangedNotification() => $_has(118); @$pb.TagNumber(1076) void clearVirtualDaaScoreChangedNotification() => clearField(1076); @$pb.TagNumber(1076) - $2.VirtualDaaScoreChangedNotificationMessage - ensureVirtualDaaScoreChangedNotification() => $_ensure(118); + $2.VirtualDaaScoreChangedNotificationMessage ensureVirtualDaaScoreChangedNotification() => $_ensure(118); @$pb.TagNumber(1077) - $2.GetBalanceByAddressRequestMessage get getBalanceByAddressRequest => - $_getN(119); + $2.GetBalanceByAddressRequestMessage get getBalanceByAddressRequest => $_getN(119); @$pb.TagNumber(1077) - set getBalanceByAddressRequest($2.GetBalanceByAddressRequestMessage v) { - setField(1077, v); - } - + set getBalanceByAddressRequest($2.GetBalanceByAddressRequestMessage v) { setField(1077, v); } @$pb.TagNumber(1077) $core.bool hasGetBalanceByAddressRequest() => $_has(119); @$pb.TagNumber(1077) void clearGetBalanceByAddressRequest() => clearField(1077); @$pb.TagNumber(1077) - $2.GetBalanceByAddressRequestMessage ensureGetBalanceByAddressRequest() => - $_ensure(119); + $2.GetBalanceByAddressRequestMessage ensureGetBalanceByAddressRequest() => $_ensure(119); @$pb.TagNumber(1078) - $2.GetBalanceByAddressResponseMessage get getBalanceByAddressResponse => - $_getN(120); + $2.GetBalanceByAddressResponseMessage get getBalanceByAddressResponse => $_getN(120); @$pb.TagNumber(1078) - set getBalanceByAddressResponse($2.GetBalanceByAddressResponseMessage v) { - setField(1078, v); - } - + set getBalanceByAddressResponse($2.GetBalanceByAddressResponseMessage v) { setField(1078, v); } @$pb.TagNumber(1078) $core.bool hasGetBalanceByAddressResponse() => $_has(120); @$pb.TagNumber(1078) void clearGetBalanceByAddressResponse() => clearField(1078); @$pb.TagNumber(1078) - $2.GetBalanceByAddressResponseMessage ensureGetBalanceByAddressResponse() => - $_ensure(120); + $2.GetBalanceByAddressResponseMessage ensureGetBalanceByAddressResponse() => $_ensure(120); @$pb.TagNumber(1079) - $2.GetBalancesByAddressesRequestMessage get getBalancesByAddressesRequest => - $_getN(121); + $2.GetBalancesByAddressesRequestMessage get getBalancesByAddressesRequest => $_getN(121); @$pb.TagNumber(1079) - set getBalancesByAddressesRequest($2.GetBalancesByAddressesRequestMessage v) { - setField(1079, v); - } - + set getBalancesByAddressesRequest($2.GetBalancesByAddressesRequestMessage v) { setField(1079, v); } @$pb.TagNumber(1079) $core.bool hasGetBalancesByAddressesRequest() => $_has(121); @$pb.TagNumber(1079) void clearGetBalancesByAddressesRequest() => clearField(1079); @$pb.TagNumber(1079) - $2.GetBalancesByAddressesRequestMessage - ensureGetBalancesByAddressesRequest() => $_ensure(121); + $2.GetBalancesByAddressesRequestMessage ensureGetBalancesByAddressesRequest() => $_ensure(121); @$pb.TagNumber(1080) - $2.GetBalancesByAddressesResponseMessage get getBalancesByAddressesResponse => - $_getN(122); + $2.GetBalancesByAddressesResponseMessage get getBalancesByAddressesResponse => $_getN(122); @$pb.TagNumber(1080) - set getBalancesByAddressesResponse( - $2.GetBalancesByAddressesResponseMessage v) { - setField(1080, v); - } - + set getBalancesByAddressesResponse($2.GetBalancesByAddressesResponseMessage v) { setField(1080, v); } @$pb.TagNumber(1080) $core.bool hasGetBalancesByAddressesResponse() => $_has(122); @$pb.TagNumber(1080) void clearGetBalancesByAddressesResponse() => clearField(1080); @$pb.TagNumber(1080) - $2.GetBalancesByAddressesResponseMessage - ensureGetBalancesByAddressesResponse() => $_ensure(122); + $2.GetBalancesByAddressesResponseMessage ensureGetBalancesByAddressesResponse() => $_ensure(122); @$pb.TagNumber(1081) - $2.NotifyNewBlockTemplateRequestMessage get notifyNewBlockTemplateRequest => - $_getN(123); + $2.NotifyNewBlockTemplateRequestMessage get notifyNewBlockTemplateRequest => $_getN(123); @$pb.TagNumber(1081) - set notifyNewBlockTemplateRequest($2.NotifyNewBlockTemplateRequestMessage v) { - setField(1081, v); - } - + set notifyNewBlockTemplateRequest($2.NotifyNewBlockTemplateRequestMessage v) { setField(1081, v); } @$pb.TagNumber(1081) $core.bool hasNotifyNewBlockTemplateRequest() => $_has(123); @$pb.TagNumber(1081) void clearNotifyNewBlockTemplateRequest() => clearField(1081); @$pb.TagNumber(1081) - $2.NotifyNewBlockTemplateRequestMessage - ensureNotifyNewBlockTemplateRequest() => $_ensure(123); + $2.NotifyNewBlockTemplateRequestMessage ensureNotifyNewBlockTemplateRequest() => $_ensure(123); @$pb.TagNumber(1082) - $2.NotifyNewBlockTemplateResponseMessage get notifyNewBlockTemplateResponse => - $_getN(124); + $2.NotifyNewBlockTemplateResponseMessage get notifyNewBlockTemplateResponse => $_getN(124); @$pb.TagNumber(1082) - set notifyNewBlockTemplateResponse( - $2.NotifyNewBlockTemplateResponseMessage v) { - setField(1082, v); - } - + set notifyNewBlockTemplateResponse($2.NotifyNewBlockTemplateResponseMessage v) { setField(1082, v); } @$pb.TagNumber(1082) $core.bool hasNotifyNewBlockTemplateResponse() => $_has(124); @$pb.TagNumber(1082) void clearNotifyNewBlockTemplateResponse() => clearField(1082); @$pb.TagNumber(1082) - $2.NotifyNewBlockTemplateResponseMessage - ensureNotifyNewBlockTemplateResponse() => $_ensure(124); + $2.NotifyNewBlockTemplateResponseMessage ensureNotifyNewBlockTemplateResponse() => $_ensure(124); @$pb.TagNumber(1083) - $2.NewBlockTemplateNotificationMessage get newBlockTemplateNotification => - $_getN(125); + $2.NewBlockTemplateNotificationMessage get newBlockTemplateNotification => $_getN(125); @$pb.TagNumber(1083) - set newBlockTemplateNotification($2.NewBlockTemplateNotificationMessage v) { - setField(1083, v); - } - + set newBlockTemplateNotification($2.NewBlockTemplateNotificationMessage v) { setField(1083, v); } @$pb.TagNumber(1083) $core.bool hasNewBlockTemplateNotification() => $_has(125); @$pb.TagNumber(1083) void clearNewBlockTemplateNotification() => clearField(1083); @$pb.TagNumber(1083) - $2.NewBlockTemplateNotificationMessage ensureNewBlockTemplateNotification() => - $_ensure(125); + $2.NewBlockTemplateNotificationMessage ensureNewBlockTemplateNotification() => $_ensure(125); @$pb.TagNumber(1084) - $2.GetMempoolEntriesByAddressesRequestMessage - get getMempoolEntriesByAddressesRequest => $_getN(126); + $2.GetMempoolEntriesByAddressesRequestMessage get getMempoolEntriesByAddressesRequest => $_getN(126); @$pb.TagNumber(1084) - set getMempoolEntriesByAddressesRequest( - $2.GetMempoolEntriesByAddressesRequestMessage v) { - setField(1084, v); - } - + set getMempoolEntriesByAddressesRequest($2.GetMempoolEntriesByAddressesRequestMessage v) { setField(1084, v); } @$pb.TagNumber(1084) $core.bool hasGetMempoolEntriesByAddressesRequest() => $_has(126); @$pb.TagNumber(1084) void clearGetMempoolEntriesByAddressesRequest() => clearField(1084); @$pb.TagNumber(1084) - $2.GetMempoolEntriesByAddressesRequestMessage - ensureGetMempoolEntriesByAddressesRequest() => $_ensure(126); + $2.GetMempoolEntriesByAddressesRequestMessage ensureGetMempoolEntriesByAddressesRequest() => $_ensure(126); @$pb.TagNumber(1085) - $2.GetMempoolEntriesByAddressesResponseMessage - get getMempoolEntriesByAddressesResponse => $_getN(127); + $2.GetMempoolEntriesByAddressesResponseMessage get getMempoolEntriesByAddressesResponse => $_getN(127); @$pb.TagNumber(1085) - set getMempoolEntriesByAddressesResponse( - $2.GetMempoolEntriesByAddressesResponseMessage v) { - setField(1085, v); - } - + set getMempoolEntriesByAddressesResponse($2.GetMempoolEntriesByAddressesResponseMessage v) { setField(1085, v); } @$pb.TagNumber(1085) $core.bool hasGetMempoolEntriesByAddressesResponse() => $_has(127); @$pb.TagNumber(1085) void clearGetMempoolEntriesByAddressesResponse() => clearField(1085); @$pb.TagNumber(1085) - $2.GetMempoolEntriesByAddressesResponseMessage - ensureGetMempoolEntriesByAddressesResponse() => $_ensure(127); + $2.GetMempoolEntriesByAddressesResponseMessage ensureGetMempoolEntriesByAddressesResponse() => $_ensure(127); @$pb.TagNumber(1086) $2.GetCoinSupplyRequestMessage get getCoinSupplyRequest => $_getN(128); @$pb.TagNumber(1086) - set getCoinSupplyRequest($2.GetCoinSupplyRequestMessage v) { - setField(1086, v); - } - + set getCoinSupplyRequest($2.GetCoinSupplyRequestMessage v) { setField(1086, v); } @$pb.TagNumber(1086) $core.bool hasGetCoinSupplyRequest() => $_has(128); @$pb.TagNumber(1086) @@ -3951,15 +2387,12 @@ class SpectredMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1087) $2.GetCoinSupplyResponseMessage get getCoinSupplyResponse => $_getN(129); @$pb.TagNumber(1087) - set getCoinSupplyResponse($2.GetCoinSupplyResponseMessage v) { - setField(1087, v); - } - + set getCoinSupplyResponse($2.GetCoinSupplyResponseMessage v) { setField(1087, v); } @$pb.TagNumber(1087) $core.bool hasGetCoinSupplyResponse() => $_has(129); @$pb.TagNumber(1087) void clearGetCoinSupplyResponse() => clearField(1087); @$pb.TagNumber(1087) - $2.GetCoinSupplyResponseMessage ensureGetCoinSupplyResponse() => - $_ensure(129); + $2.GetCoinSupplyResponseMessage ensureGetCoinSupplyResponse() => $_ensure(129); } + diff --git a/lib/spectre/grpc/messages.pbenum.dart b/lib/spectre/grpc/messages.pbenum.dart index f221f64..ca3475f 100644 --- a/lib/spectre/grpc/messages.pbenum.dart +++ b/lib/spectre/grpc/messages.pbenum.dart @@ -4,3 +4,4 @@ // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + diff --git a/lib/spectre/grpc/messages.pbjson.dart b/lib/spectre/grpc/messages.pbjson.dart index 061b130..5156067 100644 --- a/lib/spectre/grpc/messages.pbjson.dart +++ b/lib/spectre/grpc/messages.pbjson.dart @@ -8,1184 +8,140 @@ import 'dart:core' as $core; import 'dart:convert' as $convert; import 'dart:typed_data' as $typed_data; - @$core.Deprecated('Use spectredMessageDescriptor instead') const SpectredMessage$json = const { '1': 'SpectredMessage', '2': const [ - const { - '1': 'addresses', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.AddressesMessage', - '9': 0, - '10': 'addresses' - }, - const { - '1': 'block', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.BlockMessage', - '9': 0, - '10': 'block' - }, - const { - '1': 'transaction', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.TransactionMessage', - '9': 0, - '10': 'transaction' - }, - const { - '1': 'blockLocator', - '3': 5, - '4': 1, - '5': 11, - '6': '.protowire.BlockLocatorMessage', - '9': 0, - '10': 'blockLocator' - }, - const { - '1': 'requestAddresses', - '3': 6, - '4': 1, - '5': 11, - '6': '.protowire.RequestAddressesMessage', - '9': 0, - '10': 'requestAddresses' - }, - const { - '1': 'requestRelayBlocks', - '3': 10, - '4': 1, - '5': 11, - '6': '.protowire.RequestRelayBlocksMessage', - '9': 0, - '10': 'requestRelayBlocks' - }, - const { - '1': 'requestTransactions', - '3': 12, - '4': 1, - '5': 11, - '6': '.protowire.RequestTransactionsMessage', - '9': 0, - '10': 'requestTransactions' - }, - const { - '1': 'ibdBlock', - '3': 13, - '4': 1, - '5': 11, - '6': '.protowire.BlockMessage', - '9': 0, - '10': 'ibdBlock' - }, - const { - '1': 'invRelayBlock', - '3': 14, - '4': 1, - '5': 11, - '6': '.protowire.InvRelayBlockMessage', - '9': 0, - '10': 'invRelayBlock' - }, - const { - '1': 'invTransactions', - '3': 15, - '4': 1, - '5': 11, - '6': '.protowire.InvTransactionsMessage', - '9': 0, - '10': 'invTransactions' - }, - const { - '1': 'ping', - '3': 16, - '4': 1, - '5': 11, - '6': '.protowire.PingMessage', - '9': 0, - '10': 'ping' - }, - const { - '1': 'pong', - '3': 17, - '4': 1, - '5': 11, - '6': '.protowire.PongMessage', - '9': 0, - '10': 'pong' - }, - const { - '1': 'verack', - '3': 19, - '4': 1, - '5': 11, - '6': '.protowire.VerackMessage', - '9': 0, - '10': 'verack' - }, - const { - '1': 'version', - '3': 20, - '4': 1, - '5': 11, - '6': '.protowire.VersionMessage', - '9': 0, - '10': 'version' - }, - const { - '1': 'transactionNotFound', - '3': 21, - '4': 1, - '5': 11, - '6': '.protowire.TransactionNotFoundMessage', - '9': 0, - '10': 'transactionNotFound' - }, - const { - '1': 'reject', - '3': 22, - '4': 1, - '5': 11, - '6': '.protowire.RejectMessage', - '9': 0, - '10': 'reject' - }, - const { - '1': 'pruningPointUtxoSetChunk', - '3': 25, - '4': 1, - '5': 11, - '6': '.protowire.PruningPointUtxoSetChunkMessage', - '9': 0, - '10': 'pruningPointUtxoSetChunk' - }, - const { - '1': 'requestIBDBlocks', - '3': 26, - '4': 1, - '5': 11, - '6': '.protowire.RequestIBDBlocksMessage', - '9': 0, - '10': 'requestIBDBlocks' - }, - const { - '1': 'unexpectedPruningPoint', - '3': 27, - '4': 1, - '5': 11, - '6': '.protowire.UnexpectedPruningPointMessage', - '9': 0, - '10': 'unexpectedPruningPoint' - }, - const { - '1': 'ibdBlockLocator', - '3': 30, - '4': 1, - '5': 11, - '6': '.protowire.IbdBlockLocatorMessage', - '9': 0, - '10': 'ibdBlockLocator' - }, - const { - '1': 'ibdBlockLocatorHighestHash', - '3': 31, - '4': 1, - '5': 11, - '6': '.protowire.IbdBlockLocatorHighestHashMessage', - '9': 0, - '10': 'ibdBlockLocatorHighestHash' - }, - const { - '1': 'requestNextPruningPointUtxoSetChunk', - '3': 33, - '4': 1, - '5': 11, - '6': '.protowire.RequestNextPruningPointUtxoSetChunkMessage', - '9': 0, - '10': 'requestNextPruningPointUtxoSetChunk' - }, - const { - '1': 'donePruningPointUtxoSetChunks', - '3': 34, - '4': 1, - '5': 11, - '6': '.protowire.DonePruningPointUtxoSetChunksMessage', - '9': 0, - '10': 'donePruningPointUtxoSetChunks' - }, - const { - '1': 'ibdBlockLocatorHighestHashNotFound', - '3': 35, - '4': 1, - '5': 11, - '6': '.protowire.IbdBlockLocatorHighestHashNotFoundMessage', - '9': 0, - '10': 'ibdBlockLocatorHighestHashNotFound' - }, - const { - '1': 'blockWithTrustedData', - '3': 36, - '4': 1, - '5': 11, - '6': '.protowire.BlockWithTrustedDataMessage', - '9': 0, - '10': 'blockWithTrustedData' - }, - const { - '1': 'doneBlocksWithTrustedData', - '3': 37, - '4': 1, - '5': 11, - '6': '.protowire.DoneBlocksWithTrustedDataMessage', - '9': 0, - '10': 'doneBlocksWithTrustedData' - }, - const { - '1': 'requestPruningPointAndItsAnticone', - '3': 40, - '4': 1, - '5': 11, - '6': '.protowire.RequestPruningPointAndItsAnticoneMessage', - '9': 0, - '10': 'requestPruningPointAndItsAnticone' - }, - const { - '1': 'blockHeaders', - '3': 41, - '4': 1, - '5': 11, - '6': '.protowire.BlockHeadersMessage', - '9': 0, - '10': 'blockHeaders' - }, - const { - '1': 'requestNextHeaders', - '3': 42, - '4': 1, - '5': 11, - '6': '.protowire.RequestNextHeadersMessage', - '9': 0, - '10': 'requestNextHeaders' - }, - const { - '1': 'DoneHeaders', - '3': 43, - '4': 1, - '5': 11, - '6': '.protowire.DoneHeadersMessage', - '9': 0, - '10': 'DoneHeaders' - }, - const { - '1': 'requestPruningPointUTXOSet', - '3': 44, - '4': 1, - '5': 11, - '6': '.protowire.RequestPruningPointUTXOSetMessage', - '9': 0, - '10': 'requestPruningPointUTXOSet' - }, - const { - '1': 'requestHeaders', - '3': 45, - '4': 1, - '5': 11, - '6': '.protowire.RequestHeadersMessage', - '9': 0, - '10': 'requestHeaders' - }, - const { - '1': 'requestBlockLocator', - '3': 46, - '4': 1, - '5': 11, - '6': '.protowire.RequestBlockLocatorMessage', - '9': 0, - '10': 'requestBlockLocator' - }, - const { - '1': 'pruningPoints', - '3': 47, - '4': 1, - '5': 11, - '6': '.protowire.PruningPointsMessage', - '9': 0, - '10': 'pruningPoints' - }, - const { - '1': 'requestPruningPointProof', - '3': 48, - '4': 1, - '5': 11, - '6': '.protowire.RequestPruningPointProofMessage', - '9': 0, - '10': 'requestPruningPointProof' - }, - const { - '1': 'pruningPointProof', - '3': 49, - '4': 1, - '5': 11, - '6': '.protowire.PruningPointProofMessage', - '9': 0, - '10': 'pruningPointProof' - }, - const { - '1': 'ready', - '3': 50, - '4': 1, - '5': 11, - '6': '.protowire.ReadyMessage', - '9': 0, - '10': 'ready' - }, - const { - '1': 'blockWithTrustedDataV4', - '3': 51, - '4': 1, - '5': 11, - '6': '.protowire.BlockWithTrustedDataV4Message', - '9': 0, - '10': 'blockWithTrustedDataV4' - }, - const { - '1': 'trustedData', - '3': 52, - '4': 1, - '5': 11, - '6': '.protowire.TrustedDataMessage', - '9': 0, - '10': 'trustedData' - }, - const { - '1': 'requestIBDChainBlockLocator', - '3': 53, - '4': 1, - '5': 11, - '6': '.protowire.RequestIBDChainBlockLocatorMessage', - '9': 0, - '10': 'requestIBDChainBlockLocator' - }, - const { - '1': 'ibdChainBlockLocator', - '3': 54, - '4': 1, - '5': 11, - '6': '.protowire.IbdChainBlockLocatorMessage', - '9': 0, - '10': 'ibdChainBlockLocator' - }, - const { - '1': 'requestAnticone', - '3': 55, - '4': 1, - '5': 11, - '6': '.protowire.RequestAnticoneMessage', - '9': 0, - '10': 'requestAnticone' - }, - const { - '1': 'requestNextPruningPointAndItsAnticoneBlocks', - '3': 56, - '4': 1, - '5': 11, - '6': '.protowire.RequestNextPruningPointAndItsAnticoneBlocksMessage', - '9': 0, - '10': 'requestNextPruningPointAndItsAnticoneBlocks' - }, - const { - '1': 'getCurrentNetworkRequest', - '3': 1001, - '4': 1, - '5': 11, - '6': '.protowire.GetCurrentNetworkRequestMessage', - '9': 0, - '10': 'getCurrentNetworkRequest' - }, - const { - '1': 'getCurrentNetworkResponse', - '3': 1002, - '4': 1, - '5': 11, - '6': '.protowire.GetCurrentNetworkResponseMessage', - '9': 0, - '10': 'getCurrentNetworkResponse' - }, - const { - '1': 'submitBlockRequest', - '3': 1003, - '4': 1, - '5': 11, - '6': '.protowire.SubmitBlockRequestMessage', - '9': 0, - '10': 'submitBlockRequest' - }, - const { - '1': 'submitBlockResponse', - '3': 1004, - '4': 1, - '5': 11, - '6': '.protowire.SubmitBlockResponseMessage', - '9': 0, - '10': 'submitBlockResponse' - }, - const { - '1': 'getBlockTemplateRequest', - '3': 1005, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockTemplateRequestMessage', - '9': 0, - '10': 'getBlockTemplateRequest' - }, - const { - '1': 'getBlockTemplateResponse', - '3': 1006, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockTemplateResponseMessage', - '9': 0, - '10': 'getBlockTemplateResponse' - }, - const { - '1': 'notifyBlockAddedRequest', - '3': 1007, - '4': 1, - '5': 11, - '6': '.protowire.NotifyBlockAddedRequestMessage', - '9': 0, - '10': 'notifyBlockAddedRequest' - }, - const { - '1': 'notifyBlockAddedResponse', - '3': 1008, - '4': 1, - '5': 11, - '6': '.protowire.NotifyBlockAddedResponseMessage', - '9': 0, - '10': 'notifyBlockAddedResponse' - }, - const { - '1': 'blockAddedNotification', - '3': 1009, - '4': 1, - '5': 11, - '6': '.protowire.BlockAddedNotificationMessage', - '9': 0, - '10': 'blockAddedNotification' - }, - const { - '1': 'getPeerAddressesRequest', - '3': 1010, - '4': 1, - '5': 11, - '6': '.protowire.GetPeerAddressesRequestMessage', - '9': 0, - '10': 'getPeerAddressesRequest' - }, - const { - '1': 'getPeerAddressesResponse', - '3': 1011, - '4': 1, - '5': 11, - '6': '.protowire.GetPeerAddressesResponseMessage', - '9': 0, - '10': 'getPeerAddressesResponse' - }, - const { - '1': 'getSelectedTipHashRequest', - '3': 1012, - '4': 1, - '5': 11, - '6': '.protowire.GetSelectedTipHashRequestMessage', - '9': 0, - '10': 'getSelectedTipHashRequest' - }, - const { - '1': 'getSelectedTipHashResponse', - '3': 1013, - '4': 1, - '5': 11, - '6': '.protowire.GetSelectedTipHashResponseMessage', - '9': 0, - '10': 'getSelectedTipHashResponse' - }, - const { - '1': 'getMempoolEntryRequest', - '3': 1014, - '4': 1, - '5': 11, - '6': '.protowire.GetMempoolEntryRequestMessage', - '9': 0, - '10': 'getMempoolEntryRequest' - }, - const { - '1': 'getMempoolEntryResponse', - '3': 1015, - '4': 1, - '5': 11, - '6': '.protowire.GetMempoolEntryResponseMessage', - '9': 0, - '10': 'getMempoolEntryResponse' - }, - const { - '1': 'getConnectedPeerInfoRequest', - '3': 1016, - '4': 1, - '5': 11, - '6': '.protowire.GetConnectedPeerInfoRequestMessage', - '9': 0, - '10': 'getConnectedPeerInfoRequest' - }, - const { - '1': 'getConnectedPeerInfoResponse', - '3': 1017, - '4': 1, - '5': 11, - '6': '.protowire.GetConnectedPeerInfoResponseMessage', - '9': 0, - '10': 'getConnectedPeerInfoResponse' - }, - const { - '1': 'addPeerRequest', - '3': 1018, - '4': 1, - '5': 11, - '6': '.protowire.AddPeerRequestMessage', - '9': 0, - '10': 'addPeerRequest' - }, - const { - '1': 'addPeerResponse', - '3': 1019, - '4': 1, - '5': 11, - '6': '.protowire.AddPeerResponseMessage', - '9': 0, - '10': 'addPeerResponse' - }, - const { - '1': 'submitTransactionRequest', - '3': 1020, - '4': 1, - '5': 11, - '6': '.protowire.SubmitTransactionRequestMessage', - '9': 0, - '10': 'submitTransactionRequest' - }, - const { - '1': 'submitTransactionResponse', - '3': 1021, - '4': 1, - '5': 11, - '6': '.protowire.SubmitTransactionResponseMessage', - '9': 0, - '10': 'submitTransactionResponse' - }, - const { - '1': 'notifyVirtualSelectedParentChainChangedRequest', - '3': 1022, - '4': 1, - '5': 11, - '6': '.protowire.NotifyVirtualSelectedParentChainChangedRequestMessage', - '9': 0, - '10': 'notifyVirtualSelectedParentChainChangedRequest' - }, - const { - '1': 'notifyVirtualSelectedParentChainChangedResponse', - '3': 1023, - '4': 1, - '5': 11, - '6': '.protowire.NotifyVirtualSelectedParentChainChangedResponseMessage', - '9': 0, - '10': 'notifyVirtualSelectedParentChainChangedResponse' - }, - const { - '1': 'virtualSelectedParentChainChangedNotification', - '3': 1024, - '4': 1, - '5': 11, - '6': '.protowire.VirtualSelectedParentChainChangedNotificationMessage', - '9': 0, - '10': 'virtualSelectedParentChainChangedNotification' - }, - const { - '1': 'getBlockRequest', - '3': 1025, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockRequestMessage', - '9': 0, - '10': 'getBlockRequest' - }, - const { - '1': 'getBlockResponse', - '3': 1026, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockResponseMessage', - '9': 0, - '10': 'getBlockResponse' - }, - const { - '1': 'getSubnetworkRequest', - '3': 1027, - '4': 1, - '5': 11, - '6': '.protowire.GetSubnetworkRequestMessage', - '9': 0, - '10': 'getSubnetworkRequest' - }, - const { - '1': 'getSubnetworkResponse', - '3': 1028, - '4': 1, - '5': 11, - '6': '.protowire.GetSubnetworkResponseMessage', - '9': 0, - '10': 'getSubnetworkResponse' - }, - const { - '1': 'getVirtualSelectedParentChainFromBlockRequest', - '3': 1029, - '4': 1, - '5': 11, - '6': '.protowire.GetVirtualSelectedParentChainFromBlockRequestMessage', - '9': 0, - '10': 'getVirtualSelectedParentChainFromBlockRequest' - }, - const { - '1': 'getVirtualSelectedParentChainFromBlockResponse', - '3': 1030, - '4': 1, - '5': 11, - '6': '.protowire.GetVirtualSelectedParentChainFromBlockResponseMessage', - '9': 0, - '10': 'getVirtualSelectedParentChainFromBlockResponse' - }, - const { - '1': 'getBlocksRequest', - '3': 1031, - '4': 1, - '5': 11, - '6': '.protowire.GetBlocksRequestMessage', - '9': 0, - '10': 'getBlocksRequest' - }, - const { - '1': 'getBlocksResponse', - '3': 1032, - '4': 1, - '5': 11, - '6': '.protowire.GetBlocksResponseMessage', - '9': 0, - '10': 'getBlocksResponse' - }, - const { - '1': 'getBlockCountRequest', - '3': 1033, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockCountRequestMessage', - '9': 0, - '10': 'getBlockCountRequest' - }, - const { - '1': 'getBlockCountResponse', - '3': 1034, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockCountResponseMessage', - '9': 0, - '10': 'getBlockCountResponse' - }, - const { - '1': 'getBlockDagInfoRequest', - '3': 1035, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockDagInfoRequestMessage', - '9': 0, - '10': 'getBlockDagInfoRequest' - }, - const { - '1': 'getBlockDagInfoResponse', - '3': 1036, - '4': 1, - '5': 11, - '6': '.protowire.GetBlockDagInfoResponseMessage', - '9': 0, - '10': 'getBlockDagInfoResponse' - }, - const { - '1': 'resolveFinalityConflictRequest', - '3': 1037, - '4': 1, - '5': 11, - '6': '.protowire.ResolveFinalityConflictRequestMessage', - '9': 0, - '10': 'resolveFinalityConflictRequest' - }, - const { - '1': 'resolveFinalityConflictResponse', - '3': 1038, - '4': 1, - '5': 11, - '6': '.protowire.ResolveFinalityConflictResponseMessage', - '9': 0, - '10': 'resolveFinalityConflictResponse' - }, - const { - '1': 'notifyFinalityConflictsRequest', - '3': 1039, - '4': 1, - '5': 11, - '6': '.protowire.NotifyFinalityConflictsRequestMessage', - '9': 0, - '10': 'notifyFinalityConflictsRequest' - }, - const { - '1': 'notifyFinalityConflictsResponse', - '3': 1040, - '4': 1, - '5': 11, - '6': '.protowire.NotifyFinalityConflictsResponseMessage', - '9': 0, - '10': 'notifyFinalityConflictsResponse' - }, - const { - '1': 'finalityConflictNotification', - '3': 1041, - '4': 1, - '5': 11, - '6': '.protowire.FinalityConflictNotificationMessage', - '9': 0, - '10': 'finalityConflictNotification' - }, - const { - '1': 'finalityConflictResolvedNotification', - '3': 1042, - '4': 1, - '5': 11, - '6': '.protowire.FinalityConflictResolvedNotificationMessage', - '9': 0, - '10': 'finalityConflictResolvedNotification' - }, - const { - '1': 'getMempoolEntriesRequest', - '3': 1043, - '4': 1, - '5': 11, - '6': '.protowire.GetMempoolEntriesRequestMessage', - '9': 0, - '10': 'getMempoolEntriesRequest' - }, - const { - '1': 'getMempoolEntriesResponse', - '3': 1044, - '4': 1, - '5': 11, - '6': '.protowire.GetMempoolEntriesResponseMessage', - '9': 0, - '10': 'getMempoolEntriesResponse' - }, - const { - '1': 'shutDownRequest', - '3': 1045, - '4': 1, - '5': 11, - '6': '.protowire.ShutDownRequestMessage', - '9': 0, - '10': 'shutDownRequest' - }, - const { - '1': 'shutDownResponse', - '3': 1046, - '4': 1, - '5': 11, - '6': '.protowire.ShutDownResponseMessage', - '9': 0, - '10': 'shutDownResponse' - }, - const { - '1': 'getHeadersRequest', - '3': 1047, - '4': 1, - '5': 11, - '6': '.protowire.GetHeadersRequestMessage', - '9': 0, - '10': 'getHeadersRequest' - }, - const { - '1': 'getHeadersResponse', - '3': 1048, - '4': 1, - '5': 11, - '6': '.protowire.GetHeadersResponseMessage', - '9': 0, - '10': 'getHeadersResponse' - }, - const { - '1': 'notifyUtxosChangedRequest', - '3': 1049, - '4': 1, - '5': 11, - '6': '.protowire.NotifyUtxosChangedRequestMessage', - '9': 0, - '10': 'notifyUtxosChangedRequest' - }, - const { - '1': 'notifyUtxosChangedResponse', - '3': 1050, - '4': 1, - '5': 11, - '6': '.protowire.NotifyUtxosChangedResponseMessage', - '9': 0, - '10': 'notifyUtxosChangedResponse' - }, - const { - '1': 'utxosChangedNotification', - '3': 1051, - '4': 1, - '5': 11, - '6': '.protowire.UtxosChangedNotificationMessage', - '9': 0, - '10': 'utxosChangedNotification' - }, - const { - '1': 'getUtxosByAddressesRequest', - '3': 1052, - '4': 1, - '5': 11, - '6': '.protowire.GetUtxosByAddressesRequestMessage', - '9': 0, - '10': 'getUtxosByAddressesRequest' - }, - const { - '1': 'getUtxosByAddressesResponse', - '3': 1053, - '4': 1, - '5': 11, - '6': '.protowire.GetUtxosByAddressesResponseMessage', - '9': 0, - '10': 'getUtxosByAddressesResponse' - }, - const { - '1': 'getVirtualSelectedParentBlueScoreRequest', - '3': 1054, - '4': 1, - '5': 11, - '6': '.protowire.GetVirtualSelectedParentBlueScoreRequestMessage', - '9': 0, - '10': 'getVirtualSelectedParentBlueScoreRequest' - }, - const { - '1': 'getVirtualSelectedParentBlueScoreResponse', - '3': 1055, - '4': 1, - '5': 11, - '6': '.protowire.GetVirtualSelectedParentBlueScoreResponseMessage', - '9': 0, - '10': 'getVirtualSelectedParentBlueScoreResponse' - }, - const { - '1': 'notifyVirtualSelectedParentBlueScoreChangedRequest', - '3': 1056, - '4': 1, - '5': 11, - '6': - '.protowire.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage', - '9': 0, - '10': 'notifyVirtualSelectedParentBlueScoreChangedRequest' - }, - const { - '1': 'notifyVirtualSelectedParentBlueScoreChangedResponse', - '3': 1057, - '4': 1, - '5': 11, - '6': - '.protowire.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage', - '9': 0, - '10': 'notifyVirtualSelectedParentBlueScoreChangedResponse' - }, - const { - '1': 'virtualSelectedParentBlueScoreChangedNotification', - '3': 1058, - '4': 1, - '5': 11, - '6': - '.protowire.VirtualSelectedParentBlueScoreChangedNotificationMessage', - '9': 0, - '10': 'virtualSelectedParentBlueScoreChangedNotification' - }, - const { - '1': 'banRequest', - '3': 1059, - '4': 1, - '5': 11, - '6': '.protowire.BanRequestMessage', - '9': 0, - '10': 'banRequest' - }, - const { - '1': 'banResponse', - '3': 1060, - '4': 1, - '5': 11, - '6': '.protowire.BanResponseMessage', - '9': 0, - '10': 'banResponse' - }, - const { - '1': 'unbanRequest', - '3': 1061, - '4': 1, - '5': 11, - '6': '.protowire.UnbanRequestMessage', - '9': 0, - '10': 'unbanRequest' - }, - const { - '1': 'unbanResponse', - '3': 1062, - '4': 1, - '5': 11, - '6': '.protowire.UnbanResponseMessage', - '9': 0, - '10': 'unbanResponse' - }, - const { - '1': 'getInfoRequest', - '3': 1063, - '4': 1, - '5': 11, - '6': '.protowire.GetInfoRequestMessage', - '9': 0, - '10': 'getInfoRequest' - }, - const { - '1': 'getInfoResponse', - '3': 1064, - '4': 1, - '5': 11, - '6': '.protowire.GetInfoResponseMessage', - '9': 0, - '10': 'getInfoResponse' - }, - const { - '1': 'stopNotifyingUtxosChangedRequest', - '3': 1065, - '4': 1, - '5': 11, - '6': '.protowire.StopNotifyingUtxosChangedRequestMessage', - '9': 0, - '10': 'stopNotifyingUtxosChangedRequest' - }, - const { - '1': 'stopNotifyingUtxosChangedResponse', - '3': 1066, - '4': 1, - '5': 11, - '6': '.protowire.StopNotifyingUtxosChangedResponseMessage', - '9': 0, - '10': 'stopNotifyingUtxosChangedResponse' - }, - const { - '1': 'notifyPruningPointUTXOSetOverrideRequest', - '3': 1067, - '4': 1, - '5': 11, - '6': '.protowire.NotifyPruningPointUTXOSetOverrideRequestMessage', - '9': 0, - '10': 'notifyPruningPointUTXOSetOverrideRequest' - }, - const { - '1': 'notifyPruningPointUTXOSetOverrideResponse', - '3': 1068, - '4': 1, - '5': 11, - '6': '.protowire.NotifyPruningPointUTXOSetOverrideResponseMessage', - '9': 0, - '10': 'notifyPruningPointUTXOSetOverrideResponse' - }, - const { - '1': 'pruningPointUTXOSetOverrideNotification', - '3': 1069, - '4': 1, - '5': 11, - '6': '.protowire.PruningPointUTXOSetOverrideNotificationMessage', - '9': 0, - '10': 'pruningPointUTXOSetOverrideNotification' - }, - const { - '1': 'stopNotifyingPruningPointUTXOSetOverrideRequest', - '3': 1070, - '4': 1, - '5': 11, - '6': '.protowire.StopNotifyingPruningPointUTXOSetOverrideRequestMessage', - '9': 0, - '10': 'stopNotifyingPruningPointUTXOSetOverrideRequest' - }, - const { - '1': 'stopNotifyingPruningPointUTXOSetOverrideResponse', - '3': 1071, - '4': 1, - '5': 11, - '6': '.protowire.StopNotifyingPruningPointUTXOSetOverrideResponseMessage', - '9': 0, - '10': 'stopNotifyingPruningPointUTXOSetOverrideResponse' - }, - const { - '1': 'estimateNetworkHashesPerSecondRequest', - '3': 1072, - '4': 1, - '5': 11, - '6': '.protowire.EstimateNetworkHashesPerSecondRequestMessage', - '9': 0, - '10': 'estimateNetworkHashesPerSecondRequest' - }, - const { - '1': 'estimateNetworkHashesPerSecondResponse', - '3': 1073, - '4': 1, - '5': 11, - '6': '.protowire.EstimateNetworkHashesPerSecondResponseMessage', - '9': 0, - '10': 'estimateNetworkHashesPerSecondResponse' - }, - const { - '1': 'notifyVirtualDaaScoreChangedRequest', - '3': 1074, - '4': 1, - '5': 11, - '6': '.protowire.NotifyVirtualDaaScoreChangedRequestMessage', - '9': 0, - '10': 'notifyVirtualDaaScoreChangedRequest' - }, - const { - '1': 'notifyVirtualDaaScoreChangedResponse', - '3': 1075, - '4': 1, - '5': 11, - '6': '.protowire.NotifyVirtualDaaScoreChangedResponseMessage', - '9': 0, - '10': 'notifyVirtualDaaScoreChangedResponse' - }, - const { - '1': 'virtualDaaScoreChangedNotification', - '3': 1076, - '4': 1, - '5': 11, - '6': '.protowire.VirtualDaaScoreChangedNotificationMessage', - '9': 0, - '10': 'virtualDaaScoreChangedNotification' - }, - const { - '1': 'getBalanceByAddressRequest', - '3': 1077, - '4': 1, - '5': 11, - '6': '.protowire.GetBalanceByAddressRequestMessage', - '9': 0, - '10': 'getBalanceByAddressRequest' - }, - const { - '1': 'getBalanceByAddressResponse', - '3': 1078, - '4': 1, - '5': 11, - '6': '.protowire.GetBalanceByAddressResponseMessage', - '9': 0, - '10': 'getBalanceByAddressResponse' - }, - const { - '1': 'getBalancesByAddressesRequest', - '3': 1079, - '4': 1, - '5': 11, - '6': '.protowire.GetBalancesByAddressesRequestMessage', - '9': 0, - '10': 'getBalancesByAddressesRequest' - }, - const { - '1': 'getBalancesByAddressesResponse', - '3': 1080, - '4': 1, - '5': 11, - '6': '.protowire.GetBalancesByAddressesResponseMessage', - '9': 0, - '10': 'getBalancesByAddressesResponse' - }, - const { - '1': 'notifyNewBlockTemplateRequest', - '3': 1081, - '4': 1, - '5': 11, - '6': '.protowire.NotifyNewBlockTemplateRequestMessage', - '9': 0, - '10': 'notifyNewBlockTemplateRequest' - }, - const { - '1': 'notifyNewBlockTemplateResponse', - '3': 1082, - '4': 1, - '5': 11, - '6': '.protowire.NotifyNewBlockTemplateResponseMessage', - '9': 0, - '10': 'notifyNewBlockTemplateResponse' - }, - const { - '1': 'newBlockTemplateNotification', - '3': 1083, - '4': 1, - '5': 11, - '6': '.protowire.NewBlockTemplateNotificationMessage', - '9': 0, - '10': 'newBlockTemplateNotification' - }, - const { - '1': 'getMempoolEntriesByAddressesRequest', - '3': 1084, - '4': 1, - '5': 11, - '6': '.protowire.GetMempoolEntriesByAddressesRequestMessage', - '9': 0, - '10': 'getMempoolEntriesByAddressesRequest' - }, - const { - '1': 'getMempoolEntriesByAddressesResponse', - '3': 1085, - '4': 1, - '5': 11, - '6': '.protowire.GetMempoolEntriesByAddressesResponseMessage', - '9': 0, - '10': 'getMempoolEntriesByAddressesResponse' - }, - const { - '1': 'getCoinSupplyRequest', - '3': 1086, - '4': 1, - '5': 11, - '6': '.protowire.GetCoinSupplyRequestMessage', - '9': 0, - '10': 'getCoinSupplyRequest' - }, - const { - '1': 'getCoinSupplyResponse', - '3': 1087, - '4': 1, - '5': 11, - '6': '.protowire.GetCoinSupplyResponseMessage', - '9': 0, - '10': 'getCoinSupplyResponse' - }, + const {'1': 'addresses', '3': 1, '4': 1, '5': 11, '6': '.protowire.AddressesMessage', '9': 0, '10': 'addresses'}, + const {'1': 'block', '3': 2, '4': 1, '5': 11, '6': '.protowire.BlockMessage', '9': 0, '10': 'block'}, + const {'1': 'transaction', '3': 3, '4': 1, '5': 11, '6': '.protowire.TransactionMessage', '9': 0, '10': 'transaction'}, + const {'1': 'blockLocator', '3': 5, '4': 1, '5': 11, '6': '.protowire.BlockLocatorMessage', '9': 0, '10': 'blockLocator'}, + const {'1': 'requestAddresses', '3': 6, '4': 1, '5': 11, '6': '.protowire.RequestAddressesMessage', '9': 0, '10': 'requestAddresses'}, + const {'1': 'requestRelayBlocks', '3': 10, '4': 1, '5': 11, '6': '.protowire.RequestRelayBlocksMessage', '9': 0, '10': 'requestRelayBlocks'}, + const {'1': 'requestTransactions', '3': 12, '4': 1, '5': 11, '6': '.protowire.RequestTransactionsMessage', '9': 0, '10': 'requestTransactions'}, + const {'1': 'ibdBlock', '3': 13, '4': 1, '5': 11, '6': '.protowire.BlockMessage', '9': 0, '10': 'ibdBlock'}, + const {'1': 'invRelayBlock', '3': 14, '4': 1, '5': 11, '6': '.protowire.InvRelayBlockMessage', '9': 0, '10': 'invRelayBlock'}, + const {'1': 'invTransactions', '3': 15, '4': 1, '5': 11, '6': '.protowire.InvTransactionsMessage', '9': 0, '10': 'invTransactions'}, + const {'1': 'ping', '3': 16, '4': 1, '5': 11, '6': '.protowire.PingMessage', '9': 0, '10': 'ping'}, + const {'1': 'pong', '3': 17, '4': 1, '5': 11, '6': '.protowire.PongMessage', '9': 0, '10': 'pong'}, + const {'1': 'verack', '3': 19, '4': 1, '5': 11, '6': '.protowire.VerackMessage', '9': 0, '10': 'verack'}, + const {'1': 'version', '3': 20, '4': 1, '5': 11, '6': '.protowire.VersionMessage', '9': 0, '10': 'version'}, + const {'1': 'transactionNotFound', '3': 21, '4': 1, '5': 11, '6': '.protowire.TransactionNotFoundMessage', '9': 0, '10': 'transactionNotFound'}, + const {'1': 'reject', '3': 22, '4': 1, '5': 11, '6': '.protowire.RejectMessage', '9': 0, '10': 'reject'}, + const {'1': 'pruningPointUtxoSetChunk', '3': 25, '4': 1, '5': 11, '6': '.protowire.PruningPointUtxoSetChunkMessage', '9': 0, '10': 'pruningPointUtxoSetChunk'}, + const {'1': 'requestIBDBlocks', '3': 26, '4': 1, '5': 11, '6': '.protowire.RequestIBDBlocksMessage', '9': 0, '10': 'requestIBDBlocks'}, + const {'1': 'unexpectedPruningPoint', '3': 27, '4': 1, '5': 11, '6': '.protowire.UnexpectedPruningPointMessage', '9': 0, '10': 'unexpectedPruningPoint'}, + const {'1': 'ibdBlockLocator', '3': 30, '4': 1, '5': 11, '6': '.protowire.IbdBlockLocatorMessage', '9': 0, '10': 'ibdBlockLocator'}, + const {'1': 'ibdBlockLocatorHighestHash', '3': 31, '4': 1, '5': 11, '6': '.protowire.IbdBlockLocatorHighestHashMessage', '9': 0, '10': 'ibdBlockLocatorHighestHash'}, + const {'1': 'requestNextPruningPointUtxoSetChunk', '3': 33, '4': 1, '5': 11, '6': '.protowire.RequestNextPruningPointUtxoSetChunkMessage', '9': 0, '10': 'requestNextPruningPointUtxoSetChunk'}, + const {'1': 'donePruningPointUtxoSetChunks', '3': 34, '4': 1, '5': 11, '6': '.protowire.DonePruningPointUtxoSetChunksMessage', '9': 0, '10': 'donePruningPointUtxoSetChunks'}, + const {'1': 'ibdBlockLocatorHighestHashNotFound', '3': 35, '4': 1, '5': 11, '6': '.protowire.IbdBlockLocatorHighestHashNotFoundMessage', '9': 0, '10': 'ibdBlockLocatorHighestHashNotFound'}, + const {'1': 'blockWithTrustedData', '3': 36, '4': 1, '5': 11, '6': '.protowire.BlockWithTrustedDataMessage', '9': 0, '10': 'blockWithTrustedData'}, + const {'1': 'doneBlocksWithTrustedData', '3': 37, '4': 1, '5': 11, '6': '.protowire.DoneBlocksWithTrustedDataMessage', '9': 0, '10': 'doneBlocksWithTrustedData'}, + const {'1': 'requestPruningPointAndItsAnticone', '3': 40, '4': 1, '5': 11, '6': '.protowire.RequestPruningPointAndItsAnticoneMessage', '9': 0, '10': 'requestPruningPointAndItsAnticone'}, + const {'1': 'blockHeaders', '3': 41, '4': 1, '5': 11, '6': '.protowire.BlockHeadersMessage', '9': 0, '10': 'blockHeaders'}, + const {'1': 'requestNextHeaders', '3': 42, '4': 1, '5': 11, '6': '.protowire.RequestNextHeadersMessage', '9': 0, '10': 'requestNextHeaders'}, + const {'1': 'DoneHeaders', '3': 43, '4': 1, '5': 11, '6': '.protowire.DoneHeadersMessage', '9': 0, '10': 'DoneHeaders'}, + const {'1': 'requestPruningPointUTXOSet', '3': 44, '4': 1, '5': 11, '6': '.protowire.RequestPruningPointUTXOSetMessage', '9': 0, '10': 'requestPruningPointUTXOSet'}, + const {'1': 'requestHeaders', '3': 45, '4': 1, '5': 11, '6': '.protowire.RequestHeadersMessage', '9': 0, '10': 'requestHeaders'}, + const {'1': 'requestBlockLocator', '3': 46, '4': 1, '5': 11, '6': '.protowire.RequestBlockLocatorMessage', '9': 0, '10': 'requestBlockLocator'}, + const {'1': 'pruningPoints', '3': 47, '4': 1, '5': 11, '6': '.protowire.PruningPointsMessage', '9': 0, '10': 'pruningPoints'}, + const {'1': 'requestPruningPointProof', '3': 48, '4': 1, '5': 11, '6': '.protowire.RequestPruningPointProofMessage', '9': 0, '10': 'requestPruningPointProof'}, + const {'1': 'pruningPointProof', '3': 49, '4': 1, '5': 11, '6': '.protowire.PruningPointProofMessage', '9': 0, '10': 'pruningPointProof'}, + const {'1': 'ready', '3': 50, '4': 1, '5': 11, '6': '.protowire.ReadyMessage', '9': 0, '10': 'ready'}, + const {'1': 'blockWithTrustedDataV4', '3': 51, '4': 1, '5': 11, '6': '.protowire.BlockWithTrustedDataV4Message', '9': 0, '10': 'blockWithTrustedDataV4'}, + const {'1': 'trustedData', '3': 52, '4': 1, '5': 11, '6': '.protowire.TrustedDataMessage', '9': 0, '10': 'trustedData'}, + const {'1': 'requestIBDChainBlockLocator', '3': 53, '4': 1, '5': 11, '6': '.protowire.RequestIBDChainBlockLocatorMessage', '9': 0, '10': 'requestIBDChainBlockLocator'}, + const {'1': 'ibdChainBlockLocator', '3': 54, '4': 1, '5': 11, '6': '.protowire.IbdChainBlockLocatorMessage', '9': 0, '10': 'ibdChainBlockLocator'}, + const {'1': 'requestAnticone', '3': 55, '4': 1, '5': 11, '6': '.protowire.RequestAnticoneMessage', '9': 0, '10': 'requestAnticone'}, + const {'1': 'requestNextPruningPointAndItsAnticoneBlocks', '3': 56, '4': 1, '5': 11, '6': '.protowire.RequestNextPruningPointAndItsAnticoneBlocksMessage', '9': 0, '10': 'requestNextPruningPointAndItsAnticoneBlocks'}, + const {'1': 'getCurrentNetworkRequest', '3': 1001, '4': 1, '5': 11, '6': '.protowire.GetCurrentNetworkRequestMessage', '9': 0, '10': 'getCurrentNetworkRequest'}, + const {'1': 'getCurrentNetworkResponse', '3': 1002, '4': 1, '5': 11, '6': '.protowire.GetCurrentNetworkResponseMessage', '9': 0, '10': 'getCurrentNetworkResponse'}, + const {'1': 'submitBlockRequest', '3': 1003, '4': 1, '5': 11, '6': '.protowire.SubmitBlockRequestMessage', '9': 0, '10': 'submitBlockRequest'}, + const {'1': 'submitBlockResponse', '3': 1004, '4': 1, '5': 11, '6': '.protowire.SubmitBlockResponseMessage', '9': 0, '10': 'submitBlockResponse'}, + const {'1': 'getBlockTemplateRequest', '3': 1005, '4': 1, '5': 11, '6': '.protowire.GetBlockTemplateRequestMessage', '9': 0, '10': 'getBlockTemplateRequest'}, + const {'1': 'getBlockTemplateResponse', '3': 1006, '4': 1, '5': 11, '6': '.protowire.GetBlockTemplateResponseMessage', '9': 0, '10': 'getBlockTemplateResponse'}, + const {'1': 'notifyBlockAddedRequest', '3': 1007, '4': 1, '5': 11, '6': '.protowire.NotifyBlockAddedRequestMessage', '9': 0, '10': 'notifyBlockAddedRequest'}, + const {'1': 'notifyBlockAddedResponse', '3': 1008, '4': 1, '5': 11, '6': '.protowire.NotifyBlockAddedResponseMessage', '9': 0, '10': 'notifyBlockAddedResponse'}, + const {'1': 'blockAddedNotification', '3': 1009, '4': 1, '5': 11, '6': '.protowire.BlockAddedNotificationMessage', '9': 0, '10': 'blockAddedNotification'}, + const {'1': 'getPeerAddressesRequest', '3': 1010, '4': 1, '5': 11, '6': '.protowire.GetPeerAddressesRequestMessage', '9': 0, '10': 'getPeerAddressesRequest'}, + const {'1': 'getPeerAddressesResponse', '3': 1011, '4': 1, '5': 11, '6': '.protowire.GetPeerAddressesResponseMessage', '9': 0, '10': 'getPeerAddressesResponse'}, + const {'1': 'getSelectedTipHashRequest', '3': 1012, '4': 1, '5': 11, '6': '.protowire.GetSelectedTipHashRequestMessage', '9': 0, '10': 'getSelectedTipHashRequest'}, + const {'1': 'getSelectedTipHashResponse', '3': 1013, '4': 1, '5': 11, '6': '.protowire.GetSelectedTipHashResponseMessage', '9': 0, '10': 'getSelectedTipHashResponse'}, + const {'1': 'getMempoolEntryRequest', '3': 1014, '4': 1, '5': 11, '6': '.protowire.GetMempoolEntryRequestMessage', '9': 0, '10': 'getMempoolEntryRequest'}, + const {'1': 'getMempoolEntryResponse', '3': 1015, '4': 1, '5': 11, '6': '.protowire.GetMempoolEntryResponseMessage', '9': 0, '10': 'getMempoolEntryResponse'}, + const {'1': 'getConnectedPeerInfoRequest', '3': 1016, '4': 1, '5': 11, '6': '.protowire.GetConnectedPeerInfoRequestMessage', '9': 0, '10': 'getConnectedPeerInfoRequest'}, + const {'1': 'getConnectedPeerInfoResponse', '3': 1017, '4': 1, '5': 11, '6': '.protowire.GetConnectedPeerInfoResponseMessage', '9': 0, '10': 'getConnectedPeerInfoResponse'}, + const {'1': 'addPeerRequest', '3': 1018, '4': 1, '5': 11, '6': '.protowire.AddPeerRequestMessage', '9': 0, '10': 'addPeerRequest'}, + const {'1': 'addPeerResponse', '3': 1019, '4': 1, '5': 11, '6': '.protowire.AddPeerResponseMessage', '9': 0, '10': 'addPeerResponse'}, + const {'1': 'submitTransactionRequest', '3': 1020, '4': 1, '5': 11, '6': '.protowire.SubmitTransactionRequestMessage', '9': 0, '10': 'submitTransactionRequest'}, + const {'1': 'submitTransactionResponse', '3': 1021, '4': 1, '5': 11, '6': '.protowire.SubmitTransactionResponseMessage', '9': 0, '10': 'submitTransactionResponse'}, + const {'1': 'notifyVirtualSelectedParentChainChangedRequest', '3': 1022, '4': 1, '5': 11, '6': '.protowire.NotifyVirtualSelectedParentChainChangedRequestMessage', '9': 0, '10': 'notifyVirtualSelectedParentChainChangedRequest'}, + const {'1': 'notifyVirtualSelectedParentChainChangedResponse', '3': 1023, '4': 1, '5': 11, '6': '.protowire.NotifyVirtualSelectedParentChainChangedResponseMessage', '9': 0, '10': 'notifyVirtualSelectedParentChainChangedResponse'}, + const {'1': 'virtualSelectedParentChainChangedNotification', '3': 1024, '4': 1, '5': 11, '6': '.protowire.VirtualSelectedParentChainChangedNotificationMessage', '9': 0, '10': 'virtualSelectedParentChainChangedNotification'}, + const {'1': 'getBlockRequest', '3': 1025, '4': 1, '5': 11, '6': '.protowire.GetBlockRequestMessage', '9': 0, '10': 'getBlockRequest'}, + const {'1': 'getBlockResponse', '3': 1026, '4': 1, '5': 11, '6': '.protowire.GetBlockResponseMessage', '9': 0, '10': 'getBlockResponse'}, + const {'1': 'getSubnetworkRequest', '3': 1027, '4': 1, '5': 11, '6': '.protowire.GetSubnetworkRequestMessage', '9': 0, '10': 'getSubnetworkRequest'}, + const {'1': 'getSubnetworkResponse', '3': 1028, '4': 1, '5': 11, '6': '.protowire.GetSubnetworkResponseMessage', '9': 0, '10': 'getSubnetworkResponse'}, + const {'1': 'getVirtualSelectedParentChainFromBlockRequest', '3': 1029, '4': 1, '5': 11, '6': '.protowire.GetVirtualSelectedParentChainFromBlockRequestMessage', '9': 0, '10': 'getVirtualSelectedParentChainFromBlockRequest'}, + const {'1': 'getVirtualSelectedParentChainFromBlockResponse', '3': 1030, '4': 1, '5': 11, '6': '.protowire.GetVirtualSelectedParentChainFromBlockResponseMessage', '9': 0, '10': 'getVirtualSelectedParentChainFromBlockResponse'}, + const {'1': 'getBlocksRequest', '3': 1031, '4': 1, '5': 11, '6': '.protowire.GetBlocksRequestMessage', '9': 0, '10': 'getBlocksRequest'}, + const {'1': 'getBlocksResponse', '3': 1032, '4': 1, '5': 11, '6': '.protowire.GetBlocksResponseMessage', '9': 0, '10': 'getBlocksResponse'}, + const {'1': 'getBlockCountRequest', '3': 1033, '4': 1, '5': 11, '6': '.protowire.GetBlockCountRequestMessage', '9': 0, '10': 'getBlockCountRequest'}, + const {'1': 'getBlockCountResponse', '3': 1034, '4': 1, '5': 11, '6': '.protowire.GetBlockCountResponseMessage', '9': 0, '10': 'getBlockCountResponse'}, + const {'1': 'getBlockDagInfoRequest', '3': 1035, '4': 1, '5': 11, '6': '.protowire.GetBlockDagInfoRequestMessage', '9': 0, '10': 'getBlockDagInfoRequest'}, + const {'1': 'getBlockDagInfoResponse', '3': 1036, '4': 1, '5': 11, '6': '.protowire.GetBlockDagInfoResponseMessage', '9': 0, '10': 'getBlockDagInfoResponse'}, + const {'1': 'resolveFinalityConflictRequest', '3': 1037, '4': 1, '5': 11, '6': '.protowire.ResolveFinalityConflictRequestMessage', '9': 0, '10': 'resolveFinalityConflictRequest'}, + const {'1': 'resolveFinalityConflictResponse', '3': 1038, '4': 1, '5': 11, '6': '.protowire.ResolveFinalityConflictResponseMessage', '9': 0, '10': 'resolveFinalityConflictResponse'}, + const {'1': 'notifyFinalityConflictsRequest', '3': 1039, '4': 1, '5': 11, '6': '.protowire.NotifyFinalityConflictsRequestMessage', '9': 0, '10': 'notifyFinalityConflictsRequest'}, + const {'1': 'notifyFinalityConflictsResponse', '3': 1040, '4': 1, '5': 11, '6': '.protowire.NotifyFinalityConflictsResponseMessage', '9': 0, '10': 'notifyFinalityConflictsResponse'}, + const {'1': 'finalityConflictNotification', '3': 1041, '4': 1, '5': 11, '6': '.protowire.FinalityConflictNotificationMessage', '9': 0, '10': 'finalityConflictNotification'}, + const {'1': 'finalityConflictResolvedNotification', '3': 1042, '4': 1, '5': 11, '6': '.protowire.FinalityConflictResolvedNotificationMessage', '9': 0, '10': 'finalityConflictResolvedNotification'}, + const {'1': 'getMempoolEntriesRequest', '3': 1043, '4': 1, '5': 11, '6': '.protowire.GetMempoolEntriesRequestMessage', '9': 0, '10': 'getMempoolEntriesRequest'}, + const {'1': 'getMempoolEntriesResponse', '3': 1044, '4': 1, '5': 11, '6': '.protowire.GetMempoolEntriesResponseMessage', '9': 0, '10': 'getMempoolEntriesResponse'}, + const {'1': 'shutDownRequest', '3': 1045, '4': 1, '5': 11, '6': '.protowire.ShutDownRequestMessage', '9': 0, '10': 'shutDownRequest'}, + const {'1': 'shutDownResponse', '3': 1046, '4': 1, '5': 11, '6': '.protowire.ShutDownResponseMessage', '9': 0, '10': 'shutDownResponse'}, + const {'1': 'getHeadersRequest', '3': 1047, '4': 1, '5': 11, '6': '.protowire.GetHeadersRequestMessage', '9': 0, '10': 'getHeadersRequest'}, + const {'1': 'getHeadersResponse', '3': 1048, '4': 1, '5': 11, '6': '.protowire.GetHeadersResponseMessage', '9': 0, '10': 'getHeadersResponse'}, + const {'1': 'notifyUtxosChangedRequest', '3': 1049, '4': 1, '5': 11, '6': '.protowire.NotifyUtxosChangedRequestMessage', '9': 0, '10': 'notifyUtxosChangedRequest'}, + const {'1': 'notifyUtxosChangedResponse', '3': 1050, '4': 1, '5': 11, '6': '.protowire.NotifyUtxosChangedResponseMessage', '9': 0, '10': 'notifyUtxosChangedResponse'}, + const {'1': 'utxosChangedNotification', '3': 1051, '4': 1, '5': 11, '6': '.protowire.UtxosChangedNotificationMessage', '9': 0, '10': 'utxosChangedNotification'}, + const {'1': 'getUtxosByAddressesRequest', '3': 1052, '4': 1, '5': 11, '6': '.protowire.GetUtxosByAddressesRequestMessage', '9': 0, '10': 'getUtxosByAddressesRequest'}, + const {'1': 'getUtxosByAddressesResponse', '3': 1053, '4': 1, '5': 11, '6': '.protowire.GetUtxosByAddressesResponseMessage', '9': 0, '10': 'getUtxosByAddressesResponse'}, + const {'1': 'getVirtualSelectedParentBlueScoreRequest', '3': 1054, '4': 1, '5': 11, '6': '.protowire.GetVirtualSelectedParentBlueScoreRequestMessage', '9': 0, '10': 'getVirtualSelectedParentBlueScoreRequest'}, + const {'1': 'getVirtualSelectedParentBlueScoreResponse', '3': 1055, '4': 1, '5': 11, '6': '.protowire.GetVirtualSelectedParentBlueScoreResponseMessage', '9': 0, '10': 'getVirtualSelectedParentBlueScoreResponse'}, + const {'1': 'notifyVirtualSelectedParentBlueScoreChangedRequest', '3': 1056, '4': 1, '5': 11, '6': '.protowire.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage', '9': 0, '10': 'notifyVirtualSelectedParentBlueScoreChangedRequest'}, + const {'1': 'notifyVirtualSelectedParentBlueScoreChangedResponse', '3': 1057, '4': 1, '5': 11, '6': '.protowire.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage', '9': 0, '10': 'notifyVirtualSelectedParentBlueScoreChangedResponse'}, + const {'1': 'virtualSelectedParentBlueScoreChangedNotification', '3': 1058, '4': 1, '5': 11, '6': '.protowire.VirtualSelectedParentBlueScoreChangedNotificationMessage', '9': 0, '10': 'virtualSelectedParentBlueScoreChangedNotification'}, + const {'1': 'banRequest', '3': 1059, '4': 1, '5': 11, '6': '.protowire.BanRequestMessage', '9': 0, '10': 'banRequest'}, + const {'1': 'banResponse', '3': 1060, '4': 1, '5': 11, '6': '.protowire.BanResponseMessage', '9': 0, '10': 'banResponse'}, + const {'1': 'unbanRequest', '3': 1061, '4': 1, '5': 11, '6': '.protowire.UnbanRequestMessage', '9': 0, '10': 'unbanRequest'}, + const {'1': 'unbanResponse', '3': 1062, '4': 1, '5': 11, '6': '.protowire.UnbanResponseMessage', '9': 0, '10': 'unbanResponse'}, + const {'1': 'getInfoRequest', '3': 1063, '4': 1, '5': 11, '6': '.protowire.GetInfoRequestMessage', '9': 0, '10': 'getInfoRequest'}, + const {'1': 'getInfoResponse', '3': 1064, '4': 1, '5': 11, '6': '.protowire.GetInfoResponseMessage', '9': 0, '10': 'getInfoResponse'}, + const {'1': 'stopNotifyingUtxosChangedRequest', '3': 1065, '4': 1, '5': 11, '6': '.protowire.StopNotifyingUtxosChangedRequestMessage', '9': 0, '10': 'stopNotifyingUtxosChangedRequest'}, + const {'1': 'stopNotifyingUtxosChangedResponse', '3': 1066, '4': 1, '5': 11, '6': '.protowire.StopNotifyingUtxosChangedResponseMessage', '9': 0, '10': 'stopNotifyingUtxosChangedResponse'}, + const {'1': 'notifyPruningPointUTXOSetOverrideRequest', '3': 1067, '4': 1, '5': 11, '6': '.protowire.NotifyPruningPointUTXOSetOverrideRequestMessage', '9': 0, '10': 'notifyPruningPointUTXOSetOverrideRequest'}, + const {'1': 'notifyPruningPointUTXOSetOverrideResponse', '3': 1068, '4': 1, '5': 11, '6': '.protowire.NotifyPruningPointUTXOSetOverrideResponseMessage', '9': 0, '10': 'notifyPruningPointUTXOSetOverrideResponse'}, + const {'1': 'pruningPointUTXOSetOverrideNotification', '3': 1069, '4': 1, '5': 11, '6': '.protowire.PruningPointUTXOSetOverrideNotificationMessage', '9': 0, '10': 'pruningPointUTXOSetOverrideNotification'}, + const {'1': 'stopNotifyingPruningPointUTXOSetOverrideRequest', '3': 1070, '4': 1, '5': 11, '6': '.protowire.StopNotifyingPruningPointUTXOSetOverrideRequestMessage', '9': 0, '10': 'stopNotifyingPruningPointUTXOSetOverrideRequest'}, + const {'1': 'stopNotifyingPruningPointUTXOSetOverrideResponse', '3': 1071, '4': 1, '5': 11, '6': '.protowire.StopNotifyingPruningPointUTXOSetOverrideResponseMessage', '9': 0, '10': 'stopNotifyingPruningPointUTXOSetOverrideResponse'}, + const {'1': 'estimateNetworkHashesPerSecondRequest', '3': 1072, '4': 1, '5': 11, '6': '.protowire.EstimateNetworkHashesPerSecondRequestMessage', '9': 0, '10': 'estimateNetworkHashesPerSecondRequest'}, + const {'1': 'estimateNetworkHashesPerSecondResponse', '3': 1073, '4': 1, '5': 11, '6': '.protowire.EstimateNetworkHashesPerSecondResponseMessage', '9': 0, '10': 'estimateNetworkHashesPerSecondResponse'}, + const {'1': 'notifyVirtualDaaScoreChangedRequest', '3': 1074, '4': 1, '5': 11, '6': '.protowire.NotifyVirtualDaaScoreChangedRequestMessage', '9': 0, '10': 'notifyVirtualDaaScoreChangedRequest'}, + const {'1': 'notifyVirtualDaaScoreChangedResponse', '3': 1075, '4': 1, '5': 11, '6': '.protowire.NotifyVirtualDaaScoreChangedResponseMessage', '9': 0, '10': 'notifyVirtualDaaScoreChangedResponse'}, + const {'1': 'virtualDaaScoreChangedNotification', '3': 1076, '4': 1, '5': 11, '6': '.protowire.VirtualDaaScoreChangedNotificationMessage', '9': 0, '10': 'virtualDaaScoreChangedNotification'}, + const {'1': 'getBalanceByAddressRequest', '3': 1077, '4': 1, '5': 11, '6': '.protowire.GetBalanceByAddressRequestMessage', '9': 0, '10': 'getBalanceByAddressRequest'}, + const {'1': 'getBalanceByAddressResponse', '3': 1078, '4': 1, '5': 11, '6': '.protowire.GetBalanceByAddressResponseMessage', '9': 0, '10': 'getBalanceByAddressResponse'}, + const {'1': 'getBalancesByAddressesRequest', '3': 1079, '4': 1, '5': 11, '6': '.protowire.GetBalancesByAddressesRequestMessage', '9': 0, '10': 'getBalancesByAddressesRequest'}, + const {'1': 'getBalancesByAddressesResponse', '3': 1080, '4': 1, '5': 11, '6': '.protowire.GetBalancesByAddressesResponseMessage', '9': 0, '10': 'getBalancesByAddressesResponse'}, + const {'1': 'notifyNewBlockTemplateRequest', '3': 1081, '4': 1, '5': 11, '6': '.protowire.NotifyNewBlockTemplateRequestMessage', '9': 0, '10': 'notifyNewBlockTemplateRequest'}, + const {'1': 'notifyNewBlockTemplateResponse', '3': 1082, '4': 1, '5': 11, '6': '.protowire.NotifyNewBlockTemplateResponseMessage', '9': 0, '10': 'notifyNewBlockTemplateResponse'}, + const {'1': 'newBlockTemplateNotification', '3': 1083, '4': 1, '5': 11, '6': '.protowire.NewBlockTemplateNotificationMessage', '9': 0, '10': 'newBlockTemplateNotification'}, + const {'1': 'getMempoolEntriesByAddressesRequest', '3': 1084, '4': 1, '5': 11, '6': '.protowire.GetMempoolEntriesByAddressesRequestMessage', '9': 0, '10': 'getMempoolEntriesByAddressesRequest'}, + const {'1': 'getMempoolEntriesByAddressesResponse', '3': 1085, '4': 1, '5': 11, '6': '.protowire.GetMempoolEntriesByAddressesResponseMessage', '9': 0, '10': 'getMempoolEntriesByAddressesResponse'}, + const {'1': 'getCoinSupplyRequest', '3': 1086, '4': 1, '5': 11, '6': '.protowire.GetCoinSupplyRequestMessage', '9': 0, '10': 'getCoinSupplyRequest'}, + const {'1': 'getCoinSupplyResponse', '3': 1087, '4': 1, '5': 11, '6': '.protowire.GetCoinSupplyResponseMessage', '9': 0, '10': 'getCoinSupplyResponse'}, ], '8': const [ const {'1': 'payload'}, @@ -1193,5 +149,4 @@ const SpectredMessage$json = const { }; /// Descriptor for `SpectredMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List spectredMessageDescriptor = $convert.base64Decode( - 'Cg9LYXJsc2VuZE1lc3NhZ2USOwoJYWRkcmVzc2VzGAEgASgLMhsucHJvdG93aXJlLkFkZHJlc3Nlc01lc3NhZ2VIAFIJYWRkcmVzc2VzEi8KBWJsb2NrGAIgASgLMhcucHJvdG93aXJlLkJsb2NrTWVzc2FnZUgAUgVibG9jaxJBCgt0cmFuc2FjdGlvbhgDIAEoCzIdLnByb3Rvd2lyZS5UcmFuc2FjdGlvbk1lc3NhZ2VIAFILdHJhbnNhY3Rpb24SRAoMYmxvY2tMb2NhdG9yGAUgASgLMh4ucHJvdG93aXJlLkJsb2NrTG9jYXRvck1lc3NhZ2VIAFIMYmxvY2tMb2NhdG9yElAKEHJlcXVlc3RBZGRyZXNzZXMYBiABKAsyIi5wcm90b3dpcmUuUmVxdWVzdEFkZHJlc3Nlc01lc3NhZ2VIAFIQcmVxdWVzdEFkZHJlc3NlcxJWChJyZXF1ZXN0UmVsYXlCbG9ja3MYCiABKAsyJC5wcm90b3dpcmUuUmVxdWVzdFJlbGF5QmxvY2tzTWVzc2FnZUgAUhJyZXF1ZXN0UmVsYXlCbG9ja3MSWQoTcmVxdWVzdFRyYW5zYWN0aW9ucxgMIAEoCzIlLnByb3Rvd2lyZS5SZXF1ZXN0VHJhbnNhY3Rpb25zTWVzc2FnZUgAUhNyZXF1ZXN0VHJhbnNhY3Rpb25zEjUKCGliZEJsb2NrGA0gASgLMhcucHJvdG93aXJlLkJsb2NrTWVzc2FnZUgAUghpYmRCbG9jaxJHCg1pbnZSZWxheUJsb2NrGA4gASgLMh8ucHJvdG93aXJlLkludlJlbGF5QmxvY2tNZXNzYWdlSABSDWludlJlbGF5QmxvY2sSTQoPaW52VHJhbnNhY3Rpb25zGA8gASgLMiEucHJvdG93aXJlLkludlRyYW5zYWN0aW9uc01lc3NhZ2VIAFIPaW52VHJhbnNhY3Rpb25zEiwKBHBpbmcYECABKAsyFi5wcm90b3dpcmUuUGluZ01lc3NhZ2VIAFIEcGluZxIsCgRwb25nGBEgASgLMhYucHJvdG93aXJlLlBvbmdNZXNzYWdlSABSBHBvbmcSMgoGdmVyYWNrGBMgASgLMhgucHJvdG93aXJlLlZlcmFja01lc3NhZ2VIAFIGdmVyYWNrEjUKB3ZlcnNpb24YFCABKAsyGS5wcm90b3dpcmUuVmVyc2lvbk1lc3NhZ2VIAFIHdmVyc2lvbhJZChN0cmFuc2FjdGlvbk5vdEZvdW5kGBUgASgLMiUucHJvdG93aXJlLlRyYW5zYWN0aW9uTm90Rm91bmRNZXNzYWdlSABSE3RyYW5zYWN0aW9uTm90Rm91bmQSMgoGcmVqZWN0GBYgASgLMhgucHJvdG93aXJlLlJlamVjdE1lc3NhZ2VIAFIGcmVqZWN0EmgKGHBydW5pbmdQb2ludFV0eG9TZXRDaHVuaxgZIAEoCzIqLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRVdHhvU2V0Q2h1bmtNZXNzYWdlSABSGHBydW5pbmdQb2ludFV0eG9TZXRDaHVuaxJQChByZXF1ZXN0SUJEQmxvY2tzGBogASgLMiIucHJvdG93aXJlLlJlcXVlc3RJQkRCbG9ja3NNZXNzYWdlSABSEHJlcXVlc3RJQkRCbG9ja3MSYgoWdW5leHBlY3RlZFBydW5pbmdQb2ludBgbIAEoCzIoLnByb3Rvd2lyZS5VbmV4cGVjdGVkUHJ1bmluZ1BvaW50TWVzc2FnZUgAUhZ1bmV4cGVjdGVkUHJ1bmluZ1BvaW50Ek0KD2liZEJsb2NrTG9jYXRvchgeIAEoCzIhLnByb3Rvd2lyZS5JYmRCbG9ja0xvY2F0b3JNZXNzYWdlSABSD2liZEJsb2NrTG9jYXRvchJuChppYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaBgfIAEoCzIsLnByb3Rvd2lyZS5JYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE1lc3NhZ2VIAFIaaWJkQmxvY2tMb2NhdG9ySGlnaGVzdEhhc2gSiQEKI3JlcXVlc3ROZXh0UHJ1bmluZ1BvaW50VXR4b1NldENodW5rGCEgASgLMjUucHJvdG93aXJlLlJlcXVlc3ROZXh0UHJ1bmluZ1BvaW50VXR4b1NldENodW5rTWVzc2FnZUgAUiNyZXF1ZXN0TmV4dFBydW5pbmdQb2ludFV0eG9TZXRDaHVuaxJ3Ch1kb25lUHJ1bmluZ1BvaW50VXR4b1NldENodW5rcxgiIAEoCzIvLnByb3Rvd2lyZS5Eb25lUHJ1bmluZ1BvaW50VXR4b1NldENodW5rc01lc3NhZ2VIAFIdZG9uZVBydW5pbmdQb2ludFV0eG9TZXRDaHVua3MShgEKImliZEJsb2NrTG9jYXRvckhpZ2hlc3RIYXNoTm90Rm91bmQYIyABKAsyNC5wcm90b3dpcmUuSWJkQmxvY2tMb2NhdG9ySGlnaGVzdEhhc2hOb3RGb3VuZE1lc3NhZ2VIAFIiaWJkQmxvY2tMb2NhdG9ySGlnaGVzdEhhc2hOb3RGb3VuZBJcChRibG9ja1dpdGhUcnVzdGVkRGF0YRgkIAEoCzImLnByb3Rvd2lyZS5CbG9ja1dpdGhUcnVzdGVkRGF0YU1lc3NhZ2VIAFIUYmxvY2tXaXRoVHJ1c3RlZERhdGESawoZZG9uZUJsb2Nrc1dpdGhUcnVzdGVkRGF0YRglIAEoCzIrLnByb3Rvd2lyZS5Eb25lQmxvY2tzV2l0aFRydXN0ZWREYXRhTWVzc2FnZUgAUhlkb25lQmxvY2tzV2l0aFRydXN0ZWREYXRhEoMBCiFyZXF1ZXN0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmUYKCABKAsyMy5wcm90b3dpcmUuUmVxdWVzdFBydW5pbmdQb2ludEFuZEl0c0FudGljb25lTWVzc2FnZUgAUiFyZXF1ZXN0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmUSRAoMYmxvY2tIZWFkZXJzGCkgASgLMh4ucHJvdG93aXJlLkJsb2NrSGVhZGVyc01lc3NhZ2VIAFIMYmxvY2tIZWFkZXJzElYKEnJlcXVlc3ROZXh0SGVhZGVycxgqIAEoCzIkLnByb3Rvd2lyZS5SZXF1ZXN0TmV4dEhlYWRlcnNNZXNzYWdlSABSEnJlcXVlc3ROZXh0SGVhZGVycxJBCgtEb25lSGVhZGVycxgrIAEoCzIdLnByb3Rvd2lyZS5Eb25lSGVhZGVyc01lc3NhZ2VIAFILRG9uZUhlYWRlcnMSbgoacmVxdWVzdFBydW5pbmdQb2ludFVUWE9TZXQYLCABKAsyLC5wcm90b3dpcmUuUmVxdWVzdFBydW5pbmdQb2ludFVUWE9TZXRNZXNzYWdlSABSGnJlcXVlc3RQcnVuaW5nUG9pbnRVVFhPU2V0EkoKDnJlcXVlc3RIZWFkZXJzGC0gASgLMiAucHJvdG93aXJlLlJlcXVlc3RIZWFkZXJzTWVzc2FnZUgAUg5yZXF1ZXN0SGVhZGVycxJZChNyZXF1ZXN0QmxvY2tMb2NhdG9yGC4gASgLMiUucHJvdG93aXJlLlJlcXVlc3RCbG9ja0xvY2F0b3JNZXNzYWdlSABSE3JlcXVlc3RCbG9ja0xvY2F0b3ISRwoNcHJ1bmluZ1BvaW50cxgvIAEoCzIfLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRzTWVzc2FnZUgAUg1wcnVuaW5nUG9pbnRzEmgKGHJlcXVlc3RQcnVuaW5nUG9pbnRQcm9vZhgwIAEoCzIqLnByb3Rvd2lyZS5SZXF1ZXN0UHJ1bmluZ1BvaW50UHJvb2ZNZXNzYWdlSABSGHJlcXVlc3RQcnVuaW5nUG9pbnRQcm9vZhJTChFwcnVuaW5nUG9pbnRQcm9vZhgxIAEoCzIjLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRQcm9vZk1lc3NhZ2VIAFIRcHJ1bmluZ1BvaW50UHJvb2YSLwoFcmVhZHkYMiABKAsyFy5wcm90b3dpcmUuUmVhZHlNZXNzYWdlSABSBXJlYWR5EmIKFmJsb2NrV2l0aFRydXN0ZWREYXRhVjQYMyABKAsyKC5wcm90b3dpcmUuQmxvY2tXaXRoVHJ1c3RlZERhdGFWNE1lc3NhZ2VIAFIWYmxvY2tXaXRoVHJ1c3RlZERhdGFWNBJBCgt0cnVzdGVkRGF0YRg0IAEoCzIdLnByb3Rvd2lyZS5UcnVzdGVkRGF0YU1lc3NhZ2VIAFILdHJ1c3RlZERhdGEScQobcmVxdWVzdElCRENoYWluQmxvY2tMb2NhdG9yGDUgASgLMi0ucHJvdG93aXJlLlJlcXVlc3RJQkRDaGFpbkJsb2NrTG9jYXRvck1lc3NhZ2VIAFIbcmVxdWVzdElCRENoYWluQmxvY2tMb2NhdG9yElwKFGliZENoYWluQmxvY2tMb2NhdG9yGDYgASgLMiYucHJvdG93aXJlLkliZENoYWluQmxvY2tMb2NhdG9yTWVzc2FnZUgAUhRpYmRDaGFpbkJsb2NrTG9jYXRvchJNCg9yZXF1ZXN0QW50aWNvbmUYNyABKAsyIS5wcm90b3dpcmUuUmVxdWVzdEFudGljb25lTWVzc2FnZUgAUg9yZXF1ZXN0QW50aWNvbmUSoQEKK3JlcXVlc3ROZXh0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmVCbG9ja3MYOCABKAsyPS5wcm90b3dpcmUuUmVxdWVzdE5leHRQcnVuaW5nUG9pbnRBbmRJdHNBbnRpY29uZUJsb2Nrc01lc3NhZ2VIAFIrcmVxdWVzdE5leHRQcnVuaW5nUG9pbnRBbmRJdHNBbnRpY29uZUJsb2NrcxJpChhnZXRDdXJyZW50TmV0d29ya1JlcXVlc3QY6QcgASgLMioucHJvdG93aXJlLkdldEN1cnJlbnROZXR3b3JrUmVxdWVzdE1lc3NhZ2VIAFIYZ2V0Q3VycmVudE5ldHdvcmtSZXF1ZXN0EmwKGWdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2UY6gcgASgLMisucHJvdG93aXJlLkdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2VNZXNzYWdlSABSGWdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2USVwoSc3VibWl0QmxvY2tSZXF1ZXN0GOsHIAEoCzIkLnByb3Rvd2lyZS5TdWJtaXRCbG9ja1JlcXVlc3RNZXNzYWdlSABSEnN1Ym1pdEJsb2NrUmVxdWVzdBJaChNzdWJtaXRCbG9ja1Jlc3BvbnNlGOwHIAEoCzIlLnByb3Rvd2lyZS5TdWJtaXRCbG9ja1Jlc3BvbnNlTWVzc2FnZUgAUhNzdWJtaXRCbG9ja1Jlc3BvbnNlEmYKF2dldEJsb2NrVGVtcGxhdGVSZXF1ZXN0GO0HIAEoCzIpLnByb3Rvd2lyZS5HZXRCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2VIAFIXZ2V0QmxvY2tUZW1wbGF0ZVJlcXVlc3QSaQoYZ2V0QmxvY2tUZW1wbGF0ZVJlc3BvbnNlGO4HIAEoCzIqLnByb3Rvd2lyZS5HZXRCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlSABSGGdldEJsb2NrVGVtcGxhdGVSZXNwb25zZRJmChdub3RpZnlCbG9ja0FkZGVkUmVxdWVzdBjvByABKAsyKS5wcm90b3dpcmUuTm90aWZ5QmxvY2tBZGRlZFJlcXVlc3RNZXNzYWdlSABSF25vdGlmeUJsb2NrQWRkZWRSZXF1ZXN0EmkKGG5vdGlmeUJsb2NrQWRkZWRSZXNwb25zZRjwByABKAsyKi5wcm90b3dpcmUuTm90aWZ5QmxvY2tBZGRlZFJlc3BvbnNlTWVzc2FnZUgAUhhub3RpZnlCbG9ja0FkZGVkUmVzcG9uc2USYwoWYmxvY2tBZGRlZE5vdGlmaWNhdGlvbhjxByABKAsyKC5wcm90b3dpcmUuQmxvY2tBZGRlZE5vdGlmaWNhdGlvbk1lc3NhZ2VIAFIWYmxvY2tBZGRlZE5vdGlmaWNhdGlvbhJmChdnZXRQZWVyQWRkcmVzc2VzUmVxdWVzdBjyByABKAsyKS5wcm90b3dpcmUuR2V0UGVlckFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSABSF2dldFBlZXJBZGRyZXNzZXNSZXF1ZXN0EmkKGGdldFBlZXJBZGRyZXNzZXNSZXNwb25zZRjzByABKAsyKi5wcm90b3dpcmUuR2V0UGVlckFkZHJlc3Nlc1Jlc3BvbnNlTWVzc2FnZUgAUhhnZXRQZWVyQWRkcmVzc2VzUmVzcG9uc2USbAoZZ2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVzdBj0ByABKAsyKy5wcm90b3dpcmUuR2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVzdE1lc3NhZ2VIAFIZZ2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVzdBJvChpnZXRTZWxlY3RlZFRpcEhhc2hSZXNwb25zZRj1ByABKAsyLC5wcm90b3dpcmUuR2V0U2VsZWN0ZWRUaXBIYXNoUmVzcG9uc2VNZXNzYWdlSABSGmdldFNlbGVjdGVkVGlwSGFzaFJlc3BvbnNlEmMKFmdldE1lbXBvb2xFbnRyeVJlcXVlc3QY9gcgASgLMigucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyeVJlcXVlc3RNZXNzYWdlSABSFmdldE1lbXBvb2xFbnRyeVJlcXVlc3QSZgoXZ2V0TWVtcG9vbEVudHJ5UmVzcG9uc2UY9wcgASgLMikucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyeVJlc3BvbnNlTWVzc2FnZUgAUhdnZXRNZW1wb29sRW50cnlSZXNwb25zZRJyChtnZXRDb25uZWN0ZWRQZWVySW5mb1JlcXVlc3QY+AcgASgLMi0ucHJvdG93aXJlLkdldENvbm5lY3RlZFBlZXJJbmZvUmVxdWVzdE1lc3NhZ2VIAFIbZ2V0Q29ubmVjdGVkUGVlckluZm9SZXF1ZXN0EnUKHGdldENvbm5lY3RlZFBlZXJJbmZvUmVzcG9uc2UY+QcgASgLMi4ucHJvdG93aXJlLkdldENvbm5lY3RlZFBlZXJJbmZvUmVzcG9uc2VNZXNzYWdlSABSHGdldENvbm5lY3RlZFBlZXJJbmZvUmVzcG9uc2USSwoOYWRkUGVlclJlcXVlc3QY+gcgASgLMiAucHJvdG93aXJlLkFkZFBlZXJSZXF1ZXN0TWVzc2FnZUgAUg5hZGRQZWVyUmVxdWVzdBJOCg9hZGRQZWVyUmVzcG9uc2UY+wcgASgLMiEucHJvdG93aXJlLkFkZFBlZXJSZXNwb25zZU1lc3NhZ2VIAFIPYWRkUGVlclJlc3BvbnNlEmkKGHN1Ym1pdFRyYW5zYWN0aW9uUmVxdWVzdBj8ByABKAsyKi5wcm90b3dpcmUuU3VibWl0VHJhbnNhY3Rpb25SZXF1ZXN0TWVzc2FnZUgAUhhzdWJtaXRUcmFuc2FjdGlvblJlcXVlc3QSbAoZc3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZRj9ByABKAsyKy5wcm90b3dpcmUuU3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZU1lc3NhZ2VIAFIZc3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZRKrAQoubm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdBj+ByABKAsyQC5wcm90b3dpcmUuTm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIubm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdBKuAQovbm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVzcG9uc2UY/wcgASgLMkEucHJvdG93aXJlLk5vdGlmeVZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUi9ub3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXNwb25zZRKoAQotdmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkTm90aWZpY2F0aW9uGIAIIAEoCzI/LnByb3Rvd2lyZS5WaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSLXZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluQ2hhbmdlZE5vdGlmaWNhdGlvbhJOCg9nZXRCbG9ja1JlcXVlc3QYgQggASgLMiEucHJvdG93aXJlLkdldEJsb2NrUmVxdWVzdE1lc3NhZ2VIAFIPZ2V0QmxvY2tSZXF1ZXN0ElEKEGdldEJsb2NrUmVzcG9uc2UYggggASgLMiIucHJvdG93aXJlLkdldEJsb2NrUmVzcG9uc2VNZXNzYWdlSABSEGdldEJsb2NrUmVzcG9uc2USXQoUZ2V0U3VibmV0d29ya1JlcXVlc3QYgwggASgLMiYucHJvdG93aXJlLkdldFN1Ym5ldHdvcmtSZXF1ZXN0TWVzc2FnZUgAUhRnZXRTdWJuZXR3b3JrUmVxdWVzdBJgChVnZXRTdWJuZXR3b3JrUmVzcG9uc2UYhAggASgLMicucHJvdG93aXJlLkdldFN1Ym5ldHdvcmtSZXNwb25zZU1lc3NhZ2VIAFIVZ2V0U3VibmV0d29ya1Jlc3BvbnNlEqgBCi1nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1JlcXVlc3QYhQggASgLMj8ucHJvdG93aXJlLkdldFZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluRnJvbUJsb2NrUmVxdWVzdE1lc3NhZ2VIAFItZ2V0VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5Gcm9tQmxvY2tSZXF1ZXN0EqsBCi5nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlGIYIIAEoCzJALnByb3Rvd2lyZS5HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlTWVzc2FnZUgAUi5nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlElEKEGdldEJsb2Nrc1JlcXVlc3QYhwggASgLMiIucHJvdG93aXJlLkdldEJsb2Nrc1JlcXVlc3RNZXNzYWdlSABSEGdldEJsb2Nrc1JlcXVlc3QSVAoRZ2V0QmxvY2tzUmVzcG9uc2UYiAggASgLMiMucHJvdG93aXJlLkdldEJsb2Nrc1Jlc3BvbnNlTWVzc2FnZUgAUhFnZXRCbG9ja3NSZXNwb25zZRJdChRnZXRCbG9ja0NvdW50UmVxdWVzdBiJCCABKAsyJi5wcm90b3dpcmUuR2V0QmxvY2tDb3VudFJlcXVlc3RNZXNzYWdlSABSFGdldEJsb2NrQ291bnRSZXF1ZXN0EmAKFWdldEJsb2NrQ291bnRSZXNwb25zZRiKCCABKAsyJy5wcm90b3dpcmUuR2V0QmxvY2tDb3VudFJlc3BvbnNlTWVzc2FnZUgAUhVnZXRCbG9ja0NvdW50UmVzcG9uc2USYwoWZ2V0QmxvY2tEYWdJbmZvUmVxdWVzdBiLCCABKAsyKC5wcm90b3dpcmUuR2V0QmxvY2tEYWdJbmZvUmVxdWVzdE1lc3NhZ2VIAFIWZ2V0QmxvY2tEYWdJbmZvUmVxdWVzdBJmChdnZXRCbG9ja0RhZ0luZm9SZXNwb25zZRiMCCABKAsyKS5wcm90b3dpcmUuR2V0QmxvY2tEYWdJbmZvUmVzcG9uc2VNZXNzYWdlSABSF2dldEJsb2NrRGFnSW5mb1Jlc3BvbnNlEnsKHnJlc29sdmVGaW5hbGl0eUNvbmZsaWN0UmVxdWVzdBiNCCABKAsyMC5wcm90b3dpcmUuUmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXF1ZXN0TWVzc2FnZUgAUh5yZXNvbHZlRmluYWxpdHlDb25mbGljdFJlcXVlc3QSfgofcmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXNwb25zZRiOCCABKAsyMS5wcm90b3dpcmUuUmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXNwb25zZU1lc3NhZ2VIAFIfcmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXNwb25zZRJ7Ch5ub3RpZnlGaW5hbGl0eUNvbmZsaWN0c1JlcXVlc3QYjwggASgLMjAucHJvdG93aXJlLk5vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVxdWVzdE1lc3NhZ2VIAFIebm90aWZ5RmluYWxpdHlDb25mbGljdHNSZXF1ZXN0En4KH25vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2UYkAggASgLMjEucHJvdG93aXJlLk5vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2VNZXNzYWdlSABSH25vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2USdQocZmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbhiRCCABKAsyLi5wcm90b3dpcmUuRmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbk1lc3NhZ2VIAFIcZmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbhKNAQokZmluYWxpdHlDb25mbGljdFJlc29sdmVkTm90aWZpY2F0aW9uGJIIIAEoCzI2LnByb3Rvd2lyZS5GaW5hbGl0eUNvbmZsaWN0UmVzb2x2ZWROb3RpZmljYXRpb25NZXNzYWdlSABSJGZpbmFsaXR5Q29uZmxpY3RSZXNvbHZlZE5vdGlmaWNhdGlvbhJpChhnZXRNZW1wb29sRW50cmllc1JlcXVlc3QYkwggASgLMioucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzUmVxdWVzdE1lc3NhZ2VIAFIYZ2V0TWVtcG9vbEVudHJpZXNSZXF1ZXN0EmwKGWdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2UYlAggASgLMisucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2VNZXNzYWdlSABSGWdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2USTgoPc2h1dERvd25SZXF1ZXN0GJUIIAEoCzIhLnByb3Rvd2lyZS5TaHV0RG93blJlcXVlc3RNZXNzYWdlSABSD3NodXREb3duUmVxdWVzdBJRChBzaHV0RG93blJlc3BvbnNlGJYIIAEoCzIiLnByb3Rvd2lyZS5TaHV0RG93blJlc3BvbnNlTWVzc2FnZUgAUhBzaHV0RG93blJlc3BvbnNlElQKEWdldEhlYWRlcnNSZXF1ZXN0GJcIIAEoCzIjLnByb3Rvd2lyZS5HZXRIZWFkZXJzUmVxdWVzdE1lc3NhZ2VIAFIRZ2V0SGVhZGVyc1JlcXVlc3QSVwoSZ2V0SGVhZGVyc1Jlc3BvbnNlGJgIIAEoCzIkLnByb3Rvd2lyZS5HZXRIZWFkZXJzUmVzcG9uc2VNZXNzYWdlSABSEmdldEhlYWRlcnNSZXNwb25zZRJsChlub3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0GJkIIAEoCzIrLnByb3Rvd2lyZS5Ob3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0TWVzc2FnZUgAUhlub3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0Em8KGm5vdGlmeVV0eG9zQ2hhbmdlZFJlc3BvbnNlGJoIIAEoCzIsLnByb3Rvd2lyZS5Ob3RpZnlVdHhvc0NoYW5nZWRSZXNwb25zZU1lc3NhZ2VIAFIabm90aWZ5VXR4b3NDaGFuZ2VkUmVzcG9uc2USaQoYdXR4b3NDaGFuZ2VkTm90aWZpY2F0aW9uGJsIIAEoCzIqLnByb3Rvd2lyZS5VdHhvc0NoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSGHV0eG9zQ2hhbmdlZE5vdGlmaWNhdGlvbhJvChpnZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdBicCCABKAsyLC5wcm90b3dpcmUuR2V0VXR4b3NCeUFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSABSGmdldFV0eG9zQnlBZGRyZXNzZXNSZXF1ZXN0EnIKG2dldFV0eG9zQnlBZGRyZXNzZXNSZXNwb25zZRidCCABKAsyLS5wcm90b3dpcmUuR2V0VXR4b3NCeUFkZHJlc3Nlc1Jlc3BvbnNlTWVzc2FnZUgAUhtnZXRVdHhvc0J5QWRkcmVzc2VzUmVzcG9uc2USmQEKKGdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlcXVlc3QYngggASgLMjoucHJvdG93aXJlLkdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlcXVlc3RNZXNzYWdlSABSKGdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlcXVlc3QSnAEKKWdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlc3BvbnNlGJ8IIAEoCzI7LnByb3Rvd2lyZS5HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXNwb25zZU1lc3NhZ2VIAFIpZ2V0VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlUmVzcG9uc2UStwEKMm5vdGlmeVZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWRSZXF1ZXN0GKAIIAEoCzJELnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIybm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZFJlcXVlc3QSugEKM25vdGlmeVZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWRSZXNwb25zZRihCCABKAsyRS5wcm90b3dpcmUuTm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUjNub3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVzcG9uc2UStAEKMXZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWROb3RpZmljYXRpb24YogggASgLMkMucHJvdG93aXJlLlZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSMXZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWROb3RpZmljYXRpb24SPwoKYmFuUmVxdWVzdBijCCABKAsyHC5wcm90b3dpcmUuQmFuUmVxdWVzdE1lc3NhZ2VIAFIKYmFuUmVxdWVzdBJCCgtiYW5SZXNwb25zZRikCCABKAsyHS5wcm90b3dpcmUuQmFuUmVzcG9uc2VNZXNzYWdlSABSC2JhblJlc3BvbnNlEkUKDHVuYmFuUmVxdWVzdBilCCABKAsyHi5wcm90b3dpcmUuVW5iYW5SZXF1ZXN0TWVzc2FnZUgAUgx1bmJhblJlcXVlc3QSSAoNdW5iYW5SZXNwb25zZRimCCABKAsyHy5wcm90b3dpcmUuVW5iYW5SZXNwb25zZU1lc3NhZ2VIAFINdW5iYW5SZXNwb25zZRJLCg5nZXRJbmZvUmVxdWVzdBinCCABKAsyIC5wcm90b3dpcmUuR2V0SW5mb1JlcXVlc3RNZXNzYWdlSABSDmdldEluZm9SZXF1ZXN0Ek4KD2dldEluZm9SZXNwb25zZRioCCABKAsyIS5wcm90b3dpcmUuR2V0SW5mb1Jlc3BvbnNlTWVzc2FnZUgAUg9nZXRJbmZvUmVzcG9uc2USgQEKIHN0b3BOb3RpZnlpbmdVdHhvc0NoYW5nZWRSZXF1ZXN0GKkIIAEoCzIyLnByb3Rvd2lyZS5TdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIgc3RvcE5vdGlmeWluZ1V0eG9zQ2hhbmdlZFJlcXVlc3QShAEKIXN0b3BOb3RpZnlpbmdVdHhvc0NoYW5nZWRSZXNwb25zZRiqCCABKAsyMy5wcm90b3dpcmUuU3RvcE5vdGlmeWluZ1V0eG9zQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUiFzdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVzcG9uc2USmQEKKG5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QYqwggASgLMjoucHJvdG93aXJlLk5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3RNZXNzYWdlSABSKG5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QSnAEKKW5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlc3BvbnNlGKwIIAEoCzI7LnByb3Rvd2lyZS5Ob3RpZnlQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZU1lc3NhZ2VIAFIpbm90aWZ5UHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9uc2USlgEKJ3BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZU5vdGlmaWNhdGlvbhitCCABKAsyOS5wcm90b3dpcmUuUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlTm90aWZpY2F0aW9uTWVzc2FnZUgAUidwcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVOb3RpZmljYXRpb24SrgEKL3N0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXF1ZXN0GK4IIAEoCzJBLnByb3Rvd2lyZS5TdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVxdWVzdE1lc3NhZ2VIAFIvc3RvcE5vdGlmeWluZ1BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QSsQEKMHN0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZRivCCABKAsyQi5wcm90b3dpcmUuU3RvcE5vdGlmeWluZ1BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlc3BvbnNlTWVzc2FnZUgAUjBzdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9uc2USkAEKJWVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3QYsAggASgLMjcucHJvdG93aXJlLkVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3RNZXNzYWdlSABSJWVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3QSkwEKJmVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlc3BvbnNlGLEIIAEoCzI4LnByb3Rvd2lyZS5Fc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXNwb25zZU1lc3NhZ2VIAFImZXN0aW1hdGVOZXR3b3JrSGFzaGVzUGVyU2Vjb25kUmVzcG9uc2USigEKI25vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXF1ZXN0GLIIIAEoCzI1LnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIjbm90aWZ5VmlydHVhbERhYVNjb3JlQ2hhbmdlZFJlcXVlc3QSjQEKJG5vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXNwb25zZRizCCABKAsyNi5wcm90b3dpcmUuTm90aWZ5VmlydHVhbERhYVNjb3JlQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUiRub3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVzcG9uc2UShwEKInZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb24YtAggASgLMjQucHJvdG93aXJlLlZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSInZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb24SbwoaZ2V0QmFsYW5jZUJ5QWRkcmVzc1JlcXVlc3QYtQggASgLMiwucHJvdG93aXJlLkdldEJhbGFuY2VCeUFkZHJlc3NSZXF1ZXN0TWVzc2FnZUgAUhpnZXRCYWxhbmNlQnlBZGRyZXNzUmVxdWVzdBJyChtnZXRCYWxhbmNlQnlBZGRyZXNzUmVzcG9uc2UYtgggASgLMi0ucHJvdG93aXJlLkdldEJhbGFuY2VCeUFkZHJlc3NSZXNwb25zZU1lc3NhZ2VIAFIbZ2V0QmFsYW5jZUJ5QWRkcmVzc1Jlc3BvbnNlEngKHWdldEJhbGFuY2VzQnlBZGRyZXNzZXNSZXF1ZXN0GLcIIAEoCzIvLnByb3Rvd2lyZS5HZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2VIAFIdZ2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1JlcXVlc3QSewoeZ2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlGLgIIAEoCzIwLnByb3Rvd2lyZS5HZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlSABSHmdldEJhbGFuY2VzQnlBZGRyZXNzZXNSZXNwb25zZRJ4Ch1ub3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVxdWVzdBi5CCABKAsyLy5wcm90b3dpcmUuTm90aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlcXVlc3RNZXNzYWdlSABSHW5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXF1ZXN0EnsKHm5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXNwb25zZRi6CCABKAsyMC5wcm90b3dpcmUuTm90aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlc3BvbnNlTWVzc2FnZUgAUh5ub3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVzcG9uc2USdQocbmV3QmxvY2tUZW1wbGF0ZU5vdGlmaWNhdGlvbhi7CCABKAsyLi5wcm90b3dpcmUuTmV3QmxvY2tUZW1wbGF0ZU5vdGlmaWNhdGlvbk1lc3NhZ2VIAFIcbmV3QmxvY2tUZW1wbGF0ZU5vdGlmaWNhdGlvbhKKAQojZ2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1JlcXVlc3QYvAggASgLMjUucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNSZXF1ZXN0TWVzc2FnZUgAUiNnZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVxdWVzdBKNAQokZ2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlGL0IIAEoCzI2LnByb3Rvd2lyZS5HZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlSABSJGdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNSZXNwb25zZRJdChRnZXRDb2luU3VwcGx5UmVxdWVzdBi+CCABKAsyJi5wcm90b3dpcmUuR2V0Q29pblN1cHBseVJlcXVlc3RNZXNzYWdlSABSFGdldENvaW5TdXBwbHlSZXF1ZXN0EmAKFWdldENvaW5TdXBwbHlSZXNwb25zZRi/CCABKAsyJy5wcm90b3dpcmUuR2V0Q29pblN1cHBseVJlc3BvbnNlTWVzc2FnZUgAUhVnZXRDb2luU3VwcGx5UmVzcG9uc2VCCQoHcGF5bG9hZA=='); +final $typed_data.Uint8List spectredMessageDescriptor = $convert.base64Decode('Cg9TcGVjdHJlZE1lc3NhZ2USOwoJYWRkcmVzc2VzGAEgASgLMhsucHJvdG93aXJlLkFkZHJlc3Nlc01lc3NhZ2VIAFIJYWRkcmVzc2VzEi8KBWJsb2NrGAIgASgLMhcucHJvdG93aXJlLkJsb2NrTWVzc2FnZUgAUgVibG9jaxJBCgt0cmFuc2FjdGlvbhgDIAEoCzIdLnByb3Rvd2lyZS5UcmFuc2FjdGlvbk1lc3NhZ2VIAFILdHJhbnNhY3Rpb24SRAoMYmxvY2tMb2NhdG9yGAUgASgLMh4ucHJvdG93aXJlLkJsb2NrTG9jYXRvck1lc3NhZ2VIAFIMYmxvY2tMb2NhdG9yElAKEHJlcXVlc3RBZGRyZXNzZXMYBiABKAsyIi5wcm90b3dpcmUuUmVxdWVzdEFkZHJlc3Nlc01lc3NhZ2VIAFIQcmVxdWVzdEFkZHJlc3NlcxJWChJyZXF1ZXN0UmVsYXlCbG9ja3MYCiABKAsyJC5wcm90b3dpcmUuUmVxdWVzdFJlbGF5QmxvY2tzTWVzc2FnZUgAUhJyZXF1ZXN0UmVsYXlCbG9ja3MSWQoTcmVxdWVzdFRyYW5zYWN0aW9ucxgMIAEoCzIlLnByb3Rvd2lyZS5SZXF1ZXN0VHJhbnNhY3Rpb25zTWVzc2FnZUgAUhNyZXF1ZXN0VHJhbnNhY3Rpb25zEjUKCGliZEJsb2NrGA0gASgLMhcucHJvdG93aXJlLkJsb2NrTWVzc2FnZUgAUghpYmRCbG9jaxJHCg1pbnZSZWxheUJsb2NrGA4gASgLMh8ucHJvdG93aXJlLkludlJlbGF5QmxvY2tNZXNzYWdlSABSDWludlJlbGF5QmxvY2sSTQoPaW52VHJhbnNhY3Rpb25zGA8gASgLMiEucHJvdG93aXJlLkludlRyYW5zYWN0aW9uc01lc3NhZ2VIAFIPaW52VHJhbnNhY3Rpb25zEiwKBHBpbmcYECABKAsyFi5wcm90b3dpcmUuUGluZ01lc3NhZ2VIAFIEcGluZxIsCgRwb25nGBEgASgLMhYucHJvdG93aXJlLlBvbmdNZXNzYWdlSABSBHBvbmcSMgoGdmVyYWNrGBMgASgLMhgucHJvdG93aXJlLlZlcmFja01lc3NhZ2VIAFIGdmVyYWNrEjUKB3ZlcnNpb24YFCABKAsyGS5wcm90b3dpcmUuVmVyc2lvbk1lc3NhZ2VIAFIHdmVyc2lvbhJZChN0cmFuc2FjdGlvbk5vdEZvdW5kGBUgASgLMiUucHJvdG93aXJlLlRyYW5zYWN0aW9uTm90Rm91bmRNZXNzYWdlSABSE3RyYW5zYWN0aW9uTm90Rm91bmQSMgoGcmVqZWN0GBYgASgLMhgucHJvdG93aXJlLlJlamVjdE1lc3NhZ2VIAFIGcmVqZWN0EmgKGHBydW5pbmdQb2ludFV0eG9TZXRDaHVuaxgZIAEoCzIqLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRVdHhvU2V0Q2h1bmtNZXNzYWdlSABSGHBydW5pbmdQb2ludFV0eG9TZXRDaHVuaxJQChByZXF1ZXN0SUJEQmxvY2tzGBogASgLMiIucHJvdG93aXJlLlJlcXVlc3RJQkRCbG9ja3NNZXNzYWdlSABSEHJlcXVlc3RJQkRCbG9ja3MSYgoWdW5leHBlY3RlZFBydW5pbmdQb2ludBgbIAEoCzIoLnByb3Rvd2lyZS5VbmV4cGVjdGVkUHJ1bmluZ1BvaW50TWVzc2FnZUgAUhZ1bmV4cGVjdGVkUHJ1bmluZ1BvaW50Ek0KD2liZEJsb2NrTG9jYXRvchgeIAEoCzIhLnByb3Rvd2lyZS5JYmRCbG9ja0xvY2F0b3JNZXNzYWdlSABSD2liZEJsb2NrTG9jYXRvchJuChppYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaBgfIAEoCzIsLnByb3Rvd2lyZS5JYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE1lc3NhZ2VIAFIaaWJkQmxvY2tMb2NhdG9ySGlnaGVzdEhhc2gSiQEKI3JlcXVlc3ROZXh0UHJ1bmluZ1BvaW50VXR4b1NldENodW5rGCEgASgLMjUucHJvdG93aXJlLlJlcXVlc3ROZXh0UHJ1bmluZ1BvaW50VXR4b1NldENodW5rTWVzc2FnZUgAUiNyZXF1ZXN0TmV4dFBydW5pbmdQb2ludFV0eG9TZXRDaHVuaxJ3Ch1kb25lUHJ1bmluZ1BvaW50VXR4b1NldENodW5rcxgiIAEoCzIvLnByb3Rvd2lyZS5Eb25lUHJ1bmluZ1BvaW50VXR4b1NldENodW5rc01lc3NhZ2VIAFIdZG9uZVBydW5pbmdQb2ludFV0eG9TZXRDaHVua3MShgEKImliZEJsb2NrTG9jYXRvckhpZ2hlc3RIYXNoTm90Rm91bmQYIyABKAsyNC5wcm90b3dpcmUuSWJkQmxvY2tMb2NhdG9ySGlnaGVzdEhhc2hOb3RGb3VuZE1lc3NhZ2VIAFIiaWJkQmxvY2tMb2NhdG9ySGlnaGVzdEhhc2hOb3RGb3VuZBJcChRibG9ja1dpdGhUcnVzdGVkRGF0YRgkIAEoCzImLnByb3Rvd2lyZS5CbG9ja1dpdGhUcnVzdGVkRGF0YU1lc3NhZ2VIAFIUYmxvY2tXaXRoVHJ1c3RlZERhdGESawoZZG9uZUJsb2Nrc1dpdGhUcnVzdGVkRGF0YRglIAEoCzIrLnByb3Rvd2lyZS5Eb25lQmxvY2tzV2l0aFRydXN0ZWREYXRhTWVzc2FnZUgAUhlkb25lQmxvY2tzV2l0aFRydXN0ZWREYXRhEoMBCiFyZXF1ZXN0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmUYKCABKAsyMy5wcm90b3dpcmUuUmVxdWVzdFBydW5pbmdQb2ludEFuZEl0c0FudGljb25lTWVzc2FnZUgAUiFyZXF1ZXN0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmUSRAoMYmxvY2tIZWFkZXJzGCkgASgLMh4ucHJvdG93aXJlLkJsb2NrSGVhZGVyc01lc3NhZ2VIAFIMYmxvY2tIZWFkZXJzElYKEnJlcXVlc3ROZXh0SGVhZGVycxgqIAEoCzIkLnByb3Rvd2lyZS5SZXF1ZXN0TmV4dEhlYWRlcnNNZXNzYWdlSABSEnJlcXVlc3ROZXh0SGVhZGVycxJBCgtEb25lSGVhZGVycxgrIAEoCzIdLnByb3Rvd2lyZS5Eb25lSGVhZGVyc01lc3NhZ2VIAFILRG9uZUhlYWRlcnMSbgoacmVxdWVzdFBydW5pbmdQb2ludFVUWE9TZXQYLCABKAsyLC5wcm90b3dpcmUuUmVxdWVzdFBydW5pbmdQb2ludFVUWE9TZXRNZXNzYWdlSABSGnJlcXVlc3RQcnVuaW5nUG9pbnRVVFhPU2V0EkoKDnJlcXVlc3RIZWFkZXJzGC0gASgLMiAucHJvdG93aXJlLlJlcXVlc3RIZWFkZXJzTWVzc2FnZUgAUg5yZXF1ZXN0SGVhZGVycxJZChNyZXF1ZXN0QmxvY2tMb2NhdG9yGC4gASgLMiUucHJvdG93aXJlLlJlcXVlc3RCbG9ja0xvY2F0b3JNZXNzYWdlSABSE3JlcXVlc3RCbG9ja0xvY2F0b3ISRwoNcHJ1bmluZ1BvaW50cxgvIAEoCzIfLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRzTWVzc2FnZUgAUg1wcnVuaW5nUG9pbnRzEmgKGHJlcXVlc3RQcnVuaW5nUG9pbnRQcm9vZhgwIAEoCzIqLnByb3Rvd2lyZS5SZXF1ZXN0UHJ1bmluZ1BvaW50UHJvb2ZNZXNzYWdlSABSGHJlcXVlc3RQcnVuaW5nUG9pbnRQcm9vZhJTChFwcnVuaW5nUG9pbnRQcm9vZhgxIAEoCzIjLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRQcm9vZk1lc3NhZ2VIAFIRcHJ1bmluZ1BvaW50UHJvb2YSLwoFcmVhZHkYMiABKAsyFy5wcm90b3dpcmUuUmVhZHlNZXNzYWdlSABSBXJlYWR5EmIKFmJsb2NrV2l0aFRydXN0ZWREYXRhVjQYMyABKAsyKC5wcm90b3dpcmUuQmxvY2tXaXRoVHJ1c3RlZERhdGFWNE1lc3NhZ2VIAFIWYmxvY2tXaXRoVHJ1c3RlZERhdGFWNBJBCgt0cnVzdGVkRGF0YRg0IAEoCzIdLnByb3Rvd2lyZS5UcnVzdGVkRGF0YU1lc3NhZ2VIAFILdHJ1c3RlZERhdGEScQobcmVxdWVzdElCRENoYWluQmxvY2tMb2NhdG9yGDUgASgLMi0ucHJvdG93aXJlLlJlcXVlc3RJQkRDaGFpbkJsb2NrTG9jYXRvck1lc3NhZ2VIAFIbcmVxdWVzdElCRENoYWluQmxvY2tMb2NhdG9yElwKFGliZENoYWluQmxvY2tMb2NhdG9yGDYgASgLMiYucHJvdG93aXJlLkliZENoYWluQmxvY2tMb2NhdG9yTWVzc2FnZUgAUhRpYmRDaGFpbkJsb2NrTG9jYXRvchJNCg9yZXF1ZXN0QW50aWNvbmUYNyABKAsyIS5wcm90b3dpcmUuUmVxdWVzdEFudGljb25lTWVzc2FnZUgAUg9yZXF1ZXN0QW50aWNvbmUSoQEKK3JlcXVlc3ROZXh0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmVCbG9ja3MYOCABKAsyPS5wcm90b3dpcmUuUmVxdWVzdE5leHRQcnVuaW5nUG9pbnRBbmRJdHNBbnRpY29uZUJsb2Nrc01lc3NhZ2VIAFIrcmVxdWVzdE5leHRQcnVuaW5nUG9pbnRBbmRJdHNBbnRpY29uZUJsb2NrcxJpChhnZXRDdXJyZW50TmV0d29ya1JlcXVlc3QY6QcgASgLMioucHJvdG93aXJlLkdldEN1cnJlbnROZXR3b3JrUmVxdWVzdE1lc3NhZ2VIAFIYZ2V0Q3VycmVudE5ldHdvcmtSZXF1ZXN0EmwKGWdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2UY6gcgASgLMisucHJvdG93aXJlLkdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2VNZXNzYWdlSABSGWdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2USVwoSc3VibWl0QmxvY2tSZXF1ZXN0GOsHIAEoCzIkLnByb3Rvd2lyZS5TdWJtaXRCbG9ja1JlcXVlc3RNZXNzYWdlSABSEnN1Ym1pdEJsb2NrUmVxdWVzdBJaChNzdWJtaXRCbG9ja1Jlc3BvbnNlGOwHIAEoCzIlLnByb3Rvd2lyZS5TdWJtaXRCbG9ja1Jlc3BvbnNlTWVzc2FnZUgAUhNzdWJtaXRCbG9ja1Jlc3BvbnNlEmYKF2dldEJsb2NrVGVtcGxhdGVSZXF1ZXN0GO0HIAEoCzIpLnByb3Rvd2lyZS5HZXRCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2VIAFIXZ2V0QmxvY2tUZW1wbGF0ZVJlcXVlc3QSaQoYZ2V0QmxvY2tUZW1wbGF0ZVJlc3BvbnNlGO4HIAEoCzIqLnByb3Rvd2lyZS5HZXRCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlSABSGGdldEJsb2NrVGVtcGxhdGVSZXNwb25zZRJmChdub3RpZnlCbG9ja0FkZGVkUmVxdWVzdBjvByABKAsyKS5wcm90b3dpcmUuTm90aWZ5QmxvY2tBZGRlZFJlcXVlc3RNZXNzYWdlSABSF25vdGlmeUJsb2NrQWRkZWRSZXF1ZXN0EmkKGG5vdGlmeUJsb2NrQWRkZWRSZXNwb25zZRjwByABKAsyKi5wcm90b3dpcmUuTm90aWZ5QmxvY2tBZGRlZFJlc3BvbnNlTWVzc2FnZUgAUhhub3RpZnlCbG9ja0FkZGVkUmVzcG9uc2USYwoWYmxvY2tBZGRlZE5vdGlmaWNhdGlvbhjxByABKAsyKC5wcm90b3dpcmUuQmxvY2tBZGRlZE5vdGlmaWNhdGlvbk1lc3NhZ2VIAFIWYmxvY2tBZGRlZE5vdGlmaWNhdGlvbhJmChdnZXRQZWVyQWRkcmVzc2VzUmVxdWVzdBjyByABKAsyKS5wcm90b3dpcmUuR2V0UGVlckFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSABSF2dldFBlZXJBZGRyZXNzZXNSZXF1ZXN0EmkKGGdldFBlZXJBZGRyZXNzZXNSZXNwb25zZRjzByABKAsyKi5wcm90b3dpcmUuR2V0UGVlckFkZHJlc3Nlc1Jlc3BvbnNlTWVzc2FnZUgAUhhnZXRQZWVyQWRkcmVzc2VzUmVzcG9uc2USbAoZZ2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVzdBj0ByABKAsyKy5wcm90b3dpcmUuR2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVzdE1lc3NhZ2VIAFIZZ2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVzdBJvChpnZXRTZWxlY3RlZFRpcEhhc2hSZXNwb25zZRj1ByABKAsyLC5wcm90b3dpcmUuR2V0U2VsZWN0ZWRUaXBIYXNoUmVzcG9uc2VNZXNzYWdlSABSGmdldFNlbGVjdGVkVGlwSGFzaFJlc3BvbnNlEmMKFmdldE1lbXBvb2xFbnRyeVJlcXVlc3QY9gcgASgLMigucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyeVJlcXVlc3RNZXNzYWdlSABSFmdldE1lbXBvb2xFbnRyeVJlcXVlc3QSZgoXZ2V0TWVtcG9vbEVudHJ5UmVzcG9uc2UY9wcgASgLMikucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyeVJlc3BvbnNlTWVzc2FnZUgAUhdnZXRNZW1wb29sRW50cnlSZXNwb25zZRJyChtnZXRDb25uZWN0ZWRQZWVySW5mb1JlcXVlc3QY+AcgASgLMi0ucHJvdG93aXJlLkdldENvbm5lY3RlZFBlZXJJbmZvUmVxdWVzdE1lc3NhZ2VIAFIbZ2V0Q29ubmVjdGVkUGVlckluZm9SZXF1ZXN0EnUKHGdldENvbm5lY3RlZFBlZXJJbmZvUmVzcG9uc2UY+QcgASgLMi4ucHJvdG93aXJlLkdldENvbm5lY3RlZFBlZXJJbmZvUmVzcG9uc2VNZXNzYWdlSABSHGdldENvbm5lY3RlZFBlZXJJbmZvUmVzcG9uc2USSwoOYWRkUGVlclJlcXVlc3QY+gcgASgLMiAucHJvdG93aXJlLkFkZFBlZXJSZXF1ZXN0TWVzc2FnZUgAUg5hZGRQZWVyUmVxdWVzdBJOCg9hZGRQZWVyUmVzcG9uc2UY+wcgASgLMiEucHJvdG93aXJlLkFkZFBlZXJSZXNwb25zZU1lc3NhZ2VIAFIPYWRkUGVlclJlc3BvbnNlEmkKGHN1Ym1pdFRyYW5zYWN0aW9uUmVxdWVzdBj8ByABKAsyKi5wcm90b3dpcmUuU3VibWl0VHJhbnNhY3Rpb25SZXF1ZXN0TWVzc2FnZUgAUhhzdWJtaXRUcmFuc2FjdGlvblJlcXVlc3QSbAoZc3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZRj9ByABKAsyKy5wcm90b3dpcmUuU3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZU1lc3NhZ2VIAFIZc3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZRKrAQoubm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdBj+ByABKAsyQC5wcm90b3dpcmUuTm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIubm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdBKuAQovbm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVzcG9uc2UY/wcgASgLMkEucHJvdG93aXJlLk5vdGlmeVZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUi9ub3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXNwb25zZRKoAQotdmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkTm90aWZpY2F0aW9uGIAIIAEoCzI/LnByb3Rvd2lyZS5WaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSLXZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluQ2hhbmdlZE5vdGlmaWNhdGlvbhJOCg9nZXRCbG9ja1JlcXVlc3QYgQggASgLMiEucHJvdG93aXJlLkdldEJsb2NrUmVxdWVzdE1lc3NhZ2VIAFIPZ2V0QmxvY2tSZXF1ZXN0ElEKEGdldEJsb2NrUmVzcG9uc2UYggggASgLMiIucHJvdG93aXJlLkdldEJsb2NrUmVzcG9uc2VNZXNzYWdlSABSEGdldEJsb2NrUmVzcG9uc2USXQoUZ2V0U3VibmV0d29ya1JlcXVlc3QYgwggASgLMiYucHJvdG93aXJlLkdldFN1Ym5ldHdvcmtSZXF1ZXN0TWVzc2FnZUgAUhRnZXRTdWJuZXR3b3JrUmVxdWVzdBJgChVnZXRTdWJuZXR3b3JrUmVzcG9uc2UYhAggASgLMicucHJvdG93aXJlLkdldFN1Ym5ldHdvcmtSZXNwb25zZU1lc3NhZ2VIAFIVZ2V0U3VibmV0d29ya1Jlc3BvbnNlEqgBCi1nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1JlcXVlc3QYhQggASgLMj8ucHJvdG93aXJlLkdldFZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluRnJvbUJsb2NrUmVxdWVzdE1lc3NhZ2VIAFItZ2V0VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5Gcm9tQmxvY2tSZXF1ZXN0EqsBCi5nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlGIYIIAEoCzJALnByb3Rvd2lyZS5HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlTWVzc2FnZUgAUi5nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlElEKEGdldEJsb2Nrc1JlcXVlc3QYhwggASgLMiIucHJvdG93aXJlLkdldEJsb2Nrc1JlcXVlc3RNZXNzYWdlSABSEGdldEJsb2Nrc1JlcXVlc3QSVAoRZ2V0QmxvY2tzUmVzcG9uc2UYiAggASgLMiMucHJvdG93aXJlLkdldEJsb2Nrc1Jlc3BvbnNlTWVzc2FnZUgAUhFnZXRCbG9ja3NSZXNwb25zZRJdChRnZXRCbG9ja0NvdW50UmVxdWVzdBiJCCABKAsyJi5wcm90b3dpcmUuR2V0QmxvY2tDb3VudFJlcXVlc3RNZXNzYWdlSABSFGdldEJsb2NrQ291bnRSZXF1ZXN0EmAKFWdldEJsb2NrQ291bnRSZXNwb25zZRiKCCABKAsyJy5wcm90b3dpcmUuR2V0QmxvY2tDb3VudFJlc3BvbnNlTWVzc2FnZUgAUhVnZXRCbG9ja0NvdW50UmVzcG9uc2USYwoWZ2V0QmxvY2tEYWdJbmZvUmVxdWVzdBiLCCABKAsyKC5wcm90b3dpcmUuR2V0QmxvY2tEYWdJbmZvUmVxdWVzdE1lc3NhZ2VIAFIWZ2V0QmxvY2tEYWdJbmZvUmVxdWVzdBJmChdnZXRCbG9ja0RhZ0luZm9SZXNwb25zZRiMCCABKAsyKS5wcm90b3dpcmUuR2V0QmxvY2tEYWdJbmZvUmVzcG9uc2VNZXNzYWdlSABSF2dldEJsb2NrRGFnSW5mb1Jlc3BvbnNlEnsKHnJlc29sdmVGaW5hbGl0eUNvbmZsaWN0UmVxdWVzdBiNCCABKAsyMC5wcm90b3dpcmUuUmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXF1ZXN0TWVzc2FnZUgAUh5yZXNvbHZlRmluYWxpdHlDb25mbGljdFJlcXVlc3QSfgofcmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXNwb25zZRiOCCABKAsyMS5wcm90b3dpcmUuUmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXNwb25zZU1lc3NhZ2VIAFIfcmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXNwb25zZRJ7Ch5ub3RpZnlGaW5hbGl0eUNvbmZsaWN0c1JlcXVlc3QYjwggASgLMjAucHJvdG93aXJlLk5vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVxdWVzdE1lc3NhZ2VIAFIebm90aWZ5RmluYWxpdHlDb25mbGljdHNSZXF1ZXN0En4KH25vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2UYkAggASgLMjEucHJvdG93aXJlLk5vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2VNZXNzYWdlSABSH25vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2USdQocZmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbhiRCCABKAsyLi5wcm90b3dpcmUuRmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbk1lc3NhZ2VIAFIcZmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbhKNAQokZmluYWxpdHlDb25mbGljdFJlc29sdmVkTm90aWZpY2F0aW9uGJIIIAEoCzI2LnByb3Rvd2lyZS5GaW5hbGl0eUNvbmZsaWN0UmVzb2x2ZWROb3RpZmljYXRpb25NZXNzYWdlSABSJGZpbmFsaXR5Q29uZmxpY3RSZXNvbHZlZE5vdGlmaWNhdGlvbhJpChhnZXRNZW1wb29sRW50cmllc1JlcXVlc3QYkwggASgLMioucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzUmVxdWVzdE1lc3NhZ2VIAFIYZ2V0TWVtcG9vbEVudHJpZXNSZXF1ZXN0EmwKGWdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2UYlAggASgLMisucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2VNZXNzYWdlSABSGWdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2USTgoPc2h1dERvd25SZXF1ZXN0GJUIIAEoCzIhLnByb3Rvd2lyZS5TaHV0RG93blJlcXVlc3RNZXNzYWdlSABSD3NodXREb3duUmVxdWVzdBJRChBzaHV0RG93blJlc3BvbnNlGJYIIAEoCzIiLnByb3Rvd2lyZS5TaHV0RG93blJlc3BvbnNlTWVzc2FnZUgAUhBzaHV0RG93blJlc3BvbnNlElQKEWdldEhlYWRlcnNSZXF1ZXN0GJcIIAEoCzIjLnByb3Rvd2lyZS5HZXRIZWFkZXJzUmVxdWVzdE1lc3NhZ2VIAFIRZ2V0SGVhZGVyc1JlcXVlc3QSVwoSZ2V0SGVhZGVyc1Jlc3BvbnNlGJgIIAEoCzIkLnByb3Rvd2lyZS5HZXRIZWFkZXJzUmVzcG9uc2VNZXNzYWdlSABSEmdldEhlYWRlcnNSZXNwb25zZRJsChlub3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0GJkIIAEoCzIrLnByb3Rvd2lyZS5Ob3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0TWVzc2FnZUgAUhlub3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0Em8KGm5vdGlmeVV0eG9zQ2hhbmdlZFJlc3BvbnNlGJoIIAEoCzIsLnByb3Rvd2lyZS5Ob3RpZnlVdHhvc0NoYW5nZWRSZXNwb25zZU1lc3NhZ2VIAFIabm90aWZ5VXR4b3NDaGFuZ2VkUmVzcG9uc2USaQoYdXR4b3NDaGFuZ2VkTm90aWZpY2F0aW9uGJsIIAEoCzIqLnByb3Rvd2lyZS5VdHhvc0NoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSGHV0eG9zQ2hhbmdlZE5vdGlmaWNhdGlvbhJvChpnZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdBicCCABKAsyLC5wcm90b3dpcmUuR2V0VXR4b3NCeUFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSABSGmdldFV0eG9zQnlBZGRyZXNzZXNSZXF1ZXN0EnIKG2dldFV0eG9zQnlBZGRyZXNzZXNSZXNwb25zZRidCCABKAsyLS5wcm90b3dpcmUuR2V0VXR4b3NCeUFkZHJlc3Nlc1Jlc3BvbnNlTWVzc2FnZUgAUhtnZXRVdHhvc0J5QWRkcmVzc2VzUmVzcG9uc2USmQEKKGdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlcXVlc3QYngggASgLMjoucHJvdG93aXJlLkdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlcXVlc3RNZXNzYWdlSABSKGdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlcXVlc3QSnAEKKWdldFZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZVJlc3BvbnNlGJ8IIAEoCzI7LnByb3Rvd2lyZS5HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXNwb25zZU1lc3NhZ2VIAFIpZ2V0VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlUmVzcG9uc2UStwEKMm5vdGlmeVZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWRSZXF1ZXN0GKAIIAEoCzJELnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIybm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZFJlcXVlc3QSugEKM25vdGlmeVZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWRSZXNwb25zZRihCCABKAsyRS5wcm90b3dpcmUuTm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUjNub3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVzcG9uc2UStAEKMXZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWROb3RpZmljYXRpb24YogggASgLMkMucHJvdG93aXJlLlZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSMXZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWROb3RpZmljYXRpb24SPwoKYmFuUmVxdWVzdBijCCABKAsyHC5wcm90b3dpcmUuQmFuUmVxdWVzdE1lc3NhZ2VIAFIKYmFuUmVxdWVzdBJCCgtiYW5SZXNwb25zZRikCCABKAsyHS5wcm90b3dpcmUuQmFuUmVzcG9uc2VNZXNzYWdlSABSC2JhblJlc3BvbnNlEkUKDHVuYmFuUmVxdWVzdBilCCABKAsyHi5wcm90b3dpcmUuVW5iYW5SZXF1ZXN0TWVzc2FnZUgAUgx1bmJhblJlcXVlc3QSSAoNdW5iYW5SZXNwb25zZRimCCABKAsyHy5wcm90b3dpcmUuVW5iYW5SZXNwb25zZU1lc3NhZ2VIAFINdW5iYW5SZXNwb25zZRJLCg5nZXRJbmZvUmVxdWVzdBinCCABKAsyIC5wcm90b3dpcmUuR2V0SW5mb1JlcXVlc3RNZXNzYWdlSABSDmdldEluZm9SZXF1ZXN0Ek4KD2dldEluZm9SZXNwb25zZRioCCABKAsyIS5wcm90b3dpcmUuR2V0SW5mb1Jlc3BvbnNlTWVzc2FnZUgAUg9nZXRJbmZvUmVzcG9uc2USgQEKIHN0b3BOb3RpZnlpbmdVdHhvc0NoYW5nZWRSZXF1ZXN0GKkIIAEoCzIyLnByb3Rvd2lyZS5TdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIgc3RvcE5vdGlmeWluZ1V0eG9zQ2hhbmdlZFJlcXVlc3QShAEKIXN0b3BOb3RpZnlpbmdVdHhvc0NoYW5nZWRSZXNwb25zZRiqCCABKAsyMy5wcm90b3dpcmUuU3RvcE5vdGlmeWluZ1V0eG9zQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUiFzdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVzcG9uc2USmQEKKG5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QYqwggASgLMjoucHJvdG93aXJlLk5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3RNZXNzYWdlSABSKG5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QSnAEKKW5vdGlmeVBydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlc3BvbnNlGKwIIAEoCzI7LnByb3Rvd2lyZS5Ob3RpZnlQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZU1lc3NhZ2VIAFIpbm90aWZ5UHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9uc2USlgEKJ3BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZU5vdGlmaWNhdGlvbhitCCABKAsyOS5wcm90b3dpcmUuUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlTm90aWZpY2F0aW9uTWVzc2FnZUgAUidwcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVOb3RpZmljYXRpb24SrgEKL3N0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXF1ZXN0GK4IIAEoCzJBLnByb3Rvd2lyZS5TdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVxdWVzdE1lc3NhZ2VIAFIvc3RvcE5vdGlmeWluZ1BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QSsQEKMHN0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZRivCCABKAsyQi5wcm90b3dpcmUuU3RvcE5vdGlmeWluZ1BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlc3BvbnNlTWVzc2FnZUgAUjBzdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9uc2USkAEKJWVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3QYsAggASgLMjcucHJvdG93aXJlLkVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3RNZXNzYWdlSABSJWVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3QSkwEKJmVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlc3BvbnNlGLEIIAEoCzI4LnByb3Rvd2lyZS5Fc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXNwb25zZU1lc3NhZ2VIAFImZXN0aW1hdGVOZXR3b3JrSGFzaGVzUGVyU2Vjb25kUmVzcG9uc2USigEKI25vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXF1ZXN0GLIIIAEoCzI1LnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIAFIjbm90aWZ5VmlydHVhbERhYVNjb3JlQ2hhbmdlZFJlcXVlc3QSjQEKJG5vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXNwb25zZRizCCABKAsyNi5wcm90b3dpcmUuTm90aWZ5VmlydHVhbERhYVNjb3JlQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZUgAUiRub3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVzcG9uc2UShwEKInZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb24YtAggASgLMjQucHJvdG93aXJlLlZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSABSInZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb24SbwoaZ2V0QmFsYW5jZUJ5QWRkcmVzc1JlcXVlc3QYtQggASgLMiwucHJvdG93aXJlLkdldEJhbGFuY2VCeUFkZHJlc3NSZXF1ZXN0TWVzc2FnZUgAUhpnZXRCYWxhbmNlQnlBZGRyZXNzUmVxdWVzdBJyChtnZXRCYWxhbmNlQnlBZGRyZXNzUmVzcG9uc2UYtgggASgLMi0ucHJvdG93aXJlLkdldEJhbGFuY2VCeUFkZHJlc3NSZXNwb25zZU1lc3NhZ2VIAFIbZ2V0QmFsYW5jZUJ5QWRkcmVzc1Jlc3BvbnNlEngKHWdldEJhbGFuY2VzQnlBZGRyZXNzZXNSZXF1ZXN0GLcIIAEoCzIvLnByb3Rvd2lyZS5HZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2VIAFIdZ2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1JlcXVlc3QSewoeZ2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlGLgIIAEoCzIwLnByb3Rvd2lyZS5HZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlSABSHmdldEJhbGFuY2VzQnlBZGRyZXNzZXNSZXNwb25zZRJ4Ch1ub3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVxdWVzdBi5CCABKAsyLy5wcm90b3dpcmUuTm90aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlcXVlc3RNZXNzYWdlSABSHW5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXF1ZXN0EnsKHm5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXNwb25zZRi6CCABKAsyMC5wcm90b3dpcmUuTm90aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlc3BvbnNlTWVzc2FnZUgAUh5ub3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVzcG9uc2USdQocbmV3QmxvY2tUZW1wbGF0ZU5vdGlmaWNhdGlvbhi7CCABKAsyLi5wcm90b3dpcmUuTmV3QmxvY2tUZW1wbGF0ZU5vdGlmaWNhdGlvbk1lc3NhZ2VIAFIcbmV3QmxvY2tUZW1wbGF0ZU5vdGlmaWNhdGlvbhKKAQojZ2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1JlcXVlc3QYvAggASgLMjUucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNSZXF1ZXN0TWVzc2FnZUgAUiNnZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVxdWVzdBKNAQokZ2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlGL0IIAEoCzI2LnByb3Rvd2lyZS5HZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlSABSJGdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNSZXNwb25zZRJdChRnZXRDb2luU3VwcGx5UmVxdWVzdBi+CCABKAsyJi5wcm90b3dpcmUuR2V0Q29pblN1cHBseVJlcXVlc3RNZXNzYWdlSABSFGdldENvaW5TdXBwbHlSZXF1ZXN0EmAKFWdldENvaW5TdXBwbHlSZXNwb25zZRi/CCABKAsyJy5wcm90b3dpcmUuR2V0Q29pblN1cHBseVJlc3BvbnNlTWVzc2FnZUgAUhVnZXRDb2luU3VwcGx5UmVzcG9uc2VCCQoHcGF5bG9hZA=='); diff --git a/lib/spectre/grpc/p2p.pb.dart b/lib/spectre/grpc/p2p.pb.dart index f1a0804..8d1d96f 100644 --- a/lib/spectre/grpc/p2p.pb.dart +++ b/lib/spectre/grpc/p2p.pb.dart @@ -11,29 +11,11 @@ import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; class RequestAddressesMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestAddressesMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOB( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeAllSubnetworks', - protoName: 'includeAllSubnetworks') - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'subnetworkId', - protoName: 'subnetworkId', - subBuilder: SubnetworkId.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestAddressesMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeAllSubnetworks', protoName: 'includeAllSubnetworks') + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'subnetworkId', protoName: 'subnetworkId', subBuilder: SubnetworkId.create) + ..hasRequiredFields = false + ; RequestAddressesMessage._() : super(); factory RequestAddressesMessage({ @@ -49,42 +31,31 @@ class RequestAddressesMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestAddressesMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestAddressesMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestAddressesMessage clone() => - RequestAddressesMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestAddressesMessage copyWith( - void Function(RequestAddressesMessage) updates) => - super.copyWith((message) => updates(message as RequestAddressesMessage)) - as RequestAddressesMessage; // ignore: deprecated_member_use + factory RequestAddressesMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestAddressesMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestAddressesMessage clone() => RequestAddressesMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestAddressesMessage copyWith(void Function(RequestAddressesMessage) updates) => super.copyWith((message) => updates(message as RequestAddressesMessage)) as RequestAddressesMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestAddressesMessage create() => RequestAddressesMessage._(); RequestAddressesMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestAddressesMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestAddressesMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestAddressesMessage? _defaultInstance; @$pb.TagNumber(1) $core.bool get includeAllSubnetworks => $_getBF(0); @$pb.TagNumber(1) - set includeAllSubnetworks($core.bool v) { - $_setBool(0, v); - } - + set includeAllSubnetworks($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasIncludeAllSubnetworks() => $_has(0); @$pb.TagNumber(1) @@ -93,10 +64,7 @@ class RequestAddressesMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) SubnetworkId get subnetworkId => $_getN(1); @$pb.TagNumber(2) - set subnetworkId(SubnetworkId v) { - setField(2, v); - } - + set subnetworkId(SubnetworkId v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasSubnetworkId() => $_has(1); @$pb.TagNumber(2) @@ -106,24 +74,10 @@ class RequestAddressesMessage extends $pb.GeneratedMessage { } class AddressesMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'AddressesMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addressList', - $pb.PbFieldType.PM, - protoName: 'addressList', - subBuilder: NetAddress.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AddressesMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addressList', $pb.PbFieldType.PM, protoName: 'addressList', subBuilder: NetAddress.create) + ..hasRequiredFields = false + ; AddressesMessage._() : super(); factory AddressesMessage({ @@ -135,31 +89,25 @@ class AddressesMessage extends $pb.GeneratedMessage { } return _result; } - factory AddressesMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AddressesMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory AddressesMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AddressesMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') AddressesMessage clone() => AddressesMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddressesMessage copyWith(void Function(AddressesMessage) updates) => - super.copyWith((message) => updates(message as AddressesMessage)) - as AddressesMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AddressesMessage copyWith(void Function(AddressesMessage) updates) => super.copyWith((message) => updates(message as AddressesMessage)) as AddressesMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AddressesMessage create() => AddressesMessage._(); AddressesMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static AddressesMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static AddressesMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AddressesMessage? _defaultInstance; @$pb.TagNumber(1) @@ -167,33 +115,12 @@ class AddressesMessage extends $pb.GeneratedMessage { } class NetAddress extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NetAddress', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aInt64( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'timestamp') - ..a<$core.List<$core.int>>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ip', - $pb.PbFieldType.OY) - ..a<$core.int>( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'port', - $pb.PbFieldType.OU3) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NetAddress', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aInt64(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'timestamp') + ..a<$core.List<$core.int>>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ip', $pb.PbFieldType.OY) + ..a<$core.int>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'port', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; NetAddress._() : super(); factory NetAddress({ @@ -213,39 +140,31 @@ class NetAddress extends $pb.GeneratedMessage { } return _result; } - factory NetAddress.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NetAddress.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory NetAddress.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NetAddress.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') NetAddress clone() => NetAddress()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NetAddress copyWith(void Function(NetAddress) updates) => - super.copyWith((message) => updates(message as NetAddress)) - as NetAddress; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NetAddress copyWith(void Function(NetAddress) updates) => super.copyWith((message) => updates(message as NetAddress)) as NetAddress; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static NetAddress create() => NetAddress._(); NetAddress createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NetAddress getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static NetAddress getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NetAddress? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get timestamp => $_getI64(0); @$pb.TagNumber(1) - set timestamp($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set timestamp($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasTimestamp() => $_has(0); @$pb.TagNumber(1) @@ -254,10 +173,7 @@ class NetAddress extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.List<$core.int> get ip => $_getN(1); @$pb.TagNumber(3) - set ip($core.List<$core.int> v) { - $_setBytes(1, v); - } - + set ip($core.List<$core.int> v) { $_setBytes(1, v); } @$pb.TagNumber(3) $core.bool hasIp() => $_has(1); @$pb.TagNumber(3) @@ -266,10 +182,7 @@ class NetAddress extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get port => $_getIZ(2); @$pb.TagNumber(4) - set port($core.int v) { - $_setUnsignedInt32(2, v); - } - + set port($core.int v) { $_setUnsignedInt32(2, v); } @$pb.TagNumber(4) $core.bool hasPort() => $_has(2); @$pb.TagNumber(4) @@ -277,22 +190,10 @@ class NetAddress extends $pb.GeneratedMessage { } class SubnetworkId extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'SubnetworkId', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.List<$core.int>>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bytes', - $pb.PbFieldType.OY) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SubnetworkId', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.List<$core.int>>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bytes', $pb.PbFieldType.OY) + ..hasRequiredFields = false + ; SubnetworkId._() : super(); factory SubnetworkId({ @@ -304,40 +205,31 @@ class SubnetworkId extends $pb.GeneratedMessage { } return _result; } - factory SubnetworkId.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubnetworkId.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory SubnetworkId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SubnetworkId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubnetworkId clone() => SubnetworkId()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubnetworkId copyWith(void Function(SubnetworkId) updates) => - super.copyWith((message) => updates(message as SubnetworkId)) - as SubnetworkId; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubnetworkId copyWith(void Function(SubnetworkId) updates) => super.copyWith((message) => updates(message as SubnetworkId)) as SubnetworkId; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubnetworkId create() => SubnetworkId._(); SubnetworkId createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubnetworkId getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubnetworkId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubnetworkId? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get bytes => $_getN(0); @$pb.TagNumber(1) - set bytes($core.List<$core.int> v) { - $_setBytes(0, v); - } - + set bytes($core.List<$core.int> v) { $_setBytes(0, v); } @$pb.TagNumber(1) $core.bool hasBytes() => $_has(0); @$pb.TagNumber(1) @@ -345,64 +237,16 @@ class SubnetworkId extends $pb.GeneratedMessage { } class TransactionMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'TransactionMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - $pb.PbFieldType.OU3) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'inputs', - $pb.PbFieldType.PM, - subBuilder: TransactionInput.create) - ..pc( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'outputs', - $pb.PbFieldType.PM, - subBuilder: TransactionOutput.create) - ..a<$fixnum.Int64>( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'lockTime', - $pb.PbFieldType.OU6, - protoName: 'lockTime', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'subnetworkId', - protoName: 'subnetworkId', - subBuilder: SubnetworkId.create) - ..a<$fixnum.Int64>( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'gas', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'payload', - $pb.PbFieldType.OY) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'TransactionMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', $pb.PbFieldType.OU3) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'inputs', $pb.PbFieldType.PM, subBuilder: TransactionInput.create) + ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outputs', $pb.PbFieldType.PM, subBuilder: TransactionOutput.create) + ..a<$fixnum.Int64>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'lockTime', $pb.PbFieldType.OU6, protoName: 'lockTime', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'subnetworkId', protoName: 'subnetworkId', subBuilder: SubnetworkId.create) + ..a<$fixnum.Int64>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'gas', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'payload', $pb.PbFieldType.OY) + ..hasRequiredFields = false + ; TransactionMessage._() : super(); factory TransactionMessage({ @@ -438,40 +282,31 @@ class TransactionMessage extends $pb.GeneratedMessage { } return _result; } - factory TransactionMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TransactionMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory TransactionMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TransactionMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TransactionMessage clone() => TransactionMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransactionMessage copyWith(void Function(TransactionMessage) updates) => - super.copyWith((message) => updates(message as TransactionMessage)) - as TransactionMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TransactionMessage copyWith(void Function(TransactionMessage) updates) => super.copyWith((message) => updates(message as TransactionMessage)) as TransactionMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TransactionMessage create() => TransactionMessage._(); TransactionMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TransactionMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TransactionMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TransactionMessage? _defaultInstance; @$pb.TagNumber(1) $core.int get version => $_getIZ(0); @$pb.TagNumber(1) - set version($core.int v) { - $_setUnsignedInt32(0, v); - } - + set version($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasVersion() => $_has(0); @$pb.TagNumber(1) @@ -486,10 +321,7 @@ class TransactionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(4) $fixnum.Int64 get lockTime => $_getI64(3); @$pb.TagNumber(4) - set lockTime($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set lockTime($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasLockTime() => $_has(3); @$pb.TagNumber(4) @@ -498,10 +330,7 @@ class TransactionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(5) SubnetworkId get subnetworkId => $_getN(4); @$pb.TagNumber(5) - set subnetworkId(SubnetworkId v) { - setField(5, v); - } - + set subnetworkId(SubnetworkId v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasSubnetworkId() => $_has(4); @$pb.TagNumber(5) @@ -512,10 +341,7 @@ class TransactionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get gas => $_getI64(5); @$pb.TagNumber(6) - set gas($fixnum.Int64 v) { - $_setInt64(5, v); - } - + set gas($fixnum.Int64 v) { $_setInt64(5, v); } @$pb.TagNumber(6) $core.bool hasGas() => $_has(5); @$pb.TagNumber(6) @@ -524,10 +350,7 @@ class TransactionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.List<$core.int> get payload => $_getN(6); @$pb.TagNumber(8) - set payload($core.List<$core.int> v) { - $_setBytes(6, v); - } - + set payload($core.List<$core.int> v) { $_setBytes(6, v); } @$pb.TagNumber(8) $core.bool hasPayload() => $_has(6); @$pb.TagNumber(8) @@ -535,44 +358,13 @@ class TransactionMessage extends $pb.GeneratedMessage { } class TransactionInput extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'TransactionInput', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'previousOutpoint', - protoName: 'previousOutpoint', - subBuilder: Outpoint.create) - ..a<$core.List<$core.int>>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'signatureScript', - $pb.PbFieldType.OY, - protoName: 'signatureScript') - ..a<$fixnum.Int64>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'sequence', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.int>( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'sigOpCount', - $pb.PbFieldType.OU3, - protoName: 'sigOpCount') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'TransactionInput', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'previousOutpoint', protoName: 'previousOutpoint', subBuilder: Outpoint.create) + ..a<$core.List<$core.int>>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'signatureScript', $pb.PbFieldType.OY, protoName: 'signatureScript') + ..a<$fixnum.Int64>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sequence', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.int>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sigOpCount', $pb.PbFieldType.OU3, protoName: 'sigOpCount') + ..hasRequiredFields = false + ; TransactionInput._() : super(); factory TransactionInput({ @@ -596,40 +388,31 @@ class TransactionInput extends $pb.GeneratedMessage { } return _result; } - factory TransactionInput.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TransactionInput.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory TransactionInput.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TransactionInput.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TransactionInput clone() => TransactionInput()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransactionInput copyWith(void Function(TransactionInput) updates) => - super.copyWith((message) => updates(message as TransactionInput)) - as TransactionInput; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TransactionInput copyWith(void Function(TransactionInput) updates) => super.copyWith((message) => updates(message as TransactionInput)) as TransactionInput; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TransactionInput create() => TransactionInput._(); TransactionInput createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TransactionInput getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TransactionInput getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TransactionInput? _defaultInstance; @$pb.TagNumber(1) Outpoint get previousOutpoint => $_getN(0); @$pb.TagNumber(1) - set previousOutpoint(Outpoint v) { - setField(1, v); - } - + set previousOutpoint(Outpoint v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPreviousOutpoint() => $_has(0); @$pb.TagNumber(1) @@ -640,10 +423,7 @@ class TransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List<$core.int> get signatureScript => $_getN(1); @$pb.TagNumber(2) - set signatureScript($core.List<$core.int> v) { - $_setBytes(1, v); - } - + set signatureScript($core.List<$core.int> v) { $_setBytes(1, v); } @$pb.TagNumber(2) $core.bool hasSignatureScript() => $_has(1); @$pb.TagNumber(2) @@ -652,10 +432,7 @@ class TransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get sequence => $_getI64(2); @$pb.TagNumber(3) - set sequence($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set sequence($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasSequence() => $_has(2); @$pb.TagNumber(3) @@ -664,10 +441,7 @@ class TransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get sigOpCount => $_getIZ(3); @$pb.TagNumber(4) - set sigOpCount($core.int v) { - $_setUnsignedInt32(3, v); - } - + set sigOpCount($core.int v) { $_setUnsignedInt32(3, v); } @$pb.TagNumber(4) $core.bool hasSigOpCount() => $_has(3); @$pb.TagNumber(4) @@ -675,29 +449,11 @@ class TransactionInput extends $pb.GeneratedMessage { } class Outpoint extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'Outpoint', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactionId', - protoName: 'transactionId', - subBuilder: TransactionId.create) - ..a<$core.int>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'index', - $pb.PbFieldType.OU3) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Outpoint', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactionId', protoName: 'transactionId', subBuilder: TransactionId.create) + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'index', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; Outpoint._() : super(); factory Outpoint({ @@ -713,39 +469,31 @@ class Outpoint extends $pb.GeneratedMessage { } return _result; } - factory Outpoint.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Outpoint.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Outpoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Outpoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Outpoint clone() => Outpoint()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Outpoint copyWith(void Function(Outpoint) updates) => - super.copyWith((message) => updates(message as Outpoint)) - as Outpoint; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Outpoint copyWith(void Function(Outpoint) updates) => super.copyWith((message) => updates(message as Outpoint)) as Outpoint; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Outpoint create() => Outpoint._(); Outpoint createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Outpoint getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Outpoint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Outpoint? _defaultInstance; @$pb.TagNumber(1) TransactionId get transactionId => $_getN(0); @$pb.TagNumber(1) - set transactionId(TransactionId v) { - setField(1, v); - } - + set transactionId(TransactionId v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTransactionId() => $_has(0); @$pb.TagNumber(1) @@ -756,10 +504,7 @@ class Outpoint extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get index => $_getIZ(1); @$pb.TagNumber(2) - set index($core.int v) { - $_setUnsignedInt32(1, v); - } - + set index($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasIndex() => $_has(1); @$pb.TagNumber(2) @@ -767,22 +512,10 @@ class Outpoint extends $pb.GeneratedMessage { } class TransactionId extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'TransactionId', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.List<$core.int>>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bytes', - $pb.PbFieldType.OY) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'TransactionId', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.List<$core.int>>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bytes', $pb.PbFieldType.OY) + ..hasRequiredFields = false + ; TransactionId._() : super(); factory TransactionId({ @@ -794,40 +527,31 @@ class TransactionId extends $pb.GeneratedMessage { } return _result; } - factory TransactionId.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TransactionId.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory TransactionId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TransactionId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TransactionId clone() => TransactionId()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransactionId copyWith(void Function(TransactionId) updates) => - super.copyWith((message) => updates(message as TransactionId)) - as TransactionId; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TransactionId copyWith(void Function(TransactionId) updates) => super.copyWith((message) => updates(message as TransactionId)) as TransactionId; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TransactionId create() => TransactionId._(); TransactionId createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TransactionId getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TransactionId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TransactionId? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get bytes => $_getN(0); @$pb.TagNumber(1) - set bytes($core.List<$core.int> v) { - $_setBytes(0, v); - } - + set bytes($core.List<$core.int> v) { $_setBytes(0, v); } @$pb.TagNumber(1) $core.bool hasBytes() => $_has(0); @$pb.TagNumber(1) @@ -835,28 +559,11 @@ class TransactionId extends $pb.GeneratedMessage { } class ScriptPublicKey extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'ScriptPublicKey', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.List<$core.int>>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'script', - $pb.PbFieldType.OY) - ..a<$core.int>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - $pb.PbFieldType.OU3) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ScriptPublicKey', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.List<$core.int>>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'script', $pb.PbFieldType.OY) + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; ScriptPublicKey._() : super(); factory ScriptPublicKey({ @@ -872,40 +579,31 @@ class ScriptPublicKey extends $pb.GeneratedMessage { } return _result; } - factory ScriptPublicKey.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ScriptPublicKey.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory ScriptPublicKey.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ScriptPublicKey.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ScriptPublicKey clone() => ScriptPublicKey()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ScriptPublicKey copyWith(void Function(ScriptPublicKey) updates) => - super.copyWith((message) => updates(message as ScriptPublicKey)) - as ScriptPublicKey; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ScriptPublicKey copyWith(void Function(ScriptPublicKey) updates) => super.copyWith((message) => updates(message as ScriptPublicKey)) as ScriptPublicKey; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ScriptPublicKey create() => ScriptPublicKey._(); ScriptPublicKey createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ScriptPublicKey getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ScriptPublicKey getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ScriptPublicKey? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get script => $_getN(0); @$pb.TagNumber(1) - set script($core.List<$core.int> v) { - $_setBytes(0, v); - } - + set script($core.List<$core.int> v) { $_setBytes(0, v); } @$pb.TagNumber(1) $core.bool hasScript() => $_has(0); @$pb.TagNumber(1) @@ -914,10 +612,7 @@ class ScriptPublicKey extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get version => $_getIZ(1); @$pb.TagNumber(2) - set version($core.int v) { - $_setUnsignedInt32(1, v); - } - + set version($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasVersion() => $_has(1); @$pb.TagNumber(2) @@ -925,30 +620,11 @@ class ScriptPublicKey extends $pb.GeneratedMessage { } class TransactionOutput extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'TransactionOutput', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'value', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKey', - protoName: 'scriptPublicKey', - subBuilder: ScriptPublicKey.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'TransactionOutput', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKey', protoName: 'scriptPublicKey', subBuilder: ScriptPublicKey.create) + ..hasRequiredFields = false + ; TransactionOutput._() : super(); factory TransactionOutput({ @@ -964,40 +640,31 @@ class TransactionOutput extends $pb.GeneratedMessage { } return _result; } - factory TransactionOutput.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TransactionOutput.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory TransactionOutput.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TransactionOutput.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TransactionOutput clone() => TransactionOutput()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransactionOutput copyWith(void Function(TransactionOutput) updates) => - super.copyWith((message) => updates(message as TransactionOutput)) - as TransactionOutput; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TransactionOutput copyWith(void Function(TransactionOutput) updates) => super.copyWith((message) => updates(message as TransactionOutput)) as TransactionOutput; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TransactionOutput create() => TransactionOutput._(); TransactionOutput createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TransactionOutput getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TransactionOutput getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TransactionOutput? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get value => $_getI64(0); @$pb.TagNumber(1) - set value($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set value($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) @@ -1006,10 +673,7 @@ class TransactionOutput extends $pb.GeneratedMessage { @$pb.TagNumber(2) ScriptPublicKey get scriptPublicKey => $_getN(1); @$pb.TagNumber(2) - set scriptPublicKey(ScriptPublicKey v) { - setField(2, v); - } - + set scriptPublicKey(ScriptPublicKey v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasScriptPublicKey() => $_has(1); @$pb.TagNumber(2) @@ -1019,29 +683,11 @@ class TransactionOutput extends $pb.GeneratedMessage { } class BlockMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'header', - subBuilder: BlockHeader.create) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactions', - $pb.PbFieldType.PM, - subBuilder: TransactionMessage.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'header', subBuilder: BlockHeader.create) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactions', $pb.PbFieldType.PM, subBuilder: TransactionMessage.create) + ..hasRequiredFields = false + ; BlockMessage._() : super(); factory BlockMessage({ @@ -1057,40 +703,31 @@ class BlockMessage extends $pb.GeneratedMessage { } return _result; } - factory BlockMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BlockMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BlockMessage clone() => BlockMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockMessage copyWith(void Function(BlockMessage) updates) => - super.copyWith((message) => updates(message as BlockMessage)) - as BlockMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockMessage copyWith(void Function(BlockMessage) updates) => super.copyWith((message) => updates(message as BlockMessage)) as BlockMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BlockMessage create() => BlockMessage._(); BlockMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockMessage? _defaultInstance; @$pb.TagNumber(1) BlockHeader get header => $_getN(0); @$pb.TagNumber(1) - set header(BlockHeader v) { - setField(1, v); - } - + set header(BlockHeader v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) @@ -1103,98 +740,21 @@ class BlockMessage extends $pb.GeneratedMessage { } class BlockHeader extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockHeader', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - $pb.PbFieldType.OU3) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hashMerkleRoot', - protoName: 'hashMerkleRoot', - subBuilder: Hash.create) - ..aOM( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'acceptedIdMerkleRoot', - protoName: 'acceptedIdMerkleRoot', - subBuilder: Hash.create) - ..aOM( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'utxoCommitment', - protoName: 'utxoCommitment', - subBuilder: Hash.create) - ..aInt64( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'timestamp') - ..a<$core.int>( - 7, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bits', - $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'nonce', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 9, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'daaScore', - $pb.PbFieldType.OU6, - protoName: 'daaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>( - 10, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueWork', - $pb.PbFieldType.OY, - protoName: 'blueWork') - ..pc( - 12, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'parents', - $pb.PbFieldType.PM, - subBuilder: BlockLevelParents.create) - ..a<$fixnum.Int64>( - 13, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueScore', - $pb.PbFieldType.OU6, - protoName: 'blueScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 14, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPoint', - protoName: 'pruningPoint', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockHeader', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', $pb.PbFieldType.OU3) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hashMerkleRoot', protoName: 'hashMerkleRoot', subBuilder: Hash.create) + ..aOM(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'acceptedIdMerkleRoot', protoName: 'acceptedIdMerkleRoot', subBuilder: Hash.create) + ..aOM(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'utxoCommitment', protoName: 'utxoCommitment', subBuilder: Hash.create) + ..aInt64(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'timestamp') + ..a<$core.int>(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bits', $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nonce', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'daaScore', $pb.PbFieldType.OU6, protoName: 'daaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueWork', $pb.PbFieldType.OY, protoName: 'blueWork') + ..pc(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parents', $pb.PbFieldType.PM, subBuilder: BlockLevelParents.create) + ..a<$fixnum.Int64>(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueScore', $pb.PbFieldType.OU6, protoName: 'blueScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPoint', protoName: 'pruningPoint', subBuilder: Hash.create) + ..hasRequiredFields = false + ; BlockHeader._() : super(); factory BlockHeader({ @@ -1250,39 +810,31 @@ class BlockHeader extends $pb.GeneratedMessage { } return _result; } - factory BlockHeader.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockHeader.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BlockHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BlockHeader clone() => BlockHeader()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockHeader copyWith(void Function(BlockHeader) updates) => - super.copyWith((message) => updates(message as BlockHeader)) - as BlockHeader; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockHeader copyWith(void Function(BlockHeader) updates) => super.copyWith((message) => updates(message as BlockHeader)) as BlockHeader; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BlockHeader create() => BlockHeader._(); BlockHeader createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockHeader getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockHeader? _defaultInstance; @$pb.TagNumber(1) $core.int get version => $_getIZ(0); @$pb.TagNumber(1) - set version($core.int v) { - $_setUnsignedInt32(0, v); - } - + set version($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasVersion() => $_has(0); @$pb.TagNumber(1) @@ -1291,10 +843,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(3) Hash get hashMerkleRoot => $_getN(1); @$pb.TagNumber(3) - set hashMerkleRoot(Hash v) { - setField(3, v); - } - + set hashMerkleRoot(Hash v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasHashMerkleRoot() => $_has(1); @$pb.TagNumber(3) @@ -1305,10 +854,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(4) Hash get acceptedIdMerkleRoot => $_getN(2); @$pb.TagNumber(4) - set acceptedIdMerkleRoot(Hash v) { - setField(4, v); - } - + set acceptedIdMerkleRoot(Hash v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAcceptedIdMerkleRoot() => $_has(2); @$pb.TagNumber(4) @@ -1319,10 +865,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(5) Hash get utxoCommitment => $_getN(3); @$pb.TagNumber(5) - set utxoCommitment(Hash v) { - setField(5, v); - } - + set utxoCommitment(Hash v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasUtxoCommitment() => $_has(3); @$pb.TagNumber(5) @@ -1333,10 +876,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get timestamp => $_getI64(4); @$pb.TagNumber(6) - set timestamp($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set timestamp($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(6) $core.bool hasTimestamp() => $_has(4); @$pb.TagNumber(6) @@ -1345,10 +885,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.int get bits => $_getIZ(5); @$pb.TagNumber(7) - set bits($core.int v) { - $_setUnsignedInt32(5, v); - } - + set bits($core.int v) { $_setUnsignedInt32(5, v); } @$pb.TagNumber(7) $core.bool hasBits() => $_has(5); @$pb.TagNumber(7) @@ -1357,10 +894,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(8) $fixnum.Int64 get nonce => $_getI64(6); @$pb.TagNumber(8) - set nonce($fixnum.Int64 v) { - $_setInt64(6, v); - } - + set nonce($fixnum.Int64 v) { $_setInt64(6, v); } @$pb.TagNumber(8) $core.bool hasNonce() => $_has(6); @$pb.TagNumber(8) @@ -1369,10 +903,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(9) $fixnum.Int64 get daaScore => $_getI64(7); @$pb.TagNumber(9) - set daaScore($fixnum.Int64 v) { - $_setInt64(7, v); - } - + set daaScore($fixnum.Int64 v) { $_setInt64(7, v); } @$pb.TagNumber(9) $core.bool hasDaaScore() => $_has(7); @$pb.TagNumber(9) @@ -1381,10 +912,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.List<$core.int> get blueWork => $_getN(8); @$pb.TagNumber(10) - set blueWork($core.List<$core.int> v) { - $_setBytes(8, v); - } - + set blueWork($core.List<$core.int> v) { $_setBytes(8, v); } @$pb.TagNumber(10) $core.bool hasBlueWork() => $_has(8); @$pb.TagNumber(10) @@ -1396,10 +924,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(13) $fixnum.Int64 get blueScore => $_getI64(10); @$pb.TagNumber(13) - set blueScore($fixnum.Int64 v) { - $_setInt64(10, v); - } - + set blueScore($fixnum.Int64 v) { $_setInt64(10, v); } @$pb.TagNumber(13) $core.bool hasBlueScore() => $_has(10); @$pb.TagNumber(13) @@ -1408,10 +933,7 @@ class BlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(14) Hash get pruningPoint => $_getN(11); @$pb.TagNumber(14) - set pruningPoint(Hash v) { - setField(14, v); - } - + set pruningPoint(Hash v) { setField(14, v); } @$pb.TagNumber(14) $core.bool hasPruningPoint() => $_has(11); @$pb.TagNumber(14) @@ -1421,24 +943,10 @@ class BlockHeader extends $pb.GeneratedMessage { } class BlockLevelParents extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockLevelParents', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'parentHashes', - $pb.PbFieldType.PM, - protoName: 'parentHashes', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockLevelParents', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parentHashes', $pb.PbFieldType.PM, protoName: 'parentHashes', subBuilder: Hash.create) + ..hasRequiredFields = false + ; BlockLevelParents._() : super(); factory BlockLevelParents({ @@ -1450,31 +958,25 @@ class BlockLevelParents extends $pb.GeneratedMessage { } return _result; } - factory BlockLevelParents.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockLevelParents.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BlockLevelParents.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockLevelParents.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BlockLevelParents clone() => BlockLevelParents()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockLevelParents copyWith(void Function(BlockLevelParents) updates) => - super.copyWith((message) => updates(message as BlockLevelParents)) - as BlockLevelParents; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockLevelParents copyWith(void Function(BlockLevelParents) updates) => super.copyWith((message) => updates(message as BlockLevelParents)) as BlockLevelParents; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BlockLevelParents create() => BlockLevelParents._(); BlockLevelParents createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockLevelParents getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockLevelParents getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockLevelParents? _defaultInstance; @$pb.TagNumber(1) @@ -1482,22 +984,10 @@ class BlockLevelParents extends $pb.GeneratedMessage { } class Hash extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'Hash', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.List<$core.int>>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bytes', - $pb.PbFieldType.OY) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Hash', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.List<$core.int>>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bytes', $pb.PbFieldType.OY) + ..hasRequiredFields = false + ; Hash._() : super(); factory Hash({ @@ -1509,39 +999,31 @@ class Hash extends $pb.GeneratedMessage { } return _result; } - factory Hash.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Hash.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Hash.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Hash.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Hash clone() => Hash()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Hash copyWith(void Function(Hash) updates) => - super.copyWith((message) => updates(message as Hash)) - as Hash; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Hash copyWith(void Function(Hash) updates) => super.copyWith((message) => updates(message as Hash)) as Hash; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Hash create() => Hash._(); Hash createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Hash getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Hash getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Hash? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get bytes => $_getN(0); @$pb.TagNumber(1) - set bytes($core.List<$core.int> v) { - $_setBytes(0, v); - } - + set bytes($core.List<$core.int> v) { $_setBytes(0, v); } @$pb.TagNumber(1) $core.bool hasBytes() => $_has(0); @$pb.TagNumber(1) @@ -1549,29 +1031,11 @@ class Hash extends $pb.GeneratedMessage { } class RequestBlockLocatorMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestBlockLocatorMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'highHash', - protoName: 'highHash', - subBuilder: Hash.create) - ..a<$core.int>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'limit', - $pb.PbFieldType.OU3) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestBlockLocatorMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'highHash', protoName: 'highHash', subBuilder: Hash.create) + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'limit', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; RequestBlockLocatorMessage._() : super(); factory RequestBlockLocatorMessage({ @@ -1587,43 +1051,31 @@ class RequestBlockLocatorMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestBlockLocatorMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestBlockLocatorMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestBlockLocatorMessage clone() => - RequestBlockLocatorMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestBlockLocatorMessage copyWith( - void Function(RequestBlockLocatorMessage) updates) => - super.copyWith( - (message) => updates(message as RequestBlockLocatorMessage)) - as RequestBlockLocatorMessage; // ignore: deprecated_member_use + factory RequestBlockLocatorMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestBlockLocatorMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestBlockLocatorMessage clone() => RequestBlockLocatorMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestBlockLocatorMessage copyWith(void Function(RequestBlockLocatorMessage) updates) => super.copyWith((message) => updates(message as RequestBlockLocatorMessage)) as RequestBlockLocatorMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestBlockLocatorMessage create() => RequestBlockLocatorMessage._(); RequestBlockLocatorMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestBlockLocatorMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestBlockLocatorMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestBlockLocatorMessage? _defaultInstance; @$pb.TagNumber(1) Hash get highHash => $_getN(0); @$pb.TagNumber(1) - set highHash(Hash v) { - setField(1, v); - } - + set highHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHighHash() => $_has(0); @$pb.TagNumber(1) @@ -1634,10 +1086,7 @@ class RequestBlockLocatorMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get limit => $_getIZ(1); @$pb.TagNumber(2) - set limit($core.int v) { - $_setUnsignedInt32(1, v); - } - + set limit($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasLimit() => $_has(1); @$pb.TagNumber(2) @@ -1645,23 +1094,10 @@ class RequestBlockLocatorMessage extends $pb.GeneratedMessage { } class BlockLocatorMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockLocatorMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hashes', - $pb.PbFieldType.PM, - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockLocatorMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hashes', $pb.PbFieldType.PM, subBuilder: Hash.create) + ..hasRequiredFields = false + ; BlockLocatorMessage._() : super(); factory BlockLocatorMessage({ @@ -1673,31 +1109,25 @@ class BlockLocatorMessage extends $pb.GeneratedMessage { } return _result; } - factory BlockLocatorMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockLocatorMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BlockLocatorMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockLocatorMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BlockLocatorMessage clone() => BlockLocatorMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockLocatorMessage copyWith(void Function(BlockLocatorMessage) updates) => - super.copyWith((message) => updates(message as BlockLocatorMessage)) - as BlockLocatorMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockLocatorMessage copyWith(void Function(BlockLocatorMessage) updates) => super.copyWith((message) => updates(message as BlockLocatorMessage)) as BlockLocatorMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BlockLocatorMessage create() => BlockLocatorMessage._(); BlockLocatorMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockLocatorMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockLocatorMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockLocatorMessage? _defaultInstance; @$pb.TagNumber(1) @@ -1705,30 +1135,11 @@ class BlockLocatorMessage extends $pb.GeneratedMessage { } class RequestHeadersMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestHeadersMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'lowHash', - protoName: 'lowHash', - subBuilder: Hash.create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'highHash', - protoName: 'highHash', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestHeadersMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'lowHash', protoName: 'lowHash', subBuilder: Hash.create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'highHash', protoName: 'highHash', subBuilder: Hash.create) + ..hasRequiredFields = false + ; RequestHeadersMessage._() : super(); factory RequestHeadersMessage({ @@ -1744,42 +1155,31 @@ class RequestHeadersMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestHeadersMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestHeadersMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestHeadersMessage clone() => - RequestHeadersMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestHeadersMessage copyWith( - void Function(RequestHeadersMessage) updates) => - super.copyWith((message) => updates(message as RequestHeadersMessage)) - as RequestHeadersMessage; // ignore: deprecated_member_use + factory RequestHeadersMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestHeadersMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestHeadersMessage clone() => RequestHeadersMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestHeadersMessage copyWith(void Function(RequestHeadersMessage) updates) => super.copyWith((message) => updates(message as RequestHeadersMessage)) as RequestHeadersMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestHeadersMessage create() => RequestHeadersMessage._(); RequestHeadersMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestHeadersMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestHeadersMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestHeadersMessage? _defaultInstance; @$pb.TagNumber(1) Hash get lowHash => $_getN(0); @$pb.TagNumber(1) - set lowHash(Hash v) { - setField(1, v); - } - + set lowHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasLowHash() => $_has(0); @$pb.TagNumber(1) @@ -1790,10 +1190,7 @@ class RequestHeadersMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) Hash get highHash => $_getN(1); @$pb.TagNumber(2) - set highHash(Hash v) { - setField(2, v); - } - + set highHash(Hash v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasHighHash() => $_has(1); @$pb.TagNumber(2) @@ -1803,109 +1200,68 @@ class RequestHeadersMessage extends $pb.GeneratedMessage { } class RequestNextHeadersMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestNextHeadersMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestNextHeadersMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; RequestNextHeadersMessage._() : super(); factory RequestNextHeadersMessage() => create(); - factory RequestNextHeadersMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestNextHeadersMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestNextHeadersMessage clone() => - RequestNextHeadersMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestNextHeadersMessage copyWith( - void Function(RequestNextHeadersMessage) updates) => - super.copyWith((message) => updates(message as RequestNextHeadersMessage)) - as RequestNextHeadersMessage; // ignore: deprecated_member_use + factory RequestNextHeadersMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestNextHeadersMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestNextHeadersMessage clone() => RequestNextHeadersMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestNextHeadersMessage copyWith(void Function(RequestNextHeadersMessage) updates) => super.copyWith((message) => updates(message as RequestNextHeadersMessage)) as RequestNextHeadersMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestNextHeadersMessage create() => RequestNextHeadersMessage._(); RequestNextHeadersMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestNextHeadersMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestNextHeadersMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestNextHeadersMessage? _defaultInstance; } class DoneHeadersMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'DoneHeadersMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DoneHeadersMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; DoneHeadersMessage._() : super(); factory DoneHeadersMessage() => create(); - factory DoneHeadersMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DoneHeadersMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory DoneHeadersMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DoneHeadersMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') DoneHeadersMessage clone() => DoneHeadersMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DoneHeadersMessage copyWith(void Function(DoneHeadersMessage) updates) => - super.copyWith((message) => updates(message as DoneHeadersMessage)) - as DoneHeadersMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DoneHeadersMessage copyWith(void Function(DoneHeadersMessage) updates) => super.copyWith((message) => updates(message as DoneHeadersMessage)) as DoneHeadersMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DoneHeadersMessage create() => DoneHeadersMessage._(); DoneHeadersMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DoneHeadersMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DoneHeadersMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DoneHeadersMessage? _defaultInstance; } class RequestRelayBlocksMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestRelayBlocksMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hashes', - $pb.PbFieldType.PM, - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestRelayBlocksMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hashes', $pb.PbFieldType.PM, subBuilder: Hash.create) + ..hasRequiredFields = false + ; RequestRelayBlocksMessage._() : super(); factory RequestRelayBlocksMessage({ @@ -1917,33 +1273,25 @@ class RequestRelayBlocksMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestRelayBlocksMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestRelayBlocksMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestRelayBlocksMessage clone() => - RequestRelayBlocksMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestRelayBlocksMessage copyWith( - void Function(RequestRelayBlocksMessage) updates) => - super.copyWith((message) => updates(message as RequestRelayBlocksMessage)) - as RequestRelayBlocksMessage; // ignore: deprecated_member_use + factory RequestRelayBlocksMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestRelayBlocksMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestRelayBlocksMessage clone() => RequestRelayBlocksMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestRelayBlocksMessage copyWith(void Function(RequestRelayBlocksMessage) updates) => super.copyWith((message) => updates(message as RequestRelayBlocksMessage)) as RequestRelayBlocksMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestRelayBlocksMessage create() => RequestRelayBlocksMessage._(); RequestRelayBlocksMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestRelayBlocksMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestRelayBlocksMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestRelayBlocksMessage? _defaultInstance; @$pb.TagNumber(1) @@ -1951,23 +1299,10 @@ class RequestRelayBlocksMessage extends $pb.GeneratedMessage { } class RequestTransactionsMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestTransactionsMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ids', - $pb.PbFieldType.PM, - subBuilder: TransactionId.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestTransactionsMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ids', $pb.PbFieldType.PM, subBuilder: TransactionId.create) + ..hasRequiredFields = false + ; RequestTransactionsMessage._() : super(); factory RequestTransactionsMessage({ @@ -1979,34 +1314,25 @@ class RequestTransactionsMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestTransactionsMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestTransactionsMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestTransactionsMessage clone() => - RequestTransactionsMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestTransactionsMessage copyWith( - void Function(RequestTransactionsMessage) updates) => - super.copyWith( - (message) => updates(message as RequestTransactionsMessage)) - as RequestTransactionsMessage; // ignore: deprecated_member_use + factory RequestTransactionsMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestTransactionsMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestTransactionsMessage clone() => RequestTransactionsMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestTransactionsMessage copyWith(void Function(RequestTransactionsMessage) updates) => super.copyWith((message) => updates(message as RequestTransactionsMessage)) as RequestTransactionsMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestTransactionsMessage create() => RequestTransactionsMessage._(); RequestTransactionsMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestTransactionsMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestTransactionsMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestTransactionsMessage? _defaultInstance; @$pb.TagNumber(1) @@ -2014,22 +1340,10 @@ class RequestTransactionsMessage extends $pb.GeneratedMessage { } class TransactionNotFoundMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'TransactionNotFoundMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'id', - subBuilder: TransactionId.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'TransactionNotFoundMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id', subBuilder: TransactionId.create) + ..hasRequiredFields = false + ; TransactionNotFoundMessage._() : super(); factory TransactionNotFoundMessage({ @@ -2041,43 +1355,31 @@ class TransactionNotFoundMessage extends $pb.GeneratedMessage { } return _result; } - factory TransactionNotFoundMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TransactionNotFoundMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransactionNotFoundMessage clone() => - TransactionNotFoundMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransactionNotFoundMessage copyWith( - void Function(TransactionNotFoundMessage) updates) => - super.copyWith( - (message) => updates(message as TransactionNotFoundMessage)) - as TransactionNotFoundMessage; // ignore: deprecated_member_use + factory TransactionNotFoundMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TransactionNotFoundMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TransactionNotFoundMessage clone() => TransactionNotFoundMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TransactionNotFoundMessage copyWith(void Function(TransactionNotFoundMessage) updates) => super.copyWith((message) => updates(message as TransactionNotFoundMessage)) as TransactionNotFoundMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TransactionNotFoundMessage create() => TransactionNotFoundMessage._(); TransactionNotFoundMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TransactionNotFoundMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TransactionNotFoundMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TransactionNotFoundMessage? _defaultInstance; @$pb.TagNumber(1) TransactionId get id => $_getN(0); @$pb.TagNumber(1) - set id(TransactionId v) { - setField(1, v); - } - + set id(TransactionId v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasId() => $_has(0); @$pb.TagNumber(1) @@ -2087,22 +1389,10 @@ class TransactionNotFoundMessage extends $pb.GeneratedMessage { } class InvRelayBlockMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'InvRelayBlockMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hash', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'InvRelayBlockMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hash', subBuilder: Hash.create) + ..hasRequiredFields = false + ; InvRelayBlockMessage._() : super(); factory InvRelayBlockMessage({ @@ -2114,41 +1404,31 @@ class InvRelayBlockMessage extends $pb.GeneratedMessage { } return _result; } - factory InvRelayBlockMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory InvRelayBlockMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - InvRelayBlockMessage clone() => - InvRelayBlockMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - InvRelayBlockMessage copyWith(void Function(InvRelayBlockMessage) updates) => - super.copyWith((message) => updates(message as InvRelayBlockMessage)) - as InvRelayBlockMessage; // ignore: deprecated_member_use + factory InvRelayBlockMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory InvRelayBlockMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + InvRelayBlockMessage clone() => InvRelayBlockMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + InvRelayBlockMessage copyWith(void Function(InvRelayBlockMessage) updates) => super.copyWith((message) => updates(message as InvRelayBlockMessage)) as InvRelayBlockMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static InvRelayBlockMessage create() => InvRelayBlockMessage._(); InvRelayBlockMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static InvRelayBlockMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static InvRelayBlockMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static InvRelayBlockMessage? _defaultInstance; @$pb.TagNumber(1) Hash get hash => $_getN(0); @$pb.TagNumber(1) - set hash(Hash v) { - setField(1, v); - } - + set hash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHash() => $_has(0); @$pb.TagNumber(1) @@ -2158,23 +1438,10 @@ class InvRelayBlockMessage extends $pb.GeneratedMessage { } class InvTransactionsMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'InvTransactionsMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ids', - $pb.PbFieldType.PM, - subBuilder: TransactionId.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'InvTransactionsMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ids', $pb.PbFieldType.PM, subBuilder: TransactionId.create) + ..hasRequiredFields = false + ; InvTransactionsMessage._() : super(); factory InvTransactionsMessage({ @@ -2186,33 +1453,25 @@ class InvTransactionsMessage extends $pb.GeneratedMessage { } return _result; } - factory InvTransactionsMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory InvTransactionsMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - InvTransactionsMessage clone() => - InvTransactionsMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - InvTransactionsMessage copyWith( - void Function(InvTransactionsMessage) updates) => - super.copyWith((message) => updates(message as InvTransactionsMessage)) - as InvTransactionsMessage; // ignore: deprecated_member_use + factory InvTransactionsMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory InvTransactionsMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + InvTransactionsMessage clone() => InvTransactionsMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + InvTransactionsMessage copyWith(void Function(InvTransactionsMessage) updates) => super.copyWith((message) => updates(message as InvTransactionsMessage)) as InvTransactionsMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static InvTransactionsMessage create() => InvTransactionsMessage._(); InvTransactionsMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static InvTransactionsMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static InvTransactionsMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static InvTransactionsMessage? _defaultInstance; @$pb.TagNumber(1) @@ -2220,23 +1479,10 @@ class InvTransactionsMessage extends $pb.GeneratedMessage { } class PingMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PingMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'nonce', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PingMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nonce', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; PingMessage._() : super(); factory PingMessage({ @@ -2248,39 +1494,31 @@ class PingMessage extends $pb.GeneratedMessage { } return _result; } - factory PingMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PingMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory PingMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PingMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PingMessage clone() => PingMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PingMessage copyWith(void Function(PingMessage) updates) => - super.copyWith((message) => updates(message as PingMessage)) - as PingMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PingMessage copyWith(void Function(PingMessage) updates) => super.copyWith((message) => updates(message as PingMessage)) as PingMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PingMessage create() => PingMessage._(); PingMessage createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PingMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static PingMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PingMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get nonce => $_getI64(0); @$pb.TagNumber(1) - set nonce($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set nonce($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasNonce() => $_has(0); @$pb.TagNumber(1) @@ -2288,23 +1526,10 @@ class PingMessage extends $pb.GeneratedMessage { } class PongMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PongMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'nonce', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PongMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nonce', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; PongMessage._() : super(); factory PongMessage({ @@ -2316,39 +1541,31 @@ class PongMessage extends $pb.GeneratedMessage { } return _result; } - factory PongMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PongMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory PongMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PongMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PongMessage clone() => PongMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PongMessage copyWith(void Function(PongMessage) updates) => - super.copyWith((message) => updates(message as PongMessage)) - as PongMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PongMessage copyWith(void Function(PongMessage) updates) => super.copyWith((message) => updates(message as PongMessage)) as PongMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PongMessage create() => PongMessage._(); PongMessage createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PongMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static PongMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PongMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get nonce => $_getI64(0); @$pb.TagNumber(1) - set nonce($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set nonce($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasNonce() => $_has(0); @$pb.TagNumber(1) @@ -2356,113 +1573,47 @@ class PongMessage extends $pb.GeneratedMessage { } class VerackMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'VerackMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'VerackMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; VerackMessage._() : super(); factory VerackMessage() => create(); - factory VerackMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory VerackMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory VerackMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory VerackMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') VerackMessage clone() => VerackMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VerackMessage copyWith(void Function(VerackMessage) updates) => - super.copyWith((message) => updates(message as VerackMessage)) - as VerackMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VerackMessage copyWith(void Function(VerackMessage) updates) => super.copyWith((message) => updates(message as VerackMessage)) as VerackMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static VerackMessage create() => VerackMessage._(); VerackMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VerackMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static VerackMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VerackMessage? _defaultInstance; } class VersionMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'VersionMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'protocolVersion', - $pb.PbFieldType.OU3, - protoName: 'protocolVersion') - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'services', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aInt64( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'timestamp') - ..aOM( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address', - subBuilder: NetAddress.create) - ..a<$core.List<$core.int>>( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'id', - $pb.PbFieldType.OY) - ..aOS( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'userAgent', - protoName: 'userAgent') - ..aOB( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'disableRelayTx', - protoName: 'disableRelayTx') - ..aOM( - 9, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'subnetworkId', - protoName: 'subnetworkId', - subBuilder: SubnetworkId.create) - ..aOS( - 10, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'network') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'VersionMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'protocolVersion', $pb.PbFieldType.OU3, protoName: 'protocolVersion') + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'services', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aInt64(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'timestamp') + ..aOM(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address', subBuilder: NetAddress.create) + ..a<$core.List<$core.int>>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id', $pb.PbFieldType.OY) + ..aOS(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'userAgent', protoName: 'userAgent') + ..aOB(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'disableRelayTx', protoName: 'disableRelayTx') + ..aOM(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'subnetworkId', protoName: 'subnetworkId', subBuilder: SubnetworkId.create) + ..aOS(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'network') + ..hasRequiredFields = false + ; VersionMessage._() : super(); factory VersionMessage({ @@ -2506,40 +1657,31 @@ class VersionMessage extends $pb.GeneratedMessage { } return _result; } - factory VersionMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory VersionMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory VersionMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory VersionMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') VersionMessage clone() => VersionMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VersionMessage copyWith(void Function(VersionMessage) updates) => - super.copyWith((message) => updates(message as VersionMessage)) - as VersionMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VersionMessage copyWith(void Function(VersionMessage) updates) => super.copyWith((message) => updates(message as VersionMessage)) as VersionMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static VersionMessage create() => VersionMessage._(); VersionMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VersionMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static VersionMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VersionMessage? _defaultInstance; @$pb.TagNumber(1) $core.int get protocolVersion => $_getIZ(0); @$pb.TagNumber(1) - set protocolVersion($core.int v) { - $_setUnsignedInt32(0, v); - } - + set protocolVersion($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasProtocolVersion() => $_has(0); @$pb.TagNumber(1) @@ -2548,10 +1690,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get services => $_getI64(1); @$pb.TagNumber(2) - set services($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set services($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasServices() => $_has(1); @$pb.TagNumber(2) @@ -2560,10 +1699,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get timestamp => $_getI64(2); @$pb.TagNumber(3) - set timestamp($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set timestamp($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasTimestamp() => $_has(2); @$pb.TagNumber(3) @@ -2572,10 +1708,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(4) NetAddress get address => $_getN(3); @$pb.TagNumber(4) - set address(NetAddress v) { - setField(4, v); - } - + set address(NetAddress v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAddress() => $_has(3); @$pb.TagNumber(4) @@ -2586,10 +1719,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.List<$core.int> get id => $_getN(4); @$pb.TagNumber(5) - set id($core.List<$core.int> v) { - $_setBytes(4, v); - } - + set id($core.List<$core.int> v) { $_setBytes(4, v); } @$pb.TagNumber(5) $core.bool hasId() => $_has(4); @$pb.TagNumber(5) @@ -2598,10 +1728,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get userAgent => $_getSZ(5); @$pb.TagNumber(6) - set userAgent($core.String v) { - $_setString(5, v); - } - + set userAgent($core.String v) { $_setString(5, v); } @$pb.TagNumber(6) $core.bool hasUserAgent() => $_has(5); @$pb.TagNumber(6) @@ -2610,10 +1737,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get disableRelayTx => $_getBF(6); @$pb.TagNumber(8) - set disableRelayTx($core.bool v) { - $_setBool(6, v); - } - + set disableRelayTx($core.bool v) { $_setBool(6, v); } @$pb.TagNumber(8) $core.bool hasDisableRelayTx() => $_has(6); @$pb.TagNumber(8) @@ -2622,10 +1746,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(9) SubnetworkId get subnetworkId => $_getN(7); @$pb.TagNumber(9) - set subnetworkId(SubnetworkId v) { - setField(9, v); - } - + set subnetworkId(SubnetworkId v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasSubnetworkId() => $_has(7); @$pb.TagNumber(9) @@ -2636,10 +1757,7 @@ class VersionMessage extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get network => $_getSZ(8); @$pb.TagNumber(10) - set network($core.String v) { - $_setString(8, v); - } - + set network($core.String v) { $_setString(8, v); } @$pb.TagNumber(10) $core.bool hasNetwork() => $_has(8); @$pb.TagNumber(10) @@ -2647,21 +1765,10 @@ class VersionMessage extends $pb.GeneratedMessage { } class RejectMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RejectMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'reason') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RejectMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'reason') + ..hasRequiredFields = false + ; RejectMessage._() : super(); factory RejectMessage({ @@ -2673,40 +1780,31 @@ class RejectMessage extends $pb.GeneratedMessage { } return _result; } - factory RejectMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RejectMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RejectMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RejectMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RejectMessage clone() => RejectMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RejectMessage copyWith(void Function(RejectMessage) updates) => - super.copyWith((message) => updates(message as RejectMessage)) - as RejectMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RejectMessage copyWith(void Function(RejectMessage) updates) => super.copyWith((message) => updates(message as RejectMessage)) as RejectMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RejectMessage create() => RejectMessage._(); RejectMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RejectMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RejectMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RejectMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get reason => $_getSZ(0); @$pb.TagNumber(1) - set reason($core.String v) { - $_setString(0, v); - } - + set reason($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasReason() => $_has(0); @$pb.TagNumber(1) @@ -2714,23 +1812,10 @@ class RejectMessage extends $pb.GeneratedMessage { } class RequestPruningPointUTXOSetMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestPruningPointUTXOSetMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPointHash', - protoName: 'pruningPointHash', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestPruningPointUTXOSetMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPointHash', protoName: 'pruningPointHash', subBuilder: Hash.create) + ..hasRequiredFields = false + ; RequestPruningPointUTXOSetMessage._() : super(); factory RequestPruningPointUTXOSetMessage({ @@ -2742,45 +1827,31 @@ class RequestPruningPointUTXOSetMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestPruningPointUTXOSetMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestPruningPointUTXOSetMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestPruningPointUTXOSetMessage clone() => - RequestPruningPointUTXOSetMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestPruningPointUTXOSetMessage copyWith( - void Function(RequestPruningPointUTXOSetMessage) updates) => - super.copyWith((message) => - updates(message as RequestPruningPointUTXOSetMessage)) - as RequestPruningPointUTXOSetMessage; // ignore: deprecated_member_use + factory RequestPruningPointUTXOSetMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestPruningPointUTXOSetMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestPruningPointUTXOSetMessage clone() => RequestPruningPointUTXOSetMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestPruningPointUTXOSetMessage copyWith(void Function(RequestPruningPointUTXOSetMessage) updates) => super.copyWith((message) => updates(message as RequestPruningPointUTXOSetMessage)) as RequestPruningPointUTXOSetMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RequestPruningPointUTXOSetMessage create() => - RequestPruningPointUTXOSetMessage._(); + static RequestPruningPointUTXOSetMessage create() => RequestPruningPointUTXOSetMessage._(); RequestPruningPointUTXOSetMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestPruningPointUTXOSetMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static RequestPruningPointUTXOSetMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestPruningPointUTXOSetMessage? _defaultInstance; @$pb.TagNumber(1) Hash get pruningPointHash => $_getN(0); @$pb.TagNumber(1) - set pruningPointHash(Hash v) { - setField(1, v); - } - + set pruningPointHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPruningPointHash() => $_has(0); @$pb.TagNumber(1) @@ -2790,24 +1861,10 @@ class RequestPruningPointUTXOSetMessage extends $pb.GeneratedMessage { } class PruningPointUtxoSetChunkMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PruningPointUtxoSetChunkMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'outpointAndUtxoEntryPairs', - $pb.PbFieldType.PM, - protoName: 'outpointAndUtxoEntryPairs', - subBuilder: OutpointAndUtxoEntryPair.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PruningPointUtxoSetChunkMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outpointAndUtxoEntryPairs', $pb.PbFieldType.PM, protoName: 'outpointAndUtxoEntryPairs', subBuilder: OutpointAndUtxoEntryPair.create) + ..hasRequiredFields = false + ; PruningPointUtxoSetChunkMessage._() : super(); factory PruningPointUtxoSetChunkMessage({ @@ -2819,67 +1876,37 @@ class PruningPointUtxoSetChunkMessage extends $pb.GeneratedMessage { } return _result; } - factory PruningPointUtxoSetChunkMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PruningPointUtxoSetChunkMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PruningPointUtxoSetChunkMessage clone() => - PruningPointUtxoSetChunkMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PruningPointUtxoSetChunkMessage copyWith( - void Function(PruningPointUtxoSetChunkMessage) updates) => - super.copyWith( - (message) => updates(message as PruningPointUtxoSetChunkMessage)) - as PruningPointUtxoSetChunkMessage; // ignore: deprecated_member_use + factory PruningPointUtxoSetChunkMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PruningPointUtxoSetChunkMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PruningPointUtxoSetChunkMessage clone() => PruningPointUtxoSetChunkMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PruningPointUtxoSetChunkMessage copyWith(void Function(PruningPointUtxoSetChunkMessage) updates) => super.copyWith((message) => updates(message as PruningPointUtxoSetChunkMessage)) as PruningPointUtxoSetChunkMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static PruningPointUtxoSetChunkMessage create() => - PruningPointUtxoSetChunkMessage._(); + static PruningPointUtxoSetChunkMessage create() => PruningPointUtxoSetChunkMessage._(); PruningPointUtxoSetChunkMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PruningPointUtxoSetChunkMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static PruningPointUtxoSetChunkMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PruningPointUtxoSetChunkMessage? _defaultInstance; @$pb.TagNumber(1) - $core.List get outpointAndUtxoEntryPairs => - $_getList(0); + $core.List get outpointAndUtxoEntryPairs => $_getList(0); } class OutpointAndUtxoEntryPair extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'OutpointAndUtxoEntryPair', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'outpoint', - subBuilder: Outpoint.create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'utxoEntry', - protoName: 'utxoEntry', - subBuilder: UtxoEntry.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'OutpointAndUtxoEntryPair', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outpoint', subBuilder: Outpoint.create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'utxoEntry', protoName: 'utxoEntry', subBuilder: UtxoEntry.create) + ..hasRequiredFields = false + ; OutpointAndUtxoEntryPair._() : super(); factory OutpointAndUtxoEntryPair({ @@ -2895,42 +1922,31 @@ class OutpointAndUtxoEntryPair extends $pb.GeneratedMessage { } return _result; } - factory OutpointAndUtxoEntryPair.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OutpointAndUtxoEntryPair.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OutpointAndUtxoEntryPair clone() => - OutpointAndUtxoEntryPair()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OutpointAndUtxoEntryPair copyWith( - void Function(OutpointAndUtxoEntryPair) updates) => - super.copyWith((message) => updates(message as OutpointAndUtxoEntryPair)) - as OutpointAndUtxoEntryPair; // ignore: deprecated_member_use + factory OutpointAndUtxoEntryPair.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OutpointAndUtxoEntryPair.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OutpointAndUtxoEntryPair clone() => OutpointAndUtxoEntryPair()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OutpointAndUtxoEntryPair copyWith(void Function(OutpointAndUtxoEntryPair) updates) => super.copyWith((message) => updates(message as OutpointAndUtxoEntryPair)) as OutpointAndUtxoEntryPair; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OutpointAndUtxoEntryPair create() => OutpointAndUtxoEntryPair._(); OutpointAndUtxoEntryPair createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static OutpointAndUtxoEntryPair getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static OutpointAndUtxoEntryPair getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static OutpointAndUtxoEntryPair? _defaultInstance; @$pb.TagNumber(1) Outpoint get outpoint => $_getN(0); @$pb.TagNumber(1) - set outpoint(Outpoint v) { - setField(1, v); - } - + set outpoint(Outpoint v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasOutpoint() => $_has(0); @$pb.TagNumber(1) @@ -2941,10 +1957,7 @@ class OutpointAndUtxoEntryPair extends $pb.GeneratedMessage { @$pb.TagNumber(2) UtxoEntry get utxoEntry => $_getN(1); @$pb.TagNumber(2) - set utxoEntry(UtxoEntry v) { - setField(2, v); - } - + set utxoEntry(UtxoEntry v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasUtxoEntry() => $_has(1); @$pb.TagNumber(2) @@ -2954,44 +1967,13 @@ class OutpointAndUtxoEntryPair extends $pb.GeneratedMessage { } class UtxoEntry extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'UtxoEntry', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'amount', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKey', - protoName: 'scriptPublicKey', - subBuilder: ScriptPublicKey.create) - ..a<$fixnum.Int64>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockDaaScore', - $pb.PbFieldType.OU6, - protoName: 'blockDaaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOB( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isCoinbase', - protoName: 'isCoinbase') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UtxoEntry', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'amount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKey', protoName: 'scriptPublicKey', subBuilder: ScriptPublicKey.create) + ..a<$fixnum.Int64>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockDaaScore', $pb.PbFieldType.OU6, protoName: 'blockDaaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOB(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isCoinbase', protoName: 'isCoinbase') + ..hasRequiredFields = false + ; UtxoEntry._() : super(); factory UtxoEntry({ @@ -3015,39 +1997,31 @@ class UtxoEntry extends $pb.GeneratedMessage { } return _result; } - factory UtxoEntry.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UtxoEntry.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory UtxoEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UtxoEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UtxoEntry clone() => UtxoEntry()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UtxoEntry copyWith(void Function(UtxoEntry) updates) => - super.copyWith((message) => updates(message as UtxoEntry)) - as UtxoEntry; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UtxoEntry copyWith(void Function(UtxoEntry) updates) => super.copyWith((message) => updates(message as UtxoEntry)) as UtxoEntry; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UtxoEntry create() => UtxoEntry._(); UtxoEntry createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UtxoEntry getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UtxoEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UtxoEntry? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get amount => $_getI64(0); @$pb.TagNumber(1) - set amount($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set amount($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasAmount() => $_has(0); @$pb.TagNumber(1) @@ -3056,10 +2030,7 @@ class UtxoEntry extends $pb.GeneratedMessage { @$pb.TagNumber(2) ScriptPublicKey get scriptPublicKey => $_getN(1); @$pb.TagNumber(2) - set scriptPublicKey(ScriptPublicKey v) { - setField(2, v); - } - + set scriptPublicKey(ScriptPublicKey v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasScriptPublicKey() => $_has(1); @$pb.TagNumber(2) @@ -3070,10 +2041,7 @@ class UtxoEntry extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get blockDaaScore => $_getI64(2); @$pb.TagNumber(3) - set blockDaaScore($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set blockDaaScore($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasBlockDaaScore() => $_has(2); @$pb.TagNumber(3) @@ -3082,10 +2050,7 @@ class UtxoEntry extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get isCoinbase => $_getBF(3); @$pb.TagNumber(4) - set isCoinbase($core.bool v) { - $_setBool(3, v); - } - + set isCoinbase($core.bool v) { $_setBool(3, v); } @$pb.TagNumber(4) $core.bool hasIsCoinbase() => $_has(3); @$pb.TagNumber(4) @@ -3093,120 +2058,68 @@ class UtxoEntry extends $pb.GeneratedMessage { } class RequestNextPruningPointUtxoSetChunkMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestNextPruningPointUtxoSetChunkMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestNextPruningPointUtxoSetChunkMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; RequestNextPruningPointUtxoSetChunkMessage._() : super(); factory RequestNextPruningPointUtxoSetChunkMessage() => create(); - factory RequestNextPruningPointUtxoSetChunkMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestNextPruningPointUtxoSetChunkMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestNextPruningPointUtxoSetChunkMessage clone() => - RequestNextPruningPointUtxoSetChunkMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestNextPruningPointUtxoSetChunkMessage copyWith( - void Function(RequestNextPruningPointUtxoSetChunkMessage) updates) => - super.copyWith((message) => - updates(message as RequestNextPruningPointUtxoSetChunkMessage)) - as RequestNextPruningPointUtxoSetChunkMessage; // ignore: deprecated_member_use + factory RequestNextPruningPointUtxoSetChunkMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestNextPruningPointUtxoSetChunkMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestNextPruningPointUtxoSetChunkMessage clone() => RequestNextPruningPointUtxoSetChunkMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestNextPruningPointUtxoSetChunkMessage copyWith(void Function(RequestNextPruningPointUtxoSetChunkMessage) updates) => super.copyWith((message) => updates(message as RequestNextPruningPointUtxoSetChunkMessage)) as RequestNextPruningPointUtxoSetChunkMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RequestNextPruningPointUtxoSetChunkMessage create() => - RequestNextPruningPointUtxoSetChunkMessage._(); + static RequestNextPruningPointUtxoSetChunkMessage create() => RequestNextPruningPointUtxoSetChunkMessage._(); RequestNextPruningPointUtxoSetChunkMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestNextPruningPointUtxoSetChunkMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - RequestNextPruningPointUtxoSetChunkMessage>(create); + static RequestNextPruningPointUtxoSetChunkMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestNextPruningPointUtxoSetChunkMessage? _defaultInstance; } class DonePruningPointUtxoSetChunksMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'DonePruningPointUtxoSetChunksMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DonePruningPointUtxoSetChunksMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; DonePruningPointUtxoSetChunksMessage._() : super(); factory DonePruningPointUtxoSetChunksMessage() => create(); - factory DonePruningPointUtxoSetChunksMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DonePruningPointUtxoSetChunksMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DonePruningPointUtxoSetChunksMessage clone() => - DonePruningPointUtxoSetChunksMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DonePruningPointUtxoSetChunksMessage copyWith( - void Function(DonePruningPointUtxoSetChunksMessage) updates) => - super.copyWith((message) => - updates(message as DonePruningPointUtxoSetChunksMessage)) - as DonePruningPointUtxoSetChunksMessage; // ignore: deprecated_member_use + factory DonePruningPointUtxoSetChunksMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DonePruningPointUtxoSetChunksMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DonePruningPointUtxoSetChunksMessage clone() => DonePruningPointUtxoSetChunksMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DonePruningPointUtxoSetChunksMessage copyWith(void Function(DonePruningPointUtxoSetChunksMessage) updates) => super.copyWith((message) => updates(message as DonePruningPointUtxoSetChunksMessage)) as DonePruningPointUtxoSetChunksMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static DonePruningPointUtxoSetChunksMessage create() => - DonePruningPointUtxoSetChunksMessage._(); + static DonePruningPointUtxoSetChunksMessage create() => DonePruningPointUtxoSetChunksMessage._(); DonePruningPointUtxoSetChunksMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DonePruningPointUtxoSetChunksMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - DonePruningPointUtxoSetChunksMessage>(create); + static DonePruningPointUtxoSetChunksMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DonePruningPointUtxoSetChunksMessage? _defaultInstance; } class RequestIBDBlocksMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestIBDBlocksMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hashes', - $pb.PbFieldType.PM, - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestIBDBlocksMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hashes', $pb.PbFieldType.PM, subBuilder: Hash.create) + ..hasRequiredFields = false + ; RequestIBDBlocksMessage._() : super(); factory RequestIBDBlocksMessage({ @@ -3218,33 +2131,25 @@ class RequestIBDBlocksMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestIBDBlocksMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestIBDBlocksMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestIBDBlocksMessage clone() => - RequestIBDBlocksMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestIBDBlocksMessage copyWith( - void Function(RequestIBDBlocksMessage) updates) => - super.copyWith((message) => updates(message as RequestIBDBlocksMessage)) - as RequestIBDBlocksMessage; // ignore: deprecated_member_use + factory RequestIBDBlocksMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestIBDBlocksMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestIBDBlocksMessage clone() => RequestIBDBlocksMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestIBDBlocksMessage copyWith(void Function(RequestIBDBlocksMessage) updates) => super.copyWith((message) => updates(message as RequestIBDBlocksMessage)) as RequestIBDBlocksMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestIBDBlocksMessage create() => RequestIBDBlocksMessage._(); RequestIBDBlocksMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestIBDBlocksMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestIBDBlocksMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestIBDBlocksMessage? _defaultInstance; @$pb.TagNumber(1) @@ -3252,77 +2157,40 @@ class RequestIBDBlocksMessage extends $pb.GeneratedMessage { } class UnexpectedPruningPointMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'UnexpectedPruningPointMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UnexpectedPruningPointMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; UnexpectedPruningPointMessage._() : super(); factory UnexpectedPruningPointMessage() => create(); - factory UnexpectedPruningPointMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UnexpectedPruningPointMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnexpectedPruningPointMessage clone() => - UnexpectedPruningPointMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnexpectedPruningPointMessage copyWith( - void Function(UnexpectedPruningPointMessage) updates) => - super.copyWith( - (message) => updates(message as UnexpectedPruningPointMessage)) - as UnexpectedPruningPointMessage; // ignore: deprecated_member_use + factory UnexpectedPruningPointMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UnexpectedPruningPointMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UnexpectedPruningPointMessage clone() => UnexpectedPruningPointMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnexpectedPruningPointMessage copyWith(void Function(UnexpectedPruningPointMessage) updates) => super.copyWith((message) => updates(message as UnexpectedPruningPointMessage)) as UnexpectedPruningPointMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static UnexpectedPruningPointMessage create() => - UnexpectedPruningPointMessage._(); + static UnexpectedPruningPointMessage create() => UnexpectedPruningPointMessage._(); UnexpectedPruningPointMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UnexpectedPruningPointMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UnexpectedPruningPointMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UnexpectedPruningPointMessage? _defaultInstance; } class IbdBlockLocatorMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'IbdBlockLocatorMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'targetHash', - protoName: 'targetHash', - subBuilder: Hash.create) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockLocatorHashes', - $pb.PbFieldType.PM, - protoName: 'blockLocatorHashes', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'IbdBlockLocatorMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'targetHash', protoName: 'targetHash', subBuilder: Hash.create) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockLocatorHashes', $pb.PbFieldType.PM, protoName: 'blockLocatorHashes', subBuilder: Hash.create) + ..hasRequiredFields = false + ; IbdBlockLocatorMessage._() : super(); factory IbdBlockLocatorMessage({ @@ -3338,42 +2206,31 @@ class IbdBlockLocatorMessage extends $pb.GeneratedMessage { } return _result; } - factory IbdBlockLocatorMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory IbdBlockLocatorMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IbdBlockLocatorMessage clone() => - IbdBlockLocatorMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IbdBlockLocatorMessage copyWith( - void Function(IbdBlockLocatorMessage) updates) => - super.copyWith((message) => updates(message as IbdBlockLocatorMessage)) - as IbdBlockLocatorMessage; // ignore: deprecated_member_use + factory IbdBlockLocatorMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory IbdBlockLocatorMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + IbdBlockLocatorMessage clone() => IbdBlockLocatorMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + IbdBlockLocatorMessage copyWith(void Function(IbdBlockLocatorMessage) updates) => super.copyWith((message) => updates(message as IbdBlockLocatorMessage)) as IbdBlockLocatorMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static IbdBlockLocatorMessage create() => IbdBlockLocatorMessage._(); IbdBlockLocatorMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static IbdBlockLocatorMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static IbdBlockLocatorMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static IbdBlockLocatorMessage? _defaultInstance; @$pb.TagNumber(1) Hash get targetHash => $_getN(0); @$pb.TagNumber(1) - set targetHash(Hash v) { - setField(1, v); - } - + set targetHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTargetHash() => $_has(0); @$pb.TagNumber(1) @@ -3386,30 +2243,11 @@ class IbdBlockLocatorMessage extends $pb.GeneratedMessage { } class RequestIBDChainBlockLocatorMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestIBDChainBlockLocatorMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'lowHash', - protoName: 'lowHash', - subBuilder: Hash.create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'highHash', - protoName: 'highHash', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestIBDChainBlockLocatorMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'lowHash', protoName: 'lowHash', subBuilder: Hash.create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'highHash', protoName: 'highHash', subBuilder: Hash.create) + ..hasRequiredFields = false + ; RequestIBDChainBlockLocatorMessage._() : super(); factory RequestIBDChainBlockLocatorMessage({ @@ -3425,45 +2263,31 @@ class RequestIBDChainBlockLocatorMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestIBDChainBlockLocatorMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestIBDChainBlockLocatorMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestIBDChainBlockLocatorMessage clone() => - RequestIBDChainBlockLocatorMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestIBDChainBlockLocatorMessage copyWith( - void Function(RequestIBDChainBlockLocatorMessage) updates) => - super.copyWith((message) => - updates(message as RequestIBDChainBlockLocatorMessage)) - as RequestIBDChainBlockLocatorMessage; // ignore: deprecated_member_use + factory RequestIBDChainBlockLocatorMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestIBDChainBlockLocatorMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestIBDChainBlockLocatorMessage clone() => RequestIBDChainBlockLocatorMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestIBDChainBlockLocatorMessage copyWith(void Function(RequestIBDChainBlockLocatorMessage) updates) => super.copyWith((message) => updates(message as RequestIBDChainBlockLocatorMessage)) as RequestIBDChainBlockLocatorMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RequestIBDChainBlockLocatorMessage create() => - RequestIBDChainBlockLocatorMessage._(); + static RequestIBDChainBlockLocatorMessage create() => RequestIBDChainBlockLocatorMessage._(); RequestIBDChainBlockLocatorMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestIBDChainBlockLocatorMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static RequestIBDChainBlockLocatorMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestIBDChainBlockLocatorMessage? _defaultInstance; @$pb.TagNumber(1) Hash get lowHash => $_getN(0); @$pb.TagNumber(1) - set lowHash(Hash v) { - setField(1, v); - } - + set lowHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasLowHash() => $_has(0); @$pb.TagNumber(1) @@ -3474,10 +2298,7 @@ class RequestIBDChainBlockLocatorMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) Hash get highHash => $_getN(1); @$pb.TagNumber(2) - set highHash(Hash v) { - setField(2, v); - } - + set highHash(Hash v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasHighHash() => $_has(1); @$pb.TagNumber(2) @@ -3487,24 +2308,10 @@ class RequestIBDChainBlockLocatorMessage extends $pb.GeneratedMessage { } class IbdChainBlockLocatorMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'IbdChainBlockLocatorMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockLocatorHashes', - $pb.PbFieldType.PM, - protoName: 'blockLocatorHashes', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'IbdChainBlockLocatorMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockLocatorHashes', $pb.PbFieldType.PM, protoName: 'blockLocatorHashes', subBuilder: Hash.create) + ..hasRequiredFields = false + ; IbdChainBlockLocatorMessage._() : super(); factory IbdChainBlockLocatorMessage({ @@ -3516,35 +2323,25 @@ class IbdChainBlockLocatorMessage extends $pb.GeneratedMessage { } return _result; } - factory IbdChainBlockLocatorMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory IbdChainBlockLocatorMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IbdChainBlockLocatorMessage clone() => - IbdChainBlockLocatorMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IbdChainBlockLocatorMessage copyWith( - void Function(IbdChainBlockLocatorMessage) updates) => - super.copyWith( - (message) => updates(message as IbdChainBlockLocatorMessage)) - as IbdChainBlockLocatorMessage; // ignore: deprecated_member_use + factory IbdChainBlockLocatorMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory IbdChainBlockLocatorMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + IbdChainBlockLocatorMessage clone() => IbdChainBlockLocatorMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + IbdChainBlockLocatorMessage copyWith(void Function(IbdChainBlockLocatorMessage) updates) => super.copyWith((message) => updates(message as IbdChainBlockLocatorMessage)) as IbdChainBlockLocatorMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static IbdChainBlockLocatorMessage create() => - IbdChainBlockLocatorMessage._(); + static IbdChainBlockLocatorMessage create() => IbdChainBlockLocatorMessage._(); IbdChainBlockLocatorMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static IbdChainBlockLocatorMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static IbdChainBlockLocatorMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static IbdChainBlockLocatorMessage? _defaultInstance; @$pb.TagNumber(1) @@ -3552,30 +2349,11 @@ class IbdChainBlockLocatorMessage extends $pb.GeneratedMessage { } class RequestAnticoneMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestAnticoneMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockHash', - protoName: 'blockHash', - subBuilder: Hash.create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'contextHash', - protoName: 'contextHash', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestAnticoneMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockHash', protoName: 'blockHash', subBuilder: Hash.create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'contextHash', protoName: 'contextHash', subBuilder: Hash.create) + ..hasRequiredFields = false + ; RequestAnticoneMessage._() : super(); factory RequestAnticoneMessage({ @@ -3591,42 +2369,31 @@ class RequestAnticoneMessage extends $pb.GeneratedMessage { } return _result; } - factory RequestAnticoneMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestAnticoneMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestAnticoneMessage clone() => - RequestAnticoneMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestAnticoneMessage copyWith( - void Function(RequestAnticoneMessage) updates) => - super.copyWith((message) => updates(message as RequestAnticoneMessage)) - as RequestAnticoneMessage; // ignore: deprecated_member_use + factory RequestAnticoneMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestAnticoneMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestAnticoneMessage clone() => RequestAnticoneMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestAnticoneMessage copyWith(void Function(RequestAnticoneMessage) updates) => super.copyWith((message) => updates(message as RequestAnticoneMessage)) as RequestAnticoneMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RequestAnticoneMessage create() => RequestAnticoneMessage._(); RequestAnticoneMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestAnticoneMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestAnticoneMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestAnticoneMessage? _defaultInstance; @$pb.TagNumber(1) Hash get blockHash => $_getN(0); @$pb.TagNumber(1) - set blockHash(Hash v) { - setField(1, v); - } - + set blockHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasBlockHash() => $_has(0); @$pb.TagNumber(1) @@ -3637,10 +2404,7 @@ class RequestAnticoneMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) Hash get contextHash => $_getN(1); @$pb.TagNumber(2) - set contextHash(Hash v) { - setField(2, v); - } - + set contextHash(Hash v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasContextHash() => $_has(1); @$pb.TagNumber(2) @@ -3650,23 +2414,10 @@ class RequestAnticoneMessage extends $pb.GeneratedMessage { } class IbdBlockLocatorHighestHashMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'IbdBlockLocatorHighestHashMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'highestHash', - protoName: 'highestHash', - subBuilder: Hash.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'IbdBlockLocatorHighestHashMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'highestHash', protoName: 'highestHash', subBuilder: Hash.create) + ..hasRequiredFields = false + ; IbdBlockLocatorHighestHashMessage._() : super(); factory IbdBlockLocatorHighestHashMessage({ @@ -3678,45 +2429,31 @@ class IbdBlockLocatorHighestHashMessage extends $pb.GeneratedMessage { } return _result; } - factory IbdBlockLocatorHighestHashMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory IbdBlockLocatorHighestHashMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IbdBlockLocatorHighestHashMessage clone() => - IbdBlockLocatorHighestHashMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IbdBlockLocatorHighestHashMessage copyWith( - void Function(IbdBlockLocatorHighestHashMessage) updates) => - super.copyWith((message) => - updates(message as IbdBlockLocatorHighestHashMessage)) - as IbdBlockLocatorHighestHashMessage; // ignore: deprecated_member_use + factory IbdBlockLocatorHighestHashMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory IbdBlockLocatorHighestHashMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + IbdBlockLocatorHighestHashMessage clone() => IbdBlockLocatorHighestHashMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + IbdBlockLocatorHighestHashMessage copyWith(void Function(IbdBlockLocatorHighestHashMessage) updates) => super.copyWith((message) => updates(message as IbdBlockLocatorHighestHashMessage)) as IbdBlockLocatorHighestHashMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static IbdBlockLocatorHighestHashMessage create() => - IbdBlockLocatorHighestHashMessage._(); + static IbdBlockLocatorHighestHashMessage create() => IbdBlockLocatorHighestHashMessage._(); IbdBlockLocatorHighestHashMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static IbdBlockLocatorHighestHashMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static IbdBlockLocatorHighestHashMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static IbdBlockLocatorHighestHashMessage? _defaultInstance; @$pb.TagNumber(1) Hash get highestHash => $_getN(0); @$pb.TagNumber(1) - set highestHash(Hash v) { - setField(1, v); - } - + set highestHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHighestHash() => $_has(0); @$pb.TagNumber(1) @@ -3726,73 +2463,39 @@ class IbdBlockLocatorHighestHashMessage extends $pb.GeneratedMessage { } class IbdBlockLocatorHighestHashNotFoundMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'IbdBlockLocatorHighestHashNotFoundMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'IbdBlockLocatorHighestHashNotFoundMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; IbdBlockLocatorHighestHashNotFoundMessage._() : super(); factory IbdBlockLocatorHighestHashNotFoundMessage() => create(); - factory IbdBlockLocatorHighestHashNotFoundMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory IbdBlockLocatorHighestHashNotFoundMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IbdBlockLocatorHighestHashNotFoundMessage clone() => - IbdBlockLocatorHighestHashNotFoundMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IbdBlockLocatorHighestHashNotFoundMessage copyWith( - void Function(IbdBlockLocatorHighestHashNotFoundMessage) updates) => - super.copyWith((message) => - updates(message as IbdBlockLocatorHighestHashNotFoundMessage)) - as IbdBlockLocatorHighestHashNotFoundMessage; // ignore: deprecated_member_use + factory IbdBlockLocatorHighestHashNotFoundMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory IbdBlockLocatorHighestHashNotFoundMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + IbdBlockLocatorHighestHashNotFoundMessage clone() => IbdBlockLocatorHighestHashNotFoundMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + IbdBlockLocatorHighestHashNotFoundMessage copyWith(void Function(IbdBlockLocatorHighestHashNotFoundMessage) updates) => super.copyWith((message) => updates(message as IbdBlockLocatorHighestHashNotFoundMessage)) as IbdBlockLocatorHighestHashNotFoundMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static IbdBlockLocatorHighestHashNotFoundMessage create() => - IbdBlockLocatorHighestHashNotFoundMessage._(); + static IbdBlockLocatorHighestHashNotFoundMessage create() => IbdBlockLocatorHighestHashNotFoundMessage._(); IbdBlockLocatorHighestHashNotFoundMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static IbdBlockLocatorHighestHashNotFoundMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - IbdBlockLocatorHighestHashNotFoundMessage>(create); + static IbdBlockLocatorHighestHashNotFoundMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static IbdBlockLocatorHighestHashNotFoundMessage? _defaultInstance; } class BlockHeadersMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockHeadersMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockHeaders', - $pb.PbFieldType.PM, - protoName: 'blockHeaders', - subBuilder: BlockHeader.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockHeadersMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockHeaders', $pb.PbFieldType.PM, protoName: 'blockHeaders', subBuilder: BlockHeader.create) + ..hasRequiredFields = false + ; BlockHeadersMessage._() : super(); factory BlockHeadersMessage({ @@ -3804,31 +2507,25 @@ class BlockHeadersMessage extends $pb.GeneratedMessage { } return _result; } - factory BlockHeadersMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockHeadersMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BlockHeadersMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockHeadersMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BlockHeadersMessage clone() => BlockHeadersMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockHeadersMessage copyWith(void Function(BlockHeadersMessage) updates) => - super.copyWith((message) => updates(message as BlockHeadersMessage)) - as BlockHeadersMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockHeadersMessage copyWith(void Function(BlockHeadersMessage) updates) => super.copyWith((message) => updates(message as BlockHeadersMessage)) as BlockHeadersMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BlockHeadersMessage create() => BlockHeadersMessage._(); BlockHeadersMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockHeadersMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockHeadersMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockHeadersMessage? _defaultInstance; @$pb.TagNumber(1) @@ -3836,149 +2533,71 @@ class BlockHeadersMessage extends $pb.GeneratedMessage { } class RequestPruningPointAndItsAnticoneMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestPruningPointAndItsAnticoneMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestPruningPointAndItsAnticoneMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; RequestPruningPointAndItsAnticoneMessage._() : super(); factory RequestPruningPointAndItsAnticoneMessage() => create(); - factory RequestPruningPointAndItsAnticoneMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestPruningPointAndItsAnticoneMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestPruningPointAndItsAnticoneMessage clone() => - RequestPruningPointAndItsAnticoneMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestPruningPointAndItsAnticoneMessage copyWith( - void Function(RequestPruningPointAndItsAnticoneMessage) updates) => - super.copyWith((message) => - updates(message as RequestPruningPointAndItsAnticoneMessage)) - as RequestPruningPointAndItsAnticoneMessage; // ignore: deprecated_member_use + factory RequestPruningPointAndItsAnticoneMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestPruningPointAndItsAnticoneMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestPruningPointAndItsAnticoneMessage clone() => RequestPruningPointAndItsAnticoneMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestPruningPointAndItsAnticoneMessage copyWith(void Function(RequestPruningPointAndItsAnticoneMessage) updates) => super.copyWith((message) => updates(message as RequestPruningPointAndItsAnticoneMessage)) as RequestPruningPointAndItsAnticoneMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RequestPruningPointAndItsAnticoneMessage create() => - RequestPruningPointAndItsAnticoneMessage._(); + static RequestPruningPointAndItsAnticoneMessage create() => RequestPruningPointAndItsAnticoneMessage._(); RequestPruningPointAndItsAnticoneMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestPruningPointAndItsAnticoneMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - RequestPruningPointAndItsAnticoneMessage>(create); + static RequestPruningPointAndItsAnticoneMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestPruningPointAndItsAnticoneMessage? _defaultInstance; } -class RequestNextPruningPointAndItsAnticoneBlocksMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestNextPruningPointAndItsAnticoneBlocksMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; +class RequestNextPruningPointAndItsAnticoneBlocksMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestNextPruningPointAndItsAnticoneBlocksMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; RequestNextPruningPointAndItsAnticoneBlocksMessage._() : super(); factory RequestNextPruningPointAndItsAnticoneBlocksMessage() => create(); - factory RequestNextPruningPointAndItsAnticoneBlocksMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestNextPruningPointAndItsAnticoneBlocksMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestNextPruningPointAndItsAnticoneBlocksMessage clone() => - RequestNextPruningPointAndItsAnticoneBlocksMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestNextPruningPointAndItsAnticoneBlocksMessage copyWith( - void Function(RequestNextPruningPointAndItsAnticoneBlocksMessage) - updates) => - super.copyWith((message) => updates( - message as RequestNextPruningPointAndItsAnticoneBlocksMessage)) - as RequestNextPruningPointAndItsAnticoneBlocksMessage; // ignore: deprecated_member_use + factory RequestNextPruningPointAndItsAnticoneBlocksMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestNextPruningPointAndItsAnticoneBlocksMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestNextPruningPointAndItsAnticoneBlocksMessage clone() => RequestNextPruningPointAndItsAnticoneBlocksMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestNextPruningPointAndItsAnticoneBlocksMessage copyWith(void Function(RequestNextPruningPointAndItsAnticoneBlocksMessage) updates) => super.copyWith((message) => updates(message as RequestNextPruningPointAndItsAnticoneBlocksMessage)) as RequestNextPruningPointAndItsAnticoneBlocksMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RequestNextPruningPointAndItsAnticoneBlocksMessage create() => - RequestNextPruningPointAndItsAnticoneBlocksMessage._(); - RequestNextPruningPointAndItsAnticoneBlocksMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static RequestNextPruningPointAndItsAnticoneBlocksMessage create() => RequestNextPruningPointAndItsAnticoneBlocksMessage._(); + RequestNextPruningPointAndItsAnticoneBlocksMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestNextPruningPointAndItsAnticoneBlocksMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - RequestNextPruningPointAndItsAnticoneBlocksMessage>(create); + static RequestNextPruningPointAndItsAnticoneBlocksMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestNextPruningPointAndItsAnticoneBlocksMessage? _defaultInstance; } class BlockWithTrustedDataMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockWithTrustedDataMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: BlockMessage.create) - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'daaScore', - $pb.PbFieldType.OU6, - protoName: 'daaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..pc( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'daaWindow', - $pb.PbFieldType.PM, - protoName: 'daaWindow', - subBuilder: DaaBlock.create) - ..pc( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ghostdagData', - $pb.PbFieldType.PM, - protoName: 'ghostdagData', - subBuilder: BlockGhostdagDataHashPair.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockWithTrustedDataMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: BlockMessage.create) + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'daaScore', $pb.PbFieldType.OU6, protoName: 'daaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'daaWindow', $pb.PbFieldType.PM, protoName: 'daaWindow', subBuilder: DaaBlock.create) + ..pc(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ghostdagData', $pb.PbFieldType.PM, protoName: 'ghostdagData', subBuilder: BlockGhostdagDataHashPair.create) + ..hasRequiredFields = false + ; BlockWithTrustedDataMessage._() : super(); factory BlockWithTrustedDataMessage({ @@ -4002,44 +2621,31 @@ class BlockWithTrustedDataMessage extends $pb.GeneratedMessage { } return _result; } - factory BlockWithTrustedDataMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockWithTrustedDataMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BlockWithTrustedDataMessage clone() => - BlockWithTrustedDataMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockWithTrustedDataMessage copyWith( - void Function(BlockWithTrustedDataMessage) updates) => - super.copyWith( - (message) => updates(message as BlockWithTrustedDataMessage)) - as BlockWithTrustedDataMessage; // ignore: deprecated_member_use + factory BlockWithTrustedDataMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockWithTrustedDataMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BlockWithTrustedDataMessage clone() => BlockWithTrustedDataMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockWithTrustedDataMessage copyWith(void Function(BlockWithTrustedDataMessage) updates) => super.copyWith((message) => updates(message as BlockWithTrustedDataMessage)) as BlockWithTrustedDataMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static BlockWithTrustedDataMessage create() => - BlockWithTrustedDataMessage._(); + static BlockWithTrustedDataMessage create() => BlockWithTrustedDataMessage._(); BlockWithTrustedDataMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockWithTrustedDataMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockWithTrustedDataMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockWithTrustedDataMessage? _defaultInstance; @$pb.TagNumber(1) BlockMessage get block => $_getN(0); @$pb.TagNumber(1) - set block(BlockMessage v) { - setField(1, v); - } - + set block(BlockMessage v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasBlock() => $_has(0); @$pb.TagNumber(1) @@ -4050,10 +2656,7 @@ class BlockWithTrustedDataMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get daaScore => $_getI64(1); @$pb.TagNumber(2) - set daaScore($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set daaScore($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasDaaScore() => $_has(1); @$pb.TagNumber(2) @@ -4067,29 +2670,11 @@ class BlockWithTrustedDataMessage extends $pb.GeneratedMessage { } class DaaBlock extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'DaaBlock', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ghostdagData', - protoName: 'ghostdagData', - subBuilder: GhostdagData.create) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: BlockMessage.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DaaBlock', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ghostdagData', protoName: 'ghostdagData', subBuilder: GhostdagData.create) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: BlockMessage.create) + ..hasRequiredFields = false + ; DaaBlock._() : super(); factory DaaBlock({ @@ -4105,39 +2690,31 @@ class DaaBlock extends $pb.GeneratedMessage { } return _result; } - factory DaaBlock.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DaaBlock.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory DaaBlock.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DaaBlock.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') DaaBlock clone() => DaaBlock()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DaaBlock copyWith(void Function(DaaBlock) updates) => - super.copyWith((message) => updates(message as DaaBlock)) - as DaaBlock; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DaaBlock copyWith(void Function(DaaBlock) updates) => super.copyWith((message) => updates(message as DaaBlock)) as DaaBlock; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DaaBlock create() => DaaBlock._(); DaaBlock createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DaaBlock getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DaaBlock getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DaaBlock? _defaultInstance; @$pb.TagNumber(2) GhostdagData get ghostdagData => $_getN(0); @$pb.TagNumber(2) - set ghostdagData(GhostdagData v) { - setField(2, v); - } - + set ghostdagData(GhostdagData v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasGhostdagData() => $_has(0); @$pb.TagNumber(2) @@ -4148,10 +2725,7 @@ class DaaBlock extends $pb.GeneratedMessage { @$pb.TagNumber(3) BlockMessage get block => $_getN(1); @$pb.TagNumber(3) - set block(BlockMessage v) { - setField(3, v); - } - + set block(BlockMessage v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasBlock() => $_has(1); @$pb.TagNumber(3) @@ -4161,29 +2735,11 @@ class DaaBlock extends $pb.GeneratedMessage { } class DaaBlockV4 extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'DaaBlockV4', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'header', - subBuilder: BlockHeader.create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ghostdagData', - protoName: 'ghostdagData', - subBuilder: GhostdagData.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DaaBlockV4', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'header', subBuilder: BlockHeader.create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ghostdagData', protoName: 'ghostdagData', subBuilder: GhostdagData.create) + ..hasRequiredFields = false + ; DaaBlockV4._() : super(); factory DaaBlockV4({ @@ -4199,39 +2755,31 @@ class DaaBlockV4 extends $pb.GeneratedMessage { } return _result; } - factory DaaBlockV4.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DaaBlockV4.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory DaaBlockV4.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DaaBlockV4.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') DaaBlockV4 clone() => DaaBlockV4()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DaaBlockV4 copyWith(void Function(DaaBlockV4) updates) => - super.copyWith((message) => updates(message as DaaBlockV4)) - as DaaBlockV4; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DaaBlockV4 copyWith(void Function(DaaBlockV4) updates) => super.copyWith((message) => updates(message as DaaBlockV4)) as DaaBlockV4; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DaaBlockV4 create() => DaaBlockV4._(); DaaBlockV4 createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DaaBlockV4 getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DaaBlockV4 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DaaBlockV4? _defaultInstance; @$pb.TagNumber(1) BlockHeader get header => $_getN(0); @$pb.TagNumber(1) - set header(BlockHeader v) { - setField(1, v); - } - + set header(BlockHeader v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) @@ -4242,10 +2790,7 @@ class DaaBlockV4 extends $pb.GeneratedMessage { @$pb.TagNumber(2) GhostdagData get ghostdagData => $_getN(1); @$pb.TagNumber(2) - set ghostdagData(GhostdagData v) { - setField(2, v); - } - + set ghostdagData(GhostdagData v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasGhostdagData() => $_has(1); @$pb.TagNumber(2) @@ -4255,29 +2800,11 @@ class DaaBlockV4 extends $pb.GeneratedMessage { } class BlockGhostdagDataHashPair extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockGhostdagDataHashPair', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hash', - subBuilder: Hash.create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ghostdagData', - protoName: 'ghostdagData', - subBuilder: GhostdagData.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockGhostdagDataHashPair', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hash', subBuilder: Hash.create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ghostdagData', protoName: 'ghostdagData', subBuilder: GhostdagData.create) + ..hasRequiredFields = false + ; BlockGhostdagDataHashPair._() : super(); factory BlockGhostdagDataHashPair({ @@ -4293,42 +2820,31 @@ class BlockGhostdagDataHashPair extends $pb.GeneratedMessage { } return _result; } - factory BlockGhostdagDataHashPair.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockGhostdagDataHashPair.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BlockGhostdagDataHashPair clone() => - BlockGhostdagDataHashPair()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockGhostdagDataHashPair copyWith( - void Function(BlockGhostdagDataHashPair) updates) => - super.copyWith((message) => updates(message as BlockGhostdagDataHashPair)) - as BlockGhostdagDataHashPair; // ignore: deprecated_member_use + factory BlockGhostdagDataHashPair.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockGhostdagDataHashPair.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BlockGhostdagDataHashPair clone() => BlockGhostdagDataHashPair()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockGhostdagDataHashPair copyWith(void Function(BlockGhostdagDataHashPair) updates) => super.copyWith((message) => updates(message as BlockGhostdagDataHashPair)) as BlockGhostdagDataHashPair; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BlockGhostdagDataHashPair create() => BlockGhostdagDataHashPair._(); BlockGhostdagDataHashPair createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockGhostdagDataHashPair getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockGhostdagDataHashPair getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockGhostdagDataHashPair? _defaultInstance; @$pb.TagNumber(1) Hash get hash => $_getN(0); @$pb.TagNumber(1) - set hash(Hash v) { - setField(1, v); - } - + set hash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHash() => $_has(0); @$pb.TagNumber(1) @@ -4339,10 +2855,7 @@ class BlockGhostdagDataHashPair extends $pb.GeneratedMessage { @$pb.TagNumber(2) GhostdagData get ghostdagData => $_getN(1); @$pb.TagNumber(2) - set ghostdagData(GhostdagData v) { - setField(2, v); - } - + set ghostdagData(GhostdagData v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasGhostdagData() => $_has(1); @$pb.TagNumber(2) @@ -4352,62 +2865,15 @@ class BlockGhostdagDataHashPair extends $pb.GeneratedMessage { } class GhostdagData extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GhostdagData', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueScore', - $pb.PbFieldType.OU6, - protoName: 'blueScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueWork', - $pb.PbFieldType.OY, - protoName: 'blueWork') - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'selectedParent', - protoName: 'selectedParent', - subBuilder: Hash.create) - ..pc( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'mergeSetBlues', - $pb.PbFieldType.PM, - protoName: 'mergeSetBlues', - subBuilder: Hash.create) - ..pc( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'mergeSetReds', - $pb.PbFieldType.PM, - protoName: 'mergeSetReds', - subBuilder: Hash.create) - ..pc( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bluesAnticoneSizes', - $pb.PbFieldType.PM, - protoName: 'bluesAnticoneSizes', - subBuilder: BluesAnticoneSizes.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GhostdagData', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueScore', $pb.PbFieldType.OU6, protoName: 'blueScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueWork', $pb.PbFieldType.OY, protoName: 'blueWork') + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'selectedParent', protoName: 'selectedParent', subBuilder: Hash.create) + ..pc(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mergeSetBlues', $pb.PbFieldType.PM, protoName: 'mergeSetBlues', subBuilder: Hash.create) + ..pc(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mergeSetReds', $pb.PbFieldType.PM, protoName: 'mergeSetReds', subBuilder: Hash.create) + ..pc(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bluesAnticoneSizes', $pb.PbFieldType.PM, protoName: 'bluesAnticoneSizes', subBuilder: BluesAnticoneSizes.create) + ..hasRequiredFields = false + ; GhostdagData._() : super(); factory GhostdagData({ @@ -4439,40 +2905,31 @@ class GhostdagData extends $pb.GeneratedMessage { } return _result; } - factory GhostdagData.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GhostdagData.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory GhostdagData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GhostdagData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') GhostdagData clone() => GhostdagData()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GhostdagData copyWith(void Function(GhostdagData) updates) => - super.copyWith((message) => updates(message as GhostdagData)) - as GhostdagData; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GhostdagData copyWith(void Function(GhostdagData) updates) => super.copyWith((message) => updates(message as GhostdagData)) as GhostdagData; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GhostdagData create() => GhostdagData._(); GhostdagData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GhostdagData getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GhostdagData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GhostdagData? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get blueScore => $_getI64(0); @$pb.TagNumber(1) - set blueScore($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set blueScore($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasBlueScore() => $_has(0); @$pb.TagNumber(1) @@ -4481,10 +2938,7 @@ class GhostdagData extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List<$core.int> get blueWork => $_getN(1); @$pb.TagNumber(2) - set blueWork($core.List<$core.int> v) { - $_setBytes(1, v); - } - + set blueWork($core.List<$core.int> v) { $_setBytes(1, v); } @$pb.TagNumber(2) $core.bool hasBlueWork() => $_has(1); @$pb.TagNumber(2) @@ -4493,10 +2947,7 @@ class GhostdagData extends $pb.GeneratedMessage { @$pb.TagNumber(3) Hash get selectedParent => $_getN(2); @$pb.TagNumber(3) - set selectedParent(Hash v) { - setField(3, v); - } - + set selectedParent(Hash v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasSelectedParent() => $_has(2); @$pb.TagNumber(3) @@ -4515,30 +2966,11 @@ class GhostdagData extends $pb.GeneratedMessage { } class BluesAnticoneSizes extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BluesAnticoneSizes', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueHash', - protoName: 'blueHash', - subBuilder: Hash.create) - ..a<$core.int>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'anticoneSize', - $pb.PbFieldType.OU3, - protoName: 'anticoneSize') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BluesAnticoneSizes', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueHash', protoName: 'blueHash', subBuilder: Hash.create) + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'anticoneSize', $pb.PbFieldType.OU3, protoName: 'anticoneSize') + ..hasRequiredFields = false + ; BluesAnticoneSizes._() : super(); factory BluesAnticoneSizes({ @@ -4554,40 +2986,31 @@ class BluesAnticoneSizes extends $pb.GeneratedMessage { } return _result; } - factory BluesAnticoneSizes.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BluesAnticoneSizes.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BluesAnticoneSizes.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BluesAnticoneSizes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BluesAnticoneSizes clone() => BluesAnticoneSizes()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BluesAnticoneSizes copyWith(void Function(BluesAnticoneSizes) updates) => - super.copyWith((message) => updates(message as BluesAnticoneSizes)) - as BluesAnticoneSizes; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BluesAnticoneSizes copyWith(void Function(BluesAnticoneSizes) updates) => super.copyWith((message) => updates(message as BluesAnticoneSizes)) as BluesAnticoneSizes; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BluesAnticoneSizes create() => BluesAnticoneSizes._(); BluesAnticoneSizes createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BluesAnticoneSizes getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BluesAnticoneSizes getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BluesAnticoneSizes? _defaultInstance; @$pb.TagNumber(1) Hash get blueHash => $_getN(0); @$pb.TagNumber(1) - set blueHash(Hash v) { - setField(1, v); - } - + set blueHash(Hash v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasBlueHash() => $_has(0); @$pb.TagNumber(1) @@ -4598,10 +3021,7 @@ class BluesAnticoneSizes extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get anticoneSize => $_getIZ(1); @$pb.TagNumber(2) - set anticoneSize($core.int v) { - $_setUnsignedInt32(1, v); - } - + set anticoneSize($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasAnticoneSize() => $_has(1); @$pb.TagNumber(2) @@ -4609,70 +3029,39 @@ class BluesAnticoneSizes extends $pb.GeneratedMessage { } class DoneBlocksWithTrustedDataMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'DoneBlocksWithTrustedDataMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DoneBlocksWithTrustedDataMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; DoneBlocksWithTrustedDataMessage._() : super(); factory DoneBlocksWithTrustedDataMessage() => create(); - factory DoneBlocksWithTrustedDataMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DoneBlocksWithTrustedDataMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DoneBlocksWithTrustedDataMessage clone() => - DoneBlocksWithTrustedDataMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DoneBlocksWithTrustedDataMessage copyWith( - void Function(DoneBlocksWithTrustedDataMessage) updates) => - super.copyWith( - (message) => updates(message as DoneBlocksWithTrustedDataMessage)) - as DoneBlocksWithTrustedDataMessage; // ignore: deprecated_member_use + factory DoneBlocksWithTrustedDataMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DoneBlocksWithTrustedDataMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DoneBlocksWithTrustedDataMessage clone() => DoneBlocksWithTrustedDataMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DoneBlocksWithTrustedDataMessage copyWith(void Function(DoneBlocksWithTrustedDataMessage) updates) => super.copyWith((message) => updates(message as DoneBlocksWithTrustedDataMessage)) as DoneBlocksWithTrustedDataMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static DoneBlocksWithTrustedDataMessage create() => - DoneBlocksWithTrustedDataMessage._(); + static DoneBlocksWithTrustedDataMessage create() => DoneBlocksWithTrustedDataMessage._(); DoneBlocksWithTrustedDataMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DoneBlocksWithTrustedDataMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static DoneBlocksWithTrustedDataMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DoneBlocksWithTrustedDataMessage? _defaultInstance; } class PruningPointsMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PruningPointsMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'headers', - $pb.PbFieldType.PM, - subBuilder: BlockHeader.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PruningPointsMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'headers', $pb.PbFieldType.PM, subBuilder: BlockHeader.create) + ..hasRequiredFields = false + ; PruningPointsMessage._() : super(); factory PruningPointsMessage({ @@ -4684,32 +3073,25 @@ class PruningPointsMessage extends $pb.GeneratedMessage { } return _result; } - factory PruningPointsMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PruningPointsMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PruningPointsMessage clone() => - PruningPointsMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PruningPointsMessage copyWith(void Function(PruningPointsMessage) updates) => - super.copyWith((message) => updates(message as PruningPointsMessage)) - as PruningPointsMessage; // ignore: deprecated_member_use + factory PruningPointsMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PruningPointsMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PruningPointsMessage clone() => PruningPointsMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PruningPointsMessage copyWith(void Function(PruningPointsMessage) updates) => super.copyWith((message) => updates(message as PruningPointsMessage)) as PruningPointsMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PruningPointsMessage create() => PruningPointsMessage._(); PruningPointsMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PruningPointsMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static PruningPointsMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PruningPointsMessage? _defaultInstance; @$pb.TagNumber(1) @@ -4717,70 +3099,39 @@ class PruningPointsMessage extends $pb.GeneratedMessage { } class RequestPruningPointProofMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RequestPruningPointProofMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RequestPruningPointProofMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; RequestPruningPointProofMessage._() : super(); factory RequestPruningPointProofMessage() => create(); - factory RequestPruningPointProofMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RequestPruningPointProofMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestPruningPointProofMessage clone() => - RequestPruningPointProofMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestPruningPointProofMessage copyWith( - void Function(RequestPruningPointProofMessage) updates) => - super.copyWith( - (message) => updates(message as RequestPruningPointProofMessage)) - as RequestPruningPointProofMessage; // ignore: deprecated_member_use + factory RequestPruningPointProofMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestPruningPointProofMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestPruningPointProofMessage clone() => RequestPruningPointProofMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestPruningPointProofMessage copyWith(void Function(RequestPruningPointProofMessage) updates) => super.copyWith((message) => updates(message as RequestPruningPointProofMessage)) as RequestPruningPointProofMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RequestPruningPointProofMessage create() => - RequestPruningPointProofMessage._(); + static RequestPruningPointProofMessage create() => RequestPruningPointProofMessage._(); RequestPruningPointProofMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestPruningPointProofMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static RequestPruningPointProofMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestPruningPointProofMessage? _defaultInstance; } class PruningPointProofMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PruningPointProofMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'headers', - $pb.PbFieldType.PM, - subBuilder: PruningPointProofHeaderArray.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PruningPointProofMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'headers', $pb.PbFieldType.PM, subBuilder: PruningPointProofHeaderArray.create) + ..hasRequiredFields = false + ; PruningPointProofMessage._() : super(); factory PruningPointProofMessage({ @@ -4792,33 +3143,25 @@ class PruningPointProofMessage extends $pb.GeneratedMessage { } return _result; } - factory PruningPointProofMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PruningPointProofMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PruningPointProofMessage clone() => - PruningPointProofMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PruningPointProofMessage copyWith( - void Function(PruningPointProofMessage) updates) => - super.copyWith((message) => updates(message as PruningPointProofMessage)) - as PruningPointProofMessage; // ignore: deprecated_member_use + factory PruningPointProofMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PruningPointProofMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PruningPointProofMessage clone() => PruningPointProofMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PruningPointProofMessage copyWith(void Function(PruningPointProofMessage) updates) => super.copyWith((message) => updates(message as PruningPointProofMessage)) as PruningPointProofMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PruningPointProofMessage create() => PruningPointProofMessage._(); PruningPointProofMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PruningPointProofMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static PruningPointProofMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PruningPointProofMessage? _defaultInstance; @$pb.TagNumber(1) @@ -4826,23 +3169,10 @@ class PruningPointProofMessage extends $pb.GeneratedMessage { } class PruningPointProofHeaderArray extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PruningPointProofHeaderArray', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'headers', - $pb.PbFieldType.PM, - subBuilder: BlockHeader.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PruningPointProofHeaderArray', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'headers', $pb.PbFieldType.PM, subBuilder: BlockHeader.create) + ..hasRequiredFields = false + ; PruningPointProofHeaderArray._() : super(); factory PruningPointProofHeaderArray({ @@ -4854,35 +3184,25 @@ class PruningPointProofHeaderArray extends $pb.GeneratedMessage { } return _result; } - factory PruningPointProofHeaderArray.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PruningPointProofHeaderArray.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PruningPointProofHeaderArray clone() => - PruningPointProofHeaderArray()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PruningPointProofHeaderArray copyWith( - void Function(PruningPointProofHeaderArray) updates) => - super.copyWith( - (message) => updates(message as PruningPointProofHeaderArray)) - as PruningPointProofHeaderArray; // ignore: deprecated_member_use + factory PruningPointProofHeaderArray.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PruningPointProofHeaderArray.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PruningPointProofHeaderArray clone() => PruningPointProofHeaderArray()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PruningPointProofHeaderArray copyWith(void Function(PruningPointProofHeaderArray) updates) => super.copyWith((message) => updates(message as PruningPointProofHeaderArray)) as PruningPointProofHeaderArray; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static PruningPointProofHeaderArray create() => - PruningPointProofHeaderArray._(); + static PruningPointProofHeaderArray create() => PruningPointProofHeaderArray._(); PruningPointProofHeaderArray createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PruningPointProofHeaderArray getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static PruningPointProofHeaderArray getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PruningPointProofHeaderArray? _defaultInstance; @$pb.TagNumber(1) @@ -4890,78 +3210,41 @@ class PruningPointProofHeaderArray extends $pb.GeneratedMessage { } class ReadyMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'ReadyMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ReadyMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; ReadyMessage._() : super(); factory ReadyMessage() => create(); - factory ReadyMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ReadyMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory ReadyMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ReadyMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ReadyMessage clone() => ReadyMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadyMessage copyWith(void Function(ReadyMessage) updates) => - super.copyWith((message) => updates(message as ReadyMessage)) - as ReadyMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReadyMessage copyWith(void Function(ReadyMessage) updates) => super.copyWith((message) => updates(message as ReadyMessage)) as ReadyMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ReadyMessage create() => ReadyMessage._(); ReadyMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ReadyMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ReadyMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ReadyMessage? _defaultInstance; } class BlockWithTrustedDataV4Message extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockWithTrustedDataV4Message', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: BlockMessage.create) - ..p<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'daaWindowIndices', - $pb.PbFieldType.KU6, - protoName: 'daaWindowIndices') - ..p<$fixnum.Int64>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ghostdagDataIndices', - $pb.PbFieldType.KU6, - protoName: 'ghostdagDataIndices') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockWithTrustedDataV4Message', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: BlockMessage.create) + ..p<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'daaWindowIndices', $pb.PbFieldType.KU6, protoName: 'daaWindowIndices') + ..p<$fixnum.Int64>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ghostdagDataIndices', $pb.PbFieldType.KU6, protoName: 'ghostdagDataIndices') + ..hasRequiredFields = false + ; BlockWithTrustedDataV4Message._() : super(); factory BlockWithTrustedDataV4Message({ @@ -4981,44 +3264,31 @@ class BlockWithTrustedDataV4Message extends $pb.GeneratedMessage { } return _result; } - factory BlockWithTrustedDataV4Message.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockWithTrustedDataV4Message.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BlockWithTrustedDataV4Message clone() => - BlockWithTrustedDataV4Message()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockWithTrustedDataV4Message copyWith( - void Function(BlockWithTrustedDataV4Message) updates) => - super.copyWith( - (message) => updates(message as BlockWithTrustedDataV4Message)) - as BlockWithTrustedDataV4Message; // ignore: deprecated_member_use + factory BlockWithTrustedDataV4Message.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockWithTrustedDataV4Message.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BlockWithTrustedDataV4Message clone() => BlockWithTrustedDataV4Message()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockWithTrustedDataV4Message copyWith(void Function(BlockWithTrustedDataV4Message) updates) => super.copyWith((message) => updates(message as BlockWithTrustedDataV4Message)) as BlockWithTrustedDataV4Message; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static BlockWithTrustedDataV4Message create() => - BlockWithTrustedDataV4Message._(); + static BlockWithTrustedDataV4Message create() => BlockWithTrustedDataV4Message._(); BlockWithTrustedDataV4Message createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockWithTrustedDataV4Message getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockWithTrustedDataV4Message getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockWithTrustedDataV4Message? _defaultInstance; @$pb.TagNumber(1) BlockMessage get block => $_getN(0); @$pb.TagNumber(1) - set block(BlockMessage v) { - setField(1, v); - } - + set block(BlockMessage v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasBlock() => $_has(0); @$pb.TagNumber(1) @@ -5034,32 +3304,11 @@ class BlockWithTrustedDataV4Message extends $pb.GeneratedMessage { } class TrustedDataMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'TrustedDataMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'daaWindow', - $pb.PbFieldType.PM, - protoName: 'daaWindow', - subBuilder: DaaBlockV4.create) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ghostdagData', - $pb.PbFieldType.PM, - protoName: 'ghostdagData', - subBuilder: BlockGhostdagDataHashPair.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'TrustedDataMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'daaWindow', $pb.PbFieldType.PM, protoName: 'daaWindow', subBuilder: DaaBlockV4.create) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ghostdagData', $pb.PbFieldType.PM, protoName: 'ghostdagData', subBuilder: BlockGhostdagDataHashPair.create) + ..hasRequiredFields = false + ; TrustedDataMessage._() : super(); factory TrustedDataMessage({ @@ -5075,31 +3324,25 @@ class TrustedDataMessage extends $pb.GeneratedMessage { } return _result; } - factory TrustedDataMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TrustedDataMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory TrustedDataMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TrustedDataMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TrustedDataMessage clone() => TrustedDataMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrustedDataMessage copyWith(void Function(TrustedDataMessage) updates) => - super.copyWith((message) => updates(message as TrustedDataMessage)) - as TrustedDataMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TrustedDataMessage copyWith(void Function(TrustedDataMessage) updates) => super.copyWith((message) => updates(message as TrustedDataMessage)) as TrustedDataMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TrustedDataMessage create() => TrustedDataMessage._(); TrustedDataMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrustedDataMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TrustedDataMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrustedDataMessage? _defaultInstance; @$pb.TagNumber(1) @@ -5108,3 +3351,4 @@ class TrustedDataMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List get ghostdagData => $_getList(1); } + diff --git a/lib/spectre/grpc/p2p.pbenum.dart b/lib/spectre/grpc/p2p.pbenum.dart index 32e7a15..fb7a642 100644 --- a/lib/spectre/grpc/p2p.pbenum.dart +++ b/lib/spectre/grpc/p2p.pbenum.dart @@ -4,3 +4,4 @@ // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + diff --git a/lib/spectre/grpc/p2p.pbjson.dart b/lib/spectre/grpc/p2p.pbjson.dart index 8ad4bfd..ed04bc5 100644 --- a/lib/spectre/grpc/p2p.pbjson.dart +++ b/lib/spectre/grpc/p2p.pbjson.dart @@ -8,51 +8,27 @@ import 'dart:core' as $core; import 'dart:convert' as $convert; import 'dart:typed_data' as $typed_data; - @$core.Deprecated('Use requestAddressesMessageDescriptor instead') const RequestAddressesMessage$json = const { '1': 'RequestAddressesMessage', '2': const [ - const { - '1': 'includeAllSubnetworks', - '3': 1, - '4': 1, - '5': 8, - '10': 'includeAllSubnetworks' - }, - const { - '1': 'subnetworkId', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.SubnetworkId', - '10': 'subnetworkId' - }, + const {'1': 'includeAllSubnetworks', '3': 1, '4': 1, '5': 8, '10': 'includeAllSubnetworks'}, + const {'1': 'subnetworkId', '3': 2, '4': 1, '5': 11, '6': '.protowire.SubnetworkId', '10': 'subnetworkId'}, ], }; /// Descriptor for `RequestAddressesMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestAddressesMessageDescriptor = - $convert.base64Decode( - 'ChdSZXF1ZXN0QWRkcmVzc2VzTWVzc2FnZRI0ChVpbmNsdWRlQWxsU3VibmV0d29ya3MYASABKAhSFWluY2x1ZGVBbGxTdWJuZXR3b3JrcxI7CgxzdWJuZXR3b3JrSWQYAiABKAsyFy5wcm90b3dpcmUuU3VibmV0d29ya0lkUgxzdWJuZXR3b3JrSWQ='); +final $typed_data.Uint8List requestAddressesMessageDescriptor = $convert.base64Decode('ChdSZXF1ZXN0QWRkcmVzc2VzTWVzc2FnZRI0ChVpbmNsdWRlQWxsU3VibmV0d29ya3MYASABKAhSFWluY2x1ZGVBbGxTdWJuZXR3b3JrcxI7CgxzdWJuZXR3b3JrSWQYAiABKAsyFy5wcm90b3dpcmUuU3VibmV0d29ya0lkUgxzdWJuZXR3b3JrSWQ='); @$core.Deprecated('Use addressesMessageDescriptor instead') const AddressesMessage$json = const { '1': 'AddressesMessage', '2': const [ - const { - '1': 'addressList', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.NetAddress', - '10': 'addressList' - }, + const {'1': 'addressList', '3': 1, '4': 3, '5': 11, '6': '.protowire.NetAddress', '10': 'addressList'}, ], }; /// Descriptor for `AddressesMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addressesMessageDescriptor = $convert.base64Decode( - 'ChBBZGRyZXNzZXNNZXNzYWdlEjcKC2FkZHJlc3NMaXN0GAEgAygLMhUucHJvdG93aXJlLk5ldEFkZHJlc3NSC2FkZHJlc3NMaXN0'); +final $typed_data.Uint8List addressesMessageDescriptor = $convert.base64Decode('ChBBZGRyZXNzZXNNZXNzYWdlEjcKC2FkZHJlc3NMaXN0GAEgAygLMhUucHJvdG93aXJlLk5ldEFkZHJlc3NSC2FkZHJlc3NMaXN0'); @$core.Deprecated('Use netAddressDescriptor instead') const NetAddress$json = const { '1': 'NetAddress', @@ -64,8 +40,7 @@ const NetAddress$json = const { }; /// Descriptor for `NetAddress`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List netAddressDescriptor = $convert.base64Decode( - 'CgpOZXRBZGRyZXNzEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEg4KAmlwGAMgASgMUgJpcBISCgRwb3J0GAQgASgNUgRwb3J0'); +final $typed_data.Uint8List netAddressDescriptor = $convert.base64Decode('CgpOZXRBZGRyZXNzEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEg4KAmlwGAMgASgMUgJpcBISCgRwb3J0GAQgASgNUgRwb3J0'); @$core.Deprecated('Use subnetworkIdDescriptor instead') const SubnetworkId$json = const { '1': 'SubnetworkId', @@ -75,92 +50,47 @@ const SubnetworkId$json = const { }; /// Descriptor for `SubnetworkId`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subnetworkIdDescriptor = - $convert.base64Decode('CgxTdWJuZXR3b3JrSWQSFAoFYnl0ZXMYASABKAxSBWJ5dGVz'); +final $typed_data.Uint8List subnetworkIdDescriptor = $convert.base64Decode('CgxTdWJuZXR3b3JrSWQSFAoFYnl0ZXMYASABKAxSBWJ5dGVz'); @$core.Deprecated('Use transactionMessageDescriptor instead') const TransactionMessage$json = const { '1': 'TransactionMessage', '2': const [ const {'1': 'version', '3': 1, '4': 1, '5': 13, '10': 'version'}, - const { - '1': 'inputs', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.TransactionInput', - '10': 'inputs' - }, - const { - '1': 'outputs', - '3': 3, - '4': 3, - '5': 11, - '6': '.protowire.TransactionOutput', - '10': 'outputs' - }, + const {'1': 'inputs', '3': 2, '4': 3, '5': 11, '6': '.protowire.TransactionInput', '10': 'inputs'}, + const {'1': 'outputs', '3': 3, '4': 3, '5': 11, '6': '.protowire.TransactionOutput', '10': 'outputs'}, const {'1': 'lockTime', '3': 4, '4': 1, '5': 4, '10': 'lockTime'}, - const { - '1': 'subnetworkId', - '3': 5, - '4': 1, - '5': 11, - '6': '.protowire.SubnetworkId', - '10': 'subnetworkId' - }, + const {'1': 'subnetworkId', '3': 5, '4': 1, '5': 11, '6': '.protowire.SubnetworkId', '10': 'subnetworkId'}, const {'1': 'gas', '3': 6, '4': 1, '5': 4, '10': 'gas'}, const {'1': 'payload', '3': 8, '4': 1, '5': 12, '10': 'payload'}, ], }; /// Descriptor for `TransactionMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transactionMessageDescriptor = $convert.base64Decode( - 'ChJUcmFuc2FjdGlvbk1lc3NhZ2USGAoHdmVyc2lvbhgBIAEoDVIHdmVyc2lvbhIzCgZpbnB1dHMYAiADKAsyGy5wcm90b3dpcmUuVHJhbnNhY3Rpb25JbnB1dFIGaW5wdXRzEjYKB291dHB1dHMYAyADKAsyHC5wcm90b3dpcmUuVHJhbnNhY3Rpb25PdXRwdXRSB291dHB1dHMSGgoIbG9ja1RpbWUYBCABKARSCGxvY2tUaW1lEjsKDHN1Ym5ldHdvcmtJZBgFIAEoCzIXLnByb3Rvd2lyZS5TdWJuZXR3b3JrSWRSDHN1Ym5ldHdvcmtJZBIQCgNnYXMYBiABKARSA2dhcxIYCgdwYXlsb2FkGAggASgMUgdwYXlsb2Fk'); +final $typed_data.Uint8List transactionMessageDescriptor = $convert.base64Decode('ChJUcmFuc2FjdGlvbk1lc3NhZ2USGAoHdmVyc2lvbhgBIAEoDVIHdmVyc2lvbhIzCgZpbnB1dHMYAiADKAsyGy5wcm90b3dpcmUuVHJhbnNhY3Rpb25JbnB1dFIGaW5wdXRzEjYKB291dHB1dHMYAyADKAsyHC5wcm90b3dpcmUuVHJhbnNhY3Rpb25PdXRwdXRSB291dHB1dHMSGgoIbG9ja1RpbWUYBCABKARSCGxvY2tUaW1lEjsKDHN1Ym5ldHdvcmtJZBgFIAEoCzIXLnByb3Rvd2lyZS5TdWJuZXR3b3JrSWRSDHN1Ym5ldHdvcmtJZBIQCgNnYXMYBiABKARSA2dhcxIYCgdwYXlsb2FkGAggASgMUgdwYXlsb2Fk'); @$core.Deprecated('Use transactionInputDescriptor instead') const TransactionInput$json = const { '1': 'TransactionInput', '2': const [ - const { - '1': 'previousOutpoint', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Outpoint', - '10': 'previousOutpoint' - }, - const { - '1': 'signatureScript', - '3': 2, - '4': 1, - '5': 12, - '10': 'signatureScript' - }, + const {'1': 'previousOutpoint', '3': 1, '4': 1, '5': 11, '6': '.protowire.Outpoint', '10': 'previousOutpoint'}, + const {'1': 'signatureScript', '3': 2, '4': 1, '5': 12, '10': 'signatureScript'}, const {'1': 'sequence', '3': 3, '4': 1, '5': 4, '10': 'sequence'}, const {'1': 'sigOpCount', '3': 4, '4': 1, '5': 13, '10': 'sigOpCount'}, ], }; /// Descriptor for `TransactionInput`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transactionInputDescriptor = $convert.base64Decode( - 'ChBUcmFuc2FjdGlvbklucHV0Ej8KEHByZXZpb3VzT3V0cG9pbnQYASABKAsyEy5wcm90b3dpcmUuT3V0cG9pbnRSEHByZXZpb3VzT3V0cG9pbnQSKAoPc2lnbmF0dXJlU2NyaXB0GAIgASgMUg9zaWduYXR1cmVTY3JpcHQSGgoIc2VxdWVuY2UYAyABKARSCHNlcXVlbmNlEh4KCnNpZ09wQ291bnQYBCABKA1SCnNpZ09wQ291bnQ='); +final $typed_data.Uint8List transactionInputDescriptor = $convert.base64Decode('ChBUcmFuc2FjdGlvbklucHV0Ej8KEHByZXZpb3VzT3V0cG9pbnQYASABKAsyEy5wcm90b3dpcmUuT3V0cG9pbnRSEHByZXZpb3VzT3V0cG9pbnQSKAoPc2lnbmF0dXJlU2NyaXB0GAIgASgMUg9zaWduYXR1cmVTY3JpcHQSGgoIc2VxdWVuY2UYAyABKARSCHNlcXVlbmNlEh4KCnNpZ09wQ291bnQYBCABKA1SCnNpZ09wQ291bnQ='); @$core.Deprecated('Use outpointDescriptor instead') const Outpoint$json = const { '1': 'Outpoint', '2': const [ - const { - '1': 'transactionId', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.TransactionId', - '10': 'transactionId' - }, + const {'1': 'transactionId', '3': 1, '4': 1, '5': 11, '6': '.protowire.TransactionId', '10': 'transactionId'}, const {'1': 'index', '3': 2, '4': 1, '5': 13, '10': 'index'}, ], }; /// Descriptor for `Outpoint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List outpointDescriptor = $convert.base64Decode( - 'CghPdXRwb2ludBI+Cg10cmFuc2FjdGlvbklkGAEgASgLMhgucHJvdG93aXJlLlRyYW5zYWN0aW9uSWRSDXRyYW5zYWN0aW9uSWQSFAoFaW5kZXgYAiABKA1SBWluZGV4'); +final $typed_data.Uint8List outpointDescriptor = $convert.base64Decode('CghPdXRwb2ludBI+Cg10cmFuc2FjdGlvbklkGAEgASgLMhgucHJvdG93aXJlLlRyYW5zYWN0aW9uSWRSDXRyYW5zYWN0aW9uSWQSFAoFaW5kZXgYAiABKA1SBWluZGV4'); @$core.Deprecated('Use transactionIdDescriptor instead') const TransactionId$json = const { '1': 'TransactionId', @@ -170,8 +100,7 @@ const TransactionId$json = const { }; /// Descriptor for `TransactionId`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transactionIdDescriptor = $convert - .base64Decode('Cg1UcmFuc2FjdGlvbklkEhQKBWJ5dGVzGAEgASgMUgVieXRlcw=='); +final $typed_data.Uint8List transactionIdDescriptor = $convert.base64Decode('Cg1UcmFuc2FjdGlvbklkEhQKBWJ5dGVzGAEgASgMUgVieXRlcw=='); @$core.Deprecated('Use scriptPublicKeyDescriptor instead') const ScriptPublicKey$json = const { '1': 'ScriptPublicKey', @@ -182,128 +111,60 @@ const ScriptPublicKey$json = const { }; /// Descriptor for `ScriptPublicKey`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List scriptPublicKeyDescriptor = $convert.base64Decode( - 'Cg9TY3JpcHRQdWJsaWNLZXkSFgoGc2NyaXB0GAEgASgMUgZzY3JpcHQSGAoHdmVyc2lvbhgCIAEoDVIHdmVyc2lvbg=='); +final $typed_data.Uint8List scriptPublicKeyDescriptor = $convert.base64Decode('Cg9TY3JpcHRQdWJsaWNLZXkSFgoGc2NyaXB0GAEgASgMUgZzY3JpcHQSGAoHdmVyc2lvbhgCIAEoDVIHdmVyc2lvbg=='); @$core.Deprecated('Use transactionOutputDescriptor instead') const TransactionOutput$json = const { '1': 'TransactionOutput', '2': const [ const {'1': 'value', '3': 1, '4': 1, '5': 4, '10': 'value'}, - const { - '1': 'scriptPublicKey', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.ScriptPublicKey', - '10': 'scriptPublicKey' - }, + const {'1': 'scriptPublicKey', '3': 2, '4': 1, '5': 11, '6': '.protowire.ScriptPublicKey', '10': 'scriptPublicKey'}, ], }; /// Descriptor for `TransactionOutput`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transactionOutputDescriptor = $convert.base64Decode( - 'ChFUcmFuc2FjdGlvbk91dHB1dBIUCgV2YWx1ZRgBIAEoBFIFdmFsdWUSRAoPc2NyaXB0UHVibGljS2V5GAIgASgLMhoucHJvdG93aXJlLlNjcmlwdFB1YmxpY0tleVIPc2NyaXB0UHVibGljS2V5'); +final $typed_data.Uint8List transactionOutputDescriptor = $convert.base64Decode('ChFUcmFuc2FjdGlvbk91dHB1dBIUCgV2YWx1ZRgBIAEoBFIFdmFsdWUSRAoPc2NyaXB0UHVibGljS2V5GAIgASgLMhoucHJvdG93aXJlLlNjcmlwdFB1YmxpY0tleVIPc2NyaXB0UHVibGljS2V5'); @$core.Deprecated('Use blockMessageDescriptor instead') const BlockMessage$json = const { '1': 'BlockMessage', '2': const [ - const { - '1': 'header', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.BlockHeader', - '10': 'header' - }, - const { - '1': 'transactions', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.TransactionMessage', - '10': 'transactions' - }, + const {'1': 'header', '3': 1, '4': 1, '5': 11, '6': '.protowire.BlockHeader', '10': 'header'}, + const {'1': 'transactions', '3': 2, '4': 3, '5': 11, '6': '.protowire.TransactionMessage', '10': 'transactions'}, ], }; /// Descriptor for `BlockMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockMessageDescriptor = $convert.base64Decode( - 'CgxCbG9ja01lc3NhZ2USLgoGaGVhZGVyGAEgASgLMhYucHJvdG93aXJlLkJsb2NrSGVhZGVyUgZoZWFkZXISQQoMdHJhbnNhY3Rpb25zGAIgAygLMh0ucHJvdG93aXJlLlRyYW5zYWN0aW9uTWVzc2FnZVIMdHJhbnNhY3Rpb25z'); +final $typed_data.Uint8List blockMessageDescriptor = $convert.base64Decode('CgxCbG9ja01lc3NhZ2USLgoGaGVhZGVyGAEgASgLMhYucHJvdG93aXJlLkJsb2NrSGVhZGVyUgZoZWFkZXISQQoMdHJhbnNhY3Rpb25zGAIgAygLMh0ucHJvdG93aXJlLlRyYW5zYWN0aW9uTWVzc2FnZVIMdHJhbnNhY3Rpb25z'); @$core.Deprecated('Use blockHeaderDescriptor instead') const BlockHeader$json = const { '1': 'BlockHeader', '2': const [ const {'1': 'version', '3': 1, '4': 1, '5': 13, '10': 'version'}, - const { - '1': 'parents', - '3': 12, - '4': 3, - '5': 11, - '6': '.protowire.BlockLevelParents', - '10': 'parents' - }, - const { - '1': 'hashMerkleRoot', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'hashMerkleRoot' - }, - const { - '1': 'acceptedIdMerkleRoot', - '3': 4, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'acceptedIdMerkleRoot' - }, - const { - '1': 'utxoCommitment', - '3': 5, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'utxoCommitment' - }, + const {'1': 'parents', '3': 12, '4': 3, '5': 11, '6': '.protowire.BlockLevelParents', '10': 'parents'}, + const {'1': 'hashMerkleRoot', '3': 3, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'hashMerkleRoot'}, + const {'1': 'acceptedIdMerkleRoot', '3': 4, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'acceptedIdMerkleRoot'}, + const {'1': 'utxoCommitment', '3': 5, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'utxoCommitment'}, const {'1': 'timestamp', '3': 6, '4': 1, '5': 3, '10': 'timestamp'}, const {'1': 'bits', '3': 7, '4': 1, '5': 13, '10': 'bits'}, const {'1': 'nonce', '3': 8, '4': 1, '5': 4, '10': 'nonce'}, const {'1': 'daaScore', '3': 9, '4': 1, '5': 4, '10': 'daaScore'}, const {'1': 'blueWork', '3': 10, '4': 1, '5': 12, '10': 'blueWork'}, - const { - '1': 'pruningPoint', - '3': 14, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'pruningPoint' - }, + const {'1': 'pruningPoint', '3': 14, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'pruningPoint'}, const {'1': 'blueScore', '3': 13, '4': 1, '5': 4, '10': 'blueScore'}, ], }; /// Descriptor for `BlockHeader`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockHeaderDescriptor = $convert.base64Decode( - 'CgtCbG9ja0hlYWRlchIYCgd2ZXJzaW9uGAEgASgNUgd2ZXJzaW9uEjYKB3BhcmVudHMYDCADKAsyHC5wcm90b3dpcmUuQmxvY2tMZXZlbFBhcmVudHNSB3BhcmVudHMSNwoOaGFzaE1lcmtsZVJvb3QYAyABKAsyDy5wcm90b3dpcmUuSGFzaFIOaGFzaE1lcmtsZVJvb3QSQwoUYWNjZXB0ZWRJZE1lcmtsZVJvb3QYBCABKAsyDy5wcm90b3dpcmUuSGFzaFIUYWNjZXB0ZWRJZE1lcmtsZVJvb3QSNwoOdXR4b0NvbW1pdG1lbnQYBSABKAsyDy5wcm90b3dpcmUuSGFzaFIOdXR4b0NvbW1pdG1lbnQSHAoJdGltZXN0YW1wGAYgASgDUgl0aW1lc3RhbXASEgoEYml0cxgHIAEoDVIEYml0cxIUCgVub25jZRgIIAEoBFIFbm9uY2USGgoIZGFhU2NvcmUYCSABKARSCGRhYVNjb3JlEhoKCGJsdWVXb3JrGAogASgMUghibHVlV29yaxIzCgxwcnVuaW5nUG9pbnQYDiABKAsyDy5wcm90b3dpcmUuSGFzaFIMcHJ1bmluZ1BvaW50EhwKCWJsdWVTY29yZRgNIAEoBFIJYmx1ZVNjb3Jl'); +final $typed_data.Uint8List blockHeaderDescriptor = $convert.base64Decode('CgtCbG9ja0hlYWRlchIYCgd2ZXJzaW9uGAEgASgNUgd2ZXJzaW9uEjYKB3BhcmVudHMYDCADKAsyHC5wcm90b3dpcmUuQmxvY2tMZXZlbFBhcmVudHNSB3BhcmVudHMSNwoOaGFzaE1lcmtsZVJvb3QYAyABKAsyDy5wcm90b3dpcmUuSGFzaFIOaGFzaE1lcmtsZVJvb3QSQwoUYWNjZXB0ZWRJZE1lcmtsZVJvb3QYBCABKAsyDy5wcm90b3dpcmUuSGFzaFIUYWNjZXB0ZWRJZE1lcmtsZVJvb3QSNwoOdXR4b0NvbW1pdG1lbnQYBSABKAsyDy5wcm90b3dpcmUuSGFzaFIOdXR4b0NvbW1pdG1lbnQSHAoJdGltZXN0YW1wGAYgASgDUgl0aW1lc3RhbXASEgoEYml0cxgHIAEoDVIEYml0cxIUCgVub25jZRgIIAEoBFIFbm9uY2USGgoIZGFhU2NvcmUYCSABKARSCGRhYVNjb3JlEhoKCGJsdWVXb3JrGAogASgMUghibHVlV29yaxIzCgxwcnVuaW5nUG9pbnQYDiABKAsyDy5wcm90b3dpcmUuSGFzaFIMcHJ1bmluZ1BvaW50EhwKCWJsdWVTY29yZRgNIAEoBFIJYmx1ZVNjb3Jl'); @$core.Deprecated('Use blockLevelParentsDescriptor instead') const BlockLevelParents$json = const { '1': 'BlockLevelParents', '2': const [ - const { - '1': 'parentHashes', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'parentHashes' - }, + const {'1': 'parentHashes', '3': 1, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'parentHashes'}, ], }; /// Descriptor for `BlockLevelParents`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockLevelParentsDescriptor = $convert.base64Decode( - 'ChFCbG9ja0xldmVsUGFyZW50cxIzCgxwYXJlbnRIYXNoZXMYASADKAsyDy5wcm90b3dpcmUuSGFzaFIMcGFyZW50SGFzaGVz'); +final $typed_data.Uint8List blockLevelParentsDescriptor = $convert.base64Decode('ChFCbG9ja0xldmVsUGFyZW50cxIzCgxwYXJlbnRIYXNoZXMYASADKAsyDy5wcm90b3dpcmUuSGFzaFIMcGFyZW50SGFzaGVz'); @$core.Deprecated('Use hashDescriptor instead') const Hash$json = const { '1': 'Hash', @@ -313,182 +174,103 @@ const Hash$json = const { }; /// Descriptor for `Hash`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List hashDescriptor = - $convert.base64Decode('CgRIYXNoEhQKBWJ5dGVzGAEgASgMUgVieXRlcw=='); +final $typed_data.Uint8List hashDescriptor = $convert.base64Decode('CgRIYXNoEhQKBWJ5dGVzGAEgASgMUgVieXRlcw=='); @$core.Deprecated('Use requestBlockLocatorMessageDescriptor instead') const RequestBlockLocatorMessage$json = const { '1': 'RequestBlockLocatorMessage', '2': const [ - const { - '1': 'highHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'highHash' - }, + const {'1': 'highHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'highHash'}, const {'1': 'limit', '3': 2, '4': 1, '5': 13, '10': 'limit'}, ], }; /// Descriptor for `RequestBlockLocatorMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestBlockLocatorMessageDescriptor = - $convert.base64Decode( - 'ChpSZXF1ZXN0QmxvY2tMb2NhdG9yTWVzc2FnZRIrCghoaWdoSGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUghoaWdoSGFzaBIUCgVsaW1pdBgCIAEoDVIFbGltaXQ='); +final $typed_data.Uint8List requestBlockLocatorMessageDescriptor = $convert.base64Decode('ChpSZXF1ZXN0QmxvY2tMb2NhdG9yTWVzc2FnZRIrCghoaWdoSGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUghoaWdoSGFzaBIUCgVsaW1pdBgCIAEoDVIFbGltaXQ='); @$core.Deprecated('Use blockLocatorMessageDescriptor instead') const BlockLocatorMessage$json = const { '1': 'BlockLocatorMessage', '2': const [ - const { - '1': 'hashes', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'hashes' - }, + const {'1': 'hashes', '3': 1, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'hashes'}, ], }; /// Descriptor for `BlockLocatorMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockLocatorMessageDescriptor = $convert.base64Decode( - 'ChNCbG9ja0xvY2F0b3JNZXNzYWdlEicKBmhhc2hlcxgBIAMoCzIPLnByb3Rvd2lyZS5IYXNoUgZoYXNoZXM='); +final $typed_data.Uint8List blockLocatorMessageDescriptor = $convert.base64Decode('ChNCbG9ja0xvY2F0b3JNZXNzYWdlEicKBmhhc2hlcxgBIAMoCzIPLnByb3Rvd2lyZS5IYXNoUgZoYXNoZXM='); @$core.Deprecated('Use requestHeadersMessageDescriptor instead') const RequestHeadersMessage$json = const { '1': 'RequestHeadersMessage', '2': const [ - const { - '1': 'lowHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'lowHash' - }, - const { - '1': 'highHash', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'highHash' - }, + const {'1': 'lowHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'lowHash'}, + const {'1': 'highHash', '3': 2, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'highHash'}, ], }; /// Descriptor for `RequestHeadersMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestHeadersMessageDescriptor = $convert.base64Decode( - 'ChVSZXF1ZXN0SGVhZGVyc01lc3NhZ2USKQoHbG93SGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUgdsb3dIYXNoEisKCGhpZ2hIYXNoGAIgASgLMg8ucHJvdG93aXJlLkhhc2hSCGhpZ2hIYXNo'); +final $typed_data.Uint8List requestHeadersMessageDescriptor = $convert.base64Decode('ChVSZXF1ZXN0SGVhZGVyc01lc3NhZ2USKQoHbG93SGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUgdsb3dIYXNoEisKCGhpZ2hIYXNoGAIgASgLMg8ucHJvdG93aXJlLkhhc2hSCGhpZ2hIYXNo'); @$core.Deprecated('Use requestNextHeadersMessageDescriptor instead') const RequestNextHeadersMessage$json = const { '1': 'RequestNextHeadersMessage', }; /// Descriptor for `RequestNextHeadersMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestNextHeadersMessageDescriptor = - $convert.base64Decode('ChlSZXF1ZXN0TmV4dEhlYWRlcnNNZXNzYWdl'); +final $typed_data.Uint8List requestNextHeadersMessageDescriptor = $convert.base64Decode('ChlSZXF1ZXN0TmV4dEhlYWRlcnNNZXNzYWdl'); @$core.Deprecated('Use doneHeadersMessageDescriptor instead') const DoneHeadersMessage$json = const { '1': 'DoneHeadersMessage', }; /// Descriptor for `DoneHeadersMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List doneHeadersMessageDescriptor = - $convert.base64Decode('ChJEb25lSGVhZGVyc01lc3NhZ2U='); +final $typed_data.Uint8List doneHeadersMessageDescriptor = $convert.base64Decode('ChJEb25lSGVhZGVyc01lc3NhZ2U='); @$core.Deprecated('Use requestRelayBlocksMessageDescriptor instead') const RequestRelayBlocksMessage$json = const { '1': 'RequestRelayBlocksMessage', '2': const [ - const { - '1': 'hashes', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'hashes' - }, + const {'1': 'hashes', '3': 1, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'hashes'}, ], }; /// Descriptor for `RequestRelayBlocksMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestRelayBlocksMessageDescriptor = - $convert.base64Decode( - 'ChlSZXF1ZXN0UmVsYXlCbG9ja3NNZXNzYWdlEicKBmhhc2hlcxgBIAMoCzIPLnByb3Rvd2lyZS5IYXNoUgZoYXNoZXM='); +final $typed_data.Uint8List requestRelayBlocksMessageDescriptor = $convert.base64Decode('ChlSZXF1ZXN0UmVsYXlCbG9ja3NNZXNzYWdlEicKBmhhc2hlcxgBIAMoCzIPLnByb3Rvd2lyZS5IYXNoUgZoYXNoZXM='); @$core.Deprecated('Use requestTransactionsMessageDescriptor instead') const RequestTransactionsMessage$json = const { '1': 'RequestTransactionsMessage', '2': const [ - const { - '1': 'ids', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.TransactionId', - '10': 'ids' - }, + const {'1': 'ids', '3': 1, '4': 3, '5': 11, '6': '.protowire.TransactionId', '10': 'ids'}, ], }; /// Descriptor for `RequestTransactionsMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestTransactionsMessageDescriptor = - $convert.base64Decode( - 'ChpSZXF1ZXN0VHJhbnNhY3Rpb25zTWVzc2FnZRIqCgNpZHMYASADKAsyGC5wcm90b3dpcmUuVHJhbnNhY3Rpb25JZFIDaWRz'); +final $typed_data.Uint8List requestTransactionsMessageDescriptor = $convert.base64Decode('ChpSZXF1ZXN0VHJhbnNhY3Rpb25zTWVzc2FnZRIqCgNpZHMYASADKAsyGC5wcm90b3dpcmUuVHJhbnNhY3Rpb25JZFIDaWRz'); @$core.Deprecated('Use transactionNotFoundMessageDescriptor instead') const TransactionNotFoundMessage$json = const { '1': 'TransactionNotFoundMessage', '2': const [ - const { - '1': 'id', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.TransactionId', - '10': 'id' - }, + const {'1': 'id', '3': 1, '4': 1, '5': 11, '6': '.protowire.TransactionId', '10': 'id'}, ], }; /// Descriptor for `TransactionNotFoundMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transactionNotFoundMessageDescriptor = - $convert.base64Decode( - 'ChpUcmFuc2FjdGlvbk5vdEZvdW5kTWVzc2FnZRIoCgJpZBgBIAEoCzIYLnByb3Rvd2lyZS5UcmFuc2FjdGlvbklkUgJpZA=='); +final $typed_data.Uint8List transactionNotFoundMessageDescriptor = $convert.base64Decode('ChpUcmFuc2FjdGlvbk5vdEZvdW5kTWVzc2FnZRIoCgJpZBgBIAEoCzIYLnByb3Rvd2lyZS5UcmFuc2FjdGlvbklkUgJpZA=='); @$core.Deprecated('Use invRelayBlockMessageDescriptor instead') const InvRelayBlockMessage$json = const { '1': 'InvRelayBlockMessage', '2': const [ - const { - '1': 'hash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'hash' - }, + const {'1': 'hash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'hash'}, ], }; /// Descriptor for `InvRelayBlockMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List invRelayBlockMessageDescriptor = $convert.base64Decode( - 'ChRJbnZSZWxheUJsb2NrTWVzc2FnZRIjCgRoYXNoGAEgASgLMg8ucHJvdG93aXJlLkhhc2hSBGhhc2g='); +final $typed_data.Uint8List invRelayBlockMessageDescriptor = $convert.base64Decode('ChRJbnZSZWxheUJsb2NrTWVzc2FnZRIjCgRoYXNoGAEgASgLMg8ucHJvdG93aXJlLkhhc2hSBGhhc2g='); @$core.Deprecated('Use invTransactionsMessageDescriptor instead') const InvTransactionsMessage$json = const { '1': 'InvTransactionsMessage', '2': const [ - const { - '1': 'ids', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.TransactionId', - '10': 'ids' - }, + const {'1': 'ids', '3': 1, '4': 3, '5': 11, '6': '.protowire.TransactionId', '10': 'ids'}, ], }; /// Descriptor for `InvTransactionsMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List invTransactionsMessageDescriptor = - $convert.base64Decode( - 'ChZJbnZUcmFuc2FjdGlvbnNNZXNzYWdlEioKA2lkcxgBIAMoCzIYLnByb3Rvd2lyZS5UcmFuc2FjdGlvbklkUgNpZHM='); +final $typed_data.Uint8List invTransactionsMessageDescriptor = $convert.base64Decode('ChZJbnZUcmFuc2FjdGlvbnNNZXNzYWdlEioKA2lkcxgBIAMoCzIYLnByb3Rvd2lyZS5UcmFuc2FjdGlvbklkUgNpZHM='); @$core.Deprecated('Use pingMessageDescriptor instead') const PingMessage$json = const { '1': 'PingMessage', @@ -498,8 +280,7 @@ const PingMessage$json = const { }; /// Descriptor for `PingMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pingMessageDescriptor = - $convert.base64Decode('CgtQaW5nTWVzc2FnZRIUCgVub25jZRgBIAEoBFIFbm9uY2U='); +final $typed_data.Uint8List pingMessageDescriptor = $convert.base64Decode('CgtQaW5nTWVzc2FnZRIUCgVub25jZRgBIAEoBFIFbm9uY2U='); @$core.Deprecated('Use pongMessageDescriptor instead') const PongMessage$json = const { '1': 'PongMessage', @@ -509,61 +290,32 @@ const PongMessage$json = const { }; /// Descriptor for `PongMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pongMessageDescriptor = - $convert.base64Decode('CgtQb25nTWVzc2FnZRIUCgVub25jZRgBIAEoBFIFbm9uY2U='); +final $typed_data.Uint8List pongMessageDescriptor = $convert.base64Decode('CgtQb25nTWVzc2FnZRIUCgVub25jZRgBIAEoBFIFbm9uY2U='); @$core.Deprecated('Use verackMessageDescriptor instead') const VerackMessage$json = const { '1': 'VerackMessage', }; /// Descriptor for `VerackMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List verackMessageDescriptor = - $convert.base64Decode('Cg1WZXJhY2tNZXNzYWdl'); +final $typed_data.Uint8List verackMessageDescriptor = $convert.base64Decode('Cg1WZXJhY2tNZXNzYWdl'); @$core.Deprecated('Use versionMessageDescriptor instead') const VersionMessage$json = const { '1': 'VersionMessage', '2': const [ - const { - '1': 'protocolVersion', - '3': 1, - '4': 1, - '5': 13, - '10': 'protocolVersion' - }, + const {'1': 'protocolVersion', '3': 1, '4': 1, '5': 13, '10': 'protocolVersion'}, const {'1': 'services', '3': 2, '4': 1, '5': 4, '10': 'services'}, const {'1': 'timestamp', '3': 3, '4': 1, '5': 3, '10': 'timestamp'}, - const { - '1': 'address', - '3': 4, - '4': 1, - '5': 11, - '6': '.protowire.NetAddress', - '10': 'address' - }, + const {'1': 'address', '3': 4, '4': 1, '5': 11, '6': '.protowire.NetAddress', '10': 'address'}, const {'1': 'id', '3': 5, '4': 1, '5': 12, '10': 'id'}, const {'1': 'userAgent', '3': 6, '4': 1, '5': 9, '10': 'userAgent'}, - const { - '1': 'disableRelayTx', - '3': 8, - '4': 1, - '5': 8, - '10': 'disableRelayTx' - }, - const { - '1': 'subnetworkId', - '3': 9, - '4': 1, - '5': 11, - '6': '.protowire.SubnetworkId', - '10': 'subnetworkId' - }, + const {'1': 'disableRelayTx', '3': 8, '4': 1, '5': 8, '10': 'disableRelayTx'}, + const {'1': 'subnetworkId', '3': 9, '4': 1, '5': 11, '6': '.protowire.SubnetworkId', '10': 'subnetworkId'}, const {'1': 'network', '3': 10, '4': 1, '5': 9, '10': 'network'}, ], }; /// Descriptor for `VersionMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List versionMessageDescriptor = $convert.base64Decode( - 'Cg5WZXJzaW9uTWVzc2FnZRIoCg9wcm90b2NvbFZlcnNpb24YASABKA1SD3Byb3RvY29sVmVyc2lvbhIaCghzZXJ2aWNlcxgCIAEoBFIIc2VydmljZXMSHAoJdGltZXN0YW1wGAMgASgDUgl0aW1lc3RhbXASLwoHYWRkcmVzcxgEIAEoCzIVLnByb3Rvd2lyZS5OZXRBZGRyZXNzUgdhZGRyZXNzEg4KAmlkGAUgASgMUgJpZBIcCgl1c2VyQWdlbnQYBiABKAlSCXVzZXJBZ2VudBImCg5kaXNhYmxlUmVsYXlUeBgIIAEoCFIOZGlzYWJsZVJlbGF5VHgSOwoMc3VibmV0d29ya0lkGAkgASgLMhcucHJvdG93aXJlLlN1Ym5ldHdvcmtJZFIMc3VibmV0d29ya0lkEhgKB25ldHdvcmsYCiABKAlSB25ldHdvcms='); +final $typed_data.Uint8List versionMessageDescriptor = $convert.base64Decode('Cg5WZXJzaW9uTWVzc2FnZRIoCg9wcm90b2NvbFZlcnNpb24YASABKA1SD3Byb3RvY29sVmVyc2lvbhIaCghzZXJ2aWNlcxgCIAEoBFIIc2VydmljZXMSHAoJdGltZXN0YW1wGAMgASgDUgl0aW1lc3RhbXASLwoHYWRkcmVzcxgEIAEoCzIVLnByb3Rvd2lyZS5OZXRBZGRyZXNzUgdhZGRyZXNzEg4KAmlkGAUgASgMUgJpZBIcCgl1c2VyQWdlbnQYBiABKAlSCXVzZXJBZ2VudBImCg5kaXNhYmxlUmVsYXlUeBgIIAEoCFIOZGlzYWJsZVJlbGF5VHgSOwoMc3VibmV0d29ya0lkGAkgASgLMhcucHJvdG93aXJlLlN1Ym5ldHdvcmtJZFIMc3VibmV0d29ya0lkEhgKB25ldHdvcmsYCiABKAlSB25ldHdvcms='); @$core.Deprecated('Use rejectMessageDescriptor instead') const RejectMessage$json = const { '1': 'RejectMessage', @@ -573,623 +325,309 @@ const RejectMessage$json = const { }; /// Descriptor for `RejectMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rejectMessageDescriptor = $convert - .base64Decode('Cg1SZWplY3RNZXNzYWdlEhYKBnJlYXNvbhgBIAEoCVIGcmVhc29u'); +final $typed_data.Uint8List rejectMessageDescriptor = $convert.base64Decode('Cg1SZWplY3RNZXNzYWdlEhYKBnJlYXNvbhgBIAEoCVIGcmVhc29u'); @$core.Deprecated('Use requestPruningPointUTXOSetMessageDescriptor instead') const RequestPruningPointUTXOSetMessage$json = const { '1': 'RequestPruningPointUTXOSetMessage', '2': const [ - const { - '1': 'pruningPointHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'pruningPointHash' - }, + const {'1': 'pruningPointHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'pruningPointHash'}, ], }; /// Descriptor for `RequestPruningPointUTXOSetMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestPruningPointUTXOSetMessageDescriptor = - $convert.base64Decode( - 'CiFSZXF1ZXN0UHJ1bmluZ1BvaW50VVRYT1NldE1lc3NhZ2USOwoQcHJ1bmluZ1BvaW50SGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUhBwcnVuaW5nUG9pbnRIYXNo'); +final $typed_data.Uint8List requestPruningPointUTXOSetMessageDescriptor = $convert.base64Decode('CiFSZXF1ZXN0UHJ1bmluZ1BvaW50VVRYT1NldE1lc3NhZ2USOwoQcHJ1bmluZ1BvaW50SGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUhBwcnVuaW5nUG9pbnRIYXNo'); @$core.Deprecated('Use pruningPointUtxoSetChunkMessageDescriptor instead') const PruningPointUtxoSetChunkMessage$json = const { '1': 'PruningPointUtxoSetChunkMessage', '2': const [ - const { - '1': 'outpointAndUtxoEntryPairs', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.OutpointAndUtxoEntryPair', - '10': 'outpointAndUtxoEntryPairs' - }, + const {'1': 'outpointAndUtxoEntryPairs', '3': 1, '4': 3, '5': 11, '6': '.protowire.OutpointAndUtxoEntryPair', '10': 'outpointAndUtxoEntryPairs'}, ], }; /// Descriptor for `PruningPointUtxoSetChunkMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pruningPointUtxoSetChunkMessageDescriptor = - $convert.base64Decode( - 'Ch9QcnVuaW5nUG9pbnRVdHhvU2V0Q2h1bmtNZXNzYWdlEmEKGW91dHBvaW50QW5kVXR4b0VudHJ5UGFpcnMYASADKAsyIy5wcm90b3dpcmUuT3V0cG9pbnRBbmRVdHhvRW50cnlQYWlyUhlvdXRwb2ludEFuZFV0eG9FbnRyeVBhaXJz'); +final $typed_data.Uint8List pruningPointUtxoSetChunkMessageDescriptor = $convert.base64Decode('Ch9QcnVuaW5nUG9pbnRVdHhvU2V0Q2h1bmtNZXNzYWdlEmEKGW91dHBvaW50QW5kVXR4b0VudHJ5UGFpcnMYASADKAsyIy5wcm90b3dpcmUuT3V0cG9pbnRBbmRVdHhvRW50cnlQYWlyUhlvdXRwb2ludEFuZFV0eG9FbnRyeVBhaXJz'); @$core.Deprecated('Use outpointAndUtxoEntryPairDescriptor instead') const OutpointAndUtxoEntryPair$json = const { '1': 'OutpointAndUtxoEntryPair', '2': const [ - const { - '1': 'outpoint', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Outpoint', - '10': 'outpoint' - }, - const { - '1': 'utxoEntry', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.UtxoEntry', - '10': 'utxoEntry' - }, + const {'1': 'outpoint', '3': 1, '4': 1, '5': 11, '6': '.protowire.Outpoint', '10': 'outpoint'}, + const {'1': 'utxoEntry', '3': 2, '4': 1, '5': 11, '6': '.protowire.UtxoEntry', '10': 'utxoEntry'}, ], }; /// Descriptor for `OutpointAndUtxoEntryPair`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List outpointAndUtxoEntryPairDescriptor = - $convert.base64Decode( - 'ChhPdXRwb2ludEFuZFV0eG9FbnRyeVBhaXISLwoIb3V0cG9pbnQYASABKAsyEy5wcm90b3dpcmUuT3V0cG9pbnRSCG91dHBvaW50EjIKCXV0eG9FbnRyeRgCIAEoCzIULnByb3Rvd2lyZS5VdHhvRW50cnlSCXV0eG9FbnRyeQ=='); +final $typed_data.Uint8List outpointAndUtxoEntryPairDescriptor = $convert.base64Decode('ChhPdXRwb2ludEFuZFV0eG9FbnRyeVBhaXISLwoIb3V0cG9pbnQYASABKAsyEy5wcm90b3dpcmUuT3V0cG9pbnRSCG91dHBvaW50EjIKCXV0eG9FbnRyeRgCIAEoCzIULnByb3Rvd2lyZS5VdHhvRW50cnlSCXV0eG9FbnRyeQ=='); @$core.Deprecated('Use utxoEntryDescriptor instead') const UtxoEntry$json = const { '1': 'UtxoEntry', '2': const [ const {'1': 'amount', '3': 1, '4': 1, '5': 4, '10': 'amount'}, - const { - '1': 'scriptPublicKey', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.ScriptPublicKey', - '10': 'scriptPublicKey' - }, + const {'1': 'scriptPublicKey', '3': 2, '4': 1, '5': 11, '6': '.protowire.ScriptPublicKey', '10': 'scriptPublicKey'}, const {'1': 'blockDaaScore', '3': 3, '4': 1, '5': 4, '10': 'blockDaaScore'}, const {'1': 'isCoinbase', '3': 4, '4': 1, '5': 8, '10': 'isCoinbase'}, ], }; /// Descriptor for `UtxoEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List utxoEntryDescriptor = $convert.base64Decode( - 'CglVdHhvRW50cnkSFgoGYW1vdW50GAEgASgEUgZhbW91bnQSRAoPc2NyaXB0UHVibGljS2V5GAIgASgLMhoucHJvdG93aXJlLlNjcmlwdFB1YmxpY0tleVIPc2NyaXB0UHVibGljS2V5EiQKDWJsb2NrRGFhU2NvcmUYAyABKARSDWJsb2NrRGFhU2NvcmUSHgoKaXNDb2luYmFzZRgEIAEoCFIKaXNDb2luYmFzZQ=='); -@$core.Deprecated( - 'Use requestNextPruningPointUtxoSetChunkMessageDescriptor instead') +final $typed_data.Uint8List utxoEntryDescriptor = $convert.base64Decode('CglVdHhvRW50cnkSFgoGYW1vdW50GAEgASgEUgZhbW91bnQSRAoPc2NyaXB0UHVibGljS2V5GAIgASgLMhoucHJvdG93aXJlLlNjcmlwdFB1YmxpY0tleVIPc2NyaXB0UHVibGljS2V5EiQKDWJsb2NrRGFhU2NvcmUYAyABKARSDWJsb2NrRGFhU2NvcmUSHgoKaXNDb2luYmFzZRgEIAEoCFIKaXNDb2luYmFzZQ=='); +@$core.Deprecated('Use requestNextPruningPointUtxoSetChunkMessageDescriptor instead') const RequestNextPruningPointUtxoSetChunkMessage$json = const { '1': 'RequestNextPruningPointUtxoSetChunkMessage', }; /// Descriptor for `RequestNextPruningPointUtxoSetChunkMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - requestNextPruningPointUtxoSetChunkMessageDescriptor = - $convert.base64Decode( - 'CipSZXF1ZXN0TmV4dFBydW5pbmdQb2ludFV0eG9TZXRDaHVua01lc3NhZ2U='); +final $typed_data.Uint8List requestNextPruningPointUtxoSetChunkMessageDescriptor = $convert.base64Decode('CipSZXF1ZXN0TmV4dFBydW5pbmdQb2ludFV0eG9TZXRDaHVua01lc3NhZ2U='); @$core.Deprecated('Use donePruningPointUtxoSetChunksMessageDescriptor instead') const DonePruningPointUtxoSetChunksMessage$json = const { '1': 'DonePruningPointUtxoSetChunksMessage', }; /// Descriptor for `DonePruningPointUtxoSetChunksMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List donePruningPointUtxoSetChunksMessageDescriptor = - $convert - .base64Decode('CiREb25lUHJ1bmluZ1BvaW50VXR4b1NldENodW5rc01lc3NhZ2U='); +final $typed_data.Uint8List donePruningPointUtxoSetChunksMessageDescriptor = $convert.base64Decode('CiREb25lUHJ1bmluZ1BvaW50VXR4b1NldENodW5rc01lc3NhZ2U='); @$core.Deprecated('Use requestIBDBlocksMessageDescriptor instead') const RequestIBDBlocksMessage$json = const { '1': 'RequestIBDBlocksMessage', '2': const [ - const { - '1': 'hashes', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'hashes' - }, + const {'1': 'hashes', '3': 1, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'hashes'}, ], }; /// Descriptor for `RequestIBDBlocksMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestIBDBlocksMessageDescriptor = - $convert.base64Decode( - 'ChdSZXF1ZXN0SUJEQmxvY2tzTWVzc2FnZRInCgZoYXNoZXMYASADKAsyDy5wcm90b3dpcmUuSGFzaFIGaGFzaGVz'); +final $typed_data.Uint8List requestIBDBlocksMessageDescriptor = $convert.base64Decode('ChdSZXF1ZXN0SUJEQmxvY2tzTWVzc2FnZRInCgZoYXNoZXMYASADKAsyDy5wcm90b3dpcmUuSGFzaFIGaGFzaGVz'); @$core.Deprecated('Use unexpectedPruningPointMessageDescriptor instead') const UnexpectedPruningPointMessage$json = const { '1': 'UnexpectedPruningPointMessage', }; /// Descriptor for `UnexpectedPruningPointMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unexpectedPruningPointMessageDescriptor = - $convert.base64Decode('Ch1VbmV4cGVjdGVkUHJ1bmluZ1BvaW50TWVzc2FnZQ=='); +final $typed_data.Uint8List unexpectedPruningPointMessageDescriptor = $convert.base64Decode('Ch1VbmV4cGVjdGVkUHJ1bmluZ1BvaW50TWVzc2FnZQ=='); @$core.Deprecated('Use ibdBlockLocatorMessageDescriptor instead') const IbdBlockLocatorMessage$json = const { '1': 'IbdBlockLocatorMessage', '2': const [ - const { - '1': 'targetHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'targetHash' - }, - const { - '1': 'blockLocatorHashes', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'blockLocatorHashes' - }, + const {'1': 'targetHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'targetHash'}, + const {'1': 'blockLocatorHashes', '3': 2, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'blockLocatorHashes'}, ], }; /// Descriptor for `IbdBlockLocatorMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List ibdBlockLocatorMessageDescriptor = - $convert.base64Decode( - 'ChZJYmRCbG9ja0xvY2F0b3JNZXNzYWdlEi8KCnRhcmdldEhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIKdGFyZ2V0SGFzaBI/ChJibG9ja0xvY2F0b3JIYXNoZXMYAiADKAsyDy5wcm90b3dpcmUuSGFzaFISYmxvY2tMb2NhdG9ySGFzaGVz'); +final $typed_data.Uint8List ibdBlockLocatorMessageDescriptor = $convert.base64Decode('ChZJYmRCbG9ja0xvY2F0b3JNZXNzYWdlEi8KCnRhcmdldEhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIKdGFyZ2V0SGFzaBI/ChJibG9ja0xvY2F0b3JIYXNoZXMYAiADKAsyDy5wcm90b3dpcmUuSGFzaFISYmxvY2tMb2NhdG9ySGFzaGVz'); @$core.Deprecated('Use requestIBDChainBlockLocatorMessageDescriptor instead') const RequestIBDChainBlockLocatorMessage$json = const { '1': 'RequestIBDChainBlockLocatorMessage', '2': const [ - const { - '1': 'lowHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'lowHash' - }, - const { - '1': 'highHash', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'highHash' - }, + const {'1': 'lowHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'lowHash'}, + const {'1': 'highHash', '3': 2, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'highHash'}, ], }; /// Descriptor for `RequestIBDChainBlockLocatorMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestIBDChainBlockLocatorMessageDescriptor = - $convert.base64Decode( - 'CiJSZXF1ZXN0SUJEQ2hhaW5CbG9ja0xvY2F0b3JNZXNzYWdlEikKB2xvd0hhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIHbG93SGFzaBIrCghoaWdoSGFzaBgCIAEoCzIPLnByb3Rvd2lyZS5IYXNoUghoaWdoSGFzaA=='); +final $typed_data.Uint8List requestIBDChainBlockLocatorMessageDescriptor = $convert.base64Decode('CiJSZXF1ZXN0SUJEQ2hhaW5CbG9ja0xvY2F0b3JNZXNzYWdlEikKB2xvd0hhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIHbG93SGFzaBIrCghoaWdoSGFzaBgCIAEoCzIPLnByb3Rvd2lyZS5IYXNoUghoaWdoSGFzaA=='); @$core.Deprecated('Use ibdChainBlockLocatorMessageDescriptor instead') const IbdChainBlockLocatorMessage$json = const { '1': 'IbdChainBlockLocatorMessage', '2': const [ - const { - '1': 'blockLocatorHashes', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'blockLocatorHashes' - }, + const {'1': 'blockLocatorHashes', '3': 1, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'blockLocatorHashes'}, ], }; /// Descriptor for `IbdChainBlockLocatorMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List ibdChainBlockLocatorMessageDescriptor = - $convert.base64Decode( - 'ChtJYmRDaGFpbkJsb2NrTG9jYXRvck1lc3NhZ2USPwoSYmxvY2tMb2NhdG9ySGFzaGVzGAEgAygLMg8ucHJvdG93aXJlLkhhc2hSEmJsb2NrTG9jYXRvckhhc2hlcw=='); +final $typed_data.Uint8List ibdChainBlockLocatorMessageDescriptor = $convert.base64Decode('ChtJYmRDaGFpbkJsb2NrTG9jYXRvck1lc3NhZ2USPwoSYmxvY2tMb2NhdG9ySGFzaGVzGAEgAygLMg8ucHJvdG93aXJlLkhhc2hSEmJsb2NrTG9jYXRvckhhc2hlcw=='); @$core.Deprecated('Use requestAnticoneMessageDescriptor instead') const RequestAnticoneMessage$json = const { '1': 'RequestAnticoneMessage', '2': const [ - const { - '1': 'blockHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'blockHash' - }, - const { - '1': 'contextHash', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'contextHash' - }, + const {'1': 'blockHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'blockHash'}, + const {'1': 'contextHash', '3': 2, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'contextHash'}, ], }; /// Descriptor for `RequestAnticoneMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestAnticoneMessageDescriptor = - $convert.base64Decode( - 'ChZSZXF1ZXN0QW50aWNvbmVNZXNzYWdlEi0KCWJsb2NrSGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUglibG9ja0hhc2gSMQoLY29udGV4dEhhc2gYAiABKAsyDy5wcm90b3dpcmUuSGFzaFILY29udGV4dEhhc2g='); +final $typed_data.Uint8List requestAnticoneMessageDescriptor = $convert.base64Decode('ChZSZXF1ZXN0QW50aWNvbmVNZXNzYWdlEi0KCWJsb2NrSGFzaBgBIAEoCzIPLnByb3Rvd2lyZS5IYXNoUglibG9ja0hhc2gSMQoLY29udGV4dEhhc2gYAiABKAsyDy5wcm90b3dpcmUuSGFzaFILY29udGV4dEhhc2g='); @$core.Deprecated('Use ibdBlockLocatorHighestHashMessageDescriptor instead') const IbdBlockLocatorHighestHashMessage$json = const { '1': 'IbdBlockLocatorHighestHashMessage', '2': const [ - const { - '1': 'highestHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'highestHash' - }, + const {'1': 'highestHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'highestHash'}, ], }; /// Descriptor for `IbdBlockLocatorHighestHashMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List ibdBlockLocatorHighestHashMessageDescriptor = - $convert.base64Decode( - 'CiFJYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE1lc3NhZ2USMQoLaGlnaGVzdEhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFILaGlnaGVzdEhhc2g='); -@$core.Deprecated( - 'Use ibdBlockLocatorHighestHashNotFoundMessageDescriptor instead') +final $typed_data.Uint8List ibdBlockLocatorHighestHashMessageDescriptor = $convert.base64Decode('CiFJYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE1lc3NhZ2USMQoLaGlnaGVzdEhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFILaGlnaGVzdEhhc2g='); +@$core.Deprecated('Use ibdBlockLocatorHighestHashNotFoundMessageDescriptor instead') const IbdBlockLocatorHighestHashNotFoundMessage$json = const { '1': 'IbdBlockLocatorHighestHashNotFoundMessage', }; /// Descriptor for `IbdBlockLocatorHighestHashNotFoundMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - ibdBlockLocatorHighestHashNotFoundMessageDescriptor = $convert.base64Decode( - 'CilJYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE5vdEZvdW5kTWVzc2FnZQ=='); +final $typed_data.Uint8List ibdBlockLocatorHighestHashNotFoundMessageDescriptor = $convert.base64Decode('CilJYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE5vdEZvdW5kTWVzc2FnZQ=='); @$core.Deprecated('Use blockHeadersMessageDescriptor instead') const BlockHeadersMessage$json = const { '1': 'BlockHeadersMessage', '2': const [ - const { - '1': 'blockHeaders', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.BlockHeader', - '10': 'blockHeaders' - }, + const {'1': 'blockHeaders', '3': 1, '4': 3, '5': 11, '6': '.protowire.BlockHeader', '10': 'blockHeaders'}, ], }; /// Descriptor for `BlockHeadersMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockHeadersMessageDescriptor = $convert.base64Decode( - 'ChNCbG9ja0hlYWRlcnNNZXNzYWdlEjoKDGJsb2NrSGVhZGVycxgBIAMoCzIWLnByb3Rvd2lyZS5CbG9ja0hlYWRlclIMYmxvY2tIZWFkZXJz'); -@$core.Deprecated( - 'Use requestPruningPointAndItsAnticoneMessageDescriptor instead') +final $typed_data.Uint8List blockHeadersMessageDescriptor = $convert.base64Decode('ChNCbG9ja0hlYWRlcnNNZXNzYWdlEjoKDGJsb2NrSGVhZGVycxgBIAMoCzIWLnByb3Rvd2lyZS5CbG9ja0hlYWRlclIMYmxvY2tIZWFkZXJz'); +@$core.Deprecated('Use requestPruningPointAndItsAnticoneMessageDescriptor instead') const RequestPruningPointAndItsAnticoneMessage$json = const { '1': 'RequestPruningPointAndItsAnticoneMessage', }; /// Descriptor for `RequestPruningPointAndItsAnticoneMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestPruningPointAndItsAnticoneMessageDescriptor = - $convert.base64Decode( - 'CihSZXF1ZXN0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmVNZXNzYWdl'); -@$core.Deprecated( - 'Use requestNextPruningPointAndItsAnticoneBlocksMessageDescriptor instead') +final $typed_data.Uint8List requestPruningPointAndItsAnticoneMessageDescriptor = $convert.base64Decode('CihSZXF1ZXN0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmVNZXNzYWdl'); +@$core.Deprecated('Use requestNextPruningPointAndItsAnticoneBlocksMessageDescriptor instead') const RequestNextPruningPointAndItsAnticoneBlocksMessage$json = const { '1': 'RequestNextPruningPointAndItsAnticoneBlocksMessage', }; /// Descriptor for `RequestNextPruningPointAndItsAnticoneBlocksMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - requestNextPruningPointAndItsAnticoneBlocksMessageDescriptor = - $convert.base64Decode( - 'CjJSZXF1ZXN0TmV4dFBydW5pbmdQb2ludEFuZEl0c0FudGljb25lQmxvY2tzTWVzc2FnZQ=='); +final $typed_data.Uint8List requestNextPruningPointAndItsAnticoneBlocksMessageDescriptor = $convert.base64Decode('CjJSZXF1ZXN0TmV4dFBydW5pbmdQb2ludEFuZEl0c0FudGljb25lQmxvY2tzTWVzc2FnZQ=='); @$core.Deprecated('Use blockWithTrustedDataMessageDescriptor instead') const BlockWithTrustedDataMessage$json = const { '1': 'BlockWithTrustedDataMessage', '2': const [ - const { - '1': 'block', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.BlockMessage', - '10': 'block' - }, + const {'1': 'block', '3': 1, '4': 1, '5': 11, '6': '.protowire.BlockMessage', '10': 'block'}, const {'1': 'daaScore', '3': 2, '4': 1, '5': 4, '10': 'daaScore'}, - const { - '1': 'daaWindow', - '3': 3, - '4': 3, - '5': 11, - '6': '.protowire.DaaBlock', - '10': 'daaWindow' - }, - const { - '1': 'ghostdagData', - '3': 4, - '4': 3, - '5': 11, - '6': '.protowire.BlockGhostdagDataHashPair', - '10': 'ghostdagData' - }, + const {'1': 'daaWindow', '3': 3, '4': 3, '5': 11, '6': '.protowire.DaaBlock', '10': 'daaWindow'}, + const {'1': 'ghostdagData', '3': 4, '4': 3, '5': 11, '6': '.protowire.BlockGhostdagDataHashPair', '10': 'ghostdagData'}, ], }; /// Descriptor for `BlockWithTrustedDataMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockWithTrustedDataMessageDescriptor = - $convert.base64Decode( - 'ChtCbG9ja1dpdGhUcnVzdGVkRGF0YU1lc3NhZ2USLQoFYmxvY2sYASABKAsyFy5wcm90b3dpcmUuQmxvY2tNZXNzYWdlUgVibG9jaxIaCghkYWFTY29yZRgCIAEoBFIIZGFhU2NvcmUSMQoJZGFhV2luZG93GAMgAygLMhMucHJvdG93aXJlLkRhYUJsb2NrUglkYWFXaW5kb3cSSAoMZ2hvc3RkYWdEYXRhGAQgAygLMiQucHJvdG93aXJlLkJsb2NrR2hvc3RkYWdEYXRhSGFzaFBhaXJSDGdob3N0ZGFnRGF0YQ=='); +final $typed_data.Uint8List blockWithTrustedDataMessageDescriptor = $convert.base64Decode('ChtCbG9ja1dpdGhUcnVzdGVkRGF0YU1lc3NhZ2USLQoFYmxvY2sYASABKAsyFy5wcm90b3dpcmUuQmxvY2tNZXNzYWdlUgVibG9jaxIaCghkYWFTY29yZRgCIAEoBFIIZGFhU2NvcmUSMQoJZGFhV2luZG93GAMgAygLMhMucHJvdG93aXJlLkRhYUJsb2NrUglkYWFXaW5kb3cSSAoMZ2hvc3RkYWdEYXRhGAQgAygLMiQucHJvdG93aXJlLkJsb2NrR2hvc3RkYWdEYXRhSGFzaFBhaXJSDGdob3N0ZGFnRGF0YQ=='); @$core.Deprecated('Use daaBlockDescriptor instead') const DaaBlock$json = const { '1': 'DaaBlock', '2': const [ - const { - '1': 'block', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.BlockMessage', - '10': 'block' - }, - const { - '1': 'ghostdagData', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.GhostdagData', - '10': 'ghostdagData' - }, + const {'1': 'block', '3': 3, '4': 1, '5': 11, '6': '.protowire.BlockMessage', '10': 'block'}, + const {'1': 'ghostdagData', '3': 2, '4': 1, '5': 11, '6': '.protowire.GhostdagData', '10': 'ghostdagData'}, ], }; /// Descriptor for `DaaBlock`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List daaBlockDescriptor = $convert.base64Decode( - 'CghEYWFCbG9jaxItCgVibG9jaxgDIAEoCzIXLnByb3Rvd2lyZS5CbG9ja01lc3NhZ2VSBWJsb2NrEjsKDGdob3N0ZGFnRGF0YRgCIAEoCzIXLnByb3Rvd2lyZS5HaG9zdGRhZ0RhdGFSDGdob3N0ZGFnRGF0YQ=='); +final $typed_data.Uint8List daaBlockDescriptor = $convert.base64Decode('CghEYWFCbG9jaxItCgVibG9jaxgDIAEoCzIXLnByb3Rvd2lyZS5CbG9ja01lc3NhZ2VSBWJsb2NrEjsKDGdob3N0ZGFnRGF0YRgCIAEoCzIXLnByb3Rvd2lyZS5HaG9zdGRhZ0RhdGFSDGdob3N0ZGFnRGF0YQ=='); @$core.Deprecated('Use daaBlockV4Descriptor instead') const DaaBlockV4$json = const { '1': 'DaaBlockV4', '2': const [ - const { - '1': 'header', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.BlockHeader', - '10': 'header' - }, - const { - '1': 'ghostdagData', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.GhostdagData', - '10': 'ghostdagData' - }, + const {'1': 'header', '3': 1, '4': 1, '5': 11, '6': '.protowire.BlockHeader', '10': 'header'}, + const {'1': 'ghostdagData', '3': 2, '4': 1, '5': 11, '6': '.protowire.GhostdagData', '10': 'ghostdagData'}, ], }; /// Descriptor for `DaaBlockV4`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List daaBlockV4Descriptor = $convert.base64Decode( - 'CgpEYWFCbG9ja1Y0Ei4KBmhlYWRlchgBIAEoCzIWLnByb3Rvd2lyZS5CbG9ja0hlYWRlclIGaGVhZGVyEjsKDGdob3N0ZGFnRGF0YRgCIAEoCzIXLnByb3Rvd2lyZS5HaG9zdGRhZ0RhdGFSDGdob3N0ZGFnRGF0YQ=='); +final $typed_data.Uint8List daaBlockV4Descriptor = $convert.base64Decode('CgpEYWFCbG9ja1Y0Ei4KBmhlYWRlchgBIAEoCzIWLnByb3Rvd2lyZS5CbG9ja0hlYWRlclIGaGVhZGVyEjsKDGdob3N0ZGFnRGF0YRgCIAEoCzIXLnByb3Rvd2lyZS5HaG9zdGRhZ0RhdGFSDGdob3N0ZGFnRGF0YQ=='); @$core.Deprecated('Use blockGhostdagDataHashPairDescriptor instead') const BlockGhostdagDataHashPair$json = const { '1': 'BlockGhostdagDataHashPair', '2': const [ - const { - '1': 'hash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'hash' - }, - const { - '1': 'ghostdagData', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.GhostdagData', - '10': 'ghostdagData' - }, + const {'1': 'hash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'hash'}, + const {'1': 'ghostdagData', '3': 2, '4': 1, '5': 11, '6': '.protowire.GhostdagData', '10': 'ghostdagData'}, ], }; /// Descriptor for `BlockGhostdagDataHashPair`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockGhostdagDataHashPairDescriptor = - $convert.base64Decode( - 'ChlCbG9ja0dob3N0ZGFnRGF0YUhhc2hQYWlyEiMKBGhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIEaGFzaBI7CgxnaG9zdGRhZ0RhdGEYAiABKAsyFy5wcm90b3dpcmUuR2hvc3RkYWdEYXRhUgxnaG9zdGRhZ0RhdGE='); +final $typed_data.Uint8List blockGhostdagDataHashPairDescriptor = $convert.base64Decode('ChlCbG9ja0dob3N0ZGFnRGF0YUhhc2hQYWlyEiMKBGhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIEaGFzaBI7CgxnaG9zdGRhZ0RhdGEYAiABKAsyFy5wcm90b3dpcmUuR2hvc3RkYWdEYXRhUgxnaG9zdGRhZ0RhdGE='); @$core.Deprecated('Use ghostdagDataDescriptor instead') const GhostdagData$json = const { '1': 'GhostdagData', '2': const [ const {'1': 'blueScore', '3': 1, '4': 1, '5': 4, '10': 'blueScore'}, const {'1': 'blueWork', '3': 2, '4': 1, '5': 12, '10': 'blueWork'}, - const { - '1': 'selectedParent', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'selectedParent' - }, - const { - '1': 'mergeSetBlues', - '3': 4, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'mergeSetBlues' - }, - const { - '1': 'mergeSetReds', - '3': 5, - '4': 3, - '5': 11, - '6': '.protowire.Hash', - '10': 'mergeSetReds' - }, - const { - '1': 'bluesAnticoneSizes', - '3': 6, - '4': 3, - '5': 11, - '6': '.protowire.BluesAnticoneSizes', - '10': 'bluesAnticoneSizes' - }, + const {'1': 'selectedParent', '3': 3, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'selectedParent'}, + const {'1': 'mergeSetBlues', '3': 4, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'mergeSetBlues'}, + const {'1': 'mergeSetReds', '3': 5, '4': 3, '5': 11, '6': '.protowire.Hash', '10': 'mergeSetReds'}, + const {'1': 'bluesAnticoneSizes', '3': 6, '4': 3, '5': 11, '6': '.protowire.BluesAnticoneSizes', '10': 'bluesAnticoneSizes'}, ], }; /// Descriptor for `GhostdagData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List ghostdagDataDescriptor = $convert.base64Decode( - 'CgxHaG9zdGRhZ0RhdGESHAoJYmx1ZVNjb3JlGAEgASgEUglibHVlU2NvcmUSGgoIYmx1ZVdvcmsYAiABKAxSCGJsdWVXb3JrEjcKDnNlbGVjdGVkUGFyZW50GAMgASgLMg8ucHJvdG93aXJlLkhhc2hSDnNlbGVjdGVkUGFyZW50EjUKDW1lcmdlU2V0Qmx1ZXMYBCADKAsyDy5wcm90b3dpcmUuSGFzaFINbWVyZ2VTZXRCbHVlcxIzCgxtZXJnZVNldFJlZHMYBSADKAsyDy5wcm90b3dpcmUuSGFzaFIMbWVyZ2VTZXRSZWRzEk0KEmJsdWVzQW50aWNvbmVTaXplcxgGIAMoCzIdLnByb3Rvd2lyZS5CbHVlc0FudGljb25lU2l6ZXNSEmJsdWVzQW50aWNvbmVTaXplcw=='); +final $typed_data.Uint8List ghostdagDataDescriptor = $convert.base64Decode('CgxHaG9zdGRhZ0RhdGESHAoJYmx1ZVNjb3JlGAEgASgEUglibHVlU2NvcmUSGgoIYmx1ZVdvcmsYAiABKAxSCGJsdWVXb3JrEjcKDnNlbGVjdGVkUGFyZW50GAMgASgLMg8ucHJvdG93aXJlLkhhc2hSDnNlbGVjdGVkUGFyZW50EjUKDW1lcmdlU2V0Qmx1ZXMYBCADKAsyDy5wcm90b3dpcmUuSGFzaFINbWVyZ2VTZXRCbHVlcxIzCgxtZXJnZVNldFJlZHMYBSADKAsyDy5wcm90b3dpcmUuSGFzaFIMbWVyZ2VTZXRSZWRzEk0KEmJsdWVzQW50aWNvbmVTaXplcxgGIAMoCzIdLnByb3Rvd2lyZS5CbHVlc0FudGljb25lU2l6ZXNSEmJsdWVzQW50aWNvbmVTaXplcw=='); @$core.Deprecated('Use bluesAnticoneSizesDescriptor instead') const BluesAnticoneSizes$json = const { '1': 'BluesAnticoneSizes', '2': const [ - const { - '1': 'blueHash', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.Hash', - '10': 'blueHash' - }, + const {'1': 'blueHash', '3': 1, '4': 1, '5': 11, '6': '.protowire.Hash', '10': 'blueHash'}, const {'1': 'anticoneSize', '3': 2, '4': 1, '5': 13, '10': 'anticoneSize'}, ], }; /// Descriptor for `BluesAnticoneSizes`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List bluesAnticoneSizesDescriptor = $convert.base64Decode( - 'ChJCbHVlc0FudGljb25lU2l6ZXMSKwoIYmx1ZUhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIIYmx1ZUhhc2gSIgoMYW50aWNvbmVTaXplGAIgASgNUgxhbnRpY29uZVNpemU='); +final $typed_data.Uint8List bluesAnticoneSizesDescriptor = $convert.base64Decode('ChJCbHVlc0FudGljb25lU2l6ZXMSKwoIYmx1ZUhhc2gYASABKAsyDy5wcm90b3dpcmUuSGFzaFIIYmx1ZUhhc2gSIgoMYW50aWNvbmVTaXplGAIgASgNUgxhbnRpY29uZVNpemU='); @$core.Deprecated('Use doneBlocksWithTrustedDataMessageDescriptor instead') const DoneBlocksWithTrustedDataMessage$json = const { '1': 'DoneBlocksWithTrustedDataMessage', }; /// Descriptor for `DoneBlocksWithTrustedDataMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List doneBlocksWithTrustedDataMessageDescriptor = - $convert.base64Decode('CiBEb25lQmxvY2tzV2l0aFRydXN0ZWREYXRhTWVzc2FnZQ=='); +final $typed_data.Uint8List doneBlocksWithTrustedDataMessageDescriptor = $convert.base64Decode('CiBEb25lQmxvY2tzV2l0aFRydXN0ZWREYXRhTWVzc2FnZQ=='); @$core.Deprecated('Use pruningPointsMessageDescriptor instead') const PruningPointsMessage$json = const { '1': 'PruningPointsMessage', '2': const [ - const { - '1': 'headers', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.BlockHeader', - '10': 'headers' - }, + const {'1': 'headers', '3': 1, '4': 3, '5': 11, '6': '.protowire.BlockHeader', '10': 'headers'}, ], }; /// Descriptor for `PruningPointsMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pruningPointsMessageDescriptor = $convert.base64Decode( - 'ChRQcnVuaW5nUG9pbnRzTWVzc2FnZRIwCgdoZWFkZXJzGAEgAygLMhYucHJvdG93aXJlLkJsb2NrSGVhZGVyUgdoZWFkZXJz'); +final $typed_data.Uint8List pruningPointsMessageDescriptor = $convert.base64Decode('ChRQcnVuaW5nUG9pbnRzTWVzc2FnZRIwCgdoZWFkZXJzGAEgAygLMhYucHJvdG93aXJlLkJsb2NrSGVhZGVyUgdoZWFkZXJz'); @$core.Deprecated('Use requestPruningPointProofMessageDescriptor instead') const RequestPruningPointProofMessage$json = const { '1': 'RequestPruningPointProofMessage', }; /// Descriptor for `RequestPruningPointProofMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestPruningPointProofMessageDescriptor = - $convert.base64Decode('Ch9SZXF1ZXN0UHJ1bmluZ1BvaW50UHJvb2ZNZXNzYWdl'); +final $typed_data.Uint8List requestPruningPointProofMessageDescriptor = $convert.base64Decode('Ch9SZXF1ZXN0UHJ1bmluZ1BvaW50UHJvb2ZNZXNzYWdl'); @$core.Deprecated('Use pruningPointProofMessageDescriptor instead') const PruningPointProofMessage$json = const { '1': 'PruningPointProofMessage', '2': const [ - const { - '1': 'headers', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.PruningPointProofHeaderArray', - '10': 'headers' - }, + const {'1': 'headers', '3': 1, '4': 3, '5': 11, '6': '.protowire.PruningPointProofHeaderArray', '10': 'headers'}, ], }; /// Descriptor for `PruningPointProofMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pruningPointProofMessageDescriptor = - $convert.base64Decode( - 'ChhQcnVuaW5nUG9pbnRQcm9vZk1lc3NhZ2USQQoHaGVhZGVycxgBIAMoCzInLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRQcm9vZkhlYWRlckFycmF5UgdoZWFkZXJz'); +final $typed_data.Uint8List pruningPointProofMessageDescriptor = $convert.base64Decode('ChhQcnVuaW5nUG9pbnRQcm9vZk1lc3NhZ2USQQoHaGVhZGVycxgBIAMoCzInLnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRQcm9vZkhlYWRlckFycmF5UgdoZWFkZXJz'); @$core.Deprecated('Use pruningPointProofHeaderArrayDescriptor instead') const PruningPointProofHeaderArray$json = const { '1': 'PruningPointProofHeaderArray', '2': const [ - const { - '1': 'headers', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.BlockHeader', - '10': 'headers' - }, + const {'1': 'headers', '3': 1, '4': 3, '5': 11, '6': '.protowire.BlockHeader', '10': 'headers'}, ], }; /// Descriptor for `PruningPointProofHeaderArray`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pruningPointProofHeaderArrayDescriptor = - $convert.base64Decode( - 'ChxQcnVuaW5nUG9pbnRQcm9vZkhlYWRlckFycmF5EjAKB2hlYWRlcnMYASADKAsyFi5wcm90b3dpcmUuQmxvY2tIZWFkZXJSB2hlYWRlcnM='); +final $typed_data.Uint8List pruningPointProofHeaderArrayDescriptor = $convert.base64Decode('ChxQcnVuaW5nUG9pbnRQcm9vZkhlYWRlckFycmF5EjAKB2hlYWRlcnMYASADKAsyFi5wcm90b3dpcmUuQmxvY2tIZWFkZXJSB2hlYWRlcnM='); @$core.Deprecated('Use readyMessageDescriptor instead') const ReadyMessage$json = const { '1': 'ReadyMessage', }; /// Descriptor for `ReadyMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readyMessageDescriptor = - $convert.base64Decode('CgxSZWFkeU1lc3NhZ2U='); +final $typed_data.Uint8List readyMessageDescriptor = $convert.base64Decode('CgxSZWFkeU1lc3NhZ2U='); @$core.Deprecated('Use blockWithTrustedDataV4MessageDescriptor instead') const BlockWithTrustedDataV4Message$json = const { '1': 'BlockWithTrustedDataV4Message', '2': const [ - const { - '1': 'block', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.BlockMessage', - '10': 'block' - }, - const { - '1': 'daaWindowIndices', - '3': 2, - '4': 3, - '5': 4, - '10': 'daaWindowIndices' - }, - const { - '1': 'ghostdagDataIndices', - '3': 3, - '4': 3, - '5': 4, - '10': 'ghostdagDataIndices' - }, + const {'1': 'block', '3': 1, '4': 1, '5': 11, '6': '.protowire.BlockMessage', '10': 'block'}, + const {'1': 'daaWindowIndices', '3': 2, '4': 3, '5': 4, '10': 'daaWindowIndices'}, + const {'1': 'ghostdagDataIndices', '3': 3, '4': 3, '5': 4, '10': 'ghostdagDataIndices'}, ], }; /// Descriptor for `BlockWithTrustedDataV4Message`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockWithTrustedDataV4MessageDescriptor = - $convert.base64Decode( - 'Ch1CbG9ja1dpdGhUcnVzdGVkRGF0YVY0TWVzc2FnZRItCgVibG9jaxgBIAEoCzIXLnByb3Rvd2lyZS5CbG9ja01lc3NhZ2VSBWJsb2NrEioKEGRhYVdpbmRvd0luZGljZXMYAiADKARSEGRhYVdpbmRvd0luZGljZXMSMAoTZ2hvc3RkYWdEYXRhSW5kaWNlcxgDIAMoBFITZ2hvc3RkYWdEYXRhSW5kaWNlcw=='); +final $typed_data.Uint8List blockWithTrustedDataV4MessageDescriptor = $convert.base64Decode('Ch1CbG9ja1dpdGhUcnVzdGVkRGF0YVY0TWVzc2FnZRItCgVibG9jaxgBIAEoCzIXLnByb3Rvd2lyZS5CbG9ja01lc3NhZ2VSBWJsb2NrEioKEGRhYVdpbmRvd0luZGljZXMYAiADKARSEGRhYVdpbmRvd0luZGljZXMSMAoTZ2hvc3RkYWdEYXRhSW5kaWNlcxgDIAMoBFITZ2hvc3RkYWdEYXRhSW5kaWNlcw=='); @$core.Deprecated('Use trustedDataMessageDescriptor instead') const TrustedDataMessage$json = const { '1': 'TrustedDataMessage', '2': const [ - const { - '1': 'daaWindow', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.DaaBlockV4', - '10': 'daaWindow' - }, - const { - '1': 'ghostdagData', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.BlockGhostdagDataHashPair', - '10': 'ghostdagData' - }, + const {'1': 'daaWindow', '3': 1, '4': 3, '5': 11, '6': '.protowire.DaaBlockV4', '10': 'daaWindow'}, + const {'1': 'ghostdagData', '3': 2, '4': 3, '5': 11, '6': '.protowire.BlockGhostdagDataHashPair', '10': 'ghostdagData'}, ], }; /// Descriptor for `TrustedDataMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trustedDataMessageDescriptor = $convert.base64Decode( - 'ChJUcnVzdGVkRGF0YU1lc3NhZ2USMwoJZGFhV2luZG93GAEgAygLMhUucHJvdG93aXJlLkRhYUJsb2NrVjRSCWRhYVdpbmRvdxJICgxnaG9zdGRhZ0RhdGEYAiADKAsyJC5wcm90b3dpcmUuQmxvY2tHaG9zdGRhZ0RhdGFIYXNoUGFpclIMZ2hvc3RkYWdEYXRh'); +final $typed_data.Uint8List trustedDataMessageDescriptor = $convert.base64Decode('ChJUcnVzdGVkRGF0YU1lc3NhZ2USMwoJZGFhV2luZG93GAEgAygLMhUucHJvdG93aXJlLkRhYUJsb2NrVjRSCWRhYVdpbmRvdxJICgxnaG9zdGRhZ0RhdGEYAiADKAsyJC5wcm90b3dpcmUuQmxvY2tHaG9zdGRhZ0RhdGFIYXNoUGFpclIMZ2hvc3RkYWdEYXRh'); diff --git a/lib/spectre/grpc/rpc.pb.dart b/lib/spectre/grpc/rpc.pb.dart index 8ea8bbe..f01876f 100644 --- a/lib/spectre/grpc/rpc.pb.dart +++ b/lib/spectre/grpc/rpc.pb.dart @@ -15,21 +15,10 @@ import 'rpc.pbenum.dart'; export 'rpc.pbenum.dart'; class RPCError extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RPCError', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'message') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RPCError', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'message') + ..hasRequiredFields = false + ; RPCError._() : super(); factory RPCError({ @@ -41,39 +30,31 @@ class RPCError extends $pb.GeneratedMessage { } return _result; } - factory RPCError.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RPCError.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RPCError.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RPCError.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RPCError clone() => RPCError()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RPCError copyWith(void Function(RPCError) updates) => - super.copyWith((message) => updates(message as RPCError)) - as RPCError; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RPCError copyWith(void Function(RPCError) updates) => super.copyWith((message) => updates(message as RPCError)) as RPCError; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RPCError create() => RPCError._(); RPCError createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RPCError getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RPCError getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RPCError? _defaultInstance; @$pb.TagNumber(1) $core.String get message => $_getSZ(0); @$pb.TagNumber(1) - set message($core.String v) { - $_setString(0, v); - } - + set message($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasMessage() => $_has(0); @$pb.TagNumber(1) @@ -81,36 +62,12 @@ class RPCError extends $pb.GeneratedMessage { } class RpcBlock extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcBlock', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'header', - subBuilder: RpcBlockHeader.create) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactions', - $pb.PbFieldType.PM, - subBuilder: RpcTransaction.create) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'verboseData', - protoName: 'verboseData', - subBuilder: RpcBlockVerboseData.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcBlock', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'header', subBuilder: RpcBlockHeader.create) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactions', $pb.PbFieldType.PM, subBuilder: RpcTransaction.create) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'verboseData', protoName: 'verboseData', subBuilder: RpcBlockVerboseData.create) + ..hasRequiredFields = false + ; RpcBlock._() : super(); factory RpcBlock({ @@ -130,39 +87,31 @@ class RpcBlock extends $pb.GeneratedMessage { } return _result; } - factory RpcBlock.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcBlock.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcBlock.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcBlock.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcBlock clone() => RpcBlock()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcBlock copyWith(void Function(RpcBlock) updates) => - super.copyWith((message) => updates(message as RpcBlock)) - as RpcBlock; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcBlock copyWith(void Function(RpcBlock) updates) => super.copyWith((message) => updates(message as RpcBlock)) as RpcBlock; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcBlock create() => RpcBlock._(); RpcBlock createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcBlock getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcBlock getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcBlock? _defaultInstance; @$pb.TagNumber(1) RpcBlockHeader get header => $_getN(0); @$pb.TagNumber(1) - set header(RpcBlockHeader v) { - setField(1, v); - } - + set header(RpcBlockHeader v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) @@ -176,10 +125,7 @@ class RpcBlock extends $pb.GeneratedMessage { @$pb.TagNumber(3) RpcBlockVerboseData get verboseData => $_getN(2); @$pb.TagNumber(3) - set verboseData(RpcBlockVerboseData v) { - setField(3, v); - } - + set verboseData(RpcBlockVerboseData v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasVerboseData() => $_has(2); @$pb.TagNumber(3) @@ -189,93 +135,21 @@ class RpcBlock extends $pb.GeneratedMessage { } class RpcBlockHeader extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcBlockHeader', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - $pb.PbFieldType.OU3) - ..aOS( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hashMerkleRoot', - protoName: 'hashMerkleRoot') - ..aOS( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'acceptedIdMerkleRoot', - protoName: 'acceptedIdMerkleRoot') - ..aOS( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'utxoCommitment', - protoName: 'utxoCommitment') - ..aInt64( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'timestamp') - ..a<$core.int>( - 7, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bits', - $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'nonce', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 9, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'daaScore', - $pb.PbFieldType.OU6, - protoName: 'daaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS( - 10, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueWork', - protoName: 'blueWork') - ..pc( - 12, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'parents', - $pb.PbFieldType.PM, - subBuilder: RpcBlockLevelParents.create) - ..a<$fixnum.Int64>( - 13, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueScore', - $pb.PbFieldType.OU6, - protoName: 'blueScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS( - 14, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPoint', - protoName: 'pruningPoint') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcBlockHeader', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', $pb.PbFieldType.OU3) + ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hashMerkleRoot', protoName: 'hashMerkleRoot') + ..aOS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'acceptedIdMerkleRoot', protoName: 'acceptedIdMerkleRoot') + ..aOS(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'utxoCommitment', protoName: 'utxoCommitment') + ..aInt64(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'timestamp') + ..a<$core.int>(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bits', $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nonce', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'daaScore', $pb.PbFieldType.OU6, protoName: 'daaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOS(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueWork', protoName: 'blueWork') + ..pc(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parents', $pb.PbFieldType.PM, subBuilder: RpcBlockLevelParents.create) + ..a<$fixnum.Int64>(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueScore', $pb.PbFieldType.OU6, protoName: 'blueScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOS(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPoint', protoName: 'pruningPoint') + ..hasRequiredFields = false + ; RpcBlockHeader._() : super(); factory RpcBlockHeader({ @@ -331,40 +205,31 @@ class RpcBlockHeader extends $pb.GeneratedMessage { } return _result; } - factory RpcBlockHeader.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcBlockHeader.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcBlockHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcBlockHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcBlockHeader clone() => RpcBlockHeader()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcBlockHeader copyWith(void Function(RpcBlockHeader) updates) => - super.copyWith((message) => updates(message as RpcBlockHeader)) - as RpcBlockHeader; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcBlockHeader copyWith(void Function(RpcBlockHeader) updates) => super.copyWith((message) => updates(message as RpcBlockHeader)) as RpcBlockHeader; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcBlockHeader create() => RpcBlockHeader._(); RpcBlockHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcBlockHeader getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcBlockHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcBlockHeader? _defaultInstance; @$pb.TagNumber(1) $core.int get version => $_getIZ(0); @$pb.TagNumber(1) - set version($core.int v) { - $_setUnsignedInt32(0, v); - } - + set version($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasVersion() => $_has(0); @$pb.TagNumber(1) @@ -373,10 +238,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get hashMerkleRoot => $_getSZ(1); @$pb.TagNumber(3) - set hashMerkleRoot($core.String v) { - $_setString(1, v); - } - + set hashMerkleRoot($core.String v) { $_setString(1, v); } @$pb.TagNumber(3) $core.bool hasHashMerkleRoot() => $_has(1); @$pb.TagNumber(3) @@ -385,10 +247,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get acceptedIdMerkleRoot => $_getSZ(2); @$pb.TagNumber(4) - set acceptedIdMerkleRoot($core.String v) { - $_setString(2, v); - } - + set acceptedIdMerkleRoot($core.String v) { $_setString(2, v); } @$pb.TagNumber(4) $core.bool hasAcceptedIdMerkleRoot() => $_has(2); @$pb.TagNumber(4) @@ -397,10 +256,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get utxoCommitment => $_getSZ(3); @$pb.TagNumber(5) - set utxoCommitment($core.String v) { - $_setString(3, v); - } - + set utxoCommitment($core.String v) { $_setString(3, v); } @$pb.TagNumber(5) $core.bool hasUtxoCommitment() => $_has(3); @$pb.TagNumber(5) @@ -409,10 +265,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get timestamp => $_getI64(4); @$pb.TagNumber(6) - set timestamp($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set timestamp($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(6) $core.bool hasTimestamp() => $_has(4); @$pb.TagNumber(6) @@ -421,10 +274,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.int get bits => $_getIZ(5); @$pb.TagNumber(7) - set bits($core.int v) { - $_setUnsignedInt32(5, v); - } - + set bits($core.int v) { $_setUnsignedInt32(5, v); } @$pb.TagNumber(7) $core.bool hasBits() => $_has(5); @$pb.TagNumber(7) @@ -433,10 +283,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(8) $fixnum.Int64 get nonce => $_getI64(6); @$pb.TagNumber(8) - set nonce($fixnum.Int64 v) { - $_setInt64(6, v); - } - + set nonce($fixnum.Int64 v) { $_setInt64(6, v); } @$pb.TagNumber(8) $core.bool hasNonce() => $_has(6); @$pb.TagNumber(8) @@ -445,10 +292,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(9) $fixnum.Int64 get daaScore => $_getI64(7); @$pb.TagNumber(9) - set daaScore($fixnum.Int64 v) { - $_setInt64(7, v); - } - + set daaScore($fixnum.Int64 v) { $_setInt64(7, v); } @$pb.TagNumber(9) $core.bool hasDaaScore() => $_has(7); @$pb.TagNumber(9) @@ -457,10 +301,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get blueWork => $_getSZ(8); @$pb.TagNumber(10) - set blueWork($core.String v) { - $_setString(8, v); - } - + set blueWork($core.String v) { $_setString(8, v); } @$pb.TagNumber(10) $core.bool hasBlueWork() => $_has(8); @$pb.TagNumber(10) @@ -472,10 +313,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(13) $fixnum.Int64 get blueScore => $_getI64(10); @$pb.TagNumber(13) - set blueScore($fixnum.Int64 v) { - $_setInt64(10, v); - } - + set blueScore($fixnum.Int64 v) { $_setInt64(10, v); } @$pb.TagNumber(13) $core.bool hasBlueScore() => $_has(10); @$pb.TagNumber(13) @@ -484,10 +322,7 @@ class RpcBlockHeader extends $pb.GeneratedMessage { @$pb.TagNumber(14) $core.String get pruningPoint => $_getSZ(11); @$pb.TagNumber(14) - set pruningPoint($core.String v) { - $_setString(11, v); - } - + set pruningPoint($core.String v) { $_setString(11, v); } @$pb.TagNumber(14) $core.bool hasPruningPoint() => $_has(11); @$pb.TagNumber(14) @@ -495,22 +330,10 @@ class RpcBlockHeader extends $pb.GeneratedMessage { } class RpcBlockLevelParents extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcBlockLevelParents', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'parentHashes', - protoName: 'parentHashes') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcBlockLevelParents', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'parentHashes', protoName: 'parentHashes') + ..hasRequiredFields = false + ; RpcBlockLevelParents._() : super(); factory RpcBlockLevelParents({ @@ -522,32 +345,25 @@ class RpcBlockLevelParents extends $pb.GeneratedMessage { } return _result; } - factory RpcBlockLevelParents.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcBlockLevelParents.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RpcBlockLevelParents clone() => - RpcBlockLevelParents()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcBlockLevelParents copyWith(void Function(RpcBlockLevelParents) updates) => - super.copyWith((message) => updates(message as RpcBlockLevelParents)) - as RpcBlockLevelParents; // ignore: deprecated_member_use + factory RpcBlockLevelParents.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcBlockLevelParents.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RpcBlockLevelParents clone() => RpcBlockLevelParents()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcBlockLevelParents copyWith(void Function(RpcBlockLevelParents) updates) => super.copyWith((message) => updates(message as RpcBlockLevelParents)) as RpcBlockLevelParents; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcBlockLevelParents create() => RpcBlockLevelParents._(); RpcBlockLevelParents createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcBlockLevelParents getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcBlockLevelParents getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcBlockLevelParents? _defaultInstance; @$pb.TagNumber(1) @@ -555,77 +371,19 @@ class RpcBlockLevelParents extends $pb.GeneratedMessage { } class RpcBlockVerboseData extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcBlockVerboseData', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hash') - ..a<$core.double>( - 11, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'difficulty', - $pb.PbFieldType.OD) - ..aOS( - 13, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'selectedParentHash', - protoName: 'selectedParentHash') - ..pPS( - 14, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactionIds', - protoName: 'transactionIds') - ..aOB( - 15, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isHeaderOnly', - protoName: 'isHeaderOnly') - ..a<$fixnum.Int64>( - 16, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueScore', - $pb.PbFieldType.OU6, - protoName: 'blueScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..pPS( - 17, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'childrenHashes', - protoName: 'childrenHashes') - ..pPS( - 18, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'mergeSetBluesHashes', - protoName: 'mergeSetBluesHashes') - ..pPS( - 19, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'mergeSetRedsHashes', - protoName: 'mergeSetRedsHashes') - ..aOB( - 20, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isChainBlock', - protoName: 'isChainBlock') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcBlockVerboseData', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hash') + ..a<$core.double>(11, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'difficulty', $pb.PbFieldType.OD) + ..aOS(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'selectedParentHash', protoName: 'selectedParentHash') + ..pPS(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactionIds', protoName: 'transactionIds') + ..aOB(15, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isHeaderOnly', protoName: 'isHeaderOnly') + ..a<$fixnum.Int64>(16, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueScore', $pb.PbFieldType.OU6, protoName: 'blueScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..pPS(17, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'childrenHashes', protoName: 'childrenHashes') + ..pPS(18, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mergeSetBluesHashes', protoName: 'mergeSetBluesHashes') + ..pPS(19, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mergeSetRedsHashes', protoName: 'mergeSetRedsHashes') + ..aOB(20, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isChainBlock', protoName: 'isChainBlock') + ..hasRequiredFields = false + ; RpcBlockVerboseData._() : super(); factory RpcBlockVerboseData({ @@ -673,40 +431,31 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { } return _result; } - factory RpcBlockVerboseData.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcBlockVerboseData.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcBlockVerboseData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcBlockVerboseData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcBlockVerboseData clone() => RpcBlockVerboseData()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcBlockVerboseData copyWith(void Function(RpcBlockVerboseData) updates) => - super.copyWith((message) => updates(message as RpcBlockVerboseData)) - as RpcBlockVerboseData; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcBlockVerboseData copyWith(void Function(RpcBlockVerboseData) updates) => super.copyWith((message) => updates(message as RpcBlockVerboseData)) as RpcBlockVerboseData; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcBlockVerboseData create() => RpcBlockVerboseData._(); RpcBlockVerboseData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcBlockVerboseData getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcBlockVerboseData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcBlockVerboseData? _defaultInstance; @$pb.TagNumber(1) $core.String get hash => $_getSZ(0); @$pb.TagNumber(1) - set hash($core.String v) { - $_setString(0, v); - } - + set hash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasHash() => $_has(0); @$pb.TagNumber(1) @@ -715,10 +464,7 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.double get difficulty => $_getN(1); @$pb.TagNumber(11) - set difficulty($core.double v) { - $_setDouble(1, v); - } - + set difficulty($core.double v) { $_setDouble(1, v); } @$pb.TagNumber(11) $core.bool hasDifficulty() => $_has(1); @$pb.TagNumber(11) @@ -727,10 +473,7 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(13) $core.String get selectedParentHash => $_getSZ(2); @$pb.TagNumber(13) - set selectedParentHash($core.String v) { - $_setString(2, v); - } - + set selectedParentHash($core.String v) { $_setString(2, v); } @$pb.TagNumber(13) $core.bool hasSelectedParentHash() => $_has(2); @$pb.TagNumber(13) @@ -742,10 +485,7 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(15) $core.bool get isHeaderOnly => $_getBF(4); @$pb.TagNumber(15) - set isHeaderOnly($core.bool v) { - $_setBool(4, v); - } - + set isHeaderOnly($core.bool v) { $_setBool(4, v); } @$pb.TagNumber(15) $core.bool hasIsHeaderOnly() => $_has(4); @$pb.TagNumber(15) @@ -754,10 +494,7 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(16) $fixnum.Int64 get blueScore => $_getI64(5); @$pb.TagNumber(16) - set blueScore($fixnum.Int64 v) { - $_setInt64(5, v); - } - + set blueScore($fixnum.Int64 v) { $_setInt64(5, v); } @$pb.TagNumber(16) $core.bool hasBlueScore() => $_has(5); @$pb.TagNumber(16) @@ -775,10 +512,7 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(20) $core.bool get isChainBlock => $_getBF(9); @$pb.TagNumber(20) - set isChainBlock($core.bool v) { - $_setBool(9, v); - } - + set isChainBlock($core.bool v) { $_setBool(9, v); } @$pb.TagNumber(20) $core.bool hasIsChainBlock() => $_has(9); @$pb.TagNumber(20) @@ -786,69 +520,17 @@ class RpcBlockVerboseData extends $pb.GeneratedMessage { } class RpcTransaction extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcTransaction', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - $pb.PbFieldType.OU3) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'inputs', - $pb.PbFieldType.PM, - subBuilder: RpcTransactionInput.create) - ..pc( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'outputs', - $pb.PbFieldType.PM, - subBuilder: RpcTransactionOutput.create) - ..a<$fixnum.Int64>( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'lockTime', - $pb.PbFieldType.OU6, - protoName: 'lockTime', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'subnetworkId', - protoName: 'subnetworkId') - ..a<$fixnum.Int64>( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'gas', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'payload') - ..aOM( - 9, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'verboseData', - protoName: 'verboseData', - subBuilder: RpcTransactionVerboseData.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcTransaction', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', $pb.PbFieldType.OU3) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'inputs', $pb.PbFieldType.PM, subBuilder: RpcTransactionInput.create) + ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outputs', $pb.PbFieldType.PM, subBuilder: RpcTransactionOutput.create) + ..a<$fixnum.Int64>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'lockTime', $pb.PbFieldType.OU6, protoName: 'lockTime', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOS(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'subnetworkId', protoName: 'subnetworkId') + ..a<$fixnum.Int64>(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'gas', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOS(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'payload') + ..aOM(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'verboseData', protoName: 'verboseData', subBuilder: RpcTransactionVerboseData.create) + ..hasRequiredFields = false + ; RpcTransaction._() : super(); factory RpcTransaction({ @@ -888,40 +570,31 @@ class RpcTransaction extends $pb.GeneratedMessage { } return _result; } - factory RpcTransaction.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcTransaction.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcTransaction.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcTransaction.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcTransaction clone() => RpcTransaction()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcTransaction copyWith(void Function(RpcTransaction) updates) => - super.copyWith((message) => updates(message as RpcTransaction)) - as RpcTransaction; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcTransaction copyWith(void Function(RpcTransaction) updates) => super.copyWith((message) => updates(message as RpcTransaction)) as RpcTransaction; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcTransaction create() => RpcTransaction._(); RpcTransaction createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcTransaction getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcTransaction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcTransaction? _defaultInstance; @$pb.TagNumber(1) $core.int get version => $_getIZ(0); @$pb.TagNumber(1) - set version($core.int v) { - $_setUnsignedInt32(0, v); - } - + set version($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasVersion() => $_has(0); @$pb.TagNumber(1) @@ -936,10 +609,7 @@ class RpcTransaction extends $pb.GeneratedMessage { @$pb.TagNumber(4) $fixnum.Int64 get lockTime => $_getI64(3); @$pb.TagNumber(4) - set lockTime($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set lockTime($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasLockTime() => $_has(3); @$pb.TagNumber(4) @@ -948,10 +618,7 @@ class RpcTransaction extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get subnetworkId => $_getSZ(4); @$pb.TagNumber(5) - set subnetworkId($core.String v) { - $_setString(4, v); - } - + set subnetworkId($core.String v) { $_setString(4, v); } @$pb.TagNumber(5) $core.bool hasSubnetworkId() => $_has(4); @$pb.TagNumber(5) @@ -960,10 +627,7 @@ class RpcTransaction extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get gas => $_getI64(5); @$pb.TagNumber(6) - set gas($fixnum.Int64 v) { - $_setInt64(5, v); - } - + set gas($fixnum.Int64 v) { $_setInt64(5, v); } @$pb.TagNumber(6) $core.bool hasGas() => $_has(5); @$pb.TagNumber(6) @@ -972,10 +636,7 @@ class RpcTransaction extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get payload => $_getSZ(6); @$pb.TagNumber(8) - set payload($core.String v) { - $_setString(6, v); - } - + set payload($core.String v) { $_setString(6, v); } @$pb.TagNumber(8) $core.bool hasPayload() => $_has(6); @$pb.TagNumber(8) @@ -984,10 +645,7 @@ class RpcTransaction extends $pb.GeneratedMessage { @$pb.TagNumber(9) RpcTransactionVerboseData get verboseData => $_getN(7); @$pb.TagNumber(9) - set verboseData(RpcTransactionVerboseData v) { - setField(9, v); - } - + set verboseData(RpcTransactionVerboseData v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasVerboseData() => $_has(7); @$pb.TagNumber(9) @@ -997,50 +655,14 @@ class RpcTransaction extends $pb.GeneratedMessage { } class RpcTransactionInput extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcTransactionInput', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'previousOutpoint', - protoName: 'previousOutpoint', - subBuilder: RpcOutpoint.create) - ..aOS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'signatureScript', - protoName: 'signatureScript') - ..a<$fixnum.Int64>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'sequence', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'verboseData', - protoName: 'verboseData', - subBuilder: RpcTransactionInputVerboseData.create) - ..a<$core.int>( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'sigOpCount', - $pb.PbFieldType.OU3, - protoName: 'sigOpCount') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcTransactionInput', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'previousOutpoint', protoName: 'previousOutpoint', subBuilder: RpcOutpoint.create) + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'signatureScript', protoName: 'signatureScript') + ..a<$fixnum.Int64>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sequence', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'verboseData', protoName: 'verboseData', subBuilder: RpcTransactionInputVerboseData.create) + ..a<$core.int>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sigOpCount', $pb.PbFieldType.OU3, protoName: 'sigOpCount') + ..hasRequiredFields = false + ; RpcTransactionInput._() : super(); factory RpcTransactionInput({ @@ -1068,40 +690,31 @@ class RpcTransactionInput extends $pb.GeneratedMessage { } return _result; } - factory RpcTransactionInput.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcTransactionInput.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcTransactionInput.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcTransactionInput.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcTransactionInput clone() => RpcTransactionInput()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcTransactionInput copyWith(void Function(RpcTransactionInput) updates) => - super.copyWith((message) => updates(message as RpcTransactionInput)) - as RpcTransactionInput; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcTransactionInput copyWith(void Function(RpcTransactionInput) updates) => super.copyWith((message) => updates(message as RpcTransactionInput)) as RpcTransactionInput; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcTransactionInput create() => RpcTransactionInput._(); RpcTransactionInput createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcTransactionInput getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcTransactionInput getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcTransactionInput? _defaultInstance; @$pb.TagNumber(1) RpcOutpoint get previousOutpoint => $_getN(0); @$pb.TagNumber(1) - set previousOutpoint(RpcOutpoint v) { - setField(1, v); - } - + set previousOutpoint(RpcOutpoint v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPreviousOutpoint() => $_has(0); @$pb.TagNumber(1) @@ -1112,10 +725,7 @@ class RpcTransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get signatureScript => $_getSZ(1); @$pb.TagNumber(2) - set signatureScript($core.String v) { - $_setString(1, v); - } - + set signatureScript($core.String v) { $_setString(1, v); } @$pb.TagNumber(2) $core.bool hasSignatureScript() => $_has(1); @$pb.TagNumber(2) @@ -1124,10 +734,7 @@ class RpcTransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get sequence => $_getI64(2); @$pb.TagNumber(3) - set sequence($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set sequence($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasSequence() => $_has(2); @$pb.TagNumber(3) @@ -1136,10 +743,7 @@ class RpcTransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(4) RpcTransactionInputVerboseData get verboseData => $_getN(3); @$pb.TagNumber(4) - set verboseData(RpcTransactionInputVerboseData v) { - setField(4, v); - } - + set verboseData(RpcTransactionInputVerboseData v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasVerboseData() => $_has(3); @$pb.TagNumber(4) @@ -1150,10 +754,7 @@ class RpcTransactionInput extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.int get sigOpCount => $_getIZ(4); @$pb.TagNumber(5) - set sigOpCount($core.int v) { - $_setUnsignedInt32(4, v); - } - + set sigOpCount($core.int v) { $_setUnsignedInt32(4, v); } @$pb.TagNumber(5) $core.bool hasSigOpCount() => $_has(4); @$pb.TagNumber(5) @@ -1161,28 +762,11 @@ class RpcTransactionInput extends $pb.GeneratedMessage { } class RpcScriptPublicKey extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcScriptPublicKey', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'version', - $pb.PbFieldType.OU3) - ..aOS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKey', - protoName: 'scriptPublicKey') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcScriptPublicKey', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version', $pb.PbFieldType.OU3) + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKey', protoName: 'scriptPublicKey') + ..hasRequiredFields = false + ; RpcScriptPublicKey._() : super(); factory RpcScriptPublicKey({ @@ -1198,40 +782,31 @@ class RpcScriptPublicKey extends $pb.GeneratedMessage { } return _result; } - factory RpcScriptPublicKey.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcScriptPublicKey.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcScriptPublicKey.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcScriptPublicKey.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcScriptPublicKey clone() => RpcScriptPublicKey()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcScriptPublicKey copyWith(void Function(RpcScriptPublicKey) updates) => - super.copyWith((message) => updates(message as RpcScriptPublicKey)) - as RpcScriptPublicKey; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcScriptPublicKey copyWith(void Function(RpcScriptPublicKey) updates) => super.copyWith((message) => updates(message as RpcScriptPublicKey)) as RpcScriptPublicKey; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcScriptPublicKey create() => RpcScriptPublicKey._(); RpcScriptPublicKey createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcScriptPublicKey getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcScriptPublicKey getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcScriptPublicKey? _defaultInstance; @$pb.TagNumber(1) $core.int get version => $_getIZ(0); @$pb.TagNumber(1) - set version($core.int v) { - $_setUnsignedInt32(0, v); - } - + set version($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasVersion() => $_has(0); @$pb.TagNumber(1) @@ -1240,10 +815,7 @@ class RpcScriptPublicKey extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get scriptPublicKey => $_getSZ(1); @$pb.TagNumber(2) - set scriptPublicKey($core.String v) { - $_setString(1, v); - } - + set scriptPublicKey($core.String v) { $_setString(1, v); } @$pb.TagNumber(2) $core.bool hasScriptPublicKey() => $_has(1); @$pb.TagNumber(2) @@ -1251,37 +823,12 @@ class RpcScriptPublicKey extends $pb.GeneratedMessage { } class RpcTransactionOutput extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcTransactionOutput', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'amount', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKey', - protoName: 'scriptPublicKey', - subBuilder: RpcScriptPublicKey.create) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'verboseData', - protoName: 'verboseData', - subBuilder: RpcTransactionOutputVerboseData.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcTransactionOutput', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'amount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKey', protoName: 'scriptPublicKey', subBuilder: RpcScriptPublicKey.create) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'verboseData', protoName: 'verboseData', subBuilder: RpcTransactionOutputVerboseData.create) + ..hasRequiredFields = false + ; RpcTransactionOutput._() : super(); factory RpcTransactionOutput({ @@ -1301,41 +848,31 @@ class RpcTransactionOutput extends $pb.GeneratedMessage { } return _result; } - factory RpcTransactionOutput.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcTransactionOutput.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RpcTransactionOutput clone() => - RpcTransactionOutput()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcTransactionOutput copyWith(void Function(RpcTransactionOutput) updates) => - super.copyWith((message) => updates(message as RpcTransactionOutput)) - as RpcTransactionOutput; // ignore: deprecated_member_use + factory RpcTransactionOutput.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcTransactionOutput.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RpcTransactionOutput clone() => RpcTransactionOutput()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcTransactionOutput copyWith(void Function(RpcTransactionOutput) updates) => super.copyWith((message) => updates(message as RpcTransactionOutput)) as RpcTransactionOutput; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcTransactionOutput create() => RpcTransactionOutput._(); RpcTransactionOutput createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcTransactionOutput getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcTransactionOutput getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcTransactionOutput? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get amount => $_getI64(0); @$pb.TagNumber(1) - set amount($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set amount($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasAmount() => $_has(0); @$pb.TagNumber(1) @@ -1344,10 +881,7 @@ class RpcTransactionOutput extends $pb.GeneratedMessage { @$pb.TagNumber(2) RpcScriptPublicKey get scriptPublicKey => $_getN(1); @$pb.TagNumber(2) - set scriptPublicKey(RpcScriptPublicKey v) { - setField(2, v); - } - + set scriptPublicKey(RpcScriptPublicKey v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasScriptPublicKey() => $_has(1); @$pb.TagNumber(2) @@ -1358,10 +892,7 @@ class RpcTransactionOutput extends $pb.GeneratedMessage { @$pb.TagNumber(3) RpcTransactionOutputVerboseData get verboseData => $_getN(2); @$pb.TagNumber(3) - set verboseData(RpcTransactionOutputVerboseData v) { - setField(3, v); - } - + set verboseData(RpcTransactionOutputVerboseData v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasVerboseData() => $_has(2); @$pb.TagNumber(3) @@ -1371,28 +902,11 @@ class RpcTransactionOutput extends $pb.GeneratedMessage { } class RpcOutpoint extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcOutpoint', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactionId', - protoName: 'transactionId') - ..a<$core.int>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'index', - $pb.PbFieldType.OU3) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcOutpoint', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactionId', protoName: 'transactionId') + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'index', $pb.PbFieldType.OU3) + ..hasRequiredFields = false + ; RpcOutpoint._() : super(); factory RpcOutpoint({ @@ -1408,39 +922,31 @@ class RpcOutpoint extends $pb.GeneratedMessage { } return _result; } - factory RpcOutpoint.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcOutpoint.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcOutpoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcOutpoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcOutpoint clone() => RpcOutpoint()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcOutpoint copyWith(void Function(RpcOutpoint) updates) => - super.copyWith((message) => updates(message as RpcOutpoint)) - as RpcOutpoint; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcOutpoint copyWith(void Function(RpcOutpoint) updates) => super.copyWith((message) => updates(message as RpcOutpoint)) as RpcOutpoint; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcOutpoint create() => RpcOutpoint._(); RpcOutpoint createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcOutpoint getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcOutpoint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcOutpoint? _defaultInstance; @$pb.TagNumber(1) $core.String get transactionId => $_getSZ(0); @$pb.TagNumber(1) - set transactionId($core.String v) { - $_setString(0, v); - } - + set transactionId($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasTransactionId() => $_has(0); @$pb.TagNumber(1) @@ -1449,10 +955,7 @@ class RpcOutpoint extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get index => $_getIZ(1); @$pb.TagNumber(2) - set index($core.int v) { - $_setUnsignedInt32(1, v); - } - + set index($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasIndex() => $_has(1); @$pb.TagNumber(2) @@ -1460,44 +963,13 @@ class RpcOutpoint extends $pb.GeneratedMessage { } class RpcUtxoEntry extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcUtxoEntry', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'amount', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKey', - protoName: 'scriptPublicKey', - subBuilder: RpcScriptPublicKey.create) - ..a<$fixnum.Int64>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockDaaScore', - $pb.PbFieldType.OU6, - protoName: 'blockDaaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOB( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isCoinbase', - protoName: 'isCoinbase') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcUtxoEntry', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'amount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKey', protoName: 'scriptPublicKey', subBuilder: RpcScriptPublicKey.create) + ..a<$fixnum.Int64>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockDaaScore', $pb.PbFieldType.OU6, protoName: 'blockDaaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOB(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isCoinbase', protoName: 'isCoinbase') + ..hasRequiredFields = false + ; RpcUtxoEntry._() : super(); factory RpcUtxoEntry({ @@ -1521,40 +993,31 @@ class RpcUtxoEntry extends $pb.GeneratedMessage { } return _result; } - factory RpcUtxoEntry.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcUtxoEntry.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RpcUtxoEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcUtxoEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RpcUtxoEntry clone() => RpcUtxoEntry()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcUtxoEntry copyWith(void Function(RpcUtxoEntry) updates) => - super.copyWith((message) => updates(message as RpcUtxoEntry)) - as RpcUtxoEntry; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcUtxoEntry copyWith(void Function(RpcUtxoEntry) updates) => super.copyWith((message) => updates(message as RpcUtxoEntry)) as RpcUtxoEntry; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcUtxoEntry create() => RpcUtxoEntry._(); RpcUtxoEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcUtxoEntry getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcUtxoEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcUtxoEntry? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get amount => $_getI64(0); @$pb.TagNumber(1) - set amount($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set amount($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasAmount() => $_has(0); @$pb.TagNumber(1) @@ -1563,10 +1026,7 @@ class RpcUtxoEntry extends $pb.GeneratedMessage { @$pb.TagNumber(2) RpcScriptPublicKey get scriptPublicKey => $_getN(1); @$pb.TagNumber(2) - set scriptPublicKey(RpcScriptPublicKey v) { - setField(2, v); - } - + set scriptPublicKey(RpcScriptPublicKey v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasScriptPublicKey() => $_has(1); @$pb.TagNumber(2) @@ -1577,10 +1037,7 @@ class RpcUtxoEntry extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get blockDaaScore => $_getI64(2); @$pb.TagNumber(3) - set blockDaaScore($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set blockDaaScore($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasBlockDaaScore() => $_has(2); @$pb.TagNumber(3) @@ -1589,10 +1046,7 @@ class RpcUtxoEntry extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get isCoinbase => $_getBF(3); @$pb.TagNumber(4) - set isCoinbase($core.bool v) { - $_setBool(3, v); - } - + set isCoinbase($core.bool v) { $_setBool(3, v); } @$pb.TagNumber(4) $core.bool hasIsCoinbase() => $_has(3); @$pb.TagNumber(4) @@ -1600,48 +1054,14 @@ class RpcUtxoEntry extends $pb.GeneratedMessage { } class RpcTransactionVerboseData extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcTransactionVerboseData', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactionId', - protoName: 'transactionId') - ..aOS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hash') - ..a<$fixnum.Int64>( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'mass', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS( - 12, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockHash', - protoName: 'blockHash') - ..a<$fixnum.Int64>( - 14, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockTime', - $pb.PbFieldType.OU6, - protoName: 'blockTime', - defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcTransactionVerboseData', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactionId', protoName: 'transactionId') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hash') + ..a<$fixnum.Int64>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mass', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOS(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockHash', protoName: 'blockHash') + ..a<$fixnum.Int64>(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockTime', $pb.PbFieldType.OU6, protoName: 'blockTime', defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; RpcTransactionVerboseData._() : super(); factory RpcTransactionVerboseData({ @@ -1669,42 +1089,31 @@ class RpcTransactionVerboseData extends $pb.GeneratedMessage { } return _result; } - factory RpcTransactionVerboseData.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcTransactionVerboseData.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RpcTransactionVerboseData clone() => - RpcTransactionVerboseData()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcTransactionVerboseData copyWith( - void Function(RpcTransactionVerboseData) updates) => - super.copyWith((message) => updates(message as RpcTransactionVerboseData)) - as RpcTransactionVerboseData; // ignore: deprecated_member_use + factory RpcTransactionVerboseData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcTransactionVerboseData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RpcTransactionVerboseData clone() => RpcTransactionVerboseData()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcTransactionVerboseData copyWith(void Function(RpcTransactionVerboseData) updates) => super.copyWith((message) => updates(message as RpcTransactionVerboseData)) as RpcTransactionVerboseData; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RpcTransactionVerboseData create() => RpcTransactionVerboseData._(); RpcTransactionVerboseData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcTransactionVerboseData getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcTransactionVerboseData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcTransactionVerboseData? _defaultInstance; @$pb.TagNumber(1) $core.String get transactionId => $_getSZ(0); @$pb.TagNumber(1) - set transactionId($core.String v) { - $_setString(0, v); - } - + set transactionId($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasTransactionId() => $_has(0); @$pb.TagNumber(1) @@ -1713,10 +1122,7 @@ class RpcTransactionVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get hash => $_getSZ(1); @$pb.TagNumber(2) - set hash($core.String v) { - $_setString(1, v); - } - + set hash($core.String v) { $_setString(1, v); } @$pb.TagNumber(2) $core.bool hasHash() => $_has(1); @$pb.TagNumber(2) @@ -1725,10 +1131,7 @@ class RpcTransactionVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(4) $fixnum.Int64 get mass => $_getI64(2); @$pb.TagNumber(4) - set mass($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set mass($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(4) $core.bool hasMass() => $_has(2); @$pb.TagNumber(4) @@ -1737,10 +1140,7 @@ class RpcTransactionVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.String get blockHash => $_getSZ(3); @$pb.TagNumber(12) - set blockHash($core.String v) { - $_setString(3, v); - } - + set blockHash($core.String v) { $_setString(3, v); } @$pb.TagNumber(12) $core.bool hasBlockHash() => $_has(3); @$pb.TagNumber(12) @@ -1749,10 +1149,7 @@ class RpcTransactionVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(14) $fixnum.Int64 get blockTime => $_getI64(4); @$pb.TagNumber(14) - set blockTime($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set blockTime($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(14) $core.bool hasBlockTime() => $_has(4); @$pb.TagNumber(14) @@ -1760,74 +1157,40 @@ class RpcTransactionVerboseData extends $pb.GeneratedMessage { } class RpcTransactionInputVerboseData extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcTransactionInputVerboseData', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcTransactionInputVerboseData', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; RpcTransactionInputVerboseData._() : super(); factory RpcTransactionInputVerboseData() => create(); - factory RpcTransactionInputVerboseData.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcTransactionInputVerboseData.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RpcTransactionInputVerboseData clone() => - RpcTransactionInputVerboseData()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcTransactionInputVerboseData copyWith( - void Function(RpcTransactionInputVerboseData) updates) => - super.copyWith( - (message) => updates(message as RpcTransactionInputVerboseData)) - as RpcTransactionInputVerboseData; // ignore: deprecated_member_use + factory RpcTransactionInputVerboseData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcTransactionInputVerboseData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RpcTransactionInputVerboseData clone() => RpcTransactionInputVerboseData()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcTransactionInputVerboseData copyWith(void Function(RpcTransactionInputVerboseData) updates) => super.copyWith((message) => updates(message as RpcTransactionInputVerboseData)) as RpcTransactionInputVerboseData; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RpcTransactionInputVerboseData create() => - RpcTransactionInputVerboseData._(); + static RpcTransactionInputVerboseData create() => RpcTransactionInputVerboseData._(); RpcTransactionInputVerboseData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcTransactionInputVerboseData getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcTransactionInputVerboseData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcTransactionInputVerboseData? _defaultInstance; } class RpcTransactionOutputVerboseData extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'RpcTransactionOutputVerboseData', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKeyType', - protoName: 'scriptPublicKeyType') - ..aOS( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'scriptPublicKeyAddress', - protoName: 'scriptPublicKeyAddress') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'RpcTransactionOutputVerboseData', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKeyType', protoName: 'scriptPublicKeyType') + ..aOS(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'scriptPublicKeyAddress', protoName: 'scriptPublicKeyAddress') + ..hasRequiredFields = false + ; RpcTransactionOutputVerboseData._() : super(); factory RpcTransactionOutputVerboseData({ @@ -1843,45 +1206,31 @@ class RpcTransactionOutputVerboseData extends $pb.GeneratedMessage { } return _result; } - factory RpcTransactionOutputVerboseData.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RpcTransactionOutputVerboseData.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RpcTransactionOutputVerboseData clone() => - RpcTransactionOutputVerboseData()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RpcTransactionOutputVerboseData copyWith( - void Function(RpcTransactionOutputVerboseData) updates) => - super.copyWith( - (message) => updates(message as RpcTransactionOutputVerboseData)) - as RpcTransactionOutputVerboseData; // ignore: deprecated_member_use + factory RpcTransactionOutputVerboseData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RpcTransactionOutputVerboseData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RpcTransactionOutputVerboseData clone() => RpcTransactionOutputVerboseData()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RpcTransactionOutputVerboseData copyWith(void Function(RpcTransactionOutputVerboseData) updates) => super.copyWith((message) => updates(message as RpcTransactionOutputVerboseData)) as RpcTransactionOutputVerboseData; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static RpcTransactionOutputVerboseData create() => - RpcTransactionOutputVerboseData._(); + static RpcTransactionOutputVerboseData create() => RpcTransactionOutputVerboseData._(); RpcTransactionOutputVerboseData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcTransactionOutputVerboseData getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static RpcTransactionOutputVerboseData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcTransactionOutputVerboseData? _defaultInstance; @$pb.TagNumber(5) $core.String get scriptPublicKeyType => $_getSZ(0); @$pb.TagNumber(5) - set scriptPublicKeyType($core.String v) { - $_setString(0, v); - } - + set scriptPublicKeyType($core.String v) { $_setString(0, v); } @$pb.TagNumber(5) $core.bool hasScriptPublicKeyType() => $_has(0); @$pb.TagNumber(5) @@ -1890,10 +1239,7 @@ class RpcTransactionOutputVerboseData extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get scriptPublicKeyAddress => $_getSZ(1); @$pb.TagNumber(6) - set scriptPublicKeyAddress($core.String v) { - $_setString(1, v); - } - + set scriptPublicKeyAddress($core.String v) { $_setString(1, v); } @$pb.TagNumber(6) $core.bool hasScriptPublicKeyAddress() => $_has(1); @$pb.TagNumber(6) @@ -1901,75 +1247,40 @@ class RpcTransactionOutputVerboseData extends $pb.GeneratedMessage { } class GetCurrentNetworkRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetCurrentNetworkRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetCurrentNetworkRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetCurrentNetworkRequestMessage._() : super(); factory GetCurrentNetworkRequestMessage() => create(); - factory GetCurrentNetworkRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetCurrentNetworkRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCurrentNetworkRequestMessage clone() => - GetCurrentNetworkRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCurrentNetworkRequestMessage copyWith( - void Function(GetCurrentNetworkRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetCurrentNetworkRequestMessage)) - as GetCurrentNetworkRequestMessage; // ignore: deprecated_member_use + factory GetCurrentNetworkRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetCurrentNetworkRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetCurrentNetworkRequestMessage clone() => GetCurrentNetworkRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetCurrentNetworkRequestMessage copyWith(void Function(GetCurrentNetworkRequestMessage) updates) => super.copyWith((message) => updates(message as GetCurrentNetworkRequestMessage)) as GetCurrentNetworkRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetCurrentNetworkRequestMessage create() => - GetCurrentNetworkRequestMessage._(); + static GetCurrentNetworkRequestMessage create() => GetCurrentNetworkRequestMessage._(); GetCurrentNetworkRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetCurrentNetworkRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetCurrentNetworkRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetCurrentNetworkRequestMessage? _defaultInstance; } class GetCurrentNetworkResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetCurrentNetworkResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'currentNetwork', - protoName: 'currentNetwork') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetCurrentNetworkResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'currentNetwork', protoName: 'currentNetwork') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetCurrentNetworkResponseMessage._() : super(); factory GetCurrentNetworkResponseMessage({ @@ -1985,45 +1296,31 @@ class GetCurrentNetworkResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetCurrentNetworkResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetCurrentNetworkResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCurrentNetworkResponseMessage clone() => - GetCurrentNetworkResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCurrentNetworkResponseMessage copyWith( - void Function(GetCurrentNetworkResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetCurrentNetworkResponseMessage)) - as GetCurrentNetworkResponseMessage; // ignore: deprecated_member_use + factory GetCurrentNetworkResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetCurrentNetworkResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetCurrentNetworkResponseMessage clone() => GetCurrentNetworkResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetCurrentNetworkResponseMessage copyWith(void Function(GetCurrentNetworkResponseMessage) updates) => super.copyWith((message) => updates(message as GetCurrentNetworkResponseMessage)) as GetCurrentNetworkResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetCurrentNetworkResponseMessage create() => - GetCurrentNetworkResponseMessage._(); + static GetCurrentNetworkResponseMessage create() => GetCurrentNetworkResponseMessage._(); GetCurrentNetworkResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetCurrentNetworkResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetCurrentNetworkResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetCurrentNetworkResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get currentNetwork => $_getSZ(0); @$pb.TagNumber(1) - set currentNetwork($core.String v) { - $_setString(0, v); - } - + set currentNetwork($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasCurrentNetwork() => $_has(0); @$pb.TagNumber(1) @@ -2032,10 +1329,7 @@ class GetCurrentNetworkResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -2045,28 +1339,11 @@ class GetCurrentNetworkResponseMessage extends $pb.GeneratedMessage { } class SubmitBlockRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'SubmitBlockRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: RpcBlock.create) - ..aOB( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'allowNonDAABlocks', - protoName: 'allowNonDAABlocks') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SubmitBlockRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: RpcBlock.create) + ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'allowNonDAABlocks', protoName: 'allowNonDAABlocks') + ..hasRequiredFields = false + ; SubmitBlockRequestMessage._() : super(); factory SubmitBlockRequestMessage({ @@ -2082,42 +1359,31 @@ class SubmitBlockRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory SubmitBlockRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubmitBlockRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitBlockRequestMessage clone() => - SubmitBlockRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitBlockRequestMessage copyWith( - void Function(SubmitBlockRequestMessage) updates) => - super.copyWith((message) => updates(message as SubmitBlockRequestMessage)) - as SubmitBlockRequestMessage; // ignore: deprecated_member_use + factory SubmitBlockRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SubmitBlockRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubmitBlockRequestMessage clone() => SubmitBlockRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubmitBlockRequestMessage copyWith(void Function(SubmitBlockRequestMessage) updates) => super.copyWith((message) => updates(message as SubmitBlockRequestMessage)) as SubmitBlockRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubmitBlockRequestMessage create() => SubmitBlockRequestMessage._(); SubmitBlockRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubmitBlockRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubmitBlockRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubmitBlockRequestMessage? _defaultInstance; @$pb.TagNumber(2) RpcBlock get block => $_getN(0); @$pb.TagNumber(2) - set block(RpcBlock v) { - setField(2, v); - } - + set block(RpcBlock v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasBlock() => $_has(0); @$pb.TagNumber(2) @@ -2128,10 +1394,7 @@ class SubmitBlockRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get allowNonDAABlocks => $_getBF(1); @$pb.TagNumber(3) - set allowNonDAABlocks($core.bool v) { - $_setBool(1, v); - } - + set allowNonDAABlocks($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(3) $core.bool hasAllowNonDAABlocks() => $_has(1); @$pb.TagNumber(3) @@ -2139,32 +1402,11 @@ class SubmitBlockRequestMessage extends $pb.GeneratedMessage { } class SubmitBlockResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'SubmitBlockResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..e( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'rejectReason', - $pb.PbFieldType.OE, - protoName: 'rejectReason', - defaultOrMaker: SubmitBlockResponseMessage_RejectReason.NONE, - valueOf: SubmitBlockResponseMessage_RejectReason.valueOf, - enumValues: SubmitBlockResponseMessage_RejectReason.values) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SubmitBlockResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..e(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'rejectReason', $pb.PbFieldType.OE, protoName: 'rejectReason', defaultOrMaker: SubmitBlockResponseMessage_RejectReason.NONE, valueOf: SubmitBlockResponseMessage_RejectReason.valueOf, enumValues: SubmitBlockResponseMessage_RejectReason.values) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; SubmitBlockResponseMessage._() : super(); factory SubmitBlockResponseMessage({ @@ -2180,43 +1422,31 @@ class SubmitBlockResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory SubmitBlockResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubmitBlockResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitBlockResponseMessage clone() => - SubmitBlockResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitBlockResponseMessage copyWith( - void Function(SubmitBlockResponseMessage) updates) => - super.copyWith( - (message) => updates(message as SubmitBlockResponseMessage)) - as SubmitBlockResponseMessage; // ignore: deprecated_member_use + factory SubmitBlockResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SubmitBlockResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubmitBlockResponseMessage clone() => SubmitBlockResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubmitBlockResponseMessage copyWith(void Function(SubmitBlockResponseMessage) updates) => super.copyWith((message) => updates(message as SubmitBlockResponseMessage)) as SubmitBlockResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubmitBlockResponseMessage create() => SubmitBlockResponseMessage._(); SubmitBlockResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubmitBlockResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubmitBlockResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubmitBlockResponseMessage? _defaultInstance; @$pb.TagNumber(1) SubmitBlockResponseMessage_RejectReason get rejectReason => $_getN(0); @$pb.TagNumber(1) - set rejectReason(SubmitBlockResponseMessage_RejectReason v) { - setField(1, v); - } - + set rejectReason(SubmitBlockResponseMessage_RejectReason v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasRejectReason() => $_has(0); @$pb.TagNumber(1) @@ -2225,10 +1455,7 @@ class SubmitBlockResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -2238,28 +1465,11 @@ class SubmitBlockResponseMessage extends $pb.GeneratedMessage { } class GetBlockTemplateRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockTemplateRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'payAddress', - protoName: 'payAddress') - ..aOS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'extraData', - protoName: 'extraData') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockTemplateRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'payAddress', protoName: 'payAddress') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'extraData', protoName: 'extraData') + ..hasRequiredFields = false + ; GetBlockTemplateRequestMessage._() : super(); factory GetBlockTemplateRequestMessage({ @@ -2275,44 +1485,31 @@ class GetBlockTemplateRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlockTemplateRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockTemplateRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockTemplateRequestMessage clone() => - GetBlockTemplateRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockTemplateRequestMessage copyWith( - void Function(GetBlockTemplateRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetBlockTemplateRequestMessage)) - as GetBlockTemplateRequestMessage; // ignore: deprecated_member_use + factory GetBlockTemplateRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockTemplateRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockTemplateRequestMessage clone() => GetBlockTemplateRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockTemplateRequestMessage copyWith(void Function(GetBlockTemplateRequestMessage) updates) => super.copyWith((message) => updates(message as GetBlockTemplateRequestMessage)) as GetBlockTemplateRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBlockTemplateRequestMessage create() => - GetBlockTemplateRequestMessage._(); + static GetBlockTemplateRequestMessage create() => GetBlockTemplateRequestMessage._(); GetBlockTemplateRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockTemplateRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockTemplateRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockTemplateRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get payAddress => $_getSZ(0); @$pb.TagNumber(1) - set payAddress($core.String v) { - $_setString(0, v); - } - + set payAddress($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasPayAddress() => $_has(0); @$pb.TagNumber(1) @@ -2321,10 +1518,7 @@ class GetBlockTemplateRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get extraData => $_getSZ(1); @$pb.TagNumber(2) - set extraData($core.String v) { - $_setString(1, v); - } - + set extraData($core.String v) { $_setString(1, v); } @$pb.TagNumber(2) $core.bool hasExtraData() => $_has(1); @$pb.TagNumber(2) @@ -2332,34 +1526,12 @@ class GetBlockTemplateRequestMessage extends $pb.GeneratedMessage { } class GetBlockTemplateResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockTemplateResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isSynced', - protoName: 'isSynced') - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: RpcBlock.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockTemplateResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isSynced', protoName: 'isSynced') + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: RpcBlock.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBlockTemplateResponseMessage._() : super(); factory GetBlockTemplateResponseMessage({ @@ -2379,45 +1551,31 @@ class GetBlockTemplateResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlockTemplateResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockTemplateResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockTemplateResponseMessage clone() => - GetBlockTemplateResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockTemplateResponseMessage copyWith( - void Function(GetBlockTemplateResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetBlockTemplateResponseMessage)) - as GetBlockTemplateResponseMessage; // ignore: deprecated_member_use + factory GetBlockTemplateResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockTemplateResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockTemplateResponseMessage clone() => GetBlockTemplateResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockTemplateResponseMessage copyWith(void Function(GetBlockTemplateResponseMessage) updates) => super.copyWith((message) => updates(message as GetBlockTemplateResponseMessage)) as GetBlockTemplateResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBlockTemplateResponseMessage create() => - GetBlockTemplateResponseMessage._(); + static GetBlockTemplateResponseMessage create() => GetBlockTemplateResponseMessage._(); GetBlockTemplateResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockTemplateResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetBlockTemplateResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockTemplateResponseMessage? _defaultInstance; @$pb.TagNumber(2) $core.bool get isSynced => $_getBF(0); @$pb.TagNumber(2) - set isSynced($core.bool v) { - $_setBool(0, v); - } - + set isSynced($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(2) $core.bool hasIsSynced() => $_has(0); @$pb.TagNumber(2) @@ -2426,10 +1584,7 @@ class GetBlockTemplateResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) RpcBlock get block => $_getN(1); @$pb.TagNumber(3) - set block(RpcBlock v) { - setField(3, v); - } - + set block(RpcBlock v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasBlock() => $_has(1); @$pb.TagNumber(3) @@ -2440,10 +1595,7 @@ class GetBlockTemplateResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(2); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(2); @$pb.TagNumber(1000) @@ -2453,68 +1605,39 @@ class GetBlockTemplateResponseMessage extends $pb.GeneratedMessage { } class NotifyBlockAddedRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyBlockAddedRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyBlockAddedRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NotifyBlockAddedRequestMessage._() : super(); factory NotifyBlockAddedRequestMessage() => create(); - factory NotifyBlockAddedRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyBlockAddedRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyBlockAddedRequestMessage clone() => - NotifyBlockAddedRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyBlockAddedRequestMessage copyWith( - void Function(NotifyBlockAddedRequestMessage) updates) => - super.copyWith( - (message) => updates(message as NotifyBlockAddedRequestMessage)) - as NotifyBlockAddedRequestMessage; // ignore: deprecated_member_use + factory NotifyBlockAddedRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyBlockAddedRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyBlockAddedRequestMessage clone() => NotifyBlockAddedRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyBlockAddedRequestMessage copyWith(void Function(NotifyBlockAddedRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyBlockAddedRequestMessage)) as NotifyBlockAddedRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyBlockAddedRequestMessage create() => - NotifyBlockAddedRequestMessage._(); + static NotifyBlockAddedRequestMessage create() => NotifyBlockAddedRequestMessage._(); NotifyBlockAddedRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyBlockAddedRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static NotifyBlockAddedRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyBlockAddedRequestMessage? _defaultInstance; } class NotifyBlockAddedResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyBlockAddedResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyBlockAddedResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyBlockAddedResponseMessage._() : super(); factory NotifyBlockAddedResponseMessage({ @@ -2526,45 +1649,31 @@ class NotifyBlockAddedResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory NotifyBlockAddedResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyBlockAddedResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyBlockAddedResponseMessage clone() => - NotifyBlockAddedResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyBlockAddedResponseMessage copyWith( - void Function(NotifyBlockAddedResponseMessage) updates) => - super.copyWith( - (message) => updates(message as NotifyBlockAddedResponseMessage)) - as NotifyBlockAddedResponseMessage; // ignore: deprecated_member_use + factory NotifyBlockAddedResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyBlockAddedResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyBlockAddedResponseMessage clone() => NotifyBlockAddedResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyBlockAddedResponseMessage copyWith(void Function(NotifyBlockAddedResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyBlockAddedResponseMessage)) as NotifyBlockAddedResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyBlockAddedResponseMessage create() => - NotifyBlockAddedResponseMessage._(); + static NotifyBlockAddedResponseMessage create() => NotifyBlockAddedResponseMessage._(); NotifyBlockAddedResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyBlockAddedResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static NotifyBlockAddedResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyBlockAddedResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -2574,22 +1683,10 @@ class NotifyBlockAddedResponseMessage extends $pb.GeneratedMessage { } class BlockAddedNotificationMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BlockAddedNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: RpcBlock.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BlockAddedNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: RpcBlock.create) + ..hasRequiredFields = false + ; BlockAddedNotificationMessage._() : super(); factory BlockAddedNotificationMessage({ @@ -2601,44 +1698,31 @@ class BlockAddedNotificationMessage extends $pb.GeneratedMessage { } return _result; } - factory BlockAddedNotificationMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BlockAddedNotificationMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BlockAddedNotificationMessage clone() => - BlockAddedNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockAddedNotificationMessage copyWith( - void Function(BlockAddedNotificationMessage) updates) => - super.copyWith( - (message) => updates(message as BlockAddedNotificationMessage)) - as BlockAddedNotificationMessage; // ignore: deprecated_member_use + factory BlockAddedNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockAddedNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BlockAddedNotificationMessage clone() => BlockAddedNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockAddedNotificationMessage copyWith(void Function(BlockAddedNotificationMessage) updates) => super.copyWith((message) => updates(message as BlockAddedNotificationMessage)) as BlockAddedNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static BlockAddedNotificationMessage create() => - BlockAddedNotificationMessage._(); + static BlockAddedNotificationMessage create() => BlockAddedNotificationMessage._(); BlockAddedNotificationMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BlockAddedNotificationMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BlockAddedNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BlockAddedNotificationMessage? _defaultInstance; @$pb.TagNumber(3) RpcBlock get block => $_getN(0); @$pb.TagNumber(3) - set block(RpcBlock v) { - setField(3, v); - } - + set block(RpcBlock v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasBlock() => $_has(0); @$pb.TagNumber(3) @@ -2648,83 +1732,41 @@ class BlockAddedNotificationMessage extends $pb.GeneratedMessage { } class GetPeerAddressesRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetPeerAddressesRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetPeerAddressesRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetPeerAddressesRequestMessage._() : super(); factory GetPeerAddressesRequestMessage() => create(); - factory GetPeerAddressesRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetPeerAddressesRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPeerAddressesRequestMessage clone() => - GetPeerAddressesRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPeerAddressesRequestMessage copyWith( - void Function(GetPeerAddressesRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetPeerAddressesRequestMessage)) - as GetPeerAddressesRequestMessage; // ignore: deprecated_member_use + factory GetPeerAddressesRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetPeerAddressesRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetPeerAddressesRequestMessage clone() => GetPeerAddressesRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetPeerAddressesRequestMessage copyWith(void Function(GetPeerAddressesRequestMessage) updates) => super.copyWith((message) => updates(message as GetPeerAddressesRequestMessage)) as GetPeerAddressesRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetPeerAddressesRequestMessage create() => - GetPeerAddressesRequestMessage._(); + static GetPeerAddressesRequestMessage create() => GetPeerAddressesRequestMessage._(); GetPeerAddressesRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetPeerAddressesRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetPeerAddressesRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetPeerAddressesRequestMessage? _defaultInstance; } class GetPeerAddressesResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetPeerAddressesResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses', - $pb.PbFieldType.PM, - subBuilder: GetPeerAddressesKnownAddressMessage.create) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'bannedAddresses', - $pb.PbFieldType.PM, - protoName: 'bannedAddresses', - subBuilder: GetPeerAddressesKnownAddressMessage.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetPeerAddressesResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses', $pb.PbFieldType.PM, subBuilder: GetPeerAddressesKnownAddressMessage.create) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'bannedAddresses', $pb.PbFieldType.PM, protoName: 'bannedAddresses', subBuilder: GetPeerAddressesKnownAddressMessage.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetPeerAddressesResponseMessage._() : super(); factory GetPeerAddressesResponseMessage({ @@ -2744,52 +1786,37 @@ class GetPeerAddressesResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetPeerAddressesResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetPeerAddressesResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPeerAddressesResponseMessage clone() => - GetPeerAddressesResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPeerAddressesResponseMessage copyWith( - void Function(GetPeerAddressesResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetPeerAddressesResponseMessage)) - as GetPeerAddressesResponseMessage; // ignore: deprecated_member_use + factory GetPeerAddressesResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetPeerAddressesResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetPeerAddressesResponseMessage clone() => GetPeerAddressesResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetPeerAddressesResponseMessage copyWith(void Function(GetPeerAddressesResponseMessage) updates) => super.copyWith((message) => updates(message as GetPeerAddressesResponseMessage)) as GetPeerAddressesResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetPeerAddressesResponseMessage create() => - GetPeerAddressesResponseMessage._(); + static GetPeerAddressesResponseMessage create() => GetPeerAddressesResponseMessage._(); GetPeerAddressesResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetPeerAddressesResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetPeerAddressesResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetPeerAddressesResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.List get addresses => $_getList(0); @$pb.TagNumber(2) - $core.List get bannedAddresses => - $_getList(1); + $core.List get bannedAddresses => $_getList(1); @$pb.TagNumber(1000) RPCError get error => $_getN(2); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(2); @$pb.TagNumber(1000) @@ -2799,22 +1826,10 @@ class GetPeerAddressesResponseMessage extends $pb.GeneratedMessage { } class GetPeerAddressesKnownAddressMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetPeerAddressesKnownAddressMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'Addr', - protoName: 'Addr') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetPeerAddressesKnownAddressMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'Addr', protoName: 'Addr') + ..hasRequiredFields = false + ; GetPeerAddressesKnownAddressMessage._() : super(); factory GetPeerAddressesKnownAddressMessage({ @@ -2826,46 +1841,31 @@ class GetPeerAddressesKnownAddressMessage extends $pb.GeneratedMessage { } return _result; } - factory GetPeerAddressesKnownAddressMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetPeerAddressesKnownAddressMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPeerAddressesKnownAddressMessage clone() => - GetPeerAddressesKnownAddressMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPeerAddressesKnownAddressMessage copyWith( - void Function(GetPeerAddressesKnownAddressMessage) updates) => - super.copyWith((message) => - updates(message as GetPeerAddressesKnownAddressMessage)) - as GetPeerAddressesKnownAddressMessage; // ignore: deprecated_member_use + factory GetPeerAddressesKnownAddressMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetPeerAddressesKnownAddressMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetPeerAddressesKnownAddressMessage clone() => GetPeerAddressesKnownAddressMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetPeerAddressesKnownAddressMessage copyWith(void Function(GetPeerAddressesKnownAddressMessage) updates) => super.copyWith((message) => updates(message as GetPeerAddressesKnownAddressMessage)) as GetPeerAddressesKnownAddressMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetPeerAddressesKnownAddressMessage create() => - GetPeerAddressesKnownAddressMessage._(); + static GetPeerAddressesKnownAddressMessage create() => GetPeerAddressesKnownAddressMessage._(); GetPeerAddressesKnownAddressMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetPeerAddressesKnownAddressMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetPeerAddressesKnownAddressMessage>(create); + static GetPeerAddressesKnownAddressMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetPeerAddressesKnownAddressMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get addr => $_getSZ(0); @$pb.TagNumber(1) - set addr($core.String v) { - $_setString(0, v); - } - + set addr($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAddr() => $_has(0); @$pb.TagNumber(1) @@ -2873,75 +1873,40 @@ class GetPeerAddressesKnownAddressMessage extends $pb.GeneratedMessage { } class GetSelectedTipHashRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetSelectedTipHashRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetSelectedTipHashRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetSelectedTipHashRequestMessage._() : super(); factory GetSelectedTipHashRequestMessage() => create(); - factory GetSelectedTipHashRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetSelectedTipHashRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSelectedTipHashRequestMessage clone() => - GetSelectedTipHashRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSelectedTipHashRequestMessage copyWith( - void Function(GetSelectedTipHashRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetSelectedTipHashRequestMessage)) - as GetSelectedTipHashRequestMessage; // ignore: deprecated_member_use + factory GetSelectedTipHashRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetSelectedTipHashRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetSelectedTipHashRequestMessage clone() => GetSelectedTipHashRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetSelectedTipHashRequestMessage copyWith(void Function(GetSelectedTipHashRequestMessage) updates) => super.copyWith((message) => updates(message as GetSelectedTipHashRequestMessage)) as GetSelectedTipHashRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetSelectedTipHashRequestMessage create() => - GetSelectedTipHashRequestMessage._(); + static GetSelectedTipHashRequestMessage create() => GetSelectedTipHashRequestMessage._(); GetSelectedTipHashRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetSelectedTipHashRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetSelectedTipHashRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetSelectedTipHashRequestMessage? _defaultInstance; } class GetSelectedTipHashResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetSelectedTipHashResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'selectedTipHash', - protoName: 'selectedTipHash') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetSelectedTipHashResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'selectedTipHash', protoName: 'selectedTipHash') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetSelectedTipHashResponseMessage._() : super(); factory GetSelectedTipHashResponseMessage({ @@ -2957,45 +1922,31 @@ class GetSelectedTipHashResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetSelectedTipHashResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetSelectedTipHashResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSelectedTipHashResponseMessage clone() => - GetSelectedTipHashResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSelectedTipHashResponseMessage copyWith( - void Function(GetSelectedTipHashResponseMessage) updates) => - super.copyWith((message) => - updates(message as GetSelectedTipHashResponseMessage)) - as GetSelectedTipHashResponseMessage; // ignore: deprecated_member_use + factory GetSelectedTipHashResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetSelectedTipHashResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetSelectedTipHashResponseMessage clone() => GetSelectedTipHashResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetSelectedTipHashResponseMessage copyWith(void Function(GetSelectedTipHashResponseMessage) updates) => super.copyWith((message) => updates(message as GetSelectedTipHashResponseMessage)) as GetSelectedTipHashResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetSelectedTipHashResponseMessage create() => - GetSelectedTipHashResponseMessage._(); + static GetSelectedTipHashResponseMessage create() => GetSelectedTipHashResponseMessage._(); GetSelectedTipHashResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetSelectedTipHashResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetSelectedTipHashResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetSelectedTipHashResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get selectedTipHash => $_getSZ(0); @$pb.TagNumber(1) - set selectedTipHash($core.String v) { - $_setString(0, v); - } - + set selectedTipHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasSelectedTipHash() => $_has(0); @$pb.TagNumber(1) @@ -3004,10 +1955,7 @@ class GetSelectedTipHashResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -3017,34 +1965,12 @@ class GetSelectedTipHashResponseMessage extends $pb.GeneratedMessage { } class GetMempoolEntryRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetMempoolEntryRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'txId', - protoName: 'txId') - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeOrphanPool', - protoName: 'includeOrphanPool') - ..aOB( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'filterTransactionPool', - protoName: 'filterTransactionPool') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetMempoolEntryRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'txId', protoName: 'txId') + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeOrphanPool', protoName: 'includeOrphanPool') + ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'filterTransactionPool', protoName: 'filterTransactionPool') + ..hasRequiredFields = false + ; GetMempoolEntryRequestMessage._() : super(); factory GetMempoolEntryRequestMessage({ @@ -3064,44 +1990,31 @@ class GetMempoolEntryRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetMempoolEntryRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetMempoolEntryRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMempoolEntryRequestMessage clone() => - GetMempoolEntryRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMempoolEntryRequestMessage copyWith( - void Function(GetMempoolEntryRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetMempoolEntryRequestMessage)) - as GetMempoolEntryRequestMessage; // ignore: deprecated_member_use + factory GetMempoolEntryRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetMempoolEntryRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetMempoolEntryRequestMessage clone() => GetMempoolEntryRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetMempoolEntryRequestMessage copyWith(void Function(GetMempoolEntryRequestMessage) updates) => super.copyWith((message) => updates(message as GetMempoolEntryRequestMessage)) as GetMempoolEntryRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetMempoolEntryRequestMessage create() => - GetMempoolEntryRequestMessage._(); + static GetMempoolEntryRequestMessage create() => GetMempoolEntryRequestMessage._(); GetMempoolEntryRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetMempoolEntryRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetMempoolEntryRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetMempoolEntryRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get txId => $_getSZ(0); @$pb.TagNumber(1) - set txId($core.String v) { - $_setString(0, v); - } - + set txId($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasTxId() => $_has(0); @$pb.TagNumber(1) @@ -3110,10 +2023,7 @@ class GetMempoolEntryRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get includeOrphanPool => $_getBF(1); @$pb.TagNumber(2) - set includeOrphanPool($core.bool v) { - $_setBool(1, v); - } - + set includeOrphanPool($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasIncludeOrphanPool() => $_has(1); @$pb.TagNumber(2) @@ -3122,10 +2032,7 @@ class GetMempoolEntryRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get filterTransactionPool => $_getBF(2); @$pb.TagNumber(3) - set filterTransactionPool($core.bool v) { - $_setBool(2, v); - } - + set filterTransactionPool($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasFilterTransactionPool() => $_has(2); @$pb.TagNumber(3) @@ -3133,28 +2040,11 @@ class GetMempoolEntryRequestMessage extends $pb.GeneratedMessage { } class GetMempoolEntryResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetMempoolEntryResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'entry', - subBuilder: MempoolEntry.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetMempoolEntryResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'entry', subBuilder: MempoolEntry.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetMempoolEntryResponseMessage._() : super(); factory GetMempoolEntryResponseMessage({ @@ -3170,44 +2060,31 @@ class GetMempoolEntryResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetMempoolEntryResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetMempoolEntryResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMempoolEntryResponseMessage clone() => - GetMempoolEntryResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMempoolEntryResponseMessage copyWith( - void Function(GetMempoolEntryResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetMempoolEntryResponseMessage)) - as GetMempoolEntryResponseMessage; // ignore: deprecated_member_use + factory GetMempoolEntryResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetMempoolEntryResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetMempoolEntryResponseMessage clone() => GetMempoolEntryResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetMempoolEntryResponseMessage copyWith(void Function(GetMempoolEntryResponseMessage) updates) => super.copyWith((message) => updates(message as GetMempoolEntryResponseMessage)) as GetMempoolEntryResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetMempoolEntryResponseMessage create() => - GetMempoolEntryResponseMessage._(); + static GetMempoolEntryResponseMessage create() => GetMempoolEntryResponseMessage._(); GetMempoolEntryResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetMempoolEntryResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetMempoolEntryResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetMempoolEntryResponseMessage? _defaultInstance; @$pb.TagNumber(1) MempoolEntry get entry => $_getN(0); @$pb.TagNumber(1) - set entry(MempoolEntry v) { - setField(1, v); - } - + set entry(MempoolEntry v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasEntry() => $_has(0); @$pb.TagNumber(1) @@ -3218,10 +2095,7 @@ class GetMempoolEntryResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -3231,28 +2105,11 @@ class GetMempoolEntryResponseMessage extends $pb.GeneratedMessage { } class GetMempoolEntriesRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetMempoolEntriesRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOB( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeOrphanPool', - protoName: 'includeOrphanPool') - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'filterTransactionPool', - protoName: 'filterTransactionPool') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetMempoolEntriesRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeOrphanPool', protoName: 'includeOrphanPool') + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'filterTransactionPool', protoName: 'filterTransactionPool') + ..hasRequiredFields = false + ; GetMempoolEntriesRequestMessage._() : super(); factory GetMempoolEntriesRequestMessage({ @@ -3268,45 +2125,31 @@ class GetMempoolEntriesRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetMempoolEntriesRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetMempoolEntriesRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesRequestMessage clone() => - GetMempoolEntriesRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesRequestMessage copyWith( - void Function(GetMempoolEntriesRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetMempoolEntriesRequestMessage)) - as GetMempoolEntriesRequestMessage; // ignore: deprecated_member_use + factory GetMempoolEntriesRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetMempoolEntriesRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesRequestMessage clone() => GetMempoolEntriesRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesRequestMessage copyWith(void Function(GetMempoolEntriesRequestMessage) updates) => super.copyWith((message) => updates(message as GetMempoolEntriesRequestMessage)) as GetMempoolEntriesRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetMempoolEntriesRequestMessage create() => - GetMempoolEntriesRequestMessage._(); + static GetMempoolEntriesRequestMessage create() => GetMempoolEntriesRequestMessage._(); GetMempoolEntriesRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetMempoolEntriesRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetMempoolEntriesRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetMempoolEntriesRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.bool get includeOrphanPool => $_getBF(0); @$pb.TagNumber(1) - set includeOrphanPool($core.bool v) { - $_setBool(0, v); - } - + set includeOrphanPool($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasIncludeOrphanPool() => $_has(0); @$pb.TagNumber(1) @@ -3315,10 +2158,7 @@ class GetMempoolEntriesRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get filterTransactionPool => $_getBF(1); @$pb.TagNumber(2) - set filterTransactionPool($core.bool v) { - $_setBool(1, v); - } - + set filterTransactionPool($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasFilterTransactionPool() => $_has(1); @$pb.TagNumber(2) @@ -3326,29 +2166,11 @@ class GetMempoolEntriesRequestMessage extends $pb.GeneratedMessage { } class GetMempoolEntriesResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetMempoolEntriesResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'entries', - $pb.PbFieldType.PM, - subBuilder: MempoolEntry.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetMempoolEntriesResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: MempoolEntry.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetMempoolEntriesResponseMessage._() : super(); factory GetMempoolEntriesResponseMessage({ @@ -3364,36 +2186,25 @@ class GetMempoolEntriesResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetMempoolEntriesResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetMempoolEntriesResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesResponseMessage clone() => - GetMempoolEntriesResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesResponseMessage copyWith( - void Function(GetMempoolEntriesResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetMempoolEntriesResponseMessage)) - as GetMempoolEntriesResponseMessage; // ignore: deprecated_member_use + factory GetMempoolEntriesResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetMempoolEntriesResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesResponseMessage clone() => GetMempoolEntriesResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesResponseMessage copyWith(void Function(GetMempoolEntriesResponseMessage) updates) => super.copyWith((message) => updates(message as GetMempoolEntriesResponseMessage)) as GetMempoolEntriesResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetMempoolEntriesResponseMessage create() => - GetMempoolEntriesResponseMessage._(); + static GetMempoolEntriesResponseMessage create() => GetMempoolEntriesResponseMessage._(); GetMempoolEntriesResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetMempoolEntriesResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetMempoolEntriesResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetMempoolEntriesResponseMessage? _defaultInstance; @$pb.TagNumber(1) @@ -3402,10 +2213,7 @@ class GetMempoolEntriesResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -3415,35 +2223,12 @@ class GetMempoolEntriesResponseMessage extends $pb.GeneratedMessage { } class MempoolEntry extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'MempoolEntry', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'fee', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transaction', - subBuilder: RpcTransaction.create) - ..aOB( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isOrphan', - protoName: 'isOrphan') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MempoolEntry', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'fee', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transaction', subBuilder: RpcTransaction.create) + ..aOB(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isOrphan', protoName: 'isOrphan') + ..hasRequiredFields = false + ; MempoolEntry._() : super(); factory MempoolEntry({ @@ -3463,40 +2248,31 @@ class MempoolEntry extends $pb.GeneratedMessage { } return _result; } - factory MempoolEntry.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MempoolEntry.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory MempoolEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MempoolEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') MempoolEntry clone() => MempoolEntry()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MempoolEntry copyWith(void Function(MempoolEntry) updates) => - super.copyWith((message) => updates(message as MempoolEntry)) - as MempoolEntry; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MempoolEntry copyWith(void Function(MempoolEntry) updates) => super.copyWith((message) => updates(message as MempoolEntry)) as MempoolEntry; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MempoolEntry create() => MempoolEntry._(); MempoolEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MempoolEntry getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MempoolEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MempoolEntry? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get fee => $_getI64(0); @$pb.TagNumber(1) - set fee($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set fee($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasFee() => $_has(0); @$pb.TagNumber(1) @@ -3505,10 +2281,7 @@ class MempoolEntry extends $pb.GeneratedMessage { @$pb.TagNumber(3) RpcTransaction get transaction => $_getN(1); @$pb.TagNumber(3) - set transaction(RpcTransaction v) { - setField(3, v); - } - + set transaction(RpcTransaction v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTransaction() => $_has(1); @$pb.TagNumber(3) @@ -3519,10 +2292,7 @@ class MempoolEntry extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get isOrphan => $_getBF(2); @$pb.TagNumber(4) - set isOrphan($core.bool v) { - $_setBool(2, v); - } - + set isOrphan($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(4) $core.bool hasIsOrphan() => $_has(2); @$pb.TagNumber(4) @@ -3530,76 +2300,40 @@ class MempoolEntry extends $pb.GeneratedMessage { } class GetConnectedPeerInfoRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetConnectedPeerInfoRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetConnectedPeerInfoRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetConnectedPeerInfoRequestMessage._() : super(); factory GetConnectedPeerInfoRequestMessage() => create(); - factory GetConnectedPeerInfoRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetConnectedPeerInfoRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetConnectedPeerInfoRequestMessage clone() => - GetConnectedPeerInfoRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetConnectedPeerInfoRequestMessage copyWith( - void Function(GetConnectedPeerInfoRequestMessage) updates) => - super.copyWith((message) => - updates(message as GetConnectedPeerInfoRequestMessage)) - as GetConnectedPeerInfoRequestMessage; // ignore: deprecated_member_use + factory GetConnectedPeerInfoRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetConnectedPeerInfoRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetConnectedPeerInfoRequestMessage clone() => GetConnectedPeerInfoRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetConnectedPeerInfoRequestMessage copyWith(void Function(GetConnectedPeerInfoRequestMessage) updates) => super.copyWith((message) => updates(message as GetConnectedPeerInfoRequestMessage)) as GetConnectedPeerInfoRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetConnectedPeerInfoRequestMessage create() => - GetConnectedPeerInfoRequestMessage._(); + static GetConnectedPeerInfoRequestMessage create() => GetConnectedPeerInfoRequestMessage._(); GetConnectedPeerInfoRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetConnectedPeerInfoRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetConnectedPeerInfoRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetConnectedPeerInfoRequestMessage? _defaultInstance; } class GetConnectedPeerInfoResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetConnectedPeerInfoResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'infos', - $pb.PbFieldType.PM, - subBuilder: GetConnectedPeerInfoMessage.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetConnectedPeerInfoResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'infos', $pb.PbFieldType.PM, subBuilder: GetConnectedPeerInfoMessage.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetConnectedPeerInfoResponseMessage._() : super(); factory GetConnectedPeerInfoResponseMessage({ @@ -3615,37 +2349,25 @@ class GetConnectedPeerInfoResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetConnectedPeerInfoResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetConnectedPeerInfoResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetConnectedPeerInfoResponseMessage clone() => - GetConnectedPeerInfoResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetConnectedPeerInfoResponseMessage copyWith( - void Function(GetConnectedPeerInfoResponseMessage) updates) => - super.copyWith((message) => - updates(message as GetConnectedPeerInfoResponseMessage)) - as GetConnectedPeerInfoResponseMessage; // ignore: deprecated_member_use + factory GetConnectedPeerInfoResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetConnectedPeerInfoResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetConnectedPeerInfoResponseMessage clone() => GetConnectedPeerInfoResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetConnectedPeerInfoResponseMessage copyWith(void Function(GetConnectedPeerInfoResponseMessage) updates) => super.copyWith((message) => updates(message as GetConnectedPeerInfoResponseMessage)) as GetConnectedPeerInfoResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetConnectedPeerInfoResponseMessage create() => - GetConnectedPeerInfoResponseMessage._(); + static GetConnectedPeerInfoResponseMessage create() => GetConnectedPeerInfoResponseMessage._(); GetConnectedPeerInfoResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetConnectedPeerInfoResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetConnectedPeerInfoResponseMessage>(create); + static GetConnectedPeerInfoResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetConnectedPeerInfoResponseMessage? _defaultInstance; @$pb.TagNumber(1) @@ -3654,10 +2376,7 @@ class GetConnectedPeerInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -3667,69 +2386,18 @@ class GetConnectedPeerInfoResponseMessage extends $pb.GeneratedMessage { } class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetConnectedPeerInfoMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'id') - ..aOS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address') - ..aInt64( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'lastPingDuration', - protoName: 'lastPingDuration') - ..aOB( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isOutbound', - protoName: 'isOutbound') - ..aInt64( - 7, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'timeOffset', - protoName: 'timeOffset') - ..aOS( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'userAgent', - protoName: 'userAgent') - ..a<$core.int>( - 9, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'advertisedProtocolVersion', - $pb.PbFieldType.OU3, - protoName: 'advertisedProtocolVersion') - ..aInt64( - 10, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'timeConnected', - protoName: 'timeConnected') - ..aOB( - 11, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isIbdPeer', - protoName: 'isIbdPeer') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetConnectedPeerInfoMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') + ..aInt64(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'lastPingDuration', protoName: 'lastPingDuration') + ..aOB(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isOutbound', protoName: 'isOutbound') + ..aInt64(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'timeOffset', protoName: 'timeOffset') + ..aOS(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'userAgent', protoName: 'userAgent') + ..a<$core.int>(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'advertisedProtocolVersion', $pb.PbFieldType.OU3, protoName: 'advertisedProtocolVersion') + ..aInt64(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'timeConnected', protoName: 'timeConnected') + ..aOB(11, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isIbdPeer', protoName: 'isIbdPeer') + ..hasRequiredFields = false + ; GetConnectedPeerInfoMessage._() : super(); factory GetConnectedPeerInfoMessage({ @@ -3773,44 +2441,31 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { } return _result; } - factory GetConnectedPeerInfoMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetConnectedPeerInfoMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetConnectedPeerInfoMessage clone() => - GetConnectedPeerInfoMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetConnectedPeerInfoMessage copyWith( - void Function(GetConnectedPeerInfoMessage) updates) => - super.copyWith( - (message) => updates(message as GetConnectedPeerInfoMessage)) - as GetConnectedPeerInfoMessage; // ignore: deprecated_member_use + factory GetConnectedPeerInfoMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetConnectedPeerInfoMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetConnectedPeerInfoMessage clone() => GetConnectedPeerInfoMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetConnectedPeerInfoMessage copyWith(void Function(GetConnectedPeerInfoMessage) updates) => super.copyWith((message) => updates(message as GetConnectedPeerInfoMessage)) as GetConnectedPeerInfoMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetConnectedPeerInfoMessage create() => - GetConnectedPeerInfoMessage._(); + static GetConnectedPeerInfoMessage create() => GetConnectedPeerInfoMessage._(); GetConnectedPeerInfoMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetConnectedPeerInfoMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetConnectedPeerInfoMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetConnectedPeerInfoMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get id => $_getSZ(0); @$pb.TagNumber(1) - set id($core.String v) { - $_setString(0, v); - } - + set id($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasId() => $_has(0); @$pb.TagNumber(1) @@ -3819,10 +2474,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get address => $_getSZ(1); @$pb.TagNumber(2) - set address($core.String v) { - $_setString(1, v); - } - + set address($core.String v) { $_setString(1, v); } @$pb.TagNumber(2) $core.bool hasAddress() => $_has(1); @$pb.TagNumber(2) @@ -3831,10 +2483,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get lastPingDuration => $_getI64(2); @$pb.TagNumber(3) - set lastPingDuration($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set lastPingDuration($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasLastPingDuration() => $_has(2); @$pb.TagNumber(3) @@ -3843,10 +2492,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get isOutbound => $_getBF(3); @$pb.TagNumber(6) - set isOutbound($core.bool v) { - $_setBool(3, v); - } - + set isOutbound($core.bool v) { $_setBool(3, v); } @$pb.TagNumber(6) $core.bool hasIsOutbound() => $_has(3); @$pb.TagNumber(6) @@ -3855,10 +2501,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(7) $fixnum.Int64 get timeOffset => $_getI64(4); @$pb.TagNumber(7) - set timeOffset($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set timeOffset($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(7) $core.bool hasTimeOffset() => $_has(4); @$pb.TagNumber(7) @@ -3867,10 +2510,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get userAgent => $_getSZ(5); @$pb.TagNumber(8) - set userAgent($core.String v) { - $_setString(5, v); - } - + set userAgent($core.String v) { $_setString(5, v); } @$pb.TagNumber(8) $core.bool hasUserAgent() => $_has(5); @$pb.TagNumber(8) @@ -3879,10 +2519,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.int get advertisedProtocolVersion => $_getIZ(6); @$pb.TagNumber(9) - set advertisedProtocolVersion($core.int v) { - $_setUnsignedInt32(6, v); - } - + set advertisedProtocolVersion($core.int v) { $_setUnsignedInt32(6, v); } @$pb.TagNumber(9) $core.bool hasAdvertisedProtocolVersion() => $_has(6); @$pb.TagNumber(9) @@ -3891,10 +2528,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(10) $fixnum.Int64 get timeConnected => $_getI64(7); @$pb.TagNumber(10) - set timeConnected($fixnum.Int64 v) { - $_setInt64(7, v); - } - + set timeConnected($fixnum.Int64 v) { $_setInt64(7, v); } @$pb.TagNumber(10) $core.bool hasTimeConnected() => $_has(7); @$pb.TagNumber(10) @@ -3903,10 +2537,7 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.bool get isIbdPeer => $_getBF(8); @$pb.TagNumber(11) - set isIbdPeer($core.bool v) { - $_setBool(8, v); - } - + set isIbdPeer($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(11) $core.bool hasIsIbdPeer() => $_has(8); @$pb.TagNumber(11) @@ -3914,27 +2545,11 @@ class GetConnectedPeerInfoMessage extends $pb.GeneratedMessage { } class AddPeerRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'AddPeerRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address') - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isPermanent', - protoName: 'isPermanent') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AddPeerRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isPermanent', protoName: 'isPermanent') + ..hasRequiredFields = false + ; AddPeerRequestMessage._() : super(); factory AddPeerRequestMessage({ @@ -3950,42 +2565,31 @@ class AddPeerRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory AddPeerRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AddPeerRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddPeerRequestMessage clone() => - AddPeerRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddPeerRequestMessage copyWith( - void Function(AddPeerRequestMessage) updates) => - super.copyWith((message) => updates(message as AddPeerRequestMessage)) - as AddPeerRequestMessage; // ignore: deprecated_member_use + factory AddPeerRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AddPeerRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AddPeerRequestMessage clone() => AddPeerRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AddPeerRequestMessage copyWith(void Function(AddPeerRequestMessage) updates) => super.copyWith((message) => updates(message as AddPeerRequestMessage)) as AddPeerRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AddPeerRequestMessage create() => AddPeerRequestMessage._(); AddPeerRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static AddPeerRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static AddPeerRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AddPeerRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get address => $_getSZ(0); @$pb.TagNumber(1) - set address($core.String v) { - $_setString(0, v); - } - + set address($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAddress() => $_has(0); @$pb.TagNumber(1) @@ -3994,10 +2598,7 @@ class AddPeerRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get isPermanent => $_getBF(1); @$pb.TagNumber(2) - set isPermanent($core.bool v) { - $_setBool(1, v); - } - + set isPermanent($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasIsPermanent() => $_has(1); @$pb.TagNumber(2) @@ -4005,22 +2606,10 @@ class AddPeerRequestMessage extends $pb.GeneratedMessage { } class AddPeerResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'AddPeerResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AddPeerResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; AddPeerResponseMessage._() : super(); factory AddPeerResponseMessage({ @@ -4032,42 +2621,31 @@ class AddPeerResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory AddPeerResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AddPeerResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddPeerResponseMessage clone() => - AddPeerResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddPeerResponseMessage copyWith( - void Function(AddPeerResponseMessage) updates) => - super.copyWith((message) => updates(message as AddPeerResponseMessage)) - as AddPeerResponseMessage; // ignore: deprecated_member_use + factory AddPeerResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AddPeerResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AddPeerResponseMessage clone() => AddPeerResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AddPeerResponseMessage copyWith(void Function(AddPeerResponseMessage) updates) => super.copyWith((message) => updates(message as AddPeerResponseMessage)) as AddPeerResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AddPeerResponseMessage create() => AddPeerResponseMessage._(); AddPeerResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static AddPeerResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static AddPeerResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AddPeerResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -4077,28 +2655,11 @@ class AddPeerResponseMessage extends $pb.GeneratedMessage { } class SubmitTransactionRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'SubmitTransactionRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transaction', - subBuilder: RpcTransaction.create) - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'allowOrphan', - protoName: 'allowOrphan') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SubmitTransactionRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transaction', subBuilder: RpcTransaction.create) + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'allowOrphan', protoName: 'allowOrphan') + ..hasRequiredFields = false + ; SubmitTransactionRequestMessage._() : super(); factory SubmitTransactionRequestMessage({ @@ -4114,45 +2675,31 @@ class SubmitTransactionRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory SubmitTransactionRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubmitTransactionRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitTransactionRequestMessage clone() => - SubmitTransactionRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitTransactionRequestMessage copyWith( - void Function(SubmitTransactionRequestMessage) updates) => - super.copyWith( - (message) => updates(message as SubmitTransactionRequestMessage)) - as SubmitTransactionRequestMessage; // ignore: deprecated_member_use + factory SubmitTransactionRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SubmitTransactionRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubmitTransactionRequestMessage clone() => SubmitTransactionRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubmitTransactionRequestMessage copyWith(void Function(SubmitTransactionRequestMessage) updates) => super.copyWith((message) => updates(message as SubmitTransactionRequestMessage)) as SubmitTransactionRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static SubmitTransactionRequestMessage create() => - SubmitTransactionRequestMessage._(); + static SubmitTransactionRequestMessage create() => SubmitTransactionRequestMessage._(); SubmitTransactionRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubmitTransactionRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static SubmitTransactionRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubmitTransactionRequestMessage? _defaultInstance; @$pb.TagNumber(1) RpcTransaction get transaction => $_getN(0); @$pb.TagNumber(1) - set transaction(RpcTransaction v) { - setField(1, v); - } - + set transaction(RpcTransaction v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTransaction() => $_has(0); @$pb.TagNumber(1) @@ -4163,10 +2710,7 @@ class SubmitTransactionRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get allowOrphan => $_getBF(1); @$pb.TagNumber(2) - set allowOrphan($core.bool v) { - $_setBool(1, v); - } - + set allowOrphan($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasAllowOrphan() => $_has(1); @$pb.TagNumber(2) @@ -4174,28 +2718,11 @@ class SubmitTransactionRequestMessage extends $pb.GeneratedMessage { } class SubmitTransactionResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'SubmitTransactionResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'transactionId', - protoName: 'transactionId') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SubmitTransactionResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'transactionId', protoName: 'transactionId') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; SubmitTransactionResponseMessage._() : super(); factory SubmitTransactionResponseMessage({ @@ -4211,45 +2738,31 @@ class SubmitTransactionResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory SubmitTransactionResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubmitTransactionResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitTransactionResponseMessage clone() => - SubmitTransactionResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitTransactionResponseMessage copyWith( - void Function(SubmitTransactionResponseMessage) updates) => - super.copyWith( - (message) => updates(message as SubmitTransactionResponseMessage)) - as SubmitTransactionResponseMessage; // ignore: deprecated_member_use + factory SubmitTransactionResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SubmitTransactionResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubmitTransactionResponseMessage clone() => SubmitTransactionResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubmitTransactionResponseMessage copyWith(void Function(SubmitTransactionResponseMessage) updates) => super.copyWith((message) => updates(message as SubmitTransactionResponseMessage)) as SubmitTransactionResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static SubmitTransactionResponseMessage create() => - SubmitTransactionResponseMessage._(); + static SubmitTransactionResponseMessage create() => SubmitTransactionResponseMessage._(); SubmitTransactionResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubmitTransactionResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static SubmitTransactionResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubmitTransactionResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get transactionId => $_getSZ(0); @$pb.TagNumber(1) - set transactionId($core.String v) { - $_setString(0, v); - } - + set transactionId($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasTransactionId() => $_has(0); @$pb.TagNumber(1) @@ -4258,10 +2771,7 @@ class SubmitTransactionResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -4270,24 +2780,11 @@ class SubmitTransactionResponseMessage extends $pb.GeneratedMessage { RPCError ensureError() => $_ensure(1); } -class NotifyVirtualSelectedParentChainChangedRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyVirtualSelectedParentChainChangedRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOB( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeAcceptedTransactionIds', - protoName: 'includeAcceptedTransactionIds') - ..hasRequiredFields = false; +class NotifyVirtualSelectedParentChainChangedRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyVirtualSelectedParentChainChangedRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeAcceptedTransactionIds', protoName: 'includeAcceptedTransactionIds') + ..hasRequiredFields = false + ; NotifyVirtualSelectedParentChainChangedRequestMessage._() : super(); factory NotifyVirtualSelectedParentChainChangedRequestMessage({ @@ -4299,76 +2796,42 @@ class NotifyVirtualSelectedParentChainChangedRequestMessage } return _result; } - factory NotifyVirtualSelectedParentChainChangedRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyVirtualSelectedParentChainChangedRequestMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentChainChangedRequestMessage clone() => - NotifyVirtualSelectedParentChainChangedRequestMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentChainChangedRequestMessage copyWith( - void Function(NotifyVirtualSelectedParentChainChangedRequestMessage) - updates) => - super.copyWith((message) => updates( - message as NotifyVirtualSelectedParentChainChangedRequestMessage)) - as NotifyVirtualSelectedParentChainChangedRequestMessage; // ignore: deprecated_member_use + factory NotifyVirtualSelectedParentChainChangedRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyVirtualSelectedParentChainChangedRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentChainChangedRequestMessage clone() => NotifyVirtualSelectedParentChainChangedRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentChainChangedRequestMessage copyWith(void Function(NotifyVirtualSelectedParentChainChangedRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyVirtualSelectedParentChainChangedRequestMessage)) as NotifyVirtualSelectedParentChainChangedRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentChainChangedRequestMessage create() => - NotifyVirtualSelectedParentChainChangedRequestMessage._(); - NotifyVirtualSelectedParentChainChangedRequestMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static NotifyVirtualSelectedParentChainChangedRequestMessage create() => NotifyVirtualSelectedParentChainChangedRequestMessage._(); + NotifyVirtualSelectedParentChainChangedRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentChainChangedRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyVirtualSelectedParentChainChangedRequestMessage>(create); - static NotifyVirtualSelectedParentChainChangedRequestMessage? - _defaultInstance; + static NotifyVirtualSelectedParentChainChangedRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NotifyVirtualSelectedParentChainChangedRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.bool get includeAcceptedTransactionIds => $_getBF(0); @$pb.TagNumber(1) - set includeAcceptedTransactionIds($core.bool v) { - $_setBool(0, v); - } - + set includeAcceptedTransactionIds($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasIncludeAcceptedTransactionIds() => $_has(0); @$pb.TagNumber(1) void clearIncludeAcceptedTransactionIds() => clearField(1); } -class NotifyVirtualSelectedParentChainChangedResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyVirtualSelectedParentChainChangedResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class NotifyVirtualSelectedParentChainChangedResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyVirtualSelectedParentChainChangedResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyVirtualSelectedParentChainChangedResponseMessage._() : super(); factory NotifyVirtualSelectedParentChainChangedResponseMessage({ @@ -4380,52 +2843,31 @@ class NotifyVirtualSelectedParentChainChangedResponseMessage } return _result; } - factory NotifyVirtualSelectedParentChainChangedResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyVirtualSelectedParentChainChangedResponseMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentChainChangedResponseMessage clone() => - NotifyVirtualSelectedParentChainChangedResponseMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentChainChangedResponseMessage copyWith( - void Function(NotifyVirtualSelectedParentChainChangedResponseMessage) - updates) => - super.copyWith((message) => updates(message - as NotifyVirtualSelectedParentChainChangedResponseMessage)) - as NotifyVirtualSelectedParentChainChangedResponseMessage; // ignore: deprecated_member_use + factory NotifyVirtualSelectedParentChainChangedResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyVirtualSelectedParentChainChangedResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentChainChangedResponseMessage clone() => NotifyVirtualSelectedParentChainChangedResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentChainChangedResponseMessage copyWith(void Function(NotifyVirtualSelectedParentChainChangedResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyVirtualSelectedParentChainChangedResponseMessage)) as NotifyVirtualSelectedParentChainChangedResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentChainChangedResponseMessage create() => - NotifyVirtualSelectedParentChainChangedResponseMessage._(); - NotifyVirtualSelectedParentChainChangedResponseMessage - createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static NotifyVirtualSelectedParentChainChangedResponseMessage create() => NotifyVirtualSelectedParentChainChangedResponseMessage._(); + NotifyVirtualSelectedParentChainChangedResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentChainChangedResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyVirtualSelectedParentChainChangedResponseMessage>(create); - static NotifyVirtualSelectedParentChainChangedResponseMessage? - _defaultInstance; + static NotifyVirtualSelectedParentChainChangedResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NotifyVirtualSelectedParentChainChangedResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -4434,38 +2876,13 @@ class NotifyVirtualSelectedParentChainChangedResponseMessage RPCError ensureError() => $_ensure(0); } -class VirtualSelectedParentChainChangedNotificationMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'VirtualSelectedParentChainChangedNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'removedChainBlockHashes', - protoName: 'removedChainBlockHashes') - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'acceptedTransactionIds', - $pb.PbFieldType.PM, - protoName: 'acceptedTransactionIds', - subBuilder: AcceptedTransactionIds.create) - ..pPS( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addedChainBlockHashes', - protoName: 'addedChainBlockHashes') - ..hasRequiredFields = false; +class VirtualSelectedParentChainChangedNotificationMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'VirtualSelectedParentChainChangedNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'removedChainBlockHashes', protoName: 'removedChainBlockHashes') + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'acceptedTransactionIds', $pb.PbFieldType.PM, protoName: 'acceptedTransactionIds', subBuilder: AcceptedTransactionIds.create) + ..pPS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addedChainBlockHashes', protoName: 'addedChainBlockHashes') + ..hasRequiredFields = false + ; VirtualSelectedParentChainChangedNotificationMessage._() : super(); factory VirtualSelectedParentChainChangedNotificationMessage({ @@ -4485,42 +2902,25 @@ class VirtualSelectedParentChainChangedNotificationMessage } return _result; } - factory VirtualSelectedParentChainChangedNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory VirtualSelectedParentChainChangedNotificationMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - VirtualSelectedParentChainChangedNotificationMessage clone() => - VirtualSelectedParentChainChangedNotificationMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VirtualSelectedParentChainChangedNotificationMessage copyWith( - void Function(VirtualSelectedParentChainChangedNotificationMessage) - updates) => - super.copyWith((message) => updates( - message as VirtualSelectedParentChainChangedNotificationMessage)) - as VirtualSelectedParentChainChangedNotificationMessage; // ignore: deprecated_member_use + factory VirtualSelectedParentChainChangedNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory VirtualSelectedParentChainChangedNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + VirtualSelectedParentChainChangedNotificationMessage clone() => VirtualSelectedParentChainChangedNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VirtualSelectedParentChainChangedNotificationMessage copyWith(void Function(VirtualSelectedParentChainChangedNotificationMessage) updates) => super.copyWith((message) => updates(message as VirtualSelectedParentChainChangedNotificationMessage)) as VirtualSelectedParentChainChangedNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static VirtualSelectedParentChainChangedNotificationMessage create() => - VirtualSelectedParentChainChangedNotificationMessage._(); - VirtualSelectedParentChainChangedNotificationMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static VirtualSelectedParentChainChangedNotificationMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - VirtualSelectedParentChainChangedNotificationMessage>(create); + static VirtualSelectedParentChainChangedNotificationMessage create() => VirtualSelectedParentChainChangedNotificationMessage._(); + VirtualSelectedParentChainChangedNotificationMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static VirtualSelectedParentChainChangedNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VirtualSelectedParentChainChangedNotificationMessage? _defaultInstance; @$pb.TagNumber(1) @@ -4534,27 +2934,11 @@ class VirtualSelectedParentChainChangedNotificationMessage } class GetBlockRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'hash') - ..aOB( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeTransactions', - protoName: 'includeTransactions') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hash') + ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeTransactions', protoName: 'includeTransactions') + ..hasRequiredFields = false + ; GetBlockRequestMessage._() : super(); factory GetBlockRequestMessage({ @@ -4570,42 +2954,31 @@ class GetBlockRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlockRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockRequestMessage clone() => - GetBlockRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockRequestMessage copyWith( - void Function(GetBlockRequestMessage) updates) => - super.copyWith((message) => updates(message as GetBlockRequestMessage)) - as GetBlockRequestMessage; // ignore: deprecated_member_use + factory GetBlockRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockRequestMessage clone() => GetBlockRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockRequestMessage copyWith(void Function(GetBlockRequestMessage) updates) => super.copyWith((message) => updates(message as GetBlockRequestMessage)) as GetBlockRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetBlockRequestMessage create() => GetBlockRequestMessage._(); GetBlockRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get hash => $_getSZ(0); @$pb.TagNumber(1) - set hash($core.String v) { - $_setString(0, v); - } - + set hash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasHash() => $_has(0); @$pb.TagNumber(1) @@ -4614,10 +2987,7 @@ class GetBlockRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get includeTransactions => $_getBF(1); @$pb.TagNumber(3) - set includeTransactions($core.bool v) { - $_setBool(1, v); - } - + set includeTransactions($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(3) $core.bool hasIncludeTransactions() => $_has(1); @$pb.TagNumber(3) @@ -4625,28 +2995,11 @@ class GetBlockRequestMessage extends $pb.GeneratedMessage { } class GetBlockResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'block', - subBuilder: RpcBlock.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'block', subBuilder: RpcBlock.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBlockResponseMessage._() : super(); factory GetBlockResponseMessage({ @@ -4662,42 +3015,31 @@ class GetBlockResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlockResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockResponseMessage clone() => - GetBlockResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockResponseMessage copyWith( - void Function(GetBlockResponseMessage) updates) => - super.copyWith((message) => updates(message as GetBlockResponseMessage)) - as GetBlockResponseMessage; // ignore: deprecated_member_use + factory GetBlockResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockResponseMessage clone() => GetBlockResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockResponseMessage copyWith(void Function(GetBlockResponseMessage) updates) => super.copyWith((message) => updates(message as GetBlockResponseMessage)) as GetBlockResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetBlockResponseMessage create() => GetBlockResponseMessage._(); GetBlockResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockResponseMessage? _defaultInstance; @$pb.TagNumber(3) RpcBlock get block => $_getN(0); @$pb.TagNumber(3) - set block(RpcBlock v) { - setField(3, v); - } - + set block(RpcBlock v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasBlock() => $_has(0); @$pb.TagNumber(3) @@ -4708,10 +3050,7 @@ class GetBlockResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -4721,22 +3060,10 @@ class GetBlockResponseMessage extends $pb.GeneratedMessage { } class GetSubnetworkRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetSubnetworkRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'subnetworkId', - protoName: 'subnetworkId') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetSubnetworkRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'subnetworkId', protoName: 'subnetworkId') + ..hasRequiredFields = false + ; GetSubnetworkRequestMessage._() : super(); factory GetSubnetworkRequestMessage({ @@ -4748,44 +3075,31 @@ class GetSubnetworkRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetSubnetworkRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetSubnetworkRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSubnetworkRequestMessage clone() => - GetSubnetworkRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSubnetworkRequestMessage copyWith( - void Function(GetSubnetworkRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetSubnetworkRequestMessage)) - as GetSubnetworkRequestMessage; // ignore: deprecated_member_use + factory GetSubnetworkRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetSubnetworkRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetSubnetworkRequestMessage clone() => GetSubnetworkRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetSubnetworkRequestMessage copyWith(void Function(GetSubnetworkRequestMessage) updates) => super.copyWith((message) => updates(message as GetSubnetworkRequestMessage)) as GetSubnetworkRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetSubnetworkRequestMessage create() => - GetSubnetworkRequestMessage._(); + static GetSubnetworkRequestMessage create() => GetSubnetworkRequestMessage._(); GetSubnetworkRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetSubnetworkRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetSubnetworkRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetSubnetworkRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get subnetworkId => $_getSZ(0); @$pb.TagNumber(1) - set subnetworkId($core.String v) { - $_setString(0, v); - } - + set subnetworkId($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasSubnetworkId() => $_has(0); @$pb.TagNumber(1) @@ -4793,30 +3107,11 @@ class GetSubnetworkRequestMessage extends $pb.GeneratedMessage { } class GetSubnetworkResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetSubnetworkResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'gasLimit', - $pb.PbFieldType.OU6, - protoName: 'gasLimit', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetSubnetworkResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'gasLimit', $pb.PbFieldType.OU6, protoName: 'gasLimit', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetSubnetworkResponseMessage._() : super(); factory GetSubnetworkResponseMessage({ @@ -4832,44 +3127,31 @@ class GetSubnetworkResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetSubnetworkResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetSubnetworkResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSubnetworkResponseMessage clone() => - GetSubnetworkResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSubnetworkResponseMessage copyWith( - void Function(GetSubnetworkResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetSubnetworkResponseMessage)) - as GetSubnetworkResponseMessage; // ignore: deprecated_member_use + factory GetSubnetworkResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetSubnetworkResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetSubnetworkResponseMessage clone() => GetSubnetworkResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetSubnetworkResponseMessage copyWith(void Function(GetSubnetworkResponseMessage) updates) => super.copyWith((message) => updates(message as GetSubnetworkResponseMessage)) as GetSubnetworkResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetSubnetworkResponseMessage create() => - GetSubnetworkResponseMessage._(); + static GetSubnetworkResponseMessage create() => GetSubnetworkResponseMessage._(); GetSubnetworkResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetSubnetworkResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetSubnetworkResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetSubnetworkResponseMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get gasLimit => $_getI64(0); @$pb.TagNumber(1) - set gasLimit($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set gasLimit($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasGasLimit() => $_has(0); @$pb.TagNumber(1) @@ -4878,10 +3160,7 @@ class GetSubnetworkResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -4890,30 +3169,12 @@ class GetSubnetworkResponseMessage extends $pb.GeneratedMessage { RPCError ensureError() => $_ensure(1); } -class GetVirtualSelectedParentChainFromBlockRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetVirtualSelectedParentChainFromBlockRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'startHash', - protoName: 'startHash') - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeAcceptedTransactionIds', - protoName: 'includeAcceptedTransactionIds') - ..hasRequiredFields = false; +class GetVirtualSelectedParentChainFromBlockRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetVirtualSelectedParentChainFromBlockRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'startHash', protoName: 'startHash') + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeAcceptedTransactionIds', protoName: 'includeAcceptedTransactionIds') + ..hasRequiredFields = false + ; GetVirtualSelectedParentChainFromBlockRequestMessage._() : super(); factory GetVirtualSelectedParentChainFromBlockRequestMessage({ @@ -4929,51 +3190,31 @@ class GetVirtualSelectedParentChainFromBlockRequestMessage } return _result; } - factory GetVirtualSelectedParentChainFromBlockRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetVirtualSelectedParentChainFromBlockRequestMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentChainFromBlockRequestMessage clone() => - GetVirtualSelectedParentChainFromBlockRequestMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentChainFromBlockRequestMessage copyWith( - void Function(GetVirtualSelectedParentChainFromBlockRequestMessage) - updates) => - super.copyWith((message) => updates( - message as GetVirtualSelectedParentChainFromBlockRequestMessage)) - as GetVirtualSelectedParentChainFromBlockRequestMessage; // ignore: deprecated_member_use + factory GetVirtualSelectedParentChainFromBlockRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetVirtualSelectedParentChainFromBlockRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentChainFromBlockRequestMessage clone() => GetVirtualSelectedParentChainFromBlockRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentChainFromBlockRequestMessage copyWith(void Function(GetVirtualSelectedParentChainFromBlockRequestMessage) updates) => super.copyWith((message) => updates(message as GetVirtualSelectedParentChainFromBlockRequestMessage)) as GetVirtualSelectedParentChainFromBlockRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentChainFromBlockRequestMessage create() => - GetVirtualSelectedParentChainFromBlockRequestMessage._(); - GetVirtualSelectedParentChainFromBlockRequestMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentChainFromBlockRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetVirtualSelectedParentChainFromBlockRequestMessage>(create); + static GetVirtualSelectedParentChainFromBlockRequestMessage create() => GetVirtualSelectedParentChainFromBlockRequestMessage._(); + GetVirtualSelectedParentChainFromBlockRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetVirtualSelectedParentChainFromBlockRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetVirtualSelectedParentChainFromBlockRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get startHash => $_getSZ(0); @$pb.TagNumber(1) - set startHash($core.String v) { - $_setString(0, v); - } - + set startHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasStartHash() => $_has(0); @$pb.TagNumber(1) @@ -4982,10 +3223,7 @@ class GetVirtualSelectedParentChainFromBlockRequestMessage @$pb.TagNumber(2) $core.bool get includeAcceptedTransactionIds => $_getBF(1); @$pb.TagNumber(2) - set includeAcceptedTransactionIds($core.bool v) { - $_setBool(1, v); - } - + set includeAcceptedTransactionIds($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasIncludeAcceptedTransactionIds() => $_has(1); @$pb.TagNumber(2) @@ -4993,28 +3231,11 @@ class GetVirtualSelectedParentChainFromBlockRequestMessage } class AcceptedTransactionIds extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'AcceptedTransactionIds', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'acceptingBlockHash', - protoName: 'acceptingBlockHash') - ..pPS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'acceptedTransactionIds', - protoName: 'acceptedTransactionIds') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AcceptedTransactionIds', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'acceptingBlockHash', protoName: 'acceptingBlockHash') + ..pPS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'acceptedTransactionIds', protoName: 'acceptedTransactionIds') + ..hasRequiredFields = false + ; AcceptedTransactionIds._() : super(); factory AcceptedTransactionIds({ @@ -5030,42 +3251,31 @@ class AcceptedTransactionIds extends $pb.GeneratedMessage { } return _result; } - factory AcceptedTransactionIds.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AcceptedTransactionIds.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AcceptedTransactionIds clone() => - AcceptedTransactionIds()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AcceptedTransactionIds copyWith( - void Function(AcceptedTransactionIds) updates) => - super.copyWith((message) => updates(message as AcceptedTransactionIds)) - as AcceptedTransactionIds; // ignore: deprecated_member_use + factory AcceptedTransactionIds.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AcceptedTransactionIds.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AcceptedTransactionIds clone() => AcceptedTransactionIds()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AcceptedTransactionIds copyWith(void Function(AcceptedTransactionIds) updates) => super.copyWith((message) => updates(message as AcceptedTransactionIds)) as AcceptedTransactionIds; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AcceptedTransactionIds create() => AcceptedTransactionIds._(); AcceptedTransactionIds createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static AcceptedTransactionIds getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static AcceptedTransactionIds getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AcceptedTransactionIds? _defaultInstance; @$pb.TagNumber(1) $core.String get acceptingBlockHash => $_getSZ(0); @$pb.TagNumber(1) - set acceptingBlockHash($core.String v) { - $_setString(0, v); - } - + set acceptingBlockHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAcceptingBlockHash() => $_has(0); @$pb.TagNumber(1) @@ -5075,44 +3285,14 @@ class AcceptedTransactionIds extends $pb.GeneratedMessage { $core.List<$core.String> get acceptedTransactionIds => $_getList(1); } -class GetVirtualSelectedParentChainFromBlockResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetVirtualSelectedParentChainFromBlockResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'removedChainBlockHashes', - protoName: 'removedChainBlockHashes') - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'acceptedTransactionIds', - $pb.PbFieldType.PM, - protoName: 'acceptedTransactionIds', - subBuilder: AcceptedTransactionIds.create) - ..pPS( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addedChainBlockHashes', - protoName: 'addedChainBlockHashes') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class GetVirtualSelectedParentChainFromBlockResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetVirtualSelectedParentChainFromBlockResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'removedChainBlockHashes', protoName: 'removedChainBlockHashes') + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'acceptedTransactionIds', $pb.PbFieldType.PM, protoName: 'acceptedTransactionIds', subBuilder: AcceptedTransactionIds.create) + ..pPS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addedChainBlockHashes', protoName: 'addedChainBlockHashes') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetVirtualSelectedParentChainFromBlockResponseMessage._() : super(); factory GetVirtualSelectedParentChainFromBlockResponseMessage({ @@ -5136,44 +3316,26 @@ class GetVirtualSelectedParentChainFromBlockResponseMessage } return _result; } - factory GetVirtualSelectedParentChainFromBlockResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetVirtualSelectedParentChainFromBlockResponseMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentChainFromBlockResponseMessage clone() => - GetVirtualSelectedParentChainFromBlockResponseMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentChainFromBlockResponseMessage copyWith( - void Function(GetVirtualSelectedParentChainFromBlockResponseMessage) - updates) => - super.copyWith((message) => updates( - message as GetVirtualSelectedParentChainFromBlockResponseMessage)) - as GetVirtualSelectedParentChainFromBlockResponseMessage; // ignore: deprecated_member_use + factory GetVirtualSelectedParentChainFromBlockResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetVirtualSelectedParentChainFromBlockResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentChainFromBlockResponseMessage clone() => GetVirtualSelectedParentChainFromBlockResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentChainFromBlockResponseMessage copyWith(void Function(GetVirtualSelectedParentChainFromBlockResponseMessage) updates) => super.copyWith((message) => updates(message as GetVirtualSelectedParentChainFromBlockResponseMessage)) as GetVirtualSelectedParentChainFromBlockResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentChainFromBlockResponseMessage create() => - GetVirtualSelectedParentChainFromBlockResponseMessage._(); - GetVirtualSelectedParentChainFromBlockResponseMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static GetVirtualSelectedParentChainFromBlockResponseMessage create() => GetVirtualSelectedParentChainFromBlockResponseMessage._(); + GetVirtualSelectedParentChainFromBlockResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentChainFromBlockResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetVirtualSelectedParentChainFromBlockResponseMessage>(create); - static GetVirtualSelectedParentChainFromBlockResponseMessage? - _defaultInstance; + static GetVirtualSelectedParentChainFromBlockResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetVirtualSelectedParentChainFromBlockResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.String> get removedChainBlockHashes => $_getList(0); @@ -5187,10 +3349,7 @@ class GetVirtualSelectedParentChainFromBlockResponseMessage @$pb.TagNumber(1000) RPCError get error => $_getN(3); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(3); @$pb.TagNumber(1000) @@ -5200,34 +3359,12 @@ class GetVirtualSelectedParentChainFromBlockResponseMessage } class GetBlocksRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlocksRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'lowHash', - protoName: 'lowHash') - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeBlocks', - protoName: 'includeBlocks') - ..aOB( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeTransactions', - protoName: 'includeTransactions') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlocksRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'lowHash', protoName: 'lowHash') + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeBlocks', protoName: 'includeBlocks') + ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeTransactions', protoName: 'includeTransactions') + ..hasRequiredFields = false + ; GetBlocksRequestMessage._() : super(); factory GetBlocksRequestMessage({ @@ -5247,42 +3384,31 @@ class GetBlocksRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlocksRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlocksRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlocksRequestMessage clone() => - GetBlocksRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlocksRequestMessage copyWith( - void Function(GetBlocksRequestMessage) updates) => - super.copyWith((message) => updates(message as GetBlocksRequestMessage)) - as GetBlocksRequestMessage; // ignore: deprecated_member_use + factory GetBlocksRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlocksRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlocksRequestMessage clone() => GetBlocksRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlocksRequestMessage copyWith(void Function(GetBlocksRequestMessage) updates) => super.copyWith((message) => updates(message as GetBlocksRequestMessage)) as GetBlocksRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetBlocksRequestMessage create() => GetBlocksRequestMessage._(); GetBlocksRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlocksRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlocksRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlocksRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get lowHash => $_getSZ(0); @$pb.TagNumber(1) - set lowHash($core.String v) { - $_setString(0, v); - } - + set lowHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasLowHash() => $_has(0); @$pb.TagNumber(1) @@ -5291,10 +3417,7 @@ class GetBlocksRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get includeBlocks => $_getBF(1); @$pb.TagNumber(2) - set includeBlocks($core.bool v) { - $_setBool(1, v); - } - + set includeBlocks($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasIncludeBlocks() => $_has(1); @$pb.TagNumber(2) @@ -5303,10 +3426,7 @@ class GetBlocksRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get includeTransactions => $_getBF(2); @$pb.TagNumber(3) - set includeTransactions($core.bool v) { - $_setBool(2, v); - } - + set includeTransactions($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasIncludeTransactions() => $_has(2); @$pb.TagNumber(3) @@ -5314,35 +3434,12 @@ class GetBlocksRequestMessage extends $pb.GeneratedMessage { } class GetBlocksResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlocksResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blocks', - $pb.PbFieldType.PM, - subBuilder: RpcBlock.create) - ..pPS( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockHashes', - protoName: 'blockHashes') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlocksResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blocks', $pb.PbFieldType.PM, subBuilder: RpcBlock.create) + ..pPS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockHashes', protoName: 'blockHashes') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBlocksResponseMessage._() : super(); factory GetBlocksResponseMessage({ @@ -5362,33 +3459,25 @@ class GetBlocksResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlocksResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlocksResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlocksResponseMessage clone() => - GetBlocksResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlocksResponseMessage copyWith( - void Function(GetBlocksResponseMessage) updates) => - super.copyWith((message) => updates(message as GetBlocksResponseMessage)) - as GetBlocksResponseMessage; // ignore: deprecated_member_use + factory GetBlocksResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlocksResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlocksResponseMessage clone() => GetBlocksResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlocksResponseMessage copyWith(void Function(GetBlocksResponseMessage) updates) => super.copyWith((message) => updates(message as GetBlocksResponseMessage)) as GetBlocksResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetBlocksResponseMessage create() => GetBlocksResponseMessage._(); GetBlocksResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlocksResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlocksResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlocksResponseMessage? _defaultInstance; @$pb.TagNumber(3) @@ -5400,10 +3489,7 @@ class GetBlocksResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(2); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(2); @$pb.TagNumber(1000) @@ -5413,84 +3499,41 @@ class GetBlocksResponseMessage extends $pb.GeneratedMessage { } class GetBlockCountRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockCountRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockCountRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetBlockCountRequestMessage._() : super(); factory GetBlockCountRequestMessage() => create(); - factory GetBlockCountRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockCountRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockCountRequestMessage clone() => - GetBlockCountRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockCountRequestMessage copyWith( - void Function(GetBlockCountRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetBlockCountRequestMessage)) - as GetBlockCountRequestMessage; // ignore: deprecated_member_use + factory GetBlockCountRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockCountRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockCountRequestMessage clone() => GetBlockCountRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockCountRequestMessage copyWith(void Function(GetBlockCountRequestMessage) updates) => super.copyWith((message) => updates(message as GetBlockCountRequestMessage)) as GetBlockCountRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBlockCountRequestMessage create() => - GetBlockCountRequestMessage._(); + static GetBlockCountRequestMessage create() => GetBlockCountRequestMessage._(); GetBlockCountRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockCountRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockCountRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockCountRequestMessage? _defaultInstance; } class GetBlockCountResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockCountResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockCount', - $pb.PbFieldType.OU6, - protoName: 'blockCount', - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'headerCount', - $pb.PbFieldType.OU6, - protoName: 'headerCount', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockCountResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockCount', $pb.PbFieldType.OU6, protoName: 'blockCount', defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'headerCount', $pb.PbFieldType.OU6, protoName: 'headerCount', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBlockCountResponseMessage._() : super(); factory GetBlockCountResponseMessage({ @@ -5510,44 +3553,31 @@ class GetBlockCountResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlockCountResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockCountResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockCountResponseMessage clone() => - GetBlockCountResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockCountResponseMessage copyWith( - void Function(GetBlockCountResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetBlockCountResponseMessage)) - as GetBlockCountResponseMessage; // ignore: deprecated_member_use + factory GetBlockCountResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockCountResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockCountResponseMessage clone() => GetBlockCountResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockCountResponseMessage copyWith(void Function(GetBlockCountResponseMessage) updates) => super.copyWith((message) => updates(message as GetBlockCountResponseMessage)) as GetBlockCountResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBlockCountResponseMessage create() => - GetBlockCountResponseMessage._(); + static GetBlockCountResponseMessage create() => GetBlockCountResponseMessage._(); GetBlockCountResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockCountResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockCountResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockCountResponseMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get blockCount => $_getI64(0); @$pb.TagNumber(1) - set blockCount($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set blockCount($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasBlockCount() => $_has(0); @$pb.TagNumber(1) @@ -5556,10 +3586,7 @@ class GetBlockCountResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get headerCount => $_getI64(1); @$pb.TagNumber(2) - set headerCount($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set headerCount($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasHeaderCount() => $_has(1); @$pb.TagNumber(2) @@ -5568,10 +3595,7 @@ class GetBlockCountResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(2); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(2); @$pb.TagNumber(1000) @@ -5581,128 +3605,48 @@ class GetBlockCountResponseMessage extends $pb.GeneratedMessage { } class GetBlockDagInfoRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockDagInfoRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockDagInfoRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetBlockDagInfoRequestMessage._() : super(); factory GetBlockDagInfoRequestMessage() => create(); - factory GetBlockDagInfoRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockDagInfoRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockDagInfoRequestMessage clone() => - GetBlockDagInfoRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockDagInfoRequestMessage copyWith( - void Function(GetBlockDagInfoRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetBlockDagInfoRequestMessage)) - as GetBlockDagInfoRequestMessage; // ignore: deprecated_member_use + factory GetBlockDagInfoRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockDagInfoRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockDagInfoRequestMessage clone() => GetBlockDagInfoRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockDagInfoRequestMessage copyWith(void Function(GetBlockDagInfoRequestMessage) updates) => super.copyWith((message) => updates(message as GetBlockDagInfoRequestMessage)) as GetBlockDagInfoRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBlockDagInfoRequestMessage create() => - GetBlockDagInfoRequestMessage._(); + static GetBlockDagInfoRequestMessage create() => GetBlockDagInfoRequestMessage._(); GetBlockDagInfoRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockDagInfoRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockDagInfoRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockDagInfoRequestMessage? _defaultInstance; } class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBlockDagInfoResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'networkName', - protoName: 'networkName') - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blockCount', - $pb.PbFieldType.OU6, - protoName: 'blockCount', - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'headerCount', - $pb.PbFieldType.OU6, - protoName: 'headerCount', - defaultOrMaker: $fixnum.Int64.ZERO) - ..pPS( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'tipHashes', - protoName: 'tipHashes') - ..a<$core.double>( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'difficulty', - $pb.PbFieldType.OD) - ..aInt64( - 6, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pastMedianTime', - protoName: 'pastMedianTime') - ..pPS( - 7, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualParentHashes', - protoName: 'virtualParentHashes') - ..aOS( - 8, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'pruningPointHash', - protoName: 'pruningPointHash') - ..a<$fixnum.Int64>( - 9, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualDaaScore', - $pb.PbFieldType.OU6, - protoName: 'virtualDaaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBlockDagInfoResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'networkName', protoName: 'networkName') + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blockCount', $pb.PbFieldType.OU6, protoName: 'blockCount', defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'headerCount', $pb.PbFieldType.OU6, protoName: 'headerCount', defaultOrMaker: $fixnum.Int64.ZERO) + ..pPS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'tipHashes', protoName: 'tipHashes') + ..a<$core.double>(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'difficulty', $pb.PbFieldType.OD) + ..aInt64(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pastMedianTime', protoName: 'pastMedianTime') + ..pPS(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualParentHashes', protoName: 'virtualParentHashes') + ..aOS(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pruningPointHash', protoName: 'pruningPointHash') + ..a<$fixnum.Int64>(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualDaaScore', $pb.PbFieldType.OU6, protoName: 'virtualDaaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBlockDagInfoResponseMessage._() : super(); factory GetBlockDagInfoResponseMessage({ @@ -5750,44 +3694,31 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBlockDagInfoResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBlockDagInfoResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBlockDagInfoResponseMessage clone() => - GetBlockDagInfoResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBlockDagInfoResponseMessage copyWith( - void Function(GetBlockDagInfoResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetBlockDagInfoResponseMessage)) - as GetBlockDagInfoResponseMessage; // ignore: deprecated_member_use + factory GetBlockDagInfoResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBlockDagInfoResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBlockDagInfoResponseMessage clone() => GetBlockDagInfoResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBlockDagInfoResponseMessage copyWith(void Function(GetBlockDagInfoResponseMessage) updates) => super.copyWith((message) => updates(message as GetBlockDagInfoResponseMessage)) as GetBlockDagInfoResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBlockDagInfoResponseMessage create() => - GetBlockDagInfoResponseMessage._(); + static GetBlockDagInfoResponseMessage create() => GetBlockDagInfoResponseMessage._(); GetBlockDagInfoResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBlockDagInfoResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetBlockDagInfoResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBlockDagInfoResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get networkName => $_getSZ(0); @$pb.TagNumber(1) - set networkName($core.String v) { - $_setString(0, v); - } - + set networkName($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasNetworkName() => $_has(0); @$pb.TagNumber(1) @@ -5796,10 +3727,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get blockCount => $_getI64(1); @$pb.TagNumber(2) - set blockCount($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set blockCount($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasBlockCount() => $_has(1); @$pb.TagNumber(2) @@ -5808,10 +3736,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get headerCount => $_getI64(2); @$pb.TagNumber(3) - set headerCount($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set headerCount($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasHeaderCount() => $_has(2); @$pb.TagNumber(3) @@ -5823,10 +3748,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.double get difficulty => $_getN(4); @$pb.TagNumber(5) - set difficulty($core.double v) { - $_setDouble(4, v); - } - + set difficulty($core.double v) { $_setDouble(4, v); } @$pb.TagNumber(5) $core.bool hasDifficulty() => $_has(4); @$pb.TagNumber(5) @@ -5835,10 +3757,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get pastMedianTime => $_getI64(5); @$pb.TagNumber(6) - set pastMedianTime($fixnum.Int64 v) { - $_setInt64(5, v); - } - + set pastMedianTime($fixnum.Int64 v) { $_setInt64(5, v); } @$pb.TagNumber(6) $core.bool hasPastMedianTime() => $_has(5); @$pb.TagNumber(6) @@ -5850,10 +3769,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get pruningPointHash => $_getSZ(7); @$pb.TagNumber(8) - set pruningPointHash($core.String v) { - $_setString(7, v); - } - + set pruningPointHash($core.String v) { $_setString(7, v); } @$pb.TagNumber(8) $core.bool hasPruningPointHash() => $_has(7); @$pb.TagNumber(8) @@ -5862,10 +3778,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(9) $fixnum.Int64 get virtualDaaScore => $_getI64(8); @$pb.TagNumber(9) - set virtualDaaScore($fixnum.Int64 v) { - $_setInt64(8, v); - } - + set virtualDaaScore($fixnum.Int64 v) { $_setInt64(8, v); } @$pb.TagNumber(9) $core.bool hasVirtualDaaScore() => $_has(8); @$pb.TagNumber(9) @@ -5874,10 +3787,7 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(9); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(9); @$pb.TagNumber(1000) @@ -5887,22 +3797,10 @@ class GetBlockDagInfoResponseMessage extends $pb.GeneratedMessage { } class ResolveFinalityConflictRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'ResolveFinalityConflictRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'finalityBlockHash', - protoName: 'finalityBlockHash') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ResolveFinalityConflictRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'finalityBlockHash', protoName: 'finalityBlockHash') + ..hasRequiredFields = false + ; ResolveFinalityConflictRequestMessage._() : super(); factory ResolveFinalityConflictRequestMessage({ @@ -5914,46 +3812,31 @@ class ResolveFinalityConflictRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory ResolveFinalityConflictRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ResolveFinalityConflictRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResolveFinalityConflictRequestMessage clone() => - ResolveFinalityConflictRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResolveFinalityConflictRequestMessage copyWith( - void Function(ResolveFinalityConflictRequestMessage) updates) => - super.copyWith((message) => - updates(message as ResolveFinalityConflictRequestMessage)) - as ResolveFinalityConflictRequestMessage; // ignore: deprecated_member_use + factory ResolveFinalityConflictRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResolveFinalityConflictRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ResolveFinalityConflictRequestMessage clone() => ResolveFinalityConflictRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResolveFinalityConflictRequestMessage copyWith(void Function(ResolveFinalityConflictRequestMessage) updates) => super.copyWith((message) => updates(message as ResolveFinalityConflictRequestMessage)) as ResolveFinalityConflictRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static ResolveFinalityConflictRequestMessage create() => - ResolveFinalityConflictRequestMessage._(); + static ResolveFinalityConflictRequestMessage create() => ResolveFinalityConflictRequestMessage._(); ResolveFinalityConflictRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ResolveFinalityConflictRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - ResolveFinalityConflictRequestMessage>(create); + static ResolveFinalityConflictRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ResolveFinalityConflictRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get finalityBlockHash => $_getSZ(0); @$pb.TagNumber(1) - set finalityBlockHash($core.String v) { - $_setString(0, v); - } - + set finalityBlockHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasFinalityBlockHash() => $_has(0); @$pb.TagNumber(1) @@ -5961,22 +3844,10 @@ class ResolveFinalityConflictRequestMessage extends $pb.GeneratedMessage { } class ResolveFinalityConflictResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'ResolveFinalityConflictResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ResolveFinalityConflictResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; ResolveFinalityConflictResponseMessage._() : super(); factory ResolveFinalityConflictResponseMessage({ @@ -5988,46 +3859,31 @@ class ResolveFinalityConflictResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory ResolveFinalityConflictResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ResolveFinalityConflictResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResolveFinalityConflictResponseMessage clone() => - ResolveFinalityConflictResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResolveFinalityConflictResponseMessage copyWith( - void Function(ResolveFinalityConflictResponseMessage) updates) => - super.copyWith((message) => - updates(message as ResolveFinalityConflictResponseMessage)) - as ResolveFinalityConflictResponseMessage; // ignore: deprecated_member_use + factory ResolveFinalityConflictResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResolveFinalityConflictResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ResolveFinalityConflictResponseMessage clone() => ResolveFinalityConflictResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResolveFinalityConflictResponseMessage copyWith(void Function(ResolveFinalityConflictResponseMessage) updates) => super.copyWith((message) => updates(message as ResolveFinalityConflictResponseMessage)) as ResolveFinalityConflictResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static ResolveFinalityConflictResponseMessage create() => - ResolveFinalityConflictResponseMessage._(); + static ResolveFinalityConflictResponseMessage create() => ResolveFinalityConflictResponseMessage._(); ResolveFinalityConflictResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ResolveFinalityConflictResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - ResolveFinalityConflictResponseMessage>(create); + static ResolveFinalityConflictResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ResolveFinalityConflictResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -6037,70 +3893,39 @@ class ResolveFinalityConflictResponseMessage extends $pb.GeneratedMessage { } class NotifyFinalityConflictsRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyFinalityConflictsRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyFinalityConflictsRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NotifyFinalityConflictsRequestMessage._() : super(); factory NotifyFinalityConflictsRequestMessage() => create(); - factory NotifyFinalityConflictsRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyFinalityConflictsRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyFinalityConflictsRequestMessage clone() => - NotifyFinalityConflictsRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyFinalityConflictsRequestMessage copyWith( - void Function(NotifyFinalityConflictsRequestMessage) updates) => - super.copyWith((message) => - updates(message as NotifyFinalityConflictsRequestMessage)) - as NotifyFinalityConflictsRequestMessage; // ignore: deprecated_member_use + factory NotifyFinalityConflictsRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyFinalityConflictsRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyFinalityConflictsRequestMessage clone() => NotifyFinalityConflictsRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyFinalityConflictsRequestMessage copyWith(void Function(NotifyFinalityConflictsRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyFinalityConflictsRequestMessage)) as NotifyFinalityConflictsRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyFinalityConflictsRequestMessage create() => - NotifyFinalityConflictsRequestMessage._(); + static NotifyFinalityConflictsRequestMessage create() => NotifyFinalityConflictsRequestMessage._(); NotifyFinalityConflictsRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyFinalityConflictsRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyFinalityConflictsRequestMessage>(create); + static NotifyFinalityConflictsRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyFinalityConflictsRequestMessage? _defaultInstance; } class NotifyFinalityConflictsResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyFinalityConflictsResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyFinalityConflictsResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyFinalityConflictsResponseMessage._() : super(); factory NotifyFinalityConflictsResponseMessage({ @@ -6112,46 +3937,31 @@ class NotifyFinalityConflictsResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory NotifyFinalityConflictsResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyFinalityConflictsResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyFinalityConflictsResponseMessage clone() => - NotifyFinalityConflictsResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyFinalityConflictsResponseMessage copyWith( - void Function(NotifyFinalityConflictsResponseMessage) updates) => - super.copyWith((message) => - updates(message as NotifyFinalityConflictsResponseMessage)) - as NotifyFinalityConflictsResponseMessage; // ignore: deprecated_member_use + factory NotifyFinalityConflictsResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyFinalityConflictsResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyFinalityConflictsResponseMessage clone() => NotifyFinalityConflictsResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyFinalityConflictsResponseMessage copyWith(void Function(NotifyFinalityConflictsResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyFinalityConflictsResponseMessage)) as NotifyFinalityConflictsResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyFinalityConflictsResponseMessage create() => - NotifyFinalityConflictsResponseMessage._(); + static NotifyFinalityConflictsResponseMessage create() => NotifyFinalityConflictsResponseMessage._(); NotifyFinalityConflictsResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyFinalityConflictsResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyFinalityConflictsResponseMessage>(create); + static NotifyFinalityConflictsResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyFinalityConflictsResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -6161,22 +3971,10 @@ class NotifyFinalityConflictsResponseMessage extends $pb.GeneratedMessage { } class FinalityConflictNotificationMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'FinalityConflictNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'violatingBlockHash', - protoName: 'violatingBlockHash') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'FinalityConflictNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'violatingBlockHash', protoName: 'violatingBlockHash') + ..hasRequiredFields = false + ; FinalityConflictNotificationMessage._() : super(); factory FinalityConflictNotificationMessage({ @@ -6188,46 +3986,31 @@ class FinalityConflictNotificationMessage extends $pb.GeneratedMessage { } return _result; } - factory FinalityConflictNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FinalityConflictNotificationMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FinalityConflictNotificationMessage clone() => - FinalityConflictNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FinalityConflictNotificationMessage copyWith( - void Function(FinalityConflictNotificationMessage) updates) => - super.copyWith((message) => - updates(message as FinalityConflictNotificationMessage)) - as FinalityConflictNotificationMessage; // ignore: deprecated_member_use + factory FinalityConflictNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FinalityConflictNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FinalityConflictNotificationMessage clone() => FinalityConflictNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FinalityConflictNotificationMessage copyWith(void Function(FinalityConflictNotificationMessage) updates) => super.copyWith((message) => updates(message as FinalityConflictNotificationMessage)) as FinalityConflictNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static FinalityConflictNotificationMessage create() => - FinalityConflictNotificationMessage._(); + static FinalityConflictNotificationMessage create() => FinalityConflictNotificationMessage._(); FinalityConflictNotificationMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static FinalityConflictNotificationMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - FinalityConflictNotificationMessage>(create); + static FinalityConflictNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static FinalityConflictNotificationMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get violatingBlockHash => $_getSZ(0); @$pb.TagNumber(1) - set violatingBlockHash($core.String v) { - $_setString(0, v); - } - + set violatingBlockHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasViolatingBlockHash() => $_has(0); @$pb.TagNumber(1) @@ -6235,22 +4018,10 @@ class FinalityConflictNotificationMessage extends $pb.GeneratedMessage { } class FinalityConflictResolvedNotificationMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'FinalityConflictResolvedNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'finalityBlockHash', - protoName: 'finalityBlockHash') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'FinalityConflictResolvedNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'finalityBlockHash', protoName: 'finalityBlockHash') + ..hasRequiredFields = false + ; FinalityConflictResolvedNotificationMessage._() : super(); factory FinalityConflictResolvedNotificationMessage({ @@ -6262,47 +4033,31 @@ class FinalityConflictResolvedNotificationMessage extends $pb.GeneratedMessage { } return _result; } - factory FinalityConflictResolvedNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FinalityConflictResolvedNotificationMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FinalityConflictResolvedNotificationMessage clone() => - FinalityConflictResolvedNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FinalityConflictResolvedNotificationMessage copyWith( - void Function(FinalityConflictResolvedNotificationMessage) updates) => - super.copyWith((message) => - updates(message as FinalityConflictResolvedNotificationMessage)) - as FinalityConflictResolvedNotificationMessage; // ignore: deprecated_member_use + factory FinalityConflictResolvedNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FinalityConflictResolvedNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FinalityConflictResolvedNotificationMessage clone() => FinalityConflictResolvedNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FinalityConflictResolvedNotificationMessage copyWith(void Function(FinalityConflictResolvedNotificationMessage) updates) => super.copyWith((message) => updates(message as FinalityConflictResolvedNotificationMessage)) as FinalityConflictResolvedNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static FinalityConflictResolvedNotificationMessage create() => - FinalityConflictResolvedNotificationMessage._(); + static FinalityConflictResolvedNotificationMessage create() => FinalityConflictResolvedNotificationMessage._(); FinalityConflictResolvedNotificationMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static FinalityConflictResolvedNotificationMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - FinalityConflictResolvedNotificationMessage>(create); + static FinalityConflictResolvedNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static FinalityConflictResolvedNotificationMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get finalityBlockHash => $_getSZ(0); @$pb.TagNumber(1) - set finalityBlockHash($core.String v) { - $_setString(0, v); - } - + set finalityBlockHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasFinalityBlockHash() => $_has(0); @$pb.TagNumber(1) @@ -6310,66 +4065,39 @@ class FinalityConflictResolvedNotificationMessage extends $pb.GeneratedMessage { } class ShutDownRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'ShutDownRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ShutDownRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; ShutDownRequestMessage._() : super(); factory ShutDownRequestMessage() => create(); - factory ShutDownRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ShutDownRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShutDownRequestMessage clone() => - ShutDownRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShutDownRequestMessage copyWith( - void Function(ShutDownRequestMessage) updates) => - super.copyWith((message) => updates(message as ShutDownRequestMessage)) - as ShutDownRequestMessage; // ignore: deprecated_member_use + factory ShutDownRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ShutDownRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ShutDownRequestMessage clone() => ShutDownRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ShutDownRequestMessage copyWith(void Function(ShutDownRequestMessage) updates) => super.copyWith((message) => updates(message as ShutDownRequestMessage)) as ShutDownRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ShutDownRequestMessage create() => ShutDownRequestMessage._(); ShutDownRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ShutDownRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ShutDownRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ShutDownRequestMessage? _defaultInstance; } class ShutDownResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'ShutDownResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ShutDownResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; ShutDownResponseMessage._() : super(); factory ShutDownResponseMessage({ @@ -6381,42 +4109,31 @@ class ShutDownResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory ShutDownResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ShutDownResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShutDownResponseMessage clone() => - ShutDownResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShutDownResponseMessage copyWith( - void Function(ShutDownResponseMessage) updates) => - super.copyWith((message) => updates(message as ShutDownResponseMessage)) - as ShutDownResponseMessage; // ignore: deprecated_member_use + factory ShutDownResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ShutDownResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ShutDownResponseMessage clone() => ShutDownResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ShutDownResponseMessage copyWith(void Function(ShutDownResponseMessage) updates) => super.copyWith((message) => updates(message as ShutDownResponseMessage)) as ShutDownResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ShutDownResponseMessage create() => ShutDownResponseMessage._(); ShutDownResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ShutDownResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ShutDownResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ShutDownResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -6426,35 +4143,12 @@ class ShutDownResponseMessage extends $pb.GeneratedMessage { } class GetHeadersRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetHeadersRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'startHash', - protoName: 'startHash') - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'limit', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOB( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isAscending', - protoName: 'isAscending') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetHeadersRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'startHash', protoName: 'startHash') + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'limit', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isAscending', protoName: 'isAscending') + ..hasRequiredFields = false + ; GetHeadersRequestMessage._() : super(); factory GetHeadersRequestMessage({ @@ -6474,42 +4168,31 @@ class GetHeadersRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetHeadersRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetHeadersRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetHeadersRequestMessage clone() => - GetHeadersRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetHeadersRequestMessage copyWith( - void Function(GetHeadersRequestMessage) updates) => - super.copyWith((message) => updates(message as GetHeadersRequestMessage)) - as GetHeadersRequestMessage; // ignore: deprecated_member_use + factory GetHeadersRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetHeadersRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetHeadersRequestMessage clone() => GetHeadersRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetHeadersRequestMessage copyWith(void Function(GetHeadersRequestMessage) updates) => super.copyWith((message) => updates(message as GetHeadersRequestMessage)) as GetHeadersRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetHeadersRequestMessage create() => GetHeadersRequestMessage._(); GetHeadersRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetHeadersRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetHeadersRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetHeadersRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get startHash => $_getSZ(0); @$pb.TagNumber(1) - set startHash($core.String v) { - $_setString(0, v); - } - + set startHash($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasStartHash() => $_has(0); @$pb.TagNumber(1) @@ -6518,10 +4201,7 @@ class GetHeadersRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get limit => $_getI64(1); @$pb.TagNumber(2) - set limit($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set limit($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasLimit() => $_has(1); @$pb.TagNumber(2) @@ -6530,10 +4210,7 @@ class GetHeadersRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get isAscending => $_getBF(2); @$pb.TagNumber(3) - set isAscending($core.bool v) { - $_setBool(2, v); - } - + set isAscending($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasIsAscending() => $_has(2); @$pb.TagNumber(3) @@ -6541,27 +4218,11 @@ class GetHeadersRequestMessage extends $pb.GeneratedMessage { } class GetHeadersResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetHeadersResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'headers') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetHeadersResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'headers') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetHeadersResponseMessage._() : super(); factory GetHeadersResponseMessage({ @@ -6577,33 +4238,25 @@ class GetHeadersResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetHeadersResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetHeadersResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetHeadersResponseMessage clone() => - GetHeadersResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetHeadersResponseMessage copyWith( - void Function(GetHeadersResponseMessage) updates) => - super.copyWith((message) => updates(message as GetHeadersResponseMessage)) - as GetHeadersResponseMessage; // ignore: deprecated_member_use + factory GetHeadersResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetHeadersResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetHeadersResponseMessage clone() => GetHeadersResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetHeadersResponseMessage copyWith(void Function(GetHeadersResponseMessage) updates) => super.copyWith((message) => updates(message as GetHeadersResponseMessage)) as GetHeadersResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetHeadersResponseMessage create() => GetHeadersResponseMessage._(); GetHeadersResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetHeadersResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetHeadersResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetHeadersResponseMessage? _defaultInstance; @$pb.TagNumber(1) @@ -6612,10 +4265,7 @@ class GetHeadersResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -6625,21 +4275,10 @@ class GetHeadersResponseMessage extends $pb.GeneratedMessage { } class NotifyUtxosChangedRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyUtxosChangedRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyUtxosChangedRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses') + ..hasRequiredFields = false + ; NotifyUtxosChangedRequestMessage._() : super(); factory NotifyUtxosChangedRequestMessage({ @@ -6651,36 +4290,25 @@ class NotifyUtxosChangedRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory NotifyUtxosChangedRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyUtxosChangedRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyUtxosChangedRequestMessage clone() => - NotifyUtxosChangedRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyUtxosChangedRequestMessage copyWith( - void Function(NotifyUtxosChangedRequestMessage) updates) => - super.copyWith( - (message) => updates(message as NotifyUtxosChangedRequestMessage)) - as NotifyUtxosChangedRequestMessage; // ignore: deprecated_member_use + factory NotifyUtxosChangedRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyUtxosChangedRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyUtxosChangedRequestMessage clone() => NotifyUtxosChangedRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyUtxosChangedRequestMessage copyWith(void Function(NotifyUtxosChangedRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyUtxosChangedRequestMessage)) as NotifyUtxosChangedRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyUtxosChangedRequestMessage create() => - NotifyUtxosChangedRequestMessage._(); + static NotifyUtxosChangedRequestMessage create() => NotifyUtxosChangedRequestMessage._(); NotifyUtxosChangedRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyUtxosChangedRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static NotifyUtxosChangedRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyUtxosChangedRequestMessage? _defaultInstance; @$pb.TagNumber(1) @@ -6688,22 +4316,10 @@ class NotifyUtxosChangedRequestMessage extends $pb.GeneratedMessage { } class NotifyUtxosChangedResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyUtxosChangedResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyUtxosChangedResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyUtxosChangedResponseMessage._() : super(); factory NotifyUtxosChangedResponseMessage({ @@ -6715,45 +4331,31 @@ class NotifyUtxosChangedResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory NotifyUtxosChangedResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyUtxosChangedResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyUtxosChangedResponseMessage clone() => - NotifyUtxosChangedResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyUtxosChangedResponseMessage copyWith( - void Function(NotifyUtxosChangedResponseMessage) updates) => - super.copyWith((message) => - updates(message as NotifyUtxosChangedResponseMessage)) - as NotifyUtxosChangedResponseMessage; // ignore: deprecated_member_use + factory NotifyUtxosChangedResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyUtxosChangedResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyUtxosChangedResponseMessage clone() => NotifyUtxosChangedResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyUtxosChangedResponseMessage copyWith(void Function(NotifyUtxosChangedResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyUtxosChangedResponseMessage)) as NotifyUtxosChangedResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyUtxosChangedResponseMessage create() => - NotifyUtxosChangedResponseMessage._(); + static NotifyUtxosChangedResponseMessage create() => NotifyUtxosChangedResponseMessage._(); NotifyUtxosChangedResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyUtxosChangedResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static NotifyUtxosChangedResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyUtxosChangedResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -6763,30 +4365,11 @@ class NotifyUtxosChangedResponseMessage extends $pb.GeneratedMessage { } class UtxosChangedNotificationMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'UtxosChangedNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'added', - $pb.PbFieldType.PM, - subBuilder: UtxosByAddressesEntry.create) - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'removed', - $pb.PbFieldType.PM, - subBuilder: UtxosByAddressesEntry.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UtxosChangedNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'added', $pb.PbFieldType.PM, subBuilder: UtxosByAddressesEntry.create) + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'removed', $pb.PbFieldType.PM, subBuilder: UtxosByAddressesEntry.create) + ..hasRequiredFields = false + ; UtxosChangedNotificationMessage._() : super(); factory UtxosChangedNotificationMessage({ @@ -6802,36 +4385,25 @@ class UtxosChangedNotificationMessage extends $pb.GeneratedMessage { } return _result; } - factory UtxosChangedNotificationMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UtxosChangedNotificationMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UtxosChangedNotificationMessage clone() => - UtxosChangedNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UtxosChangedNotificationMessage copyWith( - void Function(UtxosChangedNotificationMessage) updates) => - super.copyWith( - (message) => updates(message as UtxosChangedNotificationMessage)) - as UtxosChangedNotificationMessage; // ignore: deprecated_member_use + factory UtxosChangedNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UtxosChangedNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UtxosChangedNotificationMessage clone() => UtxosChangedNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UtxosChangedNotificationMessage copyWith(void Function(UtxosChangedNotificationMessage) updates) => super.copyWith((message) => updates(message as UtxosChangedNotificationMessage)) as UtxosChangedNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static UtxosChangedNotificationMessage create() => - UtxosChangedNotificationMessage._(); + static UtxosChangedNotificationMessage create() => UtxosChangedNotificationMessage._(); UtxosChangedNotificationMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UtxosChangedNotificationMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static UtxosChangedNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UtxosChangedNotificationMessage? _defaultInstance; @$pb.TagNumber(1) @@ -6842,34 +4414,12 @@ class UtxosChangedNotificationMessage extends $pb.GeneratedMessage { } class UtxosByAddressesEntry extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'UtxosByAddressesEntry', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address') - ..aOM( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'outpoint', - subBuilder: RpcOutpoint.create) - ..aOM( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'utxoEntry', - protoName: 'utxoEntry', - subBuilder: RpcUtxoEntry.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UtxosByAddressesEntry', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') + ..aOM(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outpoint', subBuilder: RpcOutpoint.create) + ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'utxoEntry', protoName: 'utxoEntry', subBuilder: RpcUtxoEntry.create) + ..hasRequiredFields = false + ; UtxosByAddressesEntry._() : super(); factory UtxosByAddressesEntry({ @@ -6889,42 +4439,31 @@ class UtxosByAddressesEntry extends $pb.GeneratedMessage { } return _result; } - factory UtxosByAddressesEntry.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UtxosByAddressesEntry.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UtxosByAddressesEntry clone() => - UtxosByAddressesEntry()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UtxosByAddressesEntry copyWith( - void Function(UtxosByAddressesEntry) updates) => - super.copyWith((message) => updates(message as UtxosByAddressesEntry)) - as UtxosByAddressesEntry; // ignore: deprecated_member_use + factory UtxosByAddressesEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UtxosByAddressesEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UtxosByAddressesEntry clone() => UtxosByAddressesEntry()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UtxosByAddressesEntry copyWith(void Function(UtxosByAddressesEntry) updates) => super.copyWith((message) => updates(message as UtxosByAddressesEntry)) as UtxosByAddressesEntry; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UtxosByAddressesEntry create() => UtxosByAddressesEntry._(); UtxosByAddressesEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UtxosByAddressesEntry getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UtxosByAddressesEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UtxosByAddressesEntry? _defaultInstance; @$pb.TagNumber(1) $core.String get address => $_getSZ(0); @$pb.TagNumber(1) - set address($core.String v) { - $_setString(0, v); - } - + set address($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAddress() => $_has(0); @$pb.TagNumber(1) @@ -6933,10 +4472,7 @@ class UtxosByAddressesEntry extends $pb.GeneratedMessage { @$pb.TagNumber(2) RpcOutpoint get outpoint => $_getN(1); @$pb.TagNumber(2) - set outpoint(RpcOutpoint v) { - setField(2, v); - } - + set outpoint(RpcOutpoint v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasOutpoint() => $_has(1); @$pb.TagNumber(2) @@ -6947,10 +4483,7 @@ class UtxosByAddressesEntry extends $pb.GeneratedMessage { @$pb.TagNumber(3) RpcUtxoEntry get utxoEntry => $_getN(2); @$pb.TagNumber(3) - set utxoEntry(RpcUtxoEntry v) { - setField(3, v); - } - + set utxoEntry(RpcUtxoEntry v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasUtxoEntry() => $_has(2); @$pb.TagNumber(3) @@ -6960,21 +4493,10 @@ class UtxosByAddressesEntry extends $pb.GeneratedMessage { } class StopNotifyingUtxosChangedRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'StopNotifyingUtxosChangedRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StopNotifyingUtxosChangedRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses') + ..hasRequiredFields = false + ; StopNotifyingUtxosChangedRequestMessage._() : super(); factory StopNotifyingUtxosChangedRequestMessage({ @@ -6986,37 +4508,25 @@ class StopNotifyingUtxosChangedRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory StopNotifyingUtxosChangedRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StopNotifyingUtxosChangedRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopNotifyingUtxosChangedRequestMessage clone() => - StopNotifyingUtxosChangedRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopNotifyingUtxosChangedRequestMessage copyWith( - void Function(StopNotifyingUtxosChangedRequestMessage) updates) => - super.copyWith((message) => - updates(message as StopNotifyingUtxosChangedRequestMessage)) - as StopNotifyingUtxosChangedRequestMessage; // ignore: deprecated_member_use + factory StopNotifyingUtxosChangedRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StopNotifyingUtxosChangedRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StopNotifyingUtxosChangedRequestMessage clone() => StopNotifyingUtxosChangedRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StopNotifyingUtxosChangedRequestMessage copyWith(void Function(StopNotifyingUtxosChangedRequestMessage) updates) => super.copyWith((message) => updates(message as StopNotifyingUtxosChangedRequestMessage)) as StopNotifyingUtxosChangedRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static StopNotifyingUtxosChangedRequestMessage create() => - StopNotifyingUtxosChangedRequestMessage._(); + static StopNotifyingUtxosChangedRequestMessage create() => StopNotifyingUtxosChangedRequestMessage._(); StopNotifyingUtxosChangedRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StopNotifyingUtxosChangedRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - StopNotifyingUtxosChangedRequestMessage>(create); + static StopNotifyingUtxosChangedRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static StopNotifyingUtxosChangedRequestMessage? _defaultInstance; @$pb.TagNumber(1) @@ -7024,22 +4534,10 @@ class StopNotifyingUtxosChangedRequestMessage extends $pb.GeneratedMessage { } class StopNotifyingUtxosChangedResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'StopNotifyingUtxosChangedResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StopNotifyingUtxosChangedResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; StopNotifyingUtxosChangedResponseMessage._() : super(); factory StopNotifyingUtxosChangedResponseMessage({ @@ -7051,47 +4549,31 @@ class StopNotifyingUtxosChangedResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory StopNotifyingUtxosChangedResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StopNotifyingUtxosChangedResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopNotifyingUtxosChangedResponseMessage clone() => - StopNotifyingUtxosChangedResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopNotifyingUtxosChangedResponseMessage copyWith( - void Function(StopNotifyingUtxosChangedResponseMessage) updates) => - super.copyWith((message) => - updates(message as StopNotifyingUtxosChangedResponseMessage)) - as StopNotifyingUtxosChangedResponseMessage; // ignore: deprecated_member_use + factory StopNotifyingUtxosChangedResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StopNotifyingUtxosChangedResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StopNotifyingUtxosChangedResponseMessage clone() => StopNotifyingUtxosChangedResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StopNotifyingUtxosChangedResponseMessage copyWith(void Function(StopNotifyingUtxosChangedResponseMessage) updates) => super.copyWith((message) => updates(message as StopNotifyingUtxosChangedResponseMessage)) as StopNotifyingUtxosChangedResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static StopNotifyingUtxosChangedResponseMessage create() => - StopNotifyingUtxosChangedResponseMessage._(); + static StopNotifyingUtxosChangedResponseMessage create() => StopNotifyingUtxosChangedResponseMessage._(); StopNotifyingUtxosChangedResponseMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StopNotifyingUtxosChangedResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - StopNotifyingUtxosChangedResponseMessage>(create); + static StopNotifyingUtxosChangedResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static StopNotifyingUtxosChangedResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -7101,21 +4583,10 @@ class StopNotifyingUtxosChangedResponseMessage extends $pb.GeneratedMessage { } class GetUtxosByAddressesRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetUtxosByAddressesRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetUtxosByAddressesRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses') + ..hasRequiredFields = false + ; GetUtxosByAddressesRequestMessage._() : super(); factory GetUtxosByAddressesRequestMessage({ @@ -7127,36 +4598,25 @@ class GetUtxosByAddressesRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetUtxosByAddressesRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetUtxosByAddressesRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetUtxosByAddressesRequestMessage clone() => - GetUtxosByAddressesRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetUtxosByAddressesRequestMessage copyWith( - void Function(GetUtxosByAddressesRequestMessage) updates) => - super.copyWith((message) => - updates(message as GetUtxosByAddressesRequestMessage)) - as GetUtxosByAddressesRequestMessage; // ignore: deprecated_member_use + factory GetUtxosByAddressesRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetUtxosByAddressesRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetUtxosByAddressesRequestMessage clone() => GetUtxosByAddressesRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetUtxosByAddressesRequestMessage copyWith(void Function(GetUtxosByAddressesRequestMessage) updates) => super.copyWith((message) => updates(message as GetUtxosByAddressesRequestMessage)) as GetUtxosByAddressesRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetUtxosByAddressesRequestMessage create() => - GetUtxosByAddressesRequestMessage._(); + static GetUtxosByAddressesRequestMessage create() => GetUtxosByAddressesRequestMessage._(); GetUtxosByAddressesRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetUtxosByAddressesRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetUtxosByAddressesRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetUtxosByAddressesRequestMessage? _defaultInstance; @$pb.TagNumber(1) @@ -7164,29 +4624,11 @@ class GetUtxosByAddressesRequestMessage extends $pb.GeneratedMessage { } class GetUtxosByAddressesResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetUtxosByAddressesResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'entries', - $pb.PbFieldType.PM, - subBuilder: UtxosByAddressesEntry.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetUtxosByAddressesResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: UtxosByAddressesEntry.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetUtxosByAddressesResponseMessage._() : super(); factory GetUtxosByAddressesResponseMessage({ @@ -7202,36 +4644,25 @@ class GetUtxosByAddressesResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetUtxosByAddressesResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetUtxosByAddressesResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetUtxosByAddressesResponseMessage clone() => - GetUtxosByAddressesResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetUtxosByAddressesResponseMessage copyWith( - void Function(GetUtxosByAddressesResponseMessage) updates) => - super.copyWith((message) => - updates(message as GetUtxosByAddressesResponseMessage)) - as GetUtxosByAddressesResponseMessage; // ignore: deprecated_member_use + factory GetUtxosByAddressesResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetUtxosByAddressesResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetUtxosByAddressesResponseMessage clone() => GetUtxosByAddressesResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetUtxosByAddressesResponseMessage copyWith(void Function(GetUtxosByAddressesResponseMessage) updates) => super.copyWith((message) => updates(message as GetUtxosByAddressesResponseMessage)) as GetUtxosByAddressesResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetUtxosByAddressesResponseMessage create() => - GetUtxosByAddressesResponseMessage._(); + static GetUtxosByAddressesResponseMessage create() => GetUtxosByAddressesResponseMessage._(); GetUtxosByAddressesResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetUtxosByAddressesResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetUtxosByAddressesResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetUtxosByAddressesResponseMessage? _defaultInstance; @$pb.TagNumber(1) @@ -7240,10 +4671,7 @@ class GetUtxosByAddressesResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -7253,21 +4681,10 @@ class GetUtxosByAddressesResponseMessage extends $pb.GeneratedMessage { } class GetBalanceByAddressRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBalanceByAddressRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBalanceByAddressRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') + ..hasRequiredFields = false + ; GetBalanceByAddressRequestMessage._() : super(); factory GetBalanceByAddressRequestMessage({ @@ -7279,45 +4696,31 @@ class GetBalanceByAddressRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBalanceByAddressRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBalanceByAddressRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBalanceByAddressRequestMessage clone() => - GetBalanceByAddressRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBalanceByAddressRequestMessage copyWith( - void Function(GetBalanceByAddressRequestMessage) updates) => - super.copyWith((message) => - updates(message as GetBalanceByAddressRequestMessage)) - as GetBalanceByAddressRequestMessage; // ignore: deprecated_member_use + factory GetBalanceByAddressRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBalanceByAddressRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBalanceByAddressRequestMessage clone() => GetBalanceByAddressRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBalanceByAddressRequestMessage copyWith(void Function(GetBalanceByAddressRequestMessage) updates) => super.copyWith((message) => updates(message as GetBalanceByAddressRequestMessage)) as GetBalanceByAddressRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBalanceByAddressRequestMessage create() => - GetBalanceByAddressRequestMessage._(); + static GetBalanceByAddressRequestMessage create() => GetBalanceByAddressRequestMessage._(); GetBalanceByAddressRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBalanceByAddressRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetBalanceByAddressRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBalanceByAddressRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get address => $_getSZ(0); @$pb.TagNumber(1) - set address($core.String v) { - $_setString(0, v); - } - + set address($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAddress() => $_has(0); @$pb.TagNumber(1) @@ -7325,29 +4728,11 @@ class GetBalanceByAddressRequestMessage extends $pb.GeneratedMessage { } class GetBalanceByAddressResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBalanceByAddressResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'balance', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBalanceByAddressResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'balance', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBalanceByAddressResponseMessage._() : super(); factory GetBalanceByAddressResponseMessage({ @@ -7363,45 +4748,31 @@ class GetBalanceByAddressResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBalanceByAddressResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBalanceByAddressResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBalanceByAddressResponseMessage clone() => - GetBalanceByAddressResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBalanceByAddressResponseMessage copyWith( - void Function(GetBalanceByAddressResponseMessage) updates) => - super.copyWith((message) => - updates(message as GetBalanceByAddressResponseMessage)) - as GetBalanceByAddressResponseMessage; // ignore: deprecated_member_use + factory GetBalanceByAddressResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBalanceByAddressResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBalanceByAddressResponseMessage clone() => GetBalanceByAddressResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBalanceByAddressResponseMessage copyWith(void Function(GetBalanceByAddressResponseMessage) updates) => super.copyWith((message) => updates(message as GetBalanceByAddressResponseMessage)) as GetBalanceByAddressResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBalanceByAddressResponseMessage create() => - GetBalanceByAddressResponseMessage._(); + static GetBalanceByAddressResponseMessage create() => GetBalanceByAddressResponseMessage._(); GetBalanceByAddressResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBalanceByAddressResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor( - create); + static GetBalanceByAddressResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBalanceByAddressResponseMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get balance => $_getI64(0); @$pb.TagNumber(1) - set balance($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set balance($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasBalance() => $_has(0); @$pb.TagNumber(1) @@ -7410,10 +4781,7 @@ class GetBalanceByAddressResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -7423,21 +4791,10 @@ class GetBalanceByAddressResponseMessage extends $pb.GeneratedMessage { } class GetBalancesByAddressesRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBalancesByAddressesRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBalancesByAddressesRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses') + ..hasRequiredFields = false + ; GetBalancesByAddressesRequestMessage._() : super(); factory GetBalancesByAddressesRequestMessage({ @@ -7449,37 +4806,25 @@ class GetBalancesByAddressesRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBalancesByAddressesRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBalancesByAddressesRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBalancesByAddressesRequestMessage clone() => - GetBalancesByAddressesRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBalancesByAddressesRequestMessage copyWith( - void Function(GetBalancesByAddressesRequestMessage) updates) => - super.copyWith((message) => - updates(message as GetBalancesByAddressesRequestMessage)) - as GetBalancesByAddressesRequestMessage; // ignore: deprecated_member_use + factory GetBalancesByAddressesRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBalancesByAddressesRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBalancesByAddressesRequestMessage clone() => GetBalancesByAddressesRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBalancesByAddressesRequestMessage copyWith(void Function(GetBalancesByAddressesRequestMessage) updates) => super.copyWith((message) => updates(message as GetBalancesByAddressesRequestMessage)) as GetBalancesByAddressesRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBalancesByAddressesRequestMessage create() => - GetBalancesByAddressesRequestMessage._(); + static GetBalancesByAddressesRequestMessage create() => GetBalancesByAddressesRequestMessage._(); GetBalancesByAddressesRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBalancesByAddressesRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetBalancesByAddressesRequestMessage>(create); + static GetBalancesByAddressesRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBalancesByAddressesRequestMessage? _defaultInstance; @$pb.TagNumber(1) @@ -7487,34 +4832,12 @@ class GetBalancesByAddressesRequestMessage extends $pb.GeneratedMessage { } class BalancesByAddressEntry extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BalancesByAddressEntry', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address') - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'balance', - $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BalancesByAddressEntry', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'balance', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; BalancesByAddressEntry._() : super(); factory BalancesByAddressEntry({ @@ -7534,42 +4857,31 @@ class BalancesByAddressEntry extends $pb.GeneratedMessage { } return _result; } - factory BalancesByAddressEntry.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BalancesByAddressEntry.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BalancesByAddressEntry clone() => - BalancesByAddressEntry()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BalancesByAddressEntry copyWith( - void Function(BalancesByAddressEntry) updates) => - super.copyWith((message) => updates(message as BalancesByAddressEntry)) - as BalancesByAddressEntry; // ignore: deprecated_member_use + factory BalancesByAddressEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BalancesByAddressEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BalancesByAddressEntry clone() => BalancesByAddressEntry()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BalancesByAddressEntry copyWith(void Function(BalancesByAddressEntry) updates) => super.copyWith((message) => updates(message as BalancesByAddressEntry)) as BalancesByAddressEntry; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BalancesByAddressEntry create() => BalancesByAddressEntry._(); BalancesByAddressEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BalancesByAddressEntry getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BalancesByAddressEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BalancesByAddressEntry? _defaultInstance; @$pb.TagNumber(1) $core.String get address => $_getSZ(0); @$pb.TagNumber(1) - set address($core.String v) { - $_setString(0, v); - } - + set address($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAddress() => $_has(0); @$pb.TagNumber(1) @@ -7578,10 +4890,7 @@ class BalancesByAddressEntry extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get balance => $_getI64(1); @$pb.TagNumber(2) - set balance($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set balance($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasBalance() => $_has(1); @$pb.TagNumber(2) @@ -7590,10 +4899,7 @@ class BalancesByAddressEntry extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(2); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(2); @$pb.TagNumber(1000) @@ -7603,29 +4909,11 @@ class BalancesByAddressEntry extends $pb.GeneratedMessage { } class GetBalancesByAddressesResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetBalancesByAddressesResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'entries', - $pb.PbFieldType.PM, - subBuilder: BalancesByAddressEntry.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetBalancesByAddressesResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: BalancesByAddressEntry.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetBalancesByAddressesResponseMessage._() : super(); factory GetBalancesByAddressesResponseMessage({ @@ -7641,37 +4929,25 @@ class GetBalancesByAddressesResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetBalancesByAddressesResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetBalancesByAddressesResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBalancesByAddressesResponseMessage clone() => - GetBalancesByAddressesResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBalancesByAddressesResponseMessage copyWith( - void Function(GetBalancesByAddressesResponseMessage) updates) => - super.copyWith((message) => - updates(message as GetBalancesByAddressesResponseMessage)) - as GetBalancesByAddressesResponseMessage; // ignore: deprecated_member_use + factory GetBalancesByAddressesResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetBalancesByAddressesResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetBalancesByAddressesResponseMessage clone() => GetBalancesByAddressesResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetBalancesByAddressesResponseMessage copyWith(void Function(GetBalancesByAddressesResponseMessage) updates) => super.copyWith((message) => updates(message as GetBalancesByAddressesResponseMessage)) as GetBalancesByAddressesResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetBalancesByAddressesResponseMessage create() => - GetBalancesByAddressesResponseMessage._(); + static GetBalancesByAddressesResponseMessage create() => GetBalancesByAddressesResponseMessage._(); GetBalancesByAddressesResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetBalancesByAddressesResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetBalancesByAddressesResponseMessage>(create); + static GetBalancesByAddressesResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetBalancesByAddressesResponseMessage? _defaultInstance; @$pb.TagNumber(1) @@ -7680,10 +4956,7 @@ class GetBalancesByAddressesResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -7692,85 +4965,41 @@ class GetBalancesByAddressesResponseMessage extends $pb.GeneratedMessage { RPCError ensureError() => $_ensure(1); } -class GetVirtualSelectedParentBlueScoreRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetVirtualSelectedParentBlueScoreRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; +class GetVirtualSelectedParentBlueScoreRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetVirtualSelectedParentBlueScoreRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetVirtualSelectedParentBlueScoreRequestMessage._() : super(); factory GetVirtualSelectedParentBlueScoreRequestMessage() => create(); - factory GetVirtualSelectedParentBlueScoreRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetVirtualSelectedParentBlueScoreRequestMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentBlueScoreRequestMessage clone() => - GetVirtualSelectedParentBlueScoreRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentBlueScoreRequestMessage copyWith( - void Function(GetVirtualSelectedParentBlueScoreRequestMessage) - updates) => - super.copyWith((message) => updates( - message as GetVirtualSelectedParentBlueScoreRequestMessage)) - as GetVirtualSelectedParentBlueScoreRequestMessage; // ignore: deprecated_member_use + factory GetVirtualSelectedParentBlueScoreRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetVirtualSelectedParentBlueScoreRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentBlueScoreRequestMessage clone() => GetVirtualSelectedParentBlueScoreRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentBlueScoreRequestMessage copyWith(void Function(GetVirtualSelectedParentBlueScoreRequestMessage) updates) => super.copyWith((message) => updates(message as GetVirtualSelectedParentBlueScoreRequestMessage)) as GetVirtualSelectedParentBlueScoreRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentBlueScoreRequestMessage create() => - GetVirtualSelectedParentBlueScoreRequestMessage._(); - GetVirtualSelectedParentBlueScoreRequestMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentBlueScoreRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetVirtualSelectedParentBlueScoreRequestMessage>(create); + static GetVirtualSelectedParentBlueScoreRequestMessage create() => GetVirtualSelectedParentBlueScoreRequestMessage._(); + GetVirtualSelectedParentBlueScoreRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetVirtualSelectedParentBlueScoreRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetVirtualSelectedParentBlueScoreRequestMessage? _defaultInstance; } -class GetVirtualSelectedParentBlueScoreResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetVirtualSelectedParentBlueScoreResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'blueScore', - $pb.PbFieldType.OU6, - protoName: 'blueScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class GetVirtualSelectedParentBlueScoreResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetVirtualSelectedParentBlueScoreResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'blueScore', $pb.PbFieldType.OU6, protoName: 'blueScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetVirtualSelectedParentBlueScoreResponseMessage._() : super(); factory GetVirtualSelectedParentBlueScoreResponseMessage({ @@ -7786,51 +5015,31 @@ class GetVirtualSelectedParentBlueScoreResponseMessage } return _result; } - factory GetVirtualSelectedParentBlueScoreResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetVirtualSelectedParentBlueScoreResponseMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentBlueScoreResponseMessage clone() => - GetVirtualSelectedParentBlueScoreResponseMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVirtualSelectedParentBlueScoreResponseMessage copyWith( - void Function(GetVirtualSelectedParentBlueScoreResponseMessage) - updates) => - super.copyWith((message) => updates( - message as GetVirtualSelectedParentBlueScoreResponseMessage)) - as GetVirtualSelectedParentBlueScoreResponseMessage; // ignore: deprecated_member_use + factory GetVirtualSelectedParentBlueScoreResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetVirtualSelectedParentBlueScoreResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentBlueScoreResponseMessage clone() => GetVirtualSelectedParentBlueScoreResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetVirtualSelectedParentBlueScoreResponseMessage copyWith(void Function(GetVirtualSelectedParentBlueScoreResponseMessage) updates) => super.copyWith((message) => updates(message as GetVirtualSelectedParentBlueScoreResponseMessage)) as GetVirtualSelectedParentBlueScoreResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentBlueScoreResponseMessage create() => - GetVirtualSelectedParentBlueScoreResponseMessage._(); - GetVirtualSelectedParentBlueScoreResponseMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVirtualSelectedParentBlueScoreResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetVirtualSelectedParentBlueScoreResponseMessage>(create); + static GetVirtualSelectedParentBlueScoreResponseMessage create() => GetVirtualSelectedParentBlueScoreResponseMessage._(); + GetVirtualSelectedParentBlueScoreResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetVirtualSelectedParentBlueScoreResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetVirtualSelectedParentBlueScoreResponseMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get blueScore => $_getI64(0); @$pb.TagNumber(1) - set blueScore($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set blueScore($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasBlueScore() => $_has(0); @$pb.TagNumber(1) @@ -7839,10 +5048,7 @@ class GetVirtualSelectedParentBlueScoreResponseMessage @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -7851,81 +5057,40 @@ class GetVirtualSelectedParentBlueScoreResponseMessage RPCError ensureError() => $_ensure(1); } -class NotifyVirtualSelectedParentBlueScoreChangedRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyVirtualSelectedParentBlueScoreChangedRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; +class NotifyVirtualSelectedParentBlueScoreChangedRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyVirtualSelectedParentBlueScoreChangedRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NotifyVirtualSelectedParentBlueScoreChangedRequestMessage._() : super(); - factory NotifyVirtualSelectedParentBlueScoreChangedRequestMessage() => - create(); - factory NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage clone() => - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage copyWith( - void Function( - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) - updates) => - super.copyWith((message) => updates(message - as NotifyVirtualSelectedParentBlueScoreChangedRequestMessage)) - as NotifyVirtualSelectedParentBlueScoreChangedRequestMessage; // ignore: deprecated_member_use + factory NotifyVirtualSelectedParentBlueScoreChangedRequestMessage() => create(); + factory NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentBlueScoreChangedRequestMessage clone() => NotifyVirtualSelectedParentBlueScoreChangedRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentBlueScoreChangedRequestMessage copyWith(void Function(NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyVirtualSelectedParentBlueScoreChangedRequestMessage)) as NotifyVirtualSelectedParentBlueScoreChangedRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentBlueScoreChangedRequestMessage create() => - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage._(); - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage - createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => $pb.PbList< - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage>(); - @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentBlueScoreChangedRequestMessage - getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage>(create); - static NotifyVirtualSelectedParentBlueScoreChangedRequestMessage? - _defaultInstance; + static NotifyVirtualSelectedParentBlueScoreChangedRequestMessage create() => NotifyVirtualSelectedParentBlueScoreChangedRequestMessage._(); + NotifyVirtualSelectedParentBlueScoreChangedRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NotifyVirtualSelectedParentBlueScoreChangedRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NotifyVirtualSelectedParentBlueScoreChangedRequestMessage? _defaultInstance; } -class NotifyVirtualSelectedParentBlueScoreChangedResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyVirtualSelectedParentBlueScoreChangedResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class NotifyVirtualSelectedParentBlueScoreChangedResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyVirtualSelectedParentBlueScoreChangedResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyVirtualSelectedParentBlueScoreChangedResponseMessage._() : super(); factory NotifyVirtualSelectedParentBlueScoreChangedResponseMessage({ @@ -7937,53 +5102,31 @@ class NotifyVirtualSelectedParentBlueScoreChangedResponseMessage } return _result; } - factory NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage clone() => - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage copyWith( - void Function( - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) - updates) => - super.copyWith((message) => updates(message - as NotifyVirtualSelectedParentBlueScoreChangedResponseMessage)) - as NotifyVirtualSelectedParentBlueScoreChangedResponseMessage; // ignore: deprecated_member_use + factory NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentBlueScoreChangedResponseMessage clone() => NotifyVirtualSelectedParentBlueScoreChangedResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyVirtualSelectedParentBlueScoreChangedResponseMessage copyWith(void Function(NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyVirtualSelectedParentBlueScoreChangedResponseMessage)) as NotifyVirtualSelectedParentBlueScoreChangedResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentBlueScoreChangedResponseMessage create() => - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage._(); - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage - createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => $pb.PbList< - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage>(); + static NotifyVirtualSelectedParentBlueScoreChangedResponseMessage create() => NotifyVirtualSelectedParentBlueScoreChangedResponseMessage._(); + NotifyVirtualSelectedParentBlueScoreChangedResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyVirtualSelectedParentBlueScoreChangedResponseMessage - getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage>(create); - static NotifyVirtualSelectedParentBlueScoreChangedResponseMessage? - _defaultInstance; + static NotifyVirtualSelectedParentBlueScoreChangedResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NotifyVirtualSelectedParentBlueScoreChangedResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -7992,26 +5135,11 @@ class NotifyVirtualSelectedParentBlueScoreChangedResponseMessage RPCError ensureError() => $_ensure(0); } -class VirtualSelectedParentBlueScoreChangedNotificationMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'VirtualSelectedParentBlueScoreChangedNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualSelectedParentBlueScore', - $pb.PbFieldType.OU6, - protoName: 'virtualSelectedParentBlueScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false; +class VirtualSelectedParentBlueScoreChangedNotificationMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'VirtualSelectedParentBlueScoreChangedNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualSelectedParentBlueScore', $pb.PbFieldType.OU6, protoName: 'virtualSelectedParentBlueScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; VirtualSelectedParentBlueScoreChangedNotificationMessage._() : super(); factory VirtualSelectedParentBlueScoreChangedNotificationMessage({ @@ -8023,53 +5151,31 @@ class VirtualSelectedParentBlueScoreChangedNotificationMessage } return _result; } - factory VirtualSelectedParentBlueScoreChangedNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory VirtualSelectedParentBlueScoreChangedNotificationMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - VirtualSelectedParentBlueScoreChangedNotificationMessage clone() => - VirtualSelectedParentBlueScoreChangedNotificationMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VirtualSelectedParentBlueScoreChangedNotificationMessage copyWith( - void Function( - VirtualSelectedParentBlueScoreChangedNotificationMessage) - updates) => - super.copyWith((message) => updates(message - as VirtualSelectedParentBlueScoreChangedNotificationMessage)) - as VirtualSelectedParentBlueScoreChangedNotificationMessage; // ignore: deprecated_member_use + factory VirtualSelectedParentBlueScoreChangedNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory VirtualSelectedParentBlueScoreChangedNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + VirtualSelectedParentBlueScoreChangedNotificationMessage clone() => VirtualSelectedParentBlueScoreChangedNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VirtualSelectedParentBlueScoreChangedNotificationMessage copyWith(void Function(VirtualSelectedParentBlueScoreChangedNotificationMessage) updates) => super.copyWith((message) => updates(message as VirtualSelectedParentBlueScoreChangedNotificationMessage)) as VirtualSelectedParentBlueScoreChangedNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static VirtualSelectedParentBlueScoreChangedNotificationMessage create() => - VirtualSelectedParentBlueScoreChangedNotificationMessage._(); - VirtualSelectedParentBlueScoreChangedNotificationMessage - createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => $pb.PbList< - VirtualSelectedParentBlueScoreChangedNotificationMessage>(); + static VirtualSelectedParentBlueScoreChangedNotificationMessage create() => VirtualSelectedParentBlueScoreChangedNotificationMessage._(); + VirtualSelectedParentBlueScoreChangedNotificationMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VirtualSelectedParentBlueScoreChangedNotificationMessage - getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - VirtualSelectedParentBlueScoreChangedNotificationMessage>(create); - static VirtualSelectedParentBlueScoreChangedNotificationMessage? - _defaultInstance; + static VirtualSelectedParentBlueScoreChangedNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VirtualSelectedParentBlueScoreChangedNotificationMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get virtualSelectedParentBlueScore => $_getI64(0); @$pb.TagNumber(1) - set virtualSelectedParentBlueScore($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set virtualSelectedParentBlueScore($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasVirtualSelectedParentBlueScore() => $_has(0); @$pb.TagNumber(1) @@ -8077,71 +5183,39 @@ class VirtualSelectedParentBlueScoreChangedNotificationMessage } class NotifyVirtualDaaScoreChangedRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyVirtualDaaScoreChangedRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyVirtualDaaScoreChangedRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NotifyVirtualDaaScoreChangedRequestMessage._() : super(); factory NotifyVirtualDaaScoreChangedRequestMessage() => create(); - factory NotifyVirtualDaaScoreChangedRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyVirtualDaaScoreChangedRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyVirtualDaaScoreChangedRequestMessage clone() => - NotifyVirtualDaaScoreChangedRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyVirtualDaaScoreChangedRequestMessage copyWith( - void Function(NotifyVirtualDaaScoreChangedRequestMessage) updates) => - super.copyWith((message) => - updates(message as NotifyVirtualDaaScoreChangedRequestMessage)) - as NotifyVirtualDaaScoreChangedRequestMessage; // ignore: deprecated_member_use + factory NotifyVirtualDaaScoreChangedRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyVirtualDaaScoreChangedRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyVirtualDaaScoreChangedRequestMessage clone() => NotifyVirtualDaaScoreChangedRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyVirtualDaaScoreChangedRequestMessage copyWith(void Function(NotifyVirtualDaaScoreChangedRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyVirtualDaaScoreChangedRequestMessage)) as NotifyVirtualDaaScoreChangedRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyVirtualDaaScoreChangedRequestMessage create() => - NotifyVirtualDaaScoreChangedRequestMessage._(); + static NotifyVirtualDaaScoreChangedRequestMessage create() => NotifyVirtualDaaScoreChangedRequestMessage._(); NotifyVirtualDaaScoreChangedRequestMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyVirtualDaaScoreChangedRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyVirtualDaaScoreChangedRequestMessage>(create); + static NotifyVirtualDaaScoreChangedRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyVirtualDaaScoreChangedRequestMessage? _defaultInstance; } class NotifyVirtualDaaScoreChangedResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyVirtualDaaScoreChangedResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyVirtualDaaScoreChangedResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyVirtualDaaScoreChangedResponseMessage._() : super(); factory NotifyVirtualDaaScoreChangedResponseMessage({ @@ -8153,47 +5227,31 @@ class NotifyVirtualDaaScoreChangedResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory NotifyVirtualDaaScoreChangedResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyVirtualDaaScoreChangedResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyVirtualDaaScoreChangedResponseMessage clone() => - NotifyVirtualDaaScoreChangedResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyVirtualDaaScoreChangedResponseMessage copyWith( - void Function(NotifyVirtualDaaScoreChangedResponseMessage) updates) => - super.copyWith((message) => - updates(message as NotifyVirtualDaaScoreChangedResponseMessage)) - as NotifyVirtualDaaScoreChangedResponseMessage; // ignore: deprecated_member_use + factory NotifyVirtualDaaScoreChangedResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyVirtualDaaScoreChangedResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyVirtualDaaScoreChangedResponseMessage clone() => NotifyVirtualDaaScoreChangedResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyVirtualDaaScoreChangedResponseMessage copyWith(void Function(NotifyVirtualDaaScoreChangedResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyVirtualDaaScoreChangedResponseMessage)) as NotifyVirtualDaaScoreChangedResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyVirtualDaaScoreChangedResponseMessage create() => - NotifyVirtualDaaScoreChangedResponseMessage._(); + static NotifyVirtualDaaScoreChangedResponseMessage create() => NotifyVirtualDaaScoreChangedResponseMessage._(); NotifyVirtualDaaScoreChangedResponseMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyVirtualDaaScoreChangedResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyVirtualDaaScoreChangedResponseMessage>(create); + static NotifyVirtualDaaScoreChangedResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyVirtualDaaScoreChangedResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -8203,24 +5261,10 @@ class NotifyVirtualDaaScoreChangedResponseMessage extends $pb.GeneratedMessage { } class VirtualDaaScoreChangedNotificationMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'VirtualDaaScoreChangedNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'virtualDaaScore', - $pb.PbFieldType.OU6, - protoName: 'virtualDaaScore', - defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'VirtualDaaScoreChangedNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'virtualDaaScore', $pb.PbFieldType.OU6, protoName: 'virtualDaaScore', defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; VirtualDaaScoreChangedNotificationMessage._() : super(); factory VirtualDaaScoreChangedNotificationMessage({ @@ -8232,124 +5276,71 @@ class VirtualDaaScoreChangedNotificationMessage extends $pb.GeneratedMessage { } return _result; } - factory VirtualDaaScoreChangedNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory VirtualDaaScoreChangedNotificationMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - VirtualDaaScoreChangedNotificationMessage clone() => - VirtualDaaScoreChangedNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VirtualDaaScoreChangedNotificationMessage copyWith( - void Function(VirtualDaaScoreChangedNotificationMessage) updates) => - super.copyWith((message) => - updates(message as VirtualDaaScoreChangedNotificationMessage)) - as VirtualDaaScoreChangedNotificationMessage; // ignore: deprecated_member_use + factory VirtualDaaScoreChangedNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory VirtualDaaScoreChangedNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + VirtualDaaScoreChangedNotificationMessage clone() => VirtualDaaScoreChangedNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VirtualDaaScoreChangedNotificationMessage copyWith(void Function(VirtualDaaScoreChangedNotificationMessage) updates) => super.copyWith((message) => updates(message as VirtualDaaScoreChangedNotificationMessage)) as VirtualDaaScoreChangedNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static VirtualDaaScoreChangedNotificationMessage create() => - VirtualDaaScoreChangedNotificationMessage._(); + static VirtualDaaScoreChangedNotificationMessage create() => VirtualDaaScoreChangedNotificationMessage._(); VirtualDaaScoreChangedNotificationMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VirtualDaaScoreChangedNotificationMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - VirtualDaaScoreChangedNotificationMessage>(create); + static VirtualDaaScoreChangedNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VirtualDaaScoreChangedNotificationMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get virtualDaaScore => $_getI64(0); @$pb.TagNumber(1) - set virtualDaaScore($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set virtualDaaScore($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasVirtualDaaScore() => $_has(0); @$pb.TagNumber(1) void clearVirtualDaaScore() => clearField(1); } -class NotifyPruningPointUTXOSetOverrideRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyPruningPointUTXOSetOverrideRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; +class NotifyPruningPointUTXOSetOverrideRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyPruningPointUTXOSetOverrideRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NotifyPruningPointUTXOSetOverrideRequestMessage._() : super(); factory NotifyPruningPointUTXOSetOverrideRequestMessage() => create(); - factory NotifyPruningPointUTXOSetOverrideRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyPruningPointUTXOSetOverrideRequestMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyPruningPointUTXOSetOverrideRequestMessage clone() => - NotifyPruningPointUTXOSetOverrideRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyPruningPointUTXOSetOverrideRequestMessage copyWith( - void Function(NotifyPruningPointUTXOSetOverrideRequestMessage) - updates) => - super.copyWith((message) => updates( - message as NotifyPruningPointUTXOSetOverrideRequestMessage)) - as NotifyPruningPointUTXOSetOverrideRequestMessage; // ignore: deprecated_member_use + factory NotifyPruningPointUTXOSetOverrideRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyPruningPointUTXOSetOverrideRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyPruningPointUTXOSetOverrideRequestMessage clone() => NotifyPruningPointUTXOSetOverrideRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyPruningPointUTXOSetOverrideRequestMessage copyWith(void Function(NotifyPruningPointUTXOSetOverrideRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyPruningPointUTXOSetOverrideRequestMessage)) as NotifyPruningPointUTXOSetOverrideRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyPruningPointUTXOSetOverrideRequestMessage create() => - NotifyPruningPointUTXOSetOverrideRequestMessage._(); - NotifyPruningPointUTXOSetOverrideRequestMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NotifyPruningPointUTXOSetOverrideRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyPruningPointUTXOSetOverrideRequestMessage>(create); + static NotifyPruningPointUTXOSetOverrideRequestMessage create() => NotifyPruningPointUTXOSetOverrideRequestMessage._(); + NotifyPruningPointUTXOSetOverrideRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NotifyPruningPointUTXOSetOverrideRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyPruningPointUTXOSetOverrideRequestMessage? _defaultInstance; } -class NotifyPruningPointUTXOSetOverrideResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyPruningPointUTXOSetOverrideResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class NotifyPruningPointUTXOSetOverrideResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyPruningPointUTXOSetOverrideResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyPruningPointUTXOSetOverrideResponseMessage._() : super(); factory NotifyPruningPointUTXOSetOverrideResponseMessage({ @@ -8361,51 +5352,31 @@ class NotifyPruningPointUTXOSetOverrideResponseMessage } return _result; } - factory NotifyPruningPointUTXOSetOverrideResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyPruningPointUTXOSetOverrideResponseMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyPruningPointUTXOSetOverrideResponseMessage clone() => - NotifyPruningPointUTXOSetOverrideResponseMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyPruningPointUTXOSetOverrideResponseMessage copyWith( - void Function(NotifyPruningPointUTXOSetOverrideResponseMessage) - updates) => - super.copyWith((message) => updates( - message as NotifyPruningPointUTXOSetOverrideResponseMessage)) - as NotifyPruningPointUTXOSetOverrideResponseMessage; // ignore: deprecated_member_use + factory NotifyPruningPointUTXOSetOverrideResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyPruningPointUTXOSetOverrideResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyPruningPointUTXOSetOverrideResponseMessage clone() => NotifyPruningPointUTXOSetOverrideResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyPruningPointUTXOSetOverrideResponseMessage copyWith(void Function(NotifyPruningPointUTXOSetOverrideResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyPruningPointUTXOSetOverrideResponseMessage)) as NotifyPruningPointUTXOSetOverrideResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyPruningPointUTXOSetOverrideResponseMessage create() => - NotifyPruningPointUTXOSetOverrideResponseMessage._(); - NotifyPruningPointUTXOSetOverrideResponseMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NotifyPruningPointUTXOSetOverrideResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyPruningPointUTXOSetOverrideResponseMessage>(create); + static NotifyPruningPointUTXOSetOverrideResponseMessage create() => NotifyPruningPointUTXOSetOverrideResponseMessage._(); + NotifyPruningPointUTXOSetOverrideResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NotifyPruningPointUTXOSetOverrideResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyPruningPointUTXOSetOverrideResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -8414,132 +5385,69 @@ class NotifyPruningPointUTXOSetOverrideResponseMessage RPCError ensureError() => $_ensure(0); } -class PruningPointUTXOSetOverrideNotificationMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'PruningPointUTXOSetOverrideNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; +class PruningPointUTXOSetOverrideNotificationMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PruningPointUTXOSetOverrideNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; PruningPointUTXOSetOverrideNotificationMessage._() : super(); factory PruningPointUTXOSetOverrideNotificationMessage() => create(); - factory PruningPointUTXOSetOverrideNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PruningPointUTXOSetOverrideNotificationMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PruningPointUTXOSetOverrideNotificationMessage clone() => - PruningPointUTXOSetOverrideNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PruningPointUTXOSetOverrideNotificationMessage copyWith( - void Function(PruningPointUTXOSetOverrideNotificationMessage) - updates) => - super.copyWith((message) => updates( - message as PruningPointUTXOSetOverrideNotificationMessage)) - as PruningPointUTXOSetOverrideNotificationMessage; // ignore: deprecated_member_use + factory PruningPointUTXOSetOverrideNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PruningPointUTXOSetOverrideNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PruningPointUTXOSetOverrideNotificationMessage clone() => PruningPointUTXOSetOverrideNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PruningPointUTXOSetOverrideNotificationMessage copyWith(void Function(PruningPointUTXOSetOverrideNotificationMessage) updates) => super.copyWith((message) => updates(message as PruningPointUTXOSetOverrideNotificationMessage)) as PruningPointUTXOSetOverrideNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static PruningPointUTXOSetOverrideNotificationMessage create() => - PruningPointUTXOSetOverrideNotificationMessage._(); - PruningPointUTXOSetOverrideNotificationMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PruningPointUTXOSetOverrideNotificationMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - PruningPointUTXOSetOverrideNotificationMessage>(create); + static PruningPointUTXOSetOverrideNotificationMessage create() => PruningPointUTXOSetOverrideNotificationMessage._(); + PruningPointUTXOSetOverrideNotificationMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PruningPointUTXOSetOverrideNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PruningPointUTXOSetOverrideNotificationMessage? _defaultInstance; } -class StopNotifyingPruningPointUTXOSetOverrideRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'StopNotifyingPruningPointUTXOSetOverrideRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; +class StopNotifyingPruningPointUTXOSetOverrideRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StopNotifyingPruningPointUTXOSetOverrideRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; StopNotifyingPruningPointUTXOSetOverrideRequestMessage._() : super(); factory StopNotifyingPruningPointUTXOSetOverrideRequestMessage() => create(); - factory StopNotifyingPruningPointUTXOSetOverrideRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StopNotifyingPruningPointUTXOSetOverrideRequestMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopNotifyingPruningPointUTXOSetOverrideRequestMessage clone() => - StopNotifyingPruningPointUTXOSetOverrideRequestMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopNotifyingPruningPointUTXOSetOverrideRequestMessage copyWith( - void Function(StopNotifyingPruningPointUTXOSetOverrideRequestMessage) - updates) => - super.copyWith((message) => updates(message - as StopNotifyingPruningPointUTXOSetOverrideRequestMessage)) - as StopNotifyingPruningPointUTXOSetOverrideRequestMessage; // ignore: deprecated_member_use + factory StopNotifyingPruningPointUTXOSetOverrideRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StopNotifyingPruningPointUTXOSetOverrideRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StopNotifyingPruningPointUTXOSetOverrideRequestMessage clone() => StopNotifyingPruningPointUTXOSetOverrideRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StopNotifyingPruningPointUTXOSetOverrideRequestMessage copyWith(void Function(StopNotifyingPruningPointUTXOSetOverrideRequestMessage) updates) => super.copyWith((message) => updates(message as StopNotifyingPruningPointUTXOSetOverrideRequestMessage)) as StopNotifyingPruningPointUTXOSetOverrideRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static StopNotifyingPruningPointUTXOSetOverrideRequestMessage create() => - StopNotifyingPruningPointUTXOSetOverrideRequestMessage._(); - StopNotifyingPruningPointUTXOSetOverrideRequestMessage - createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopNotifyingPruningPointUTXOSetOverrideRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - StopNotifyingPruningPointUTXOSetOverrideRequestMessage>(create); - static StopNotifyingPruningPointUTXOSetOverrideRequestMessage? - _defaultInstance; + static StopNotifyingPruningPointUTXOSetOverrideRequestMessage create() => StopNotifyingPruningPointUTXOSetOverrideRequestMessage._(); + StopNotifyingPruningPointUTXOSetOverrideRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static StopNotifyingPruningPointUTXOSetOverrideRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StopNotifyingPruningPointUTXOSetOverrideRequestMessage? _defaultInstance; } -class StopNotifyingPruningPointUTXOSetOverrideResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'StopNotifyingPruningPointUTXOSetOverrideResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class StopNotifyingPruningPointUTXOSetOverrideResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StopNotifyingPruningPointUTXOSetOverrideResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; StopNotifyingPruningPointUTXOSetOverrideResponseMessage._() : super(); factory StopNotifyingPruningPointUTXOSetOverrideResponseMessage({ @@ -8551,52 +5459,31 @@ class StopNotifyingPruningPointUTXOSetOverrideResponseMessage } return _result; } - factory StopNotifyingPruningPointUTXOSetOverrideResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StopNotifyingPruningPointUTXOSetOverrideResponseMessage.fromJson( - $core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopNotifyingPruningPointUTXOSetOverrideResponseMessage clone() => - StopNotifyingPruningPointUTXOSetOverrideResponseMessage() - ..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopNotifyingPruningPointUTXOSetOverrideResponseMessage copyWith( - void Function(StopNotifyingPruningPointUTXOSetOverrideResponseMessage) - updates) => - super.copyWith((message) => updates(message - as StopNotifyingPruningPointUTXOSetOverrideResponseMessage)) - as StopNotifyingPruningPointUTXOSetOverrideResponseMessage; // ignore: deprecated_member_use + factory StopNotifyingPruningPointUTXOSetOverrideResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StopNotifyingPruningPointUTXOSetOverrideResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StopNotifyingPruningPointUTXOSetOverrideResponseMessage clone() => StopNotifyingPruningPointUTXOSetOverrideResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StopNotifyingPruningPointUTXOSetOverrideResponseMessage copyWith(void Function(StopNotifyingPruningPointUTXOSetOverrideResponseMessage) updates) => super.copyWith((message) => updates(message as StopNotifyingPruningPointUTXOSetOverrideResponseMessage)) as StopNotifyingPruningPointUTXOSetOverrideResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static StopNotifyingPruningPointUTXOSetOverrideResponseMessage create() => - StopNotifyingPruningPointUTXOSetOverrideResponseMessage._(); - StopNotifyingPruningPointUTXOSetOverrideResponseMessage - createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static StopNotifyingPruningPointUTXOSetOverrideResponseMessage create() => StopNotifyingPruningPointUTXOSetOverrideResponseMessage._(); + StopNotifyingPruningPointUTXOSetOverrideResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StopNotifyingPruningPointUTXOSetOverrideResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - StopNotifyingPruningPointUTXOSetOverrideResponseMessage>(create); - static StopNotifyingPruningPointUTXOSetOverrideResponseMessage? - _defaultInstance; + static StopNotifyingPruningPointUTXOSetOverrideResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StopNotifyingPruningPointUTXOSetOverrideResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -8606,21 +5493,10 @@ class StopNotifyingPruningPointUTXOSetOverrideResponseMessage } class BanRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BanRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ip') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BanRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ip') + ..hasRequiredFields = false + ; BanRequestMessage._() : super(); factory BanRequestMessage({ @@ -8632,40 +5508,31 @@ class BanRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory BanRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BanRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BanRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BanRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BanRequestMessage clone() => BanRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BanRequestMessage copyWith(void Function(BanRequestMessage) updates) => - super.copyWith((message) => updates(message as BanRequestMessage)) - as BanRequestMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BanRequestMessage copyWith(void Function(BanRequestMessage) updates) => super.copyWith((message) => updates(message as BanRequestMessage)) as BanRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BanRequestMessage create() => BanRequestMessage._(); BanRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BanRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BanRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BanRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get ip => $_getSZ(0); @$pb.TagNumber(1) - set ip($core.String v) { - $_setString(0, v); - } - + set ip($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasIp() => $_has(0); @$pb.TagNumber(1) @@ -8673,22 +5540,10 @@ class BanRequestMessage extends $pb.GeneratedMessage { } class BanResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'BanResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'BanResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; BanResponseMessage._() : super(); factory BanResponseMessage({ @@ -8700,40 +5555,31 @@ class BanResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory BanResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BanResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory BanResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BanResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') BanResponseMessage clone() => BanResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BanResponseMessage copyWith(void Function(BanResponseMessage) updates) => - super.copyWith((message) => updates(message as BanResponseMessage)) - as BanResponseMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BanResponseMessage copyWith(void Function(BanResponseMessage) updates) => super.copyWith((message) => updates(message as BanResponseMessage)) as BanResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BanResponseMessage create() => BanResponseMessage._(); BanResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static BanResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static BanResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BanResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -8743,21 +5589,10 @@ class BanResponseMessage extends $pb.GeneratedMessage { } class UnbanRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'UnbanRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'ip') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UnbanRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'ip') + ..hasRequiredFields = false + ; UnbanRequestMessage._() : super(); factory UnbanRequestMessage({ @@ -8769,40 +5604,31 @@ class UnbanRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory UnbanRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UnbanRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory UnbanRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UnbanRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UnbanRequestMessage clone() => UnbanRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnbanRequestMessage copyWith(void Function(UnbanRequestMessage) updates) => - super.copyWith((message) => updates(message as UnbanRequestMessage)) - as UnbanRequestMessage; // ignore: deprecated_member_use + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnbanRequestMessage copyWith(void Function(UnbanRequestMessage) updates) => super.copyWith((message) => updates(message as UnbanRequestMessage)) as UnbanRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UnbanRequestMessage create() => UnbanRequestMessage._(); UnbanRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UnbanRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UnbanRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UnbanRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get ip => $_getSZ(0); @$pb.TagNumber(1) - set ip($core.String v) { - $_setString(0, v); - } - + set ip($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasIp() => $_has(0); @$pb.TagNumber(1) @@ -8810,22 +5636,10 @@ class UnbanRequestMessage extends $pb.GeneratedMessage { } class UnbanResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'UnbanResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'UnbanResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; UnbanResponseMessage._() : super(); factory UnbanResponseMessage({ @@ -8837,41 +5651,31 @@ class UnbanResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory UnbanResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UnbanResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnbanResponseMessage clone() => - UnbanResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnbanResponseMessage copyWith(void Function(UnbanResponseMessage) updates) => - super.copyWith((message) => updates(message as UnbanResponseMessage)) - as UnbanResponseMessage; // ignore: deprecated_member_use + factory UnbanResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UnbanResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UnbanResponseMessage clone() => UnbanResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnbanResponseMessage copyWith(void Function(UnbanResponseMessage) updates) => super.copyWith((message) => updates(message as UnbanResponseMessage)) as UnbanResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UnbanResponseMessage create() => UnbanResponseMessage._(); UnbanResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UnbanResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UnbanResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UnbanResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -8881,98 +5685,44 @@ class UnbanResponseMessage extends $pb.GeneratedMessage { } class GetInfoRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetInfoRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetInfoRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetInfoRequestMessage._() : super(); factory GetInfoRequestMessage() => create(); - factory GetInfoRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetInfoRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInfoRequestMessage clone() => - GetInfoRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInfoRequestMessage copyWith( - void Function(GetInfoRequestMessage) updates) => - super.copyWith((message) => updates(message as GetInfoRequestMessage)) - as GetInfoRequestMessage; // ignore: deprecated_member_use + factory GetInfoRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetInfoRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetInfoRequestMessage clone() => GetInfoRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetInfoRequestMessage copyWith(void Function(GetInfoRequestMessage) updates) => super.copyWith((message) => updates(message as GetInfoRequestMessage)) as GetInfoRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetInfoRequestMessage create() => GetInfoRequestMessage._(); GetInfoRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetInfoRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetInfoRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetInfoRequestMessage? _defaultInstance; } class GetInfoResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetInfoResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'p2pId', - protoName: 'p2pId') - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'mempoolSize', - $pb.PbFieldType.OU6, - protoName: 'mempoolSize', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'serverVersion', - protoName: 'serverVersion') - ..aOB( - 4, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isUtxoIndexed', - protoName: 'isUtxoIndexed') - ..aOB( - 5, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'isSynced', - protoName: 'isSynced') - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetInfoResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'p2pId', protoName: 'p2pId') + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'mempoolSize', $pb.PbFieldType.OU6, protoName: 'mempoolSize', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'serverVersion', protoName: 'serverVersion') + ..aOB(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isUtxoIndexed', protoName: 'isUtxoIndexed') + ..aOB(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isSynced', protoName: 'isSynced') + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetInfoResponseMessage._() : super(); factory GetInfoResponseMessage({ @@ -9004,42 +5754,31 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetInfoResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetInfoResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInfoResponseMessage clone() => - GetInfoResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInfoResponseMessage copyWith( - void Function(GetInfoResponseMessage) updates) => - super.copyWith((message) => updates(message as GetInfoResponseMessage)) - as GetInfoResponseMessage; // ignore: deprecated_member_use + factory GetInfoResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetInfoResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetInfoResponseMessage clone() => GetInfoResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetInfoResponseMessage copyWith(void Function(GetInfoResponseMessage) updates) => super.copyWith((message) => updates(message as GetInfoResponseMessage)) as GetInfoResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetInfoResponseMessage create() => GetInfoResponseMessage._(); GetInfoResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetInfoResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetInfoResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetInfoResponseMessage? _defaultInstance; @$pb.TagNumber(1) $core.String get p2pId => $_getSZ(0); @$pb.TagNumber(1) - set p2pId($core.String v) { - $_setString(0, v); - } - + set p2pId($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasP2pId() => $_has(0); @$pb.TagNumber(1) @@ -9048,10 +5787,7 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get mempoolSize => $_getI64(1); @$pb.TagNumber(2) - set mempoolSize($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set mempoolSize($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasMempoolSize() => $_has(1); @$pb.TagNumber(2) @@ -9060,10 +5796,7 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get serverVersion => $_getSZ(2); @$pb.TagNumber(3) - set serverVersion($core.String v) { - $_setString(2, v); - } - + set serverVersion($core.String v) { $_setString(2, v); } @$pb.TagNumber(3) $core.bool hasServerVersion() => $_has(2); @$pb.TagNumber(3) @@ -9072,10 +5805,7 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get isUtxoIndexed => $_getBF(3); @$pb.TagNumber(4) - set isUtxoIndexed($core.bool v) { - $_setBool(3, v); - } - + set isUtxoIndexed($core.bool v) { $_setBool(3, v); } @$pb.TagNumber(4) $core.bool hasIsUtxoIndexed() => $_has(3); @$pb.TagNumber(4) @@ -9084,10 +5814,7 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get isSynced => $_getBF(4); @$pb.TagNumber(5) - set isSynced($core.bool v) { - $_setBool(4, v); - } - + set isSynced($core.bool v) { $_setBool(4, v); } @$pb.TagNumber(5) $core.bool hasIsSynced() => $_has(4); @$pb.TagNumber(5) @@ -9096,10 +5823,7 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(5); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(5); @$pb.TagNumber(1000) @@ -9108,31 +5832,12 @@ class GetInfoResponseMessage extends $pb.GeneratedMessage { RPCError ensureError() => $_ensure(5); } -class EstimateNetworkHashesPerSecondRequestMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'EstimateNetworkHashesPerSecondRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$core.int>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'windowSize', - $pb.PbFieldType.OU3, - protoName: 'windowSize') - ..aOS( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'startHash', - protoName: 'startHash') - ..hasRequiredFields = false; +class EstimateNetworkHashesPerSecondRequestMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'EstimateNetworkHashesPerSecondRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'windowSize', $pb.PbFieldType.OU3, protoName: 'windowSize') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'startHash', protoName: 'startHash') + ..hasRequiredFields = false + ; EstimateNetworkHashesPerSecondRequestMessage._() : super(); factory EstimateNetworkHashesPerSecondRequestMessage({ @@ -9148,49 +5853,31 @@ class EstimateNetworkHashesPerSecondRequestMessage } return _result; } - factory EstimateNetworkHashesPerSecondRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EstimateNetworkHashesPerSecondRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EstimateNetworkHashesPerSecondRequestMessage clone() => - EstimateNetworkHashesPerSecondRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EstimateNetworkHashesPerSecondRequestMessage copyWith( - void Function(EstimateNetworkHashesPerSecondRequestMessage) - updates) => - super.copyWith((message) => - updates(message as EstimateNetworkHashesPerSecondRequestMessage)) - as EstimateNetworkHashesPerSecondRequestMessage; // ignore: deprecated_member_use + factory EstimateNetworkHashesPerSecondRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EstimateNetworkHashesPerSecondRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EstimateNetworkHashesPerSecondRequestMessage clone() => EstimateNetworkHashesPerSecondRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EstimateNetworkHashesPerSecondRequestMessage copyWith(void Function(EstimateNetworkHashesPerSecondRequestMessage) updates) => super.copyWith((message) => updates(message as EstimateNetworkHashesPerSecondRequestMessage)) as EstimateNetworkHashesPerSecondRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static EstimateNetworkHashesPerSecondRequestMessage create() => - EstimateNetworkHashesPerSecondRequestMessage._(); - EstimateNetworkHashesPerSecondRequestMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EstimateNetworkHashesPerSecondRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - EstimateNetworkHashesPerSecondRequestMessage>(create); + static EstimateNetworkHashesPerSecondRequestMessage create() => EstimateNetworkHashesPerSecondRequestMessage._(); + EstimateNetworkHashesPerSecondRequestMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EstimateNetworkHashesPerSecondRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EstimateNetworkHashesPerSecondRequestMessage? _defaultInstance; @$pb.TagNumber(1) $core.int get windowSize => $_getIZ(0); @$pb.TagNumber(1) - set windowSize($core.int v) { - $_setUnsignedInt32(0, v); - } - + set windowSize($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasWindowSize() => $_has(0); @$pb.TagNumber(1) @@ -9199,42 +5886,19 @@ class EstimateNetworkHashesPerSecondRequestMessage @$pb.TagNumber(2) $core.String get startHash => $_getSZ(1); @$pb.TagNumber(2) - set startHash($core.String v) { - $_setString(1, v); - } - + set startHash($core.String v) { $_setString(1, v); } @$pb.TagNumber(2) $core.bool hasStartHash() => $_has(1); @$pb.TagNumber(2) void clearStartHash() => clearField(2); } -class EstimateNetworkHashesPerSecondResponseMessage - extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'EstimateNetworkHashesPerSecondResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'networkHashesPerSecond', - $pb.PbFieldType.OU6, - protoName: 'networkHashesPerSecond', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; +class EstimateNetworkHashesPerSecondResponseMessage extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'EstimateNetworkHashesPerSecondResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'networkHashesPerSecond', $pb.PbFieldType.OU6, protoName: 'networkHashesPerSecond', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; EstimateNetworkHashesPerSecondResponseMessage._() : super(); factory EstimateNetworkHashesPerSecondResponseMessage({ @@ -9250,49 +5914,31 @@ class EstimateNetworkHashesPerSecondResponseMessage } return _result; } - factory EstimateNetworkHashesPerSecondResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EstimateNetworkHashesPerSecondResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EstimateNetworkHashesPerSecondResponseMessage clone() => - EstimateNetworkHashesPerSecondResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EstimateNetworkHashesPerSecondResponseMessage copyWith( - void Function(EstimateNetworkHashesPerSecondResponseMessage) - updates) => - super.copyWith((message) => - updates(message as EstimateNetworkHashesPerSecondResponseMessage)) - as EstimateNetworkHashesPerSecondResponseMessage; // ignore: deprecated_member_use + factory EstimateNetworkHashesPerSecondResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EstimateNetworkHashesPerSecondResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EstimateNetworkHashesPerSecondResponseMessage clone() => EstimateNetworkHashesPerSecondResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EstimateNetworkHashesPerSecondResponseMessage copyWith(void Function(EstimateNetworkHashesPerSecondResponseMessage) updates) => super.copyWith((message) => updates(message as EstimateNetworkHashesPerSecondResponseMessage)) as EstimateNetworkHashesPerSecondResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static EstimateNetworkHashesPerSecondResponseMessage create() => - EstimateNetworkHashesPerSecondResponseMessage._(); - EstimateNetworkHashesPerSecondResponseMessage createEmptyInstance() => - create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EstimateNetworkHashesPerSecondResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - EstimateNetworkHashesPerSecondResponseMessage>(create); + static EstimateNetworkHashesPerSecondResponseMessage create() => EstimateNetworkHashesPerSecondResponseMessage._(); + EstimateNetworkHashesPerSecondResponseMessage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EstimateNetworkHashesPerSecondResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EstimateNetworkHashesPerSecondResponseMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get networkHashesPerSecond => $_getI64(0); @$pb.TagNumber(1) - set networkHashesPerSecond($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set networkHashesPerSecond($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasNetworkHashesPerSecond() => $_has(0); @$pb.TagNumber(1) @@ -9301,10 +5947,7 @@ class EstimateNetworkHashesPerSecondResponseMessage @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -9314,70 +5957,39 @@ class EstimateNetworkHashesPerSecondResponseMessage } class NotifyNewBlockTemplateRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyNewBlockTemplateRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyNewBlockTemplateRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NotifyNewBlockTemplateRequestMessage._() : super(); factory NotifyNewBlockTemplateRequestMessage() => create(); - factory NotifyNewBlockTemplateRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyNewBlockTemplateRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyNewBlockTemplateRequestMessage clone() => - NotifyNewBlockTemplateRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyNewBlockTemplateRequestMessage copyWith( - void Function(NotifyNewBlockTemplateRequestMessage) updates) => - super.copyWith((message) => - updates(message as NotifyNewBlockTemplateRequestMessage)) - as NotifyNewBlockTemplateRequestMessage; // ignore: deprecated_member_use + factory NotifyNewBlockTemplateRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyNewBlockTemplateRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyNewBlockTemplateRequestMessage clone() => NotifyNewBlockTemplateRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyNewBlockTemplateRequestMessage copyWith(void Function(NotifyNewBlockTemplateRequestMessage) updates) => super.copyWith((message) => updates(message as NotifyNewBlockTemplateRequestMessage)) as NotifyNewBlockTemplateRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyNewBlockTemplateRequestMessage create() => - NotifyNewBlockTemplateRequestMessage._(); + static NotifyNewBlockTemplateRequestMessage create() => NotifyNewBlockTemplateRequestMessage._(); NotifyNewBlockTemplateRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyNewBlockTemplateRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyNewBlockTemplateRequestMessage>(create); + static NotifyNewBlockTemplateRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyNewBlockTemplateRequestMessage? _defaultInstance; } class NotifyNewBlockTemplateResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NotifyNewBlockTemplateResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NotifyNewBlockTemplateResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; NotifyNewBlockTemplateResponseMessage._() : super(); factory NotifyNewBlockTemplateResponseMessage({ @@ -9389,46 +6001,31 @@ class NotifyNewBlockTemplateResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory NotifyNewBlockTemplateResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NotifyNewBlockTemplateResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NotifyNewBlockTemplateResponseMessage clone() => - NotifyNewBlockTemplateResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NotifyNewBlockTemplateResponseMessage copyWith( - void Function(NotifyNewBlockTemplateResponseMessage) updates) => - super.copyWith((message) => - updates(message as NotifyNewBlockTemplateResponseMessage)) - as NotifyNewBlockTemplateResponseMessage; // ignore: deprecated_member_use + factory NotifyNewBlockTemplateResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NotifyNewBlockTemplateResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NotifyNewBlockTemplateResponseMessage clone() => NotifyNewBlockTemplateResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NotifyNewBlockTemplateResponseMessage copyWith(void Function(NotifyNewBlockTemplateResponseMessage) updates) => super.copyWith((message) => updates(message as NotifyNewBlockTemplateResponseMessage)) as NotifyNewBlockTemplateResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NotifyNewBlockTemplateResponseMessage create() => - NotifyNewBlockTemplateResponseMessage._(); + static NotifyNewBlockTemplateResponseMessage create() => NotifyNewBlockTemplateResponseMessage._(); NotifyNewBlockTemplateResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NotifyNewBlockTemplateResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NotifyNewBlockTemplateResponseMessage>(create); + static NotifyNewBlockTemplateResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NotifyNewBlockTemplateResponseMessage? _defaultInstance; @$pb.TagNumber(1000) RPCError get error => $_getN(0); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(0); @$pb.TagNumber(1000) @@ -9438,83 +6035,41 @@ class NotifyNewBlockTemplateResponseMessage extends $pb.GeneratedMessage { } class NewBlockTemplateNotificationMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'NewBlockTemplateNotificationMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NewBlockTemplateNotificationMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; NewBlockTemplateNotificationMessage._() : super(); factory NewBlockTemplateNotificationMessage() => create(); - factory NewBlockTemplateNotificationMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NewBlockTemplateNotificationMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NewBlockTemplateNotificationMessage clone() => - NewBlockTemplateNotificationMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NewBlockTemplateNotificationMessage copyWith( - void Function(NewBlockTemplateNotificationMessage) updates) => - super.copyWith((message) => - updates(message as NewBlockTemplateNotificationMessage)) - as NewBlockTemplateNotificationMessage; // ignore: deprecated_member_use + factory NewBlockTemplateNotificationMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NewBlockTemplateNotificationMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NewBlockTemplateNotificationMessage clone() => NewBlockTemplateNotificationMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NewBlockTemplateNotificationMessage copyWith(void Function(NewBlockTemplateNotificationMessage) updates) => super.copyWith((message) => updates(message as NewBlockTemplateNotificationMessage)) as NewBlockTemplateNotificationMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static NewBlockTemplateNotificationMessage create() => - NewBlockTemplateNotificationMessage._(); + static NewBlockTemplateNotificationMessage create() => NewBlockTemplateNotificationMessage._(); NewBlockTemplateNotificationMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static NewBlockTemplateNotificationMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - NewBlockTemplateNotificationMessage>(create); + static NewBlockTemplateNotificationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static NewBlockTemplateNotificationMessage? _defaultInstance; } class MempoolEntryByAddress extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'MempoolEntryByAddress', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..aOS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'address') - ..pc( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'sending', - $pb.PbFieldType.PM, - subBuilder: MempoolEntry.create) - ..pc( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'receiving', - $pb.PbFieldType.PM, - subBuilder: MempoolEntry.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'MempoolEntryByAddress', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') + ..pc(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sending', $pb.PbFieldType.PM, subBuilder: MempoolEntry.create) + ..pc(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'receiving', $pb.PbFieldType.PM, subBuilder: MempoolEntry.create) + ..hasRequiredFields = false + ; MempoolEntryByAddress._() : super(); factory MempoolEntryByAddress({ @@ -9534,42 +6089,31 @@ class MempoolEntryByAddress extends $pb.GeneratedMessage { } return _result; } - factory MempoolEntryByAddress.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MempoolEntryByAddress.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MempoolEntryByAddress clone() => - MempoolEntryByAddress()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MempoolEntryByAddress copyWith( - void Function(MempoolEntryByAddress) updates) => - super.copyWith((message) => updates(message as MempoolEntryByAddress)) - as MempoolEntryByAddress; // ignore: deprecated_member_use + factory MempoolEntryByAddress.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MempoolEntryByAddress.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MempoolEntryByAddress clone() => MempoolEntryByAddress()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MempoolEntryByAddress copyWith(void Function(MempoolEntryByAddress) updates) => super.copyWith((message) => updates(message as MempoolEntryByAddress)) as MempoolEntryByAddress; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MempoolEntryByAddress create() => MempoolEntryByAddress._(); MempoolEntryByAddress createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MempoolEntryByAddress getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MempoolEntryByAddress getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MempoolEntryByAddress? _defaultInstance; @$pb.TagNumber(1) $core.String get address => $_getSZ(0); @$pb.TagNumber(1) - set address($core.String v) { - $_setString(0, v); - } - + set address($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasAddress() => $_has(0); @$pb.TagNumber(1) @@ -9583,33 +6127,12 @@ class MempoolEntryByAddress extends $pb.GeneratedMessage { } class GetMempoolEntriesByAddressesRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetMempoolEntriesByAddressesRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pPS( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'addresses') - ..aOB( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'includeOrphanPool', - protoName: 'includeOrphanPool') - ..aOB( - 3, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'filterTransactionPool', - protoName: 'filterTransactionPool') - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetMempoolEntriesByAddressesRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pPS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses') + ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'includeOrphanPool', protoName: 'includeOrphanPool') + ..aOB(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'filterTransactionPool', protoName: 'filterTransactionPool') + ..hasRequiredFields = false + ; GetMempoolEntriesByAddressesRequestMessage._() : super(); factory GetMempoolEntriesByAddressesRequestMessage({ @@ -9629,38 +6152,25 @@ class GetMempoolEntriesByAddressesRequestMessage extends $pb.GeneratedMessage { } return _result; } - factory GetMempoolEntriesByAddressesRequestMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetMempoolEntriesByAddressesRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesByAddressesRequestMessage clone() => - GetMempoolEntriesByAddressesRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesByAddressesRequestMessage copyWith( - void Function(GetMempoolEntriesByAddressesRequestMessage) updates) => - super.copyWith((message) => - updates(message as GetMempoolEntriesByAddressesRequestMessage)) - as GetMempoolEntriesByAddressesRequestMessage; // ignore: deprecated_member_use + factory GetMempoolEntriesByAddressesRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetMempoolEntriesByAddressesRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesByAddressesRequestMessage clone() => GetMempoolEntriesByAddressesRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesByAddressesRequestMessage copyWith(void Function(GetMempoolEntriesByAddressesRequestMessage) updates) => super.copyWith((message) => updates(message as GetMempoolEntriesByAddressesRequestMessage)) as GetMempoolEntriesByAddressesRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetMempoolEntriesByAddressesRequestMessage create() => - GetMempoolEntriesByAddressesRequestMessage._(); + static GetMempoolEntriesByAddressesRequestMessage create() => GetMempoolEntriesByAddressesRequestMessage._(); GetMempoolEntriesByAddressesRequestMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetMempoolEntriesByAddressesRequestMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetMempoolEntriesByAddressesRequestMessage>(create); + static GetMempoolEntriesByAddressesRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetMempoolEntriesByAddressesRequestMessage? _defaultInstance; @$pb.TagNumber(1) @@ -9669,10 +6179,7 @@ class GetMempoolEntriesByAddressesRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get includeOrphanPool => $_getBF(1); @$pb.TagNumber(2) - set includeOrphanPool($core.bool v) { - $_setBool(1, v); - } - + set includeOrphanPool($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasIncludeOrphanPool() => $_has(1); @$pb.TagNumber(2) @@ -9681,10 +6188,7 @@ class GetMempoolEntriesByAddressesRequestMessage extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get filterTransactionPool => $_getBF(2); @$pb.TagNumber(3) - set filterTransactionPool($core.bool v) { - $_setBool(2, v); - } - + set filterTransactionPool($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasFilterTransactionPool() => $_has(2); @$pb.TagNumber(3) @@ -9692,29 +6196,11 @@ class GetMempoolEntriesByAddressesRequestMessage extends $pb.GeneratedMessage { } class GetMempoolEntriesByAddressesResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetMempoolEntriesByAddressesResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..pc( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'entries', - $pb.PbFieldType.PM, - subBuilder: MempoolEntryByAddress.create) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetMempoolEntriesByAddressesResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..pc(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: MempoolEntryByAddress.create) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetMempoolEntriesByAddressesResponseMessage._() : super(); factory GetMempoolEntriesByAddressesResponseMessage({ @@ -9730,38 +6216,25 @@ class GetMempoolEntriesByAddressesResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetMempoolEntriesByAddressesResponseMessage.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetMempoolEntriesByAddressesResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesByAddressesResponseMessage clone() => - GetMempoolEntriesByAddressesResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMempoolEntriesByAddressesResponseMessage copyWith( - void Function(GetMempoolEntriesByAddressesResponseMessage) updates) => - super.copyWith((message) => - updates(message as GetMempoolEntriesByAddressesResponseMessage)) - as GetMempoolEntriesByAddressesResponseMessage; // ignore: deprecated_member_use + factory GetMempoolEntriesByAddressesResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetMempoolEntriesByAddressesResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesByAddressesResponseMessage clone() => GetMempoolEntriesByAddressesResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetMempoolEntriesByAddressesResponseMessage copyWith(void Function(GetMempoolEntriesByAddressesResponseMessage) updates) => super.copyWith((message) => updates(message as GetMempoolEntriesByAddressesResponseMessage)) as GetMempoolEntriesByAddressesResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetMempoolEntriesByAddressesResponseMessage create() => - GetMempoolEntriesByAddressesResponseMessage._(); + static GetMempoolEntriesByAddressesResponseMessage create() => GetMempoolEntriesByAddressesResponseMessage._(); GetMempoolEntriesByAddressesResponseMessage createEmptyInstance() => create(); - static $pb.PbList - createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetMempoolEntriesByAddressesResponseMessage getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< - GetMempoolEntriesByAddressesResponseMessage>(create); + static GetMempoolEntriesByAddressesResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetMempoolEntriesByAddressesResponseMessage? _defaultInstance; @$pb.TagNumber(1) @@ -9770,10 +6243,7 @@ class GetMempoolEntriesByAddressesResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(1); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(1); @$pb.TagNumber(1000) @@ -9783,84 +6253,41 @@ class GetMempoolEntriesByAddressesResponseMessage extends $pb.GeneratedMessage { } class GetCoinSupplyRequestMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetCoinSupplyRequestMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetCoinSupplyRequestMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..hasRequiredFields = false + ; GetCoinSupplyRequestMessage._() : super(); factory GetCoinSupplyRequestMessage() => create(); - factory GetCoinSupplyRequestMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetCoinSupplyRequestMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCoinSupplyRequestMessage clone() => - GetCoinSupplyRequestMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCoinSupplyRequestMessage copyWith( - void Function(GetCoinSupplyRequestMessage) updates) => - super.copyWith( - (message) => updates(message as GetCoinSupplyRequestMessage)) - as GetCoinSupplyRequestMessage; // ignore: deprecated_member_use + factory GetCoinSupplyRequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetCoinSupplyRequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetCoinSupplyRequestMessage clone() => GetCoinSupplyRequestMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetCoinSupplyRequestMessage copyWith(void Function(GetCoinSupplyRequestMessage) updates) => super.copyWith((message) => updates(message as GetCoinSupplyRequestMessage)) as GetCoinSupplyRequestMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetCoinSupplyRequestMessage create() => - GetCoinSupplyRequestMessage._(); + static GetCoinSupplyRequestMessage create() => GetCoinSupplyRequestMessage._(); GetCoinSupplyRequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetCoinSupplyRequestMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetCoinSupplyRequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetCoinSupplyRequestMessage? _defaultInstance; } class GetCoinSupplyResponseMessage extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'GetCoinSupplyResponseMessage', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'protowire'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'maxSompi', - $pb.PbFieldType.OU6, - protoName: 'maxSompi', - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'circulatingSompi', - $pb.PbFieldType.OU6, - protoName: 'circulatingSompi', - defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM( - 1000, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'error', - subBuilder: RPCError.create) - ..hasRequiredFields = false; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'GetCoinSupplyResponseMessage', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'protowire'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'maxSompi', $pb.PbFieldType.OU6, protoName: 'maxSompi', defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'circulatingSompi', $pb.PbFieldType.OU6, protoName: 'circulatingSompi', defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(1000, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'error', subBuilder: RPCError.create) + ..hasRequiredFields = false + ; GetCoinSupplyResponseMessage._() : super(); factory GetCoinSupplyResponseMessage({ @@ -9880,44 +6307,31 @@ class GetCoinSupplyResponseMessage extends $pb.GeneratedMessage { } return _result; } - factory GetCoinSupplyResponseMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetCoinSupplyResponseMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCoinSupplyResponseMessage clone() => - GetCoinSupplyResponseMessage()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCoinSupplyResponseMessage copyWith( - void Function(GetCoinSupplyResponseMessage) updates) => - super.copyWith( - (message) => updates(message as GetCoinSupplyResponseMessage)) - as GetCoinSupplyResponseMessage; // ignore: deprecated_member_use + factory GetCoinSupplyResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetCoinSupplyResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetCoinSupplyResponseMessage clone() => GetCoinSupplyResponseMessage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetCoinSupplyResponseMessage copyWith(void Function(GetCoinSupplyResponseMessage) updates) => super.copyWith((message) => updates(message as GetCoinSupplyResponseMessage)) as GetCoinSupplyResponseMessage; // ignore: deprecated_member_use $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static GetCoinSupplyResponseMessage create() => - GetCoinSupplyResponseMessage._(); + static GetCoinSupplyResponseMessage create() => GetCoinSupplyResponseMessage._(); GetCoinSupplyResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static GetCoinSupplyResponseMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static GetCoinSupplyResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static GetCoinSupplyResponseMessage? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get maxSompi => $_getI64(0); @$pb.TagNumber(1) - set maxSompi($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set maxSompi($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasMaxSompi() => $_has(0); @$pb.TagNumber(1) @@ -9926,10 +6340,7 @@ class GetCoinSupplyResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get circulatingSompi => $_getI64(1); @$pb.TagNumber(2) - set circulatingSompi($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set circulatingSompi($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasCirculatingSompi() => $_has(1); @$pb.TagNumber(2) @@ -9938,10 +6349,7 @@ class GetCoinSupplyResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError get error => $_getN(2); @$pb.TagNumber(1000) - set error(RPCError v) { - setField(1000, v); - } - + set error(RPCError v) { setField(1000, v); } @$pb.TagNumber(1000) $core.bool hasError() => $_has(2); @$pb.TagNumber(1000) @@ -9949,3 +6357,4 @@ class GetCoinSupplyResponseMessage extends $pb.GeneratedMessage { @$pb.TagNumber(1000) RPCError ensureError() => $_ensure(2); } + diff --git a/lib/spectre/grpc/rpc.pbenum.dart b/lib/spectre/grpc/rpc.pbenum.dart index c0b1c41..bc67600 100644 --- a/lib/spectre/grpc/rpc.pbenum.dart +++ b/lib/spectre/grpc/rpc.pbenum.dart @@ -10,37 +10,19 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class SubmitBlockResponseMessage_RejectReason extends $pb.ProtobufEnum { - static const SubmitBlockResponseMessage_RejectReason NONE = - SubmitBlockResponseMessage_RejectReason._( - 0, - const $core.bool.fromEnvironment('protobuf.omit_enum_names') - ? '' - : 'NONE'); - static const SubmitBlockResponseMessage_RejectReason BLOCK_INVALID = - SubmitBlockResponseMessage_RejectReason._( - 1, - const $core.bool.fromEnvironment('protobuf.omit_enum_names') - ? '' - : 'BLOCK_INVALID'); - static const SubmitBlockResponseMessage_RejectReason IS_IN_IBD = - SubmitBlockResponseMessage_RejectReason._( - 2, - const $core.bool.fromEnvironment('protobuf.omit_enum_names') - ? '' - : 'IS_IN_IBD'); + static const SubmitBlockResponseMessage_RejectReason NONE = SubmitBlockResponseMessage_RejectReason._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NONE'); + static const SubmitBlockResponseMessage_RejectReason BLOCK_INVALID = SubmitBlockResponseMessage_RejectReason._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'BLOCK_INVALID'); + static const SubmitBlockResponseMessage_RejectReason IS_IN_IBD = SubmitBlockResponseMessage_RejectReason._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'IS_IN_IBD'); - static const $core.List values = - [ + static const $core.List values = [ NONE, BLOCK_INVALID, IS_IN_IBD, ]; - static final $core.Map<$core.int, SubmitBlockResponseMessage_RejectReason> - _byValue = $pb.ProtobufEnum.initByValue(values); - static SubmitBlockResponseMessage_RejectReason? valueOf($core.int value) => - _byValue[value]; + static final $core.Map<$core.int, SubmitBlockResponseMessage_RejectReason> _byValue = $pb.ProtobufEnum.initByValue(values); + static SubmitBlockResponseMessage_RejectReason? valueOf($core.int value) => _byValue[value]; - const SubmitBlockResponseMessage_RejectReason._($core.int v, $core.String n) - : super(v, n); + const SubmitBlockResponseMessage_RejectReason._($core.int v, $core.String n) : super(v, n); } + diff --git a/lib/spectre/grpc/rpc.pbjson.dart b/lib/spectre/grpc/rpc.pbjson.dart index b72c76c..0ef13a4 100644 --- a/lib/spectre/grpc/rpc.pbjson.dart +++ b/lib/spectre/grpc/rpc.pbjson.dart @@ -8,7 +8,6 @@ import 'dart:core' as $core; import 'dart:convert' as $convert; import 'dart:typed_data' as $typed_data; - @$core.Deprecated('Use rPCErrorDescriptor instead') const RPCError$json = const { '1': 'RPCError', @@ -18,76 +17,28 @@ const RPCError$json = const { }; /// Descriptor for `RPCError`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rPCErrorDescriptor = - $convert.base64Decode('CghSUENFcnJvchIYCgdtZXNzYWdlGAEgASgJUgdtZXNzYWdl'); +final $typed_data.Uint8List rPCErrorDescriptor = $convert.base64Decode('CghSUENFcnJvchIYCgdtZXNzYWdlGAEgASgJUgdtZXNzYWdl'); @$core.Deprecated('Use rpcBlockDescriptor instead') const RpcBlock$json = const { '1': 'RpcBlock', '2': const [ - const { - '1': 'header', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.RpcBlockHeader', - '10': 'header' - }, - const { - '1': 'transactions', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.RpcTransaction', - '10': 'transactions' - }, - const { - '1': 'verboseData', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcBlockVerboseData', - '10': 'verboseData' - }, + const {'1': 'header', '3': 1, '4': 1, '5': 11, '6': '.protowire.RpcBlockHeader', '10': 'header'}, + const {'1': 'transactions', '3': 2, '4': 3, '5': 11, '6': '.protowire.RpcTransaction', '10': 'transactions'}, + const {'1': 'verboseData', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcBlockVerboseData', '10': 'verboseData'}, ], }; /// Descriptor for `RpcBlock`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcBlockDescriptor = $convert.base64Decode( - 'CghScGNCbG9jaxIxCgZoZWFkZXIYASABKAsyGS5wcm90b3dpcmUuUnBjQmxvY2tIZWFkZXJSBmhlYWRlchI9Cgx0cmFuc2FjdGlvbnMYAiADKAsyGS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25SDHRyYW5zYWN0aW9ucxJACgt2ZXJib3NlRGF0YRgDIAEoCzIeLnByb3Rvd2lyZS5ScGNCbG9ja1ZlcmJvc2VEYXRhUgt2ZXJib3NlRGF0YQ=='); +final $typed_data.Uint8List rpcBlockDescriptor = $convert.base64Decode('CghScGNCbG9jaxIxCgZoZWFkZXIYASABKAsyGS5wcm90b3dpcmUuUnBjQmxvY2tIZWFkZXJSBmhlYWRlchI9Cgx0cmFuc2FjdGlvbnMYAiADKAsyGS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25SDHRyYW5zYWN0aW9ucxJACgt2ZXJib3NlRGF0YRgDIAEoCzIeLnByb3Rvd2lyZS5ScGNCbG9ja1ZlcmJvc2VEYXRhUgt2ZXJib3NlRGF0YQ=='); @$core.Deprecated('Use rpcBlockHeaderDescriptor instead') const RpcBlockHeader$json = const { '1': 'RpcBlockHeader', '2': const [ const {'1': 'version', '3': 1, '4': 1, '5': 13, '10': 'version'}, - const { - '1': 'parents', - '3': 12, - '4': 3, - '5': 11, - '6': '.protowire.RpcBlockLevelParents', - '10': 'parents' - }, - const { - '1': 'hashMerkleRoot', - '3': 3, - '4': 1, - '5': 9, - '10': 'hashMerkleRoot' - }, - const { - '1': 'acceptedIdMerkleRoot', - '3': 4, - '4': 1, - '5': 9, - '10': 'acceptedIdMerkleRoot' - }, - const { - '1': 'utxoCommitment', - '3': 5, - '4': 1, - '5': 9, - '10': 'utxoCommitment' - }, + const {'1': 'parents', '3': 12, '4': 3, '5': 11, '6': '.protowire.RpcBlockLevelParents', '10': 'parents'}, + const {'1': 'hashMerkleRoot', '3': 3, '4': 1, '5': 9, '10': 'hashMerkleRoot'}, + const {'1': 'acceptedIdMerkleRoot', '3': 4, '4': 1, '5': 9, '10': 'acceptedIdMerkleRoot'}, + const {'1': 'utxoCommitment', '3': 5, '4': 1, '5': 9, '10': 'utxoCommitment'}, const {'1': 'timestamp', '3': 6, '4': 1, '5': 3, '10': 'timestamp'}, const {'1': 'bits', '3': 7, '4': 1, '5': 13, '10': 'bits'}, const {'1': 'nonce', '3': 8, '4': 1, '5': 4, '10': 'nonce'}, @@ -99,8 +50,7 @@ const RpcBlockHeader$json = const { }; /// Descriptor for `RpcBlockHeader`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcBlockHeaderDescriptor = $convert.base64Decode( - 'Cg5ScGNCbG9ja0hlYWRlchIYCgd2ZXJzaW9uGAEgASgNUgd2ZXJzaW9uEjkKB3BhcmVudHMYDCADKAsyHy5wcm90b3dpcmUuUnBjQmxvY2tMZXZlbFBhcmVudHNSB3BhcmVudHMSJgoOaGFzaE1lcmtsZVJvb3QYAyABKAlSDmhhc2hNZXJrbGVSb290EjIKFGFjY2VwdGVkSWRNZXJrbGVSb290GAQgASgJUhRhY2NlcHRlZElkTWVya2xlUm9vdBImCg51dHhvQ29tbWl0bWVudBgFIAEoCVIOdXR4b0NvbW1pdG1lbnQSHAoJdGltZXN0YW1wGAYgASgDUgl0aW1lc3RhbXASEgoEYml0cxgHIAEoDVIEYml0cxIUCgVub25jZRgIIAEoBFIFbm9uY2USGgoIZGFhU2NvcmUYCSABKARSCGRhYVNjb3JlEhoKCGJsdWVXb3JrGAogASgJUghibHVlV29yaxIiCgxwcnVuaW5nUG9pbnQYDiABKAlSDHBydW5pbmdQb2ludBIcCglibHVlU2NvcmUYDSABKARSCWJsdWVTY29yZQ=='); +final $typed_data.Uint8List rpcBlockHeaderDescriptor = $convert.base64Decode('Cg5ScGNCbG9ja0hlYWRlchIYCgd2ZXJzaW9uGAEgASgNUgd2ZXJzaW9uEjkKB3BhcmVudHMYDCADKAsyHy5wcm90b3dpcmUuUnBjQmxvY2tMZXZlbFBhcmVudHNSB3BhcmVudHMSJgoOaGFzaE1lcmtsZVJvb3QYAyABKAlSDmhhc2hNZXJrbGVSb290EjIKFGFjY2VwdGVkSWRNZXJrbGVSb290GAQgASgJUhRhY2NlcHRlZElkTWVya2xlUm9vdBImCg51dHhvQ29tbWl0bWVudBgFIAEoCVIOdXR4b0NvbW1pdG1lbnQSHAoJdGltZXN0YW1wGAYgASgDUgl0aW1lc3RhbXASEgoEYml0cxgHIAEoDVIEYml0cxIUCgVub25jZRgIIAEoBFIFbm9uY2USGgoIZGFhU2NvcmUYCSABKARSCGRhYVNjb3JlEhoKCGJsdWVXb3JrGAogASgJUghibHVlV29yaxIiCgxwcnVuaW5nUG9pbnQYDiABKAlSDHBydW5pbmdQb2ludBIcCglibHVlU2NvcmUYDSABKARSCWJsdWVTY29yZQ=='); @$core.Deprecated('Use rpcBlockLevelParentsDescriptor instead') const RpcBlockLevelParents$json = const { '1': 'RpcBlockLevelParents', @@ -110,177 +60,80 @@ const RpcBlockLevelParents$json = const { }; /// Descriptor for `RpcBlockLevelParents`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcBlockLevelParentsDescriptor = $convert.base64Decode( - 'ChRScGNCbG9ja0xldmVsUGFyZW50cxIiCgxwYXJlbnRIYXNoZXMYASADKAlSDHBhcmVudEhhc2hlcw=='); +final $typed_data.Uint8List rpcBlockLevelParentsDescriptor = $convert.base64Decode('ChRScGNCbG9ja0xldmVsUGFyZW50cxIiCgxwYXJlbnRIYXNoZXMYASADKAlSDHBhcmVudEhhc2hlcw=='); @$core.Deprecated('Use rpcBlockVerboseDataDescriptor instead') const RpcBlockVerboseData$json = const { '1': 'RpcBlockVerboseData', '2': const [ const {'1': 'hash', '3': 1, '4': 1, '5': 9, '10': 'hash'}, const {'1': 'difficulty', '3': 11, '4': 1, '5': 1, '10': 'difficulty'}, - const { - '1': 'selectedParentHash', - '3': 13, - '4': 1, - '5': 9, - '10': 'selectedParentHash' - }, - const { - '1': 'transactionIds', - '3': 14, - '4': 3, - '5': 9, - '10': 'transactionIds' - }, + const {'1': 'selectedParentHash', '3': 13, '4': 1, '5': 9, '10': 'selectedParentHash'}, + const {'1': 'transactionIds', '3': 14, '4': 3, '5': 9, '10': 'transactionIds'}, const {'1': 'isHeaderOnly', '3': 15, '4': 1, '5': 8, '10': 'isHeaderOnly'}, const {'1': 'blueScore', '3': 16, '4': 1, '5': 4, '10': 'blueScore'}, - const { - '1': 'childrenHashes', - '3': 17, - '4': 3, - '5': 9, - '10': 'childrenHashes' - }, - const { - '1': 'mergeSetBluesHashes', - '3': 18, - '4': 3, - '5': 9, - '10': 'mergeSetBluesHashes' - }, - const { - '1': 'mergeSetRedsHashes', - '3': 19, - '4': 3, - '5': 9, - '10': 'mergeSetRedsHashes' - }, + const {'1': 'childrenHashes', '3': 17, '4': 3, '5': 9, '10': 'childrenHashes'}, + const {'1': 'mergeSetBluesHashes', '3': 18, '4': 3, '5': 9, '10': 'mergeSetBluesHashes'}, + const {'1': 'mergeSetRedsHashes', '3': 19, '4': 3, '5': 9, '10': 'mergeSetRedsHashes'}, const {'1': 'isChainBlock', '3': 20, '4': 1, '5': 8, '10': 'isChainBlock'}, ], }; /// Descriptor for `RpcBlockVerboseData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcBlockVerboseDataDescriptor = $convert.base64Decode( - 'ChNScGNCbG9ja1ZlcmJvc2VEYXRhEhIKBGhhc2gYASABKAlSBGhhc2gSHgoKZGlmZmljdWx0eRgLIAEoAVIKZGlmZmljdWx0eRIuChJzZWxlY3RlZFBhcmVudEhhc2gYDSABKAlSEnNlbGVjdGVkUGFyZW50SGFzaBImCg50cmFuc2FjdGlvbklkcxgOIAMoCVIOdHJhbnNhY3Rpb25JZHMSIgoMaXNIZWFkZXJPbmx5GA8gASgIUgxpc0hlYWRlck9ubHkSHAoJYmx1ZVNjb3JlGBAgASgEUglibHVlU2NvcmUSJgoOY2hpbGRyZW5IYXNoZXMYESADKAlSDmNoaWxkcmVuSGFzaGVzEjAKE21lcmdlU2V0Qmx1ZXNIYXNoZXMYEiADKAlSE21lcmdlU2V0Qmx1ZXNIYXNoZXMSLgoSbWVyZ2VTZXRSZWRzSGFzaGVzGBMgAygJUhJtZXJnZVNldFJlZHNIYXNoZXMSIgoMaXNDaGFpbkJsb2NrGBQgASgIUgxpc0NoYWluQmxvY2s='); +final $typed_data.Uint8List rpcBlockVerboseDataDescriptor = $convert.base64Decode('ChNScGNCbG9ja1ZlcmJvc2VEYXRhEhIKBGhhc2gYASABKAlSBGhhc2gSHgoKZGlmZmljdWx0eRgLIAEoAVIKZGlmZmljdWx0eRIuChJzZWxlY3RlZFBhcmVudEhhc2gYDSABKAlSEnNlbGVjdGVkUGFyZW50SGFzaBImCg50cmFuc2FjdGlvbklkcxgOIAMoCVIOdHJhbnNhY3Rpb25JZHMSIgoMaXNIZWFkZXJPbmx5GA8gASgIUgxpc0hlYWRlck9ubHkSHAoJYmx1ZVNjb3JlGBAgASgEUglibHVlU2NvcmUSJgoOY2hpbGRyZW5IYXNoZXMYESADKAlSDmNoaWxkcmVuSGFzaGVzEjAKE21lcmdlU2V0Qmx1ZXNIYXNoZXMYEiADKAlSE21lcmdlU2V0Qmx1ZXNIYXNoZXMSLgoSbWVyZ2VTZXRSZWRzSGFzaGVzGBMgAygJUhJtZXJnZVNldFJlZHNIYXNoZXMSIgoMaXNDaGFpbkJsb2NrGBQgASgIUgxpc0NoYWluQmxvY2s='); @$core.Deprecated('Use rpcTransactionDescriptor instead') const RpcTransaction$json = const { '1': 'RpcTransaction', '2': const [ const {'1': 'version', '3': 1, '4': 1, '5': 13, '10': 'version'}, - const { - '1': 'inputs', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.RpcTransactionInput', - '10': 'inputs' - }, - const { - '1': 'outputs', - '3': 3, - '4': 3, - '5': 11, - '6': '.protowire.RpcTransactionOutput', - '10': 'outputs' - }, + const {'1': 'inputs', '3': 2, '4': 3, '5': 11, '6': '.protowire.RpcTransactionInput', '10': 'inputs'}, + const {'1': 'outputs', '3': 3, '4': 3, '5': 11, '6': '.protowire.RpcTransactionOutput', '10': 'outputs'}, const {'1': 'lockTime', '3': 4, '4': 1, '5': 4, '10': 'lockTime'}, const {'1': 'subnetworkId', '3': 5, '4': 1, '5': 9, '10': 'subnetworkId'}, const {'1': 'gas', '3': 6, '4': 1, '5': 4, '10': 'gas'}, const {'1': 'payload', '3': 8, '4': 1, '5': 9, '10': 'payload'}, - const { - '1': 'verboseData', - '3': 9, - '4': 1, - '5': 11, - '6': '.protowire.RpcTransactionVerboseData', - '10': 'verboseData' - }, + const {'1': 'verboseData', '3': 9, '4': 1, '5': 11, '6': '.protowire.RpcTransactionVerboseData', '10': 'verboseData'}, ], }; /// Descriptor for `RpcTransaction`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcTransactionDescriptor = $convert.base64Decode( - 'Cg5ScGNUcmFuc2FjdGlvbhIYCgd2ZXJzaW9uGAEgASgNUgd2ZXJzaW9uEjYKBmlucHV0cxgCIAMoCzIeLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbklucHV0UgZpbnB1dHMSOQoHb3V0cHV0cxgDIAMoCzIfLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbk91dHB1dFIHb3V0cHV0cxIaCghsb2NrVGltZRgEIAEoBFIIbG9ja1RpbWUSIgoMc3VibmV0d29ya0lkGAUgASgJUgxzdWJuZXR3b3JrSWQSEAoDZ2FzGAYgASgEUgNnYXMSGAoHcGF5bG9hZBgIIAEoCVIHcGF5bG9hZBJGCgt2ZXJib3NlRGF0YRgJIAEoCzIkLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvblZlcmJvc2VEYXRhUgt2ZXJib3NlRGF0YQ=='); +final $typed_data.Uint8List rpcTransactionDescriptor = $convert.base64Decode('Cg5ScGNUcmFuc2FjdGlvbhIYCgd2ZXJzaW9uGAEgASgNUgd2ZXJzaW9uEjYKBmlucHV0cxgCIAMoCzIeLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbklucHV0UgZpbnB1dHMSOQoHb3V0cHV0cxgDIAMoCzIfLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbk91dHB1dFIHb3V0cHV0cxIaCghsb2NrVGltZRgEIAEoBFIIbG9ja1RpbWUSIgoMc3VibmV0d29ya0lkGAUgASgJUgxzdWJuZXR3b3JrSWQSEAoDZ2FzGAYgASgEUgNnYXMSGAoHcGF5bG9hZBgIIAEoCVIHcGF5bG9hZBJGCgt2ZXJib3NlRGF0YRgJIAEoCzIkLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvblZlcmJvc2VEYXRhUgt2ZXJib3NlRGF0YQ=='); @$core.Deprecated('Use rpcTransactionInputDescriptor instead') const RpcTransactionInput$json = const { '1': 'RpcTransactionInput', '2': const [ - const { - '1': 'previousOutpoint', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.RpcOutpoint', - '10': 'previousOutpoint' - }, - const { - '1': 'signatureScript', - '3': 2, - '4': 1, - '5': 9, - '10': 'signatureScript' - }, + const {'1': 'previousOutpoint', '3': 1, '4': 1, '5': 11, '6': '.protowire.RpcOutpoint', '10': 'previousOutpoint'}, + const {'1': 'signatureScript', '3': 2, '4': 1, '5': 9, '10': 'signatureScript'}, const {'1': 'sequence', '3': 3, '4': 1, '5': 4, '10': 'sequence'}, const {'1': 'sigOpCount', '3': 5, '4': 1, '5': 13, '10': 'sigOpCount'}, - const { - '1': 'verboseData', - '3': 4, - '4': 1, - '5': 11, - '6': '.protowire.RpcTransactionInputVerboseData', - '10': 'verboseData' - }, + const {'1': 'verboseData', '3': 4, '4': 1, '5': 11, '6': '.protowire.RpcTransactionInputVerboseData', '10': 'verboseData'}, ], }; /// Descriptor for `RpcTransactionInput`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcTransactionInputDescriptor = $convert.base64Decode( - 'ChNScGNUcmFuc2FjdGlvbklucHV0EkIKEHByZXZpb3VzT3V0cG9pbnQYASABKAsyFi5wcm90b3dpcmUuUnBjT3V0cG9pbnRSEHByZXZpb3VzT3V0cG9pbnQSKAoPc2lnbmF0dXJlU2NyaXB0GAIgASgJUg9zaWduYXR1cmVTY3JpcHQSGgoIc2VxdWVuY2UYAyABKARSCHNlcXVlbmNlEh4KCnNpZ09wQ291bnQYBSABKA1SCnNpZ09wQ291bnQSSwoLdmVyYm9zZURhdGEYBCABKAsyKS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25JbnB1dFZlcmJvc2VEYXRhUgt2ZXJib3NlRGF0YQ=='); +final $typed_data.Uint8List rpcTransactionInputDescriptor = $convert.base64Decode('ChNScGNUcmFuc2FjdGlvbklucHV0EkIKEHByZXZpb3VzT3V0cG9pbnQYASABKAsyFi5wcm90b3dpcmUuUnBjT3V0cG9pbnRSEHByZXZpb3VzT3V0cG9pbnQSKAoPc2lnbmF0dXJlU2NyaXB0GAIgASgJUg9zaWduYXR1cmVTY3JpcHQSGgoIc2VxdWVuY2UYAyABKARSCHNlcXVlbmNlEh4KCnNpZ09wQ291bnQYBSABKA1SCnNpZ09wQ291bnQSSwoLdmVyYm9zZURhdGEYBCABKAsyKS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25JbnB1dFZlcmJvc2VEYXRhUgt2ZXJib3NlRGF0YQ=='); @$core.Deprecated('Use rpcScriptPublicKeyDescriptor instead') const RpcScriptPublicKey$json = const { '1': 'RpcScriptPublicKey', '2': const [ const {'1': 'version', '3': 1, '4': 1, '5': 13, '10': 'version'}, - const { - '1': 'scriptPublicKey', - '3': 2, - '4': 1, - '5': 9, - '10': 'scriptPublicKey' - }, + const {'1': 'scriptPublicKey', '3': 2, '4': 1, '5': 9, '10': 'scriptPublicKey'}, ], }; /// Descriptor for `RpcScriptPublicKey`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcScriptPublicKeyDescriptor = $convert.base64Decode( - 'ChJScGNTY3JpcHRQdWJsaWNLZXkSGAoHdmVyc2lvbhgBIAEoDVIHdmVyc2lvbhIoCg9zY3JpcHRQdWJsaWNLZXkYAiABKAlSD3NjcmlwdFB1YmxpY0tleQ=='); +final $typed_data.Uint8List rpcScriptPublicKeyDescriptor = $convert.base64Decode('ChJScGNTY3JpcHRQdWJsaWNLZXkSGAoHdmVyc2lvbhgBIAEoDVIHdmVyc2lvbhIoCg9zY3JpcHRQdWJsaWNLZXkYAiABKAlSD3NjcmlwdFB1YmxpY0tleQ=='); @$core.Deprecated('Use rpcTransactionOutputDescriptor instead') const RpcTransactionOutput$json = const { '1': 'RpcTransactionOutput', '2': const [ const {'1': 'amount', '3': 1, '4': 1, '5': 4, '10': 'amount'}, - const { - '1': 'scriptPublicKey', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.RpcScriptPublicKey', - '10': 'scriptPublicKey' - }, - const { - '1': 'verboseData', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcTransactionOutputVerboseData', - '10': 'verboseData' - }, + const {'1': 'scriptPublicKey', '3': 2, '4': 1, '5': 11, '6': '.protowire.RpcScriptPublicKey', '10': 'scriptPublicKey'}, + const {'1': 'verboseData', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcTransactionOutputVerboseData', '10': 'verboseData'}, ], }; /// Descriptor for `RpcTransactionOutput`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcTransactionOutputDescriptor = $convert.base64Decode( - 'ChRScGNUcmFuc2FjdGlvbk91dHB1dBIWCgZhbW91bnQYASABKARSBmFtb3VudBJHCg9zY3JpcHRQdWJsaWNLZXkYAiABKAsyHS5wcm90b3dpcmUuUnBjU2NyaXB0UHVibGljS2V5Ug9zY3JpcHRQdWJsaWNLZXkSTAoLdmVyYm9zZURhdGEYAyABKAsyKi5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25PdXRwdXRWZXJib3NlRGF0YVILdmVyYm9zZURhdGE='); +final $typed_data.Uint8List rpcTransactionOutputDescriptor = $convert.base64Decode('ChRScGNUcmFuc2FjdGlvbk91dHB1dBIWCgZhbW91bnQYASABKARSBmFtb3VudBJHCg9zY3JpcHRQdWJsaWNLZXkYAiABKAsyHS5wcm90b3dpcmUuUnBjU2NyaXB0UHVibGljS2V5Ug9zY3JpcHRQdWJsaWNLZXkSTAoLdmVyYm9zZURhdGEYAyABKAsyKi5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25PdXRwdXRWZXJib3NlRGF0YVILdmVyYm9zZURhdGE='); @$core.Deprecated('Use rpcOutpointDescriptor instead') const RpcOutpoint$json = const { '1': 'RpcOutpoint', @@ -291,29 +144,20 @@ const RpcOutpoint$json = const { }; /// Descriptor for `RpcOutpoint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcOutpointDescriptor = $convert.base64Decode( - 'CgtScGNPdXRwb2ludBIkCg10cmFuc2FjdGlvbklkGAEgASgJUg10cmFuc2FjdGlvbklkEhQKBWluZGV4GAIgASgNUgVpbmRleA=='); +final $typed_data.Uint8List rpcOutpointDescriptor = $convert.base64Decode('CgtScGNPdXRwb2ludBIkCg10cmFuc2FjdGlvbklkGAEgASgJUg10cmFuc2FjdGlvbklkEhQKBWluZGV4GAIgASgNUgVpbmRleA=='); @$core.Deprecated('Use rpcUtxoEntryDescriptor instead') const RpcUtxoEntry$json = const { '1': 'RpcUtxoEntry', '2': const [ const {'1': 'amount', '3': 1, '4': 1, '5': 4, '10': 'amount'}, - const { - '1': 'scriptPublicKey', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.RpcScriptPublicKey', - '10': 'scriptPublicKey' - }, + const {'1': 'scriptPublicKey', '3': 2, '4': 1, '5': 11, '6': '.protowire.RpcScriptPublicKey', '10': 'scriptPublicKey'}, const {'1': 'blockDaaScore', '3': 3, '4': 1, '5': 4, '10': 'blockDaaScore'}, const {'1': 'isCoinbase', '3': 4, '4': 1, '5': 8, '10': 'isCoinbase'}, ], }; /// Descriptor for `RpcUtxoEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcUtxoEntryDescriptor = $convert.base64Decode( - 'CgxScGNVdHhvRW50cnkSFgoGYW1vdW50GAEgASgEUgZhbW91bnQSRwoPc2NyaXB0UHVibGljS2V5GAIgASgLMh0ucHJvdG93aXJlLlJwY1NjcmlwdFB1YmxpY0tleVIPc2NyaXB0UHVibGljS2V5EiQKDWJsb2NrRGFhU2NvcmUYAyABKARSDWJsb2NrRGFhU2NvcmUSHgoKaXNDb2luYmFzZRgEIAEoCFIKaXNDb2luYmFzZQ=='); +final $typed_data.Uint8List rpcUtxoEntryDescriptor = $convert.base64Decode('CgxScGNVdHhvRW50cnkSFgoGYW1vdW50GAEgASgEUgZhbW91bnQSRwoPc2NyaXB0UHVibGljS2V5GAIgASgLMh0ucHJvdG93aXJlLlJwY1NjcmlwdFB1YmxpY0tleVIPc2NyaXB0UHVibGljS2V5EiQKDWJsb2NrRGFhU2NvcmUYAyABKARSDWJsb2NrRGFhU2NvcmUSHgoKaXNDb2luYmFzZRgEIAEoCFIKaXNDb2luYmFzZQ=='); @$core.Deprecated('Use rpcTransactionVerboseDataDescriptor instead') const RpcTransactionVerboseData$json = const { '1': 'RpcTransactionVerboseData', @@ -327,122 +171,60 @@ const RpcTransactionVerboseData$json = const { }; /// Descriptor for `RpcTransactionVerboseData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcTransactionVerboseDataDescriptor = - $convert.base64Decode( - 'ChlScGNUcmFuc2FjdGlvblZlcmJvc2VEYXRhEiQKDXRyYW5zYWN0aW9uSWQYASABKAlSDXRyYW5zYWN0aW9uSWQSEgoEaGFzaBgCIAEoCVIEaGFzaBISCgRtYXNzGAQgASgEUgRtYXNzEhwKCWJsb2NrSGFzaBgMIAEoCVIJYmxvY2tIYXNoEhwKCWJsb2NrVGltZRgOIAEoBFIJYmxvY2tUaW1l'); +final $typed_data.Uint8List rpcTransactionVerboseDataDescriptor = $convert.base64Decode('ChlScGNUcmFuc2FjdGlvblZlcmJvc2VEYXRhEiQKDXRyYW5zYWN0aW9uSWQYASABKAlSDXRyYW5zYWN0aW9uSWQSEgoEaGFzaBgCIAEoCVIEaGFzaBISCgRtYXNzGAQgASgEUgRtYXNzEhwKCWJsb2NrSGFzaBgMIAEoCVIJYmxvY2tIYXNoEhwKCWJsb2NrVGltZRgOIAEoBFIJYmxvY2tUaW1l'); @$core.Deprecated('Use rpcTransactionInputVerboseDataDescriptor instead') const RpcTransactionInputVerboseData$json = const { '1': 'RpcTransactionInputVerboseData', }; /// Descriptor for `RpcTransactionInputVerboseData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcTransactionInputVerboseDataDescriptor = - $convert.base64Decode('Ch5ScGNUcmFuc2FjdGlvbklucHV0VmVyYm9zZURhdGE='); +final $typed_data.Uint8List rpcTransactionInputVerboseDataDescriptor = $convert.base64Decode('Ch5ScGNUcmFuc2FjdGlvbklucHV0VmVyYm9zZURhdGE='); @$core.Deprecated('Use rpcTransactionOutputVerboseDataDescriptor instead') const RpcTransactionOutputVerboseData$json = const { '1': 'RpcTransactionOutputVerboseData', '2': const [ - const { - '1': 'scriptPublicKeyType', - '3': 5, - '4': 1, - '5': 9, - '10': 'scriptPublicKeyType' - }, - const { - '1': 'scriptPublicKeyAddress', - '3': 6, - '4': 1, - '5': 9, - '10': 'scriptPublicKeyAddress' - }, + const {'1': 'scriptPublicKeyType', '3': 5, '4': 1, '5': 9, '10': 'scriptPublicKeyType'}, + const {'1': 'scriptPublicKeyAddress', '3': 6, '4': 1, '5': 9, '10': 'scriptPublicKeyAddress'}, ], }; /// Descriptor for `RpcTransactionOutputVerboseData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcTransactionOutputVerboseDataDescriptor = - $convert.base64Decode( - 'Ch9ScGNUcmFuc2FjdGlvbk91dHB1dFZlcmJvc2VEYXRhEjAKE3NjcmlwdFB1YmxpY0tleVR5cGUYBSABKAlSE3NjcmlwdFB1YmxpY0tleVR5cGUSNgoWc2NyaXB0UHVibGljS2V5QWRkcmVzcxgGIAEoCVIWc2NyaXB0UHVibGljS2V5QWRkcmVzcw=='); +final $typed_data.Uint8List rpcTransactionOutputVerboseDataDescriptor = $convert.base64Decode('Ch9ScGNUcmFuc2FjdGlvbk91dHB1dFZlcmJvc2VEYXRhEjAKE3NjcmlwdFB1YmxpY0tleVR5cGUYBSABKAlSE3NjcmlwdFB1YmxpY0tleVR5cGUSNgoWc2NyaXB0UHVibGljS2V5QWRkcmVzcxgGIAEoCVIWc2NyaXB0UHVibGljS2V5QWRkcmVzcw=='); @$core.Deprecated('Use getCurrentNetworkRequestMessageDescriptor instead') const GetCurrentNetworkRequestMessage$json = const { '1': 'GetCurrentNetworkRequestMessage', }; /// Descriptor for `GetCurrentNetworkRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCurrentNetworkRequestMessageDescriptor = - $convert.base64Decode('Ch9HZXRDdXJyZW50TmV0d29ya1JlcXVlc3RNZXNzYWdl'); +final $typed_data.Uint8List getCurrentNetworkRequestMessageDescriptor = $convert.base64Decode('Ch9HZXRDdXJyZW50TmV0d29ya1JlcXVlc3RNZXNzYWdl'); @$core.Deprecated('Use getCurrentNetworkResponseMessageDescriptor instead') const GetCurrentNetworkResponseMessage$json = const { '1': 'GetCurrentNetworkResponseMessage', '2': const [ - const { - '1': 'currentNetwork', - '3': 1, - '4': 1, - '5': 9, - '10': 'currentNetwork' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'currentNetwork', '3': 1, '4': 1, '5': 9, '10': 'currentNetwork'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetCurrentNetworkResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCurrentNetworkResponseMessageDescriptor = - $convert.base64Decode( - 'CiBHZXRDdXJyZW50TmV0d29ya1Jlc3BvbnNlTWVzc2FnZRImCg5jdXJyZW50TmV0d29yaxgBIAEoCVIOY3VycmVudE5ldHdvcmsSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List getCurrentNetworkResponseMessageDescriptor = $convert.base64Decode('CiBHZXRDdXJyZW50TmV0d29ya1Jlc3BvbnNlTWVzc2FnZRImCg5jdXJyZW50TmV0d29yaxgBIAEoCVIOY3VycmVudE5ldHdvcmsSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use submitBlockRequestMessageDescriptor instead') const SubmitBlockRequestMessage$json = const { '1': 'SubmitBlockRequestMessage', '2': const [ - const { - '1': 'block', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.RpcBlock', - '10': 'block' - }, - const { - '1': 'allowNonDAABlocks', - '3': 3, - '4': 1, - '5': 8, - '10': 'allowNonDAABlocks' - }, + const {'1': 'block', '3': 2, '4': 1, '5': 11, '6': '.protowire.RpcBlock', '10': 'block'}, + const {'1': 'allowNonDAABlocks', '3': 3, '4': 1, '5': 8, '10': 'allowNonDAABlocks'}, ], }; /// Descriptor for `SubmitBlockRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitBlockRequestMessageDescriptor = - $convert.base64Decode( - 'ChlTdWJtaXRCbG9ja1JlcXVlc3RNZXNzYWdlEikKBWJsb2NrGAIgASgLMhMucHJvdG93aXJlLlJwY0Jsb2NrUgVibG9jaxIsChFhbGxvd05vbkRBQUJsb2NrcxgDIAEoCFIRYWxsb3dOb25EQUFCbG9ja3M='); +final $typed_data.Uint8List submitBlockRequestMessageDescriptor = $convert.base64Decode('ChlTdWJtaXRCbG9ja1JlcXVlc3RNZXNzYWdlEikKBWJsb2NrGAIgASgLMhMucHJvdG93aXJlLlJwY0Jsb2NrUgVibG9jaxIsChFhbGxvd05vbkRBQUJsb2NrcxgDIAEoCFIRYWxsb3dOb25EQUFCbG9ja3M='); @$core.Deprecated('Use submitBlockResponseMessageDescriptor instead') const SubmitBlockResponseMessage$json = const { '1': 'SubmitBlockResponseMessage', '2': const [ - const { - '1': 'rejectReason', - '3': 1, - '4': 1, - '5': 14, - '6': '.protowire.SubmitBlockResponseMessage.RejectReason', - '10': 'rejectReason' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'rejectReason', '3': 1, '4': 1, '5': 14, '6': '.protowire.SubmitBlockResponseMessage.RejectReason', '10': 'rejectReason'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], '4': const [SubmitBlockResponseMessage_RejectReason$json], }; @@ -458,9 +240,7 @@ const SubmitBlockResponseMessage_RejectReason$json = const { }; /// Descriptor for `SubmitBlockResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitBlockResponseMessageDescriptor = - $convert.base64Decode( - 'ChpTdWJtaXRCbG9ja1Jlc3BvbnNlTWVzc2FnZRJWCgxyZWplY3RSZWFzb24YASABKA4yMi5wcm90b3dpcmUuU3VibWl0QmxvY2tSZXNwb25zZU1lc3NhZ2UuUmVqZWN0UmVhc29uUgxyZWplY3RSZWFzb24SKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvciI6CgxSZWplY3RSZWFzb24SCAoETk9ORRAAEhEKDUJMT0NLX0lOVkFMSUQQARINCglJU19JTl9JQkQQAg=='); +final $typed_data.Uint8List submitBlockResponseMessageDescriptor = $convert.base64Decode('ChpTdWJtaXRCbG9ja1Jlc3BvbnNlTWVzc2FnZRJWCgxyZWplY3RSZWFzb24YASABKA4yMi5wcm90b3dpcmUuU3VibWl0QmxvY2tSZXNwb25zZU1lc3NhZ2UuUmVqZWN0UmVhc29uUgxyZWplY3RSZWFzb24SKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvciI6CgxSZWplY3RSZWFzb24SCAoETk9ORRAAEhEKDUJMT0NLX0lOVkFMSUQQARINCglJU19JTl9JQkQQAg=='); @$core.Deprecated('Use getBlockTemplateRequestMessageDescriptor instead') const GetBlockTemplateRequestMessage$json = const { '1': 'GetBlockTemplateRequestMessage', @@ -471,126 +251,65 @@ const GetBlockTemplateRequestMessage$json = const { }; /// Descriptor for `GetBlockTemplateRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockTemplateRequestMessageDescriptor = - $convert.base64Decode( - 'Ch5HZXRCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2USHgoKcGF5QWRkcmVzcxgBIAEoCVIKcGF5QWRkcmVzcxIcCglleHRyYURhdGEYAiABKAlSCWV4dHJhRGF0YQ=='); +final $typed_data.Uint8List getBlockTemplateRequestMessageDescriptor = $convert.base64Decode('Ch5HZXRCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2USHgoKcGF5QWRkcmVzcxgBIAEoCVIKcGF5QWRkcmVzcxIcCglleHRyYURhdGEYAiABKAlSCWV4dHJhRGF0YQ=='); @$core.Deprecated('Use getBlockTemplateResponseMessageDescriptor instead') const GetBlockTemplateResponseMessage$json = const { '1': 'GetBlockTemplateResponseMessage', '2': const [ - const { - '1': 'block', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcBlock', - '10': 'block' - }, + const {'1': 'block', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcBlock', '10': 'block'}, const {'1': 'isSynced', '3': 2, '4': 1, '5': 8, '10': 'isSynced'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBlockTemplateResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockTemplateResponseMessageDescriptor = - $convert.base64Decode( - 'Ch9HZXRCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlEikKBWJsb2NrGAMgASgLMhMucHJvdG93aXJlLlJwY0Jsb2NrUgVibG9jaxIaCghpc1N5bmNlZBgCIAEoCFIIaXNTeW5jZWQSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List getBlockTemplateResponseMessageDescriptor = $convert.base64Decode('Ch9HZXRCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlEikKBWJsb2NrGAMgASgLMhMucHJvdG93aXJlLlJwY0Jsb2NrUgVibG9jaxIaCghpc1N5bmNlZBgCIAEoCFIIaXNTeW5jZWQSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use notifyBlockAddedRequestMessageDescriptor instead') const NotifyBlockAddedRequestMessage$json = const { '1': 'NotifyBlockAddedRequestMessage', }; /// Descriptor for `NotifyBlockAddedRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyBlockAddedRequestMessageDescriptor = - $convert.base64Decode('Ch5Ob3RpZnlCbG9ja0FkZGVkUmVxdWVzdE1lc3NhZ2U='); +final $typed_data.Uint8List notifyBlockAddedRequestMessageDescriptor = $convert.base64Decode('Ch5Ob3RpZnlCbG9ja0FkZGVkUmVxdWVzdE1lc3NhZ2U='); @$core.Deprecated('Use notifyBlockAddedResponseMessageDescriptor instead') const NotifyBlockAddedResponseMessage$json = const { '1': 'NotifyBlockAddedResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyBlockAddedResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyBlockAddedResponseMessageDescriptor = - $convert.base64Decode( - 'Ch9Ob3RpZnlCbG9ja0FkZGVkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List notifyBlockAddedResponseMessageDescriptor = $convert.base64Decode('Ch9Ob3RpZnlCbG9ja0FkZGVkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use blockAddedNotificationMessageDescriptor instead') const BlockAddedNotificationMessage$json = const { '1': 'BlockAddedNotificationMessage', '2': const [ - const { - '1': 'block', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcBlock', - '10': 'block' - }, + const {'1': 'block', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcBlock', '10': 'block'}, ], }; /// Descriptor for `BlockAddedNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockAddedNotificationMessageDescriptor = - $convert.base64Decode( - 'Ch1CbG9ja0FkZGVkTm90aWZpY2F0aW9uTWVzc2FnZRIpCgVibG9jaxgDIAEoCzITLnByb3Rvd2lyZS5ScGNCbG9ja1IFYmxvY2s='); +final $typed_data.Uint8List blockAddedNotificationMessageDescriptor = $convert.base64Decode('Ch1CbG9ja0FkZGVkTm90aWZpY2F0aW9uTWVzc2FnZRIpCgVibG9jaxgDIAEoCzITLnByb3Rvd2lyZS5ScGNCbG9ja1IFYmxvY2s='); @$core.Deprecated('Use getPeerAddressesRequestMessageDescriptor instead') const GetPeerAddressesRequestMessage$json = const { '1': 'GetPeerAddressesRequestMessage', }; /// Descriptor for `GetPeerAddressesRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPeerAddressesRequestMessageDescriptor = - $convert.base64Decode('Ch5HZXRQZWVyQWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2U='); +final $typed_data.Uint8List getPeerAddressesRequestMessageDescriptor = $convert.base64Decode('Ch5HZXRQZWVyQWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2U='); @$core.Deprecated('Use getPeerAddressesResponseMessageDescriptor instead') const GetPeerAddressesResponseMessage$json = const { '1': 'GetPeerAddressesResponseMessage', '2': const [ - const { - '1': 'addresses', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.GetPeerAddressesKnownAddressMessage', - '10': 'addresses' - }, - const { - '1': 'bannedAddresses', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.GetPeerAddressesKnownAddressMessage', - '10': 'bannedAddresses' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'addresses', '3': 1, '4': 3, '5': 11, '6': '.protowire.GetPeerAddressesKnownAddressMessage', '10': 'addresses'}, + const {'1': 'bannedAddresses', '3': 2, '4': 3, '5': 11, '6': '.protowire.GetPeerAddressesKnownAddressMessage', '10': 'bannedAddresses'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetPeerAddressesResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPeerAddressesResponseMessageDescriptor = - $convert.base64Decode( - 'Ch9HZXRQZWVyQWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEkwKCWFkZHJlc3NlcxgBIAMoCzIuLnByb3Rvd2lyZS5HZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZVIJYWRkcmVzc2VzElgKD2Jhbm5lZEFkZHJlc3NlcxgCIAMoCzIuLnByb3Rvd2lyZS5HZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZVIPYmFubmVkQWRkcmVzc2VzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getPeerAddressesResponseMessageDescriptor = $convert.base64Decode('Ch9HZXRQZWVyQWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEkwKCWFkZHJlc3NlcxgBIAMoCzIuLnByb3Rvd2lyZS5HZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZVIJYWRkcmVzc2VzElgKD2Jhbm5lZEFkZHJlc3NlcxgCIAMoCzIuLnByb3Rvd2lyZS5HZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZVIPYmFubmVkQWRkcmVzc2VzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getPeerAddressesKnownAddressMessageDescriptor instead') const GetPeerAddressesKnownAddressMessage$json = const { '1': 'GetPeerAddressesKnownAddressMessage', @@ -600,241 +319,118 @@ const GetPeerAddressesKnownAddressMessage$json = const { }; /// Descriptor for `GetPeerAddressesKnownAddressMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPeerAddressesKnownAddressMessageDescriptor = - $convert.base64Decode( - 'CiNHZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZRISCgRBZGRyGAEgASgJUgRBZGRy'); +final $typed_data.Uint8List getPeerAddressesKnownAddressMessageDescriptor = $convert.base64Decode('CiNHZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZRISCgRBZGRyGAEgASgJUgRBZGRy'); @$core.Deprecated('Use getSelectedTipHashRequestMessageDescriptor instead') const GetSelectedTipHashRequestMessage$json = const { '1': 'GetSelectedTipHashRequestMessage', }; /// Descriptor for `GetSelectedTipHashRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSelectedTipHashRequestMessageDescriptor = - $convert.base64Decode('CiBHZXRTZWxlY3RlZFRpcEhhc2hSZXF1ZXN0TWVzc2FnZQ=='); +final $typed_data.Uint8List getSelectedTipHashRequestMessageDescriptor = $convert.base64Decode('CiBHZXRTZWxlY3RlZFRpcEhhc2hSZXF1ZXN0TWVzc2FnZQ=='); @$core.Deprecated('Use getSelectedTipHashResponseMessageDescriptor instead') const GetSelectedTipHashResponseMessage$json = const { '1': 'GetSelectedTipHashResponseMessage', '2': const [ - const { - '1': 'selectedTipHash', - '3': 1, - '4': 1, - '5': 9, - '10': 'selectedTipHash' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'selectedTipHash', '3': 1, '4': 1, '5': 9, '10': 'selectedTipHash'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetSelectedTipHashResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSelectedTipHashResponseMessageDescriptor = - $convert.base64Decode( - 'CiFHZXRTZWxlY3RlZFRpcEhhc2hSZXNwb25zZU1lc3NhZ2USKAoPc2VsZWN0ZWRUaXBIYXNoGAEgASgJUg9zZWxlY3RlZFRpcEhhc2gSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List getSelectedTipHashResponseMessageDescriptor = $convert.base64Decode('CiFHZXRTZWxlY3RlZFRpcEhhc2hSZXNwb25zZU1lc3NhZ2USKAoPc2VsZWN0ZWRUaXBIYXNoGAEgASgJUg9zZWxlY3RlZFRpcEhhc2gSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use getMempoolEntryRequestMessageDescriptor instead') const GetMempoolEntryRequestMessage$json = const { '1': 'GetMempoolEntryRequestMessage', '2': const [ const {'1': 'txId', '3': 1, '4': 1, '5': 9, '10': 'txId'}, - const { - '1': 'includeOrphanPool', - '3': 2, - '4': 1, - '5': 8, - '10': 'includeOrphanPool' - }, - const { - '1': 'filterTransactionPool', - '3': 3, - '4': 1, - '5': 8, - '10': 'filterTransactionPool' - }, + const {'1': 'includeOrphanPool', '3': 2, '4': 1, '5': 8, '10': 'includeOrphanPool'}, + const {'1': 'filterTransactionPool', '3': 3, '4': 1, '5': 8, '10': 'filterTransactionPool'}, ], }; /// Descriptor for `GetMempoolEntryRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMempoolEntryRequestMessageDescriptor = - $convert.base64Decode( - 'Ch1HZXRNZW1wb29sRW50cnlSZXF1ZXN0TWVzc2FnZRISCgR0eElkGAEgASgJUgR0eElkEiwKEWluY2x1ZGVPcnBoYW5Qb29sGAIgASgIUhFpbmNsdWRlT3JwaGFuUG9vbBI0ChVmaWx0ZXJUcmFuc2FjdGlvblBvb2wYAyABKAhSFWZpbHRlclRyYW5zYWN0aW9uUG9vbA=='); +final $typed_data.Uint8List getMempoolEntryRequestMessageDescriptor = $convert.base64Decode('Ch1HZXRNZW1wb29sRW50cnlSZXF1ZXN0TWVzc2FnZRISCgR0eElkGAEgASgJUgR0eElkEiwKEWluY2x1ZGVPcnBoYW5Qb29sGAIgASgIUhFpbmNsdWRlT3JwaGFuUG9vbBI0ChVmaWx0ZXJUcmFuc2FjdGlvblBvb2wYAyABKAhSFWZpbHRlclRyYW5zYWN0aW9uUG9vbA=='); @$core.Deprecated('Use getMempoolEntryResponseMessageDescriptor instead') const GetMempoolEntryResponseMessage$json = const { '1': 'GetMempoolEntryResponseMessage', '2': const [ - const { - '1': 'entry', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.MempoolEntry', - '10': 'entry' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'entry', '3': 1, '4': 1, '5': 11, '6': '.protowire.MempoolEntry', '10': 'entry'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetMempoolEntryResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMempoolEntryResponseMessageDescriptor = - $convert.base64Decode( - 'Ch5HZXRNZW1wb29sRW50cnlSZXNwb25zZU1lc3NhZ2USLQoFZW50cnkYASABKAsyFy5wcm90b3dpcmUuTWVtcG9vbEVudHJ5UgVlbnRyeRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List getMempoolEntryResponseMessageDescriptor = $convert.base64Decode('Ch5HZXRNZW1wb29sRW50cnlSZXNwb25zZU1lc3NhZ2USLQoFZW50cnkYASABKAsyFy5wcm90b3dpcmUuTWVtcG9vbEVudHJ5UgVlbnRyeRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use getMempoolEntriesRequestMessageDescriptor instead') const GetMempoolEntriesRequestMessage$json = const { '1': 'GetMempoolEntriesRequestMessage', '2': const [ - const { - '1': 'includeOrphanPool', - '3': 1, - '4': 1, - '5': 8, - '10': 'includeOrphanPool' - }, - const { - '1': 'filterTransactionPool', - '3': 2, - '4': 1, - '5': 8, - '10': 'filterTransactionPool' - }, + const {'1': 'includeOrphanPool', '3': 1, '4': 1, '5': 8, '10': 'includeOrphanPool'}, + const {'1': 'filterTransactionPool', '3': 2, '4': 1, '5': 8, '10': 'filterTransactionPool'}, ], }; /// Descriptor for `GetMempoolEntriesRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMempoolEntriesRequestMessageDescriptor = - $convert.base64Decode( - 'Ch9HZXRNZW1wb29sRW50cmllc1JlcXVlc3RNZXNzYWdlEiwKEWluY2x1ZGVPcnBoYW5Qb29sGAEgASgIUhFpbmNsdWRlT3JwaGFuUG9vbBI0ChVmaWx0ZXJUcmFuc2FjdGlvblBvb2wYAiABKAhSFWZpbHRlclRyYW5zYWN0aW9uUG9vbA=='); +final $typed_data.Uint8List getMempoolEntriesRequestMessageDescriptor = $convert.base64Decode('Ch9HZXRNZW1wb29sRW50cmllc1JlcXVlc3RNZXNzYWdlEiwKEWluY2x1ZGVPcnBoYW5Qb29sGAEgASgIUhFpbmNsdWRlT3JwaGFuUG9vbBI0ChVmaWx0ZXJUcmFuc2FjdGlvblBvb2wYAiABKAhSFWZpbHRlclRyYW5zYWN0aW9uUG9vbA=='); @$core.Deprecated('Use getMempoolEntriesResponseMessageDescriptor instead') const GetMempoolEntriesResponseMessage$json = const { '1': 'GetMempoolEntriesResponseMessage', '2': const [ - const { - '1': 'entries', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.MempoolEntry', - '10': 'entries' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'entries', '3': 1, '4': 3, '5': 11, '6': '.protowire.MempoolEntry', '10': 'entries'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetMempoolEntriesResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMempoolEntriesResponseMessageDescriptor = - $convert.base64Decode( - 'CiBHZXRNZW1wb29sRW50cmllc1Jlc3BvbnNlTWVzc2FnZRIxCgdlbnRyaWVzGAEgAygLMhcucHJvdG93aXJlLk1lbXBvb2xFbnRyeVIHZW50cmllcxIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List getMempoolEntriesResponseMessageDescriptor = $convert.base64Decode('CiBHZXRNZW1wb29sRW50cmllc1Jlc3BvbnNlTWVzc2FnZRIxCgdlbnRyaWVzGAEgAygLMhcucHJvdG93aXJlLk1lbXBvb2xFbnRyeVIHZW50cmllcxIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use mempoolEntryDescriptor instead') const MempoolEntry$json = const { '1': 'MempoolEntry', '2': const [ const {'1': 'fee', '3': 1, '4': 1, '5': 4, '10': 'fee'}, - const { - '1': 'transaction', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcTransaction', - '10': 'transaction' - }, + const {'1': 'transaction', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcTransaction', '10': 'transaction'}, const {'1': 'isOrphan', '3': 4, '4': 1, '5': 8, '10': 'isOrphan'}, ], }; /// Descriptor for `MempoolEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mempoolEntryDescriptor = $convert.base64Decode( - 'CgxNZW1wb29sRW50cnkSEAoDZmVlGAEgASgEUgNmZWUSOwoLdHJhbnNhY3Rpb24YAyABKAsyGS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25SC3RyYW5zYWN0aW9uEhoKCGlzT3JwaGFuGAQgASgIUghpc09ycGhhbg=='); +final $typed_data.Uint8List mempoolEntryDescriptor = $convert.base64Decode('CgxNZW1wb29sRW50cnkSEAoDZmVlGAEgASgEUgNmZWUSOwoLdHJhbnNhY3Rpb24YAyABKAsyGS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25SC3RyYW5zYWN0aW9uEhoKCGlzT3JwaGFuGAQgASgIUghpc09ycGhhbg=='); @$core.Deprecated('Use getConnectedPeerInfoRequestMessageDescriptor instead') const GetConnectedPeerInfoRequestMessage$json = const { '1': 'GetConnectedPeerInfoRequestMessage', }; /// Descriptor for `GetConnectedPeerInfoRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getConnectedPeerInfoRequestMessageDescriptor = - $convert.base64Decode('CiJHZXRDb25uZWN0ZWRQZWVySW5mb1JlcXVlc3RNZXNzYWdl'); +final $typed_data.Uint8List getConnectedPeerInfoRequestMessageDescriptor = $convert.base64Decode('CiJHZXRDb25uZWN0ZWRQZWVySW5mb1JlcXVlc3RNZXNzYWdl'); @$core.Deprecated('Use getConnectedPeerInfoResponseMessageDescriptor instead') const GetConnectedPeerInfoResponseMessage$json = const { '1': 'GetConnectedPeerInfoResponseMessage', '2': const [ - const { - '1': 'infos', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.GetConnectedPeerInfoMessage', - '10': 'infos' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'infos', '3': 1, '4': 3, '5': 11, '6': '.protowire.GetConnectedPeerInfoMessage', '10': 'infos'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetConnectedPeerInfoResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getConnectedPeerInfoResponseMessageDescriptor = - $convert.base64Decode( - 'CiNHZXRDb25uZWN0ZWRQZWVySW5mb1Jlc3BvbnNlTWVzc2FnZRI8CgVpbmZvcxgBIAMoCzImLnByb3Rvd2lyZS5HZXRDb25uZWN0ZWRQZWVySW5mb01lc3NhZ2VSBWluZm9zEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getConnectedPeerInfoResponseMessageDescriptor = $convert.base64Decode('CiNHZXRDb25uZWN0ZWRQZWVySW5mb1Jlc3BvbnNlTWVzc2FnZRI8CgVpbmZvcxgBIAMoCzImLnByb3Rvd2lyZS5HZXRDb25uZWN0ZWRQZWVySW5mb01lc3NhZ2VSBWluZm9zEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getConnectedPeerInfoMessageDescriptor instead') const GetConnectedPeerInfoMessage$json = const { '1': 'GetConnectedPeerInfoMessage', '2': const [ const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, const {'1': 'address', '3': 2, '4': 1, '5': 9, '10': 'address'}, - const { - '1': 'lastPingDuration', - '3': 3, - '4': 1, - '5': 3, - '10': 'lastPingDuration' - }, + const {'1': 'lastPingDuration', '3': 3, '4': 1, '5': 3, '10': 'lastPingDuration'}, const {'1': 'isOutbound', '3': 6, '4': 1, '5': 8, '10': 'isOutbound'}, const {'1': 'timeOffset', '3': 7, '4': 1, '5': 3, '10': 'timeOffset'}, const {'1': 'userAgent', '3': 8, '4': 1, '5': 9, '10': 'userAgent'}, - const { - '1': 'advertisedProtocolVersion', - '3': 9, - '4': 1, - '5': 13, - '10': 'advertisedProtocolVersion' - }, - const { - '1': 'timeConnected', - '3': 10, - '4': 1, - '5': 3, - '10': 'timeConnected' - }, + const {'1': 'advertisedProtocolVersion', '3': 9, '4': 1, '5': 13, '10': 'advertisedProtocolVersion'}, + const {'1': 'timeConnected', '3': 10, '4': 1, '5': 3, '10': 'timeConnected'}, const {'1': 'isIbdPeer', '3': 11, '4': 1, '5': 8, '10': 'isIbdPeer'}, ], }; /// Descriptor for `GetConnectedPeerInfoMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getConnectedPeerInfoMessageDescriptor = - $convert.base64Decode( - 'ChtHZXRDb25uZWN0ZWRQZWVySW5mb01lc3NhZ2USDgoCaWQYASABKAlSAmlkEhgKB2FkZHJlc3MYAiABKAlSB2FkZHJlc3MSKgoQbGFzdFBpbmdEdXJhdGlvbhgDIAEoA1IQbGFzdFBpbmdEdXJhdGlvbhIeCgppc091dGJvdW5kGAYgASgIUgppc091dGJvdW5kEh4KCnRpbWVPZmZzZXQYByABKANSCnRpbWVPZmZzZXQSHAoJdXNlckFnZW50GAggASgJUgl1c2VyQWdlbnQSPAoZYWR2ZXJ0aXNlZFByb3RvY29sVmVyc2lvbhgJIAEoDVIZYWR2ZXJ0aXNlZFByb3RvY29sVmVyc2lvbhIkCg10aW1lQ29ubmVjdGVkGAogASgDUg10aW1lQ29ubmVjdGVkEhwKCWlzSWJkUGVlchgLIAEoCFIJaXNJYmRQZWVy'); +final $typed_data.Uint8List getConnectedPeerInfoMessageDescriptor = $convert.base64Decode('ChtHZXRDb25uZWN0ZWRQZWVySW5mb01lc3NhZ2USDgoCaWQYASABKAlSAmlkEhgKB2FkZHJlc3MYAiABKAlSB2FkZHJlc3MSKgoQbGFzdFBpbmdEdXJhdGlvbhgDIAEoA1IQbGFzdFBpbmdEdXJhdGlvbhIeCgppc091dGJvdW5kGAYgASgIUgppc091dGJvdW5kEh4KCnRpbWVPZmZzZXQYByABKANSCnRpbWVPZmZzZXQSHAoJdXNlckFnZW50GAggASgJUgl1c2VyQWdlbnQSPAoZYWR2ZXJ0aXNlZFByb3RvY29sVmVyc2lvbhgJIAEoDVIZYWR2ZXJ0aXNlZFByb3RvY29sVmVyc2lvbhIkCg10aW1lQ29ubmVjdGVkGAogASgDUg10aW1lQ29ubmVjdGVkEhwKCWlzSWJkUGVlchgLIAEoCFIJaXNJYmRQZWVy'); @$core.Deprecated('Use addPeerRequestMessageDescriptor instead') const AddPeerRequestMessage$json = const { '1': 'AddPeerRequestMessage', @@ -845,189 +441,93 @@ const AddPeerRequestMessage$json = const { }; /// Descriptor for `AddPeerRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addPeerRequestMessageDescriptor = $convert.base64Decode( - 'ChVBZGRQZWVyUmVxdWVzdE1lc3NhZ2USGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcxIgCgtpc1Blcm1hbmVudBgCIAEoCFILaXNQZXJtYW5lbnQ='); +final $typed_data.Uint8List addPeerRequestMessageDescriptor = $convert.base64Decode('ChVBZGRQZWVyUmVxdWVzdE1lc3NhZ2USGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcxIgCgtpc1Blcm1hbmVudBgCIAEoCFILaXNQZXJtYW5lbnQ='); @$core.Deprecated('Use addPeerResponseMessageDescriptor instead') const AddPeerResponseMessage$json = const { '1': 'AddPeerResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `AddPeerResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addPeerResponseMessageDescriptor = - $convert.base64Decode( - 'ChZBZGRQZWVyUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List addPeerResponseMessageDescriptor = $convert.base64Decode('ChZBZGRQZWVyUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use submitTransactionRequestMessageDescriptor instead') const SubmitTransactionRequestMessage$json = const { '1': 'SubmitTransactionRequestMessage', '2': const [ - const { - '1': 'transaction', - '3': 1, - '4': 1, - '5': 11, - '6': '.protowire.RpcTransaction', - '10': 'transaction' - }, + const {'1': 'transaction', '3': 1, '4': 1, '5': 11, '6': '.protowire.RpcTransaction', '10': 'transaction'}, const {'1': 'allowOrphan', '3': 2, '4': 1, '5': 8, '10': 'allowOrphan'}, ], }; /// Descriptor for `SubmitTransactionRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitTransactionRequestMessageDescriptor = - $convert.base64Decode( - 'Ch9TdWJtaXRUcmFuc2FjdGlvblJlcXVlc3RNZXNzYWdlEjsKC3RyYW5zYWN0aW9uGAEgASgLMhkucHJvdG93aXJlLlJwY1RyYW5zYWN0aW9uUgt0cmFuc2FjdGlvbhIgCgthbGxvd09ycGhhbhgCIAEoCFILYWxsb3dPcnBoYW4='); +final $typed_data.Uint8List submitTransactionRequestMessageDescriptor = $convert.base64Decode('Ch9TdWJtaXRUcmFuc2FjdGlvblJlcXVlc3RNZXNzYWdlEjsKC3RyYW5zYWN0aW9uGAEgASgLMhkucHJvdG93aXJlLlJwY1RyYW5zYWN0aW9uUgt0cmFuc2FjdGlvbhIgCgthbGxvd09ycGhhbhgCIAEoCFILYWxsb3dPcnBoYW4='); @$core.Deprecated('Use submitTransactionResponseMessageDescriptor instead') const SubmitTransactionResponseMessage$json = const { '1': 'SubmitTransactionResponseMessage', '2': const [ const {'1': 'transactionId', '3': 1, '4': 1, '5': 9, '10': 'transactionId'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `SubmitTransactionResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitTransactionResponseMessageDescriptor = - $convert.base64Decode( - 'CiBTdWJtaXRUcmFuc2FjdGlvblJlc3BvbnNlTWVzc2FnZRIkCg10cmFuc2FjdGlvbklkGAEgASgJUg10cmFuc2FjdGlvbklkEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); -@$core.Deprecated( - 'Use notifyVirtualSelectedParentChainChangedRequestMessageDescriptor instead') +final $typed_data.Uint8List submitTransactionResponseMessageDescriptor = $convert.base64Decode('CiBTdWJtaXRUcmFuc2FjdGlvblJlc3BvbnNlTWVzc2FnZRIkCg10cmFuc2FjdGlvbklkGAEgASgJUg10cmFuc2FjdGlvbklkEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +@$core.Deprecated('Use notifyVirtualSelectedParentChainChangedRequestMessageDescriptor instead') const NotifyVirtualSelectedParentChainChangedRequestMessage$json = const { '1': 'NotifyVirtualSelectedParentChainChangedRequestMessage', '2': const [ - const { - '1': 'includeAcceptedTransactionIds', - '3': 1, - '4': 1, - '5': 8, - '10': 'includeAcceptedTransactionIds' - }, + const {'1': 'includeAcceptedTransactionIds', '3': 1, '4': 1, '5': 8, '10': 'includeAcceptedTransactionIds'}, ], }; /// Descriptor for `NotifyVirtualSelectedParentChainChangedRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyVirtualSelectedParentChainChangedRequestMessageDescriptor = - $convert.base64Decode( - 'CjVOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXF1ZXN0TWVzc2FnZRJECh1pbmNsdWRlQWNjZXB0ZWRUcmFuc2FjdGlvbklkcxgBIAEoCFIdaW5jbHVkZUFjY2VwdGVkVHJhbnNhY3Rpb25JZHM='); -@$core.Deprecated( - 'Use notifyVirtualSelectedParentChainChangedResponseMessageDescriptor instead') +final $typed_data.Uint8List notifyVirtualSelectedParentChainChangedRequestMessageDescriptor = $convert.base64Decode('CjVOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXF1ZXN0TWVzc2FnZRJECh1pbmNsdWRlQWNjZXB0ZWRUcmFuc2FjdGlvbklkcxgBIAEoCFIdaW5jbHVkZUFjY2VwdGVkVHJhbnNhY3Rpb25JZHM='); +@$core.Deprecated('Use notifyVirtualSelectedParentChainChangedResponseMessageDescriptor instead') const NotifyVirtualSelectedParentChainChangedResponseMessage$json = const { '1': 'NotifyVirtualSelectedParentChainChangedResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyVirtualSelectedParentChainChangedResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyVirtualSelectedParentChainChangedResponseMessageDescriptor = - $convert.base64Decode( - 'CjZOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); -@$core.Deprecated( - 'Use virtualSelectedParentChainChangedNotificationMessageDescriptor instead') +final $typed_data.Uint8List notifyVirtualSelectedParentChainChangedResponseMessageDescriptor = $convert.base64Decode('CjZOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +@$core.Deprecated('Use virtualSelectedParentChainChangedNotificationMessageDescriptor instead') const VirtualSelectedParentChainChangedNotificationMessage$json = const { '1': 'VirtualSelectedParentChainChangedNotificationMessage', '2': const [ - const { - '1': 'removedChainBlockHashes', - '3': 1, - '4': 3, - '5': 9, - '10': 'removedChainBlockHashes' - }, - const { - '1': 'addedChainBlockHashes', - '3': 3, - '4': 3, - '5': 9, - '10': 'addedChainBlockHashes' - }, - const { - '1': 'acceptedTransactionIds', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.AcceptedTransactionIds', - '10': 'acceptedTransactionIds' - }, + const {'1': 'removedChainBlockHashes', '3': 1, '4': 3, '5': 9, '10': 'removedChainBlockHashes'}, + const {'1': 'addedChainBlockHashes', '3': 3, '4': 3, '5': 9, '10': 'addedChainBlockHashes'}, + const {'1': 'acceptedTransactionIds', '3': 2, '4': 3, '5': 11, '6': '.protowire.AcceptedTransactionIds', '10': 'acceptedTransactionIds'}, ], }; /// Descriptor for `VirtualSelectedParentChainChangedNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - virtualSelectedParentChainChangedNotificationMessageDescriptor = - $convert.base64Decode( - 'CjRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlEjgKF3JlbW92ZWRDaGFpbkJsb2NrSGFzaGVzGAEgAygJUhdyZW1vdmVkQ2hhaW5CbG9ja0hhc2hlcxI0ChVhZGRlZENoYWluQmxvY2tIYXNoZXMYAyADKAlSFWFkZGVkQ2hhaW5CbG9ja0hhc2hlcxJZChZhY2NlcHRlZFRyYW5zYWN0aW9uSWRzGAIgAygLMiEucHJvdG93aXJlLkFjY2VwdGVkVHJhbnNhY3Rpb25JZHNSFmFjY2VwdGVkVHJhbnNhY3Rpb25JZHM='); +final $typed_data.Uint8List virtualSelectedParentChainChangedNotificationMessageDescriptor = $convert.base64Decode('CjRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlEjgKF3JlbW92ZWRDaGFpbkJsb2NrSGFzaGVzGAEgAygJUhdyZW1vdmVkQ2hhaW5CbG9ja0hhc2hlcxI0ChVhZGRlZENoYWluQmxvY2tIYXNoZXMYAyADKAlSFWFkZGVkQ2hhaW5CbG9ja0hhc2hlcxJZChZhY2NlcHRlZFRyYW5zYWN0aW9uSWRzGAIgAygLMiEucHJvdG93aXJlLkFjY2VwdGVkVHJhbnNhY3Rpb25JZHNSFmFjY2VwdGVkVHJhbnNhY3Rpb25JZHM='); @$core.Deprecated('Use getBlockRequestMessageDescriptor instead') const GetBlockRequestMessage$json = const { '1': 'GetBlockRequestMessage', '2': const [ const {'1': 'hash', '3': 1, '4': 1, '5': 9, '10': 'hash'}, - const { - '1': 'includeTransactions', - '3': 3, - '4': 1, - '5': 8, - '10': 'includeTransactions' - }, + const {'1': 'includeTransactions', '3': 3, '4': 1, '5': 8, '10': 'includeTransactions'}, ], }; /// Descriptor for `GetBlockRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockRequestMessageDescriptor = - $convert.base64Decode( - 'ChZHZXRCbG9ja1JlcXVlc3RNZXNzYWdlEhIKBGhhc2gYASABKAlSBGhhc2gSMAoTaW5jbHVkZVRyYW5zYWN0aW9ucxgDIAEoCFITaW5jbHVkZVRyYW5zYWN0aW9ucw=='); +final $typed_data.Uint8List getBlockRequestMessageDescriptor = $convert.base64Decode('ChZHZXRCbG9ja1JlcXVlc3RNZXNzYWdlEhIKBGhhc2gYASABKAlSBGhhc2gSMAoTaW5jbHVkZVRyYW5zYWN0aW9ucxgDIAEoCFITaW5jbHVkZVRyYW5zYWN0aW9ucw=='); @$core.Deprecated('Use getBlockResponseMessageDescriptor instead') const GetBlockResponseMessage$json = const { '1': 'GetBlockResponseMessage', '2': const [ - const { - '1': 'block', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcBlock', - '10': 'block' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'block', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcBlock', '10': 'block'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBlockResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockResponseMessageDescriptor = - $convert.base64Decode( - 'ChdHZXRCbG9ja1Jlc3BvbnNlTWVzc2FnZRIpCgVibG9jaxgDIAEoCzITLnByb3Rvd2lyZS5ScGNCbG9ja1IFYmxvY2sSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List getBlockResponseMessageDescriptor = $convert.base64Decode('ChdHZXRCbG9ja1Jlc3BvbnNlTWVzc2FnZRIpCgVibG9jaxgDIAEoCzITLnByb3Rvd2lyZS5ScGNCbG9ja1IFYmxvY2sSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use getSubnetworkRequestMessageDescriptor instead') const GetSubnetworkRequestMessage$json = const { '1': 'GetSubnetworkRequestMessage', @@ -1037,203 +537,103 @@ const GetSubnetworkRequestMessage$json = const { }; /// Descriptor for `GetSubnetworkRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSubnetworkRequestMessageDescriptor = - $convert.base64Decode( - 'ChtHZXRTdWJuZXR3b3JrUmVxdWVzdE1lc3NhZ2USIgoMc3VibmV0d29ya0lkGAEgASgJUgxzdWJuZXR3b3JrSWQ='); +final $typed_data.Uint8List getSubnetworkRequestMessageDescriptor = $convert.base64Decode('ChtHZXRTdWJuZXR3b3JrUmVxdWVzdE1lc3NhZ2USIgoMc3VibmV0d29ya0lkGAEgASgJUgxzdWJuZXR3b3JrSWQ='); @$core.Deprecated('Use getSubnetworkResponseMessageDescriptor instead') const GetSubnetworkResponseMessage$json = const { '1': 'GetSubnetworkResponseMessage', '2': const [ const {'1': 'gasLimit', '3': 1, '4': 1, '5': 4, '10': 'gasLimit'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetSubnetworkResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSubnetworkResponseMessageDescriptor = - $convert.base64Decode( - 'ChxHZXRTdWJuZXR3b3JrUmVzcG9uc2VNZXNzYWdlEhoKCGdhc0xpbWl0GAEgASgEUghnYXNMaW1pdBIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); -@$core.Deprecated( - 'Use getVirtualSelectedParentChainFromBlockRequestMessageDescriptor instead') +final $typed_data.Uint8List getSubnetworkResponseMessageDescriptor = $convert.base64Decode('ChxHZXRTdWJuZXR3b3JrUmVzcG9uc2VNZXNzYWdlEhoKCGdhc0xpbWl0GAEgASgEUghnYXNMaW1pdBIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +@$core.Deprecated('Use getVirtualSelectedParentChainFromBlockRequestMessageDescriptor instead') const GetVirtualSelectedParentChainFromBlockRequestMessage$json = const { '1': 'GetVirtualSelectedParentChainFromBlockRequestMessage', '2': const [ const {'1': 'startHash', '3': 1, '4': 1, '5': 9, '10': 'startHash'}, - const { - '1': 'includeAcceptedTransactionIds', - '3': 2, - '4': 1, - '5': 8, - '10': 'includeAcceptedTransactionIds' - }, + const {'1': 'includeAcceptedTransactionIds', '3': 2, '4': 1, '5': 8, '10': 'includeAcceptedTransactionIds'}, ], }; /// Descriptor for `GetVirtualSelectedParentChainFromBlockRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - getVirtualSelectedParentChainFromBlockRequestMessageDescriptor = - $convert.base64Decode( - 'CjRHZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1JlcXVlc3RNZXNzYWdlEhwKCXN0YXJ0SGFzaBgBIAEoCVIJc3RhcnRIYXNoEkQKHWluY2x1ZGVBY2NlcHRlZFRyYW5zYWN0aW9uSWRzGAIgASgIUh1pbmNsdWRlQWNjZXB0ZWRUcmFuc2FjdGlvbklkcw=='); +final $typed_data.Uint8List getVirtualSelectedParentChainFromBlockRequestMessageDescriptor = $convert.base64Decode('CjRHZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1JlcXVlc3RNZXNzYWdlEhwKCXN0YXJ0SGFzaBgBIAEoCVIJc3RhcnRIYXNoEkQKHWluY2x1ZGVBY2NlcHRlZFRyYW5zYWN0aW9uSWRzGAIgASgIUh1pbmNsdWRlQWNjZXB0ZWRUcmFuc2FjdGlvbklkcw=='); @$core.Deprecated('Use acceptedTransactionIdsDescriptor instead') const AcceptedTransactionIds$json = const { '1': 'AcceptedTransactionIds', '2': const [ - const { - '1': 'acceptingBlockHash', - '3': 1, - '4': 1, - '5': 9, - '10': 'acceptingBlockHash' - }, - const { - '1': 'acceptedTransactionIds', - '3': 2, - '4': 3, - '5': 9, - '10': 'acceptedTransactionIds' - }, + const {'1': 'acceptingBlockHash', '3': 1, '4': 1, '5': 9, '10': 'acceptingBlockHash'}, + const {'1': 'acceptedTransactionIds', '3': 2, '4': 3, '5': 9, '10': 'acceptedTransactionIds'}, ], }; /// Descriptor for `AcceptedTransactionIds`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List acceptedTransactionIdsDescriptor = - $convert.base64Decode( - 'ChZBY2NlcHRlZFRyYW5zYWN0aW9uSWRzEi4KEmFjY2VwdGluZ0Jsb2NrSGFzaBgBIAEoCVISYWNjZXB0aW5nQmxvY2tIYXNoEjYKFmFjY2VwdGVkVHJhbnNhY3Rpb25JZHMYAiADKAlSFmFjY2VwdGVkVHJhbnNhY3Rpb25JZHM='); -@$core.Deprecated( - 'Use getVirtualSelectedParentChainFromBlockResponseMessageDescriptor instead') +final $typed_data.Uint8List acceptedTransactionIdsDescriptor = $convert.base64Decode('ChZBY2NlcHRlZFRyYW5zYWN0aW9uSWRzEi4KEmFjY2VwdGluZ0Jsb2NrSGFzaBgBIAEoCVISYWNjZXB0aW5nQmxvY2tIYXNoEjYKFmFjY2VwdGVkVHJhbnNhY3Rpb25JZHMYAiADKAlSFmFjY2VwdGVkVHJhbnNhY3Rpb25JZHM='); +@$core.Deprecated('Use getVirtualSelectedParentChainFromBlockResponseMessageDescriptor instead') const GetVirtualSelectedParentChainFromBlockResponseMessage$json = const { '1': 'GetVirtualSelectedParentChainFromBlockResponseMessage', '2': const [ - const { - '1': 'removedChainBlockHashes', - '3': 1, - '4': 3, - '5': 9, - '10': 'removedChainBlockHashes' - }, - const { - '1': 'addedChainBlockHashes', - '3': 3, - '4': 3, - '5': 9, - '10': 'addedChainBlockHashes' - }, - const { - '1': 'acceptedTransactionIds', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.AcceptedTransactionIds', - '10': 'acceptedTransactionIds' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'removedChainBlockHashes', '3': 1, '4': 3, '5': 9, '10': 'removedChainBlockHashes'}, + const {'1': 'addedChainBlockHashes', '3': 3, '4': 3, '5': 9, '10': 'addedChainBlockHashes'}, + const {'1': 'acceptedTransactionIds', '3': 2, '4': 3, '5': 11, '6': '.protowire.AcceptedTransactionIds', '10': 'acceptedTransactionIds'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetVirtualSelectedParentChainFromBlockResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - getVirtualSelectedParentChainFromBlockResponseMessageDescriptor = - $convert.base64Decode( - 'CjVHZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlTWVzc2FnZRI4ChdyZW1vdmVkQ2hhaW5CbG9ja0hhc2hlcxgBIAMoCVIXcmVtb3ZlZENoYWluQmxvY2tIYXNoZXMSNAoVYWRkZWRDaGFpbkJsb2NrSGFzaGVzGAMgAygJUhVhZGRlZENoYWluQmxvY2tIYXNoZXMSWQoWYWNjZXB0ZWRUcmFuc2FjdGlvbklkcxgCIAMoCzIhLnByb3Rvd2lyZS5BY2NlcHRlZFRyYW5zYWN0aW9uSWRzUhZhY2NlcHRlZFRyYW5zYWN0aW9uSWRzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getVirtualSelectedParentChainFromBlockResponseMessageDescriptor = $convert.base64Decode('CjVHZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlTWVzc2FnZRI4ChdyZW1vdmVkQ2hhaW5CbG9ja0hhc2hlcxgBIAMoCVIXcmVtb3ZlZENoYWluQmxvY2tIYXNoZXMSNAoVYWRkZWRDaGFpbkJsb2NrSGFzaGVzGAMgAygJUhVhZGRlZENoYWluQmxvY2tIYXNoZXMSWQoWYWNjZXB0ZWRUcmFuc2FjdGlvbklkcxgCIAMoCzIhLnByb3Rvd2lyZS5BY2NlcHRlZFRyYW5zYWN0aW9uSWRzUhZhY2NlcHRlZFRyYW5zYWN0aW9uSWRzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getBlocksRequestMessageDescriptor instead') const GetBlocksRequestMessage$json = const { '1': 'GetBlocksRequestMessage', '2': const [ const {'1': 'lowHash', '3': 1, '4': 1, '5': 9, '10': 'lowHash'}, const {'1': 'includeBlocks', '3': 2, '4': 1, '5': 8, '10': 'includeBlocks'}, - const { - '1': 'includeTransactions', - '3': 3, - '4': 1, - '5': 8, - '10': 'includeTransactions' - }, + const {'1': 'includeTransactions', '3': 3, '4': 1, '5': 8, '10': 'includeTransactions'}, ], }; /// Descriptor for `GetBlocksRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlocksRequestMessageDescriptor = - $convert.base64Decode( - 'ChdHZXRCbG9ja3NSZXF1ZXN0TWVzc2FnZRIYCgdsb3dIYXNoGAEgASgJUgdsb3dIYXNoEiQKDWluY2x1ZGVCbG9ja3MYAiABKAhSDWluY2x1ZGVCbG9ja3MSMAoTaW5jbHVkZVRyYW5zYWN0aW9ucxgDIAEoCFITaW5jbHVkZVRyYW5zYWN0aW9ucw=='); +final $typed_data.Uint8List getBlocksRequestMessageDescriptor = $convert.base64Decode('ChdHZXRCbG9ja3NSZXF1ZXN0TWVzc2FnZRIYCgdsb3dIYXNoGAEgASgJUgdsb3dIYXNoEiQKDWluY2x1ZGVCbG9ja3MYAiABKAhSDWluY2x1ZGVCbG9ja3MSMAoTaW5jbHVkZVRyYW5zYWN0aW9ucxgDIAEoCFITaW5jbHVkZVRyYW5zYWN0aW9ucw=='); @$core.Deprecated('Use getBlocksResponseMessageDescriptor instead') const GetBlocksResponseMessage$json = const { '1': 'GetBlocksResponseMessage', '2': const [ const {'1': 'blockHashes', '3': 4, '4': 3, '5': 9, '10': 'blockHashes'}, - const { - '1': 'blocks', - '3': 3, - '4': 3, - '5': 11, - '6': '.protowire.RpcBlock', - '10': 'blocks' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'blocks', '3': 3, '4': 3, '5': 11, '6': '.protowire.RpcBlock', '10': 'blocks'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBlocksResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlocksResponseMessageDescriptor = - $convert.base64Decode( - 'ChhHZXRCbG9ja3NSZXNwb25zZU1lc3NhZ2USIAoLYmxvY2tIYXNoZXMYBCADKAlSC2Jsb2NrSGFzaGVzEisKBmJsb2NrcxgDIAMoCzITLnByb3Rvd2lyZS5ScGNCbG9ja1IGYmxvY2tzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getBlocksResponseMessageDescriptor = $convert.base64Decode('ChhHZXRCbG9ja3NSZXNwb25zZU1lc3NhZ2USIAoLYmxvY2tIYXNoZXMYBCADKAlSC2Jsb2NrSGFzaGVzEisKBmJsb2NrcxgDIAMoCzITLnByb3Rvd2lyZS5ScGNCbG9ja1IGYmxvY2tzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getBlockCountRequestMessageDescriptor instead') const GetBlockCountRequestMessage$json = const { '1': 'GetBlockCountRequestMessage', }; /// Descriptor for `GetBlockCountRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockCountRequestMessageDescriptor = - $convert.base64Decode('ChtHZXRCbG9ja0NvdW50UmVxdWVzdE1lc3NhZ2U='); +final $typed_data.Uint8List getBlockCountRequestMessageDescriptor = $convert.base64Decode('ChtHZXRCbG9ja0NvdW50UmVxdWVzdE1lc3NhZ2U='); @$core.Deprecated('Use getBlockCountResponseMessageDescriptor instead') const GetBlockCountResponseMessage$json = const { '1': 'GetBlockCountResponseMessage', '2': const [ const {'1': 'blockCount', '3': 1, '4': 1, '5': 4, '10': 'blockCount'}, const {'1': 'headerCount', '3': 2, '4': 1, '5': 4, '10': 'headerCount'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBlockCountResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockCountResponseMessageDescriptor = - $convert.base64Decode( - 'ChxHZXRCbG9ja0NvdW50UmVzcG9uc2VNZXNzYWdlEh4KCmJsb2NrQ291bnQYASABKARSCmJsb2NrQ291bnQSIAoLaGVhZGVyQ291bnQYAiABKARSC2hlYWRlckNvdW50EioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getBlockCountResponseMessageDescriptor = $convert.base64Decode('ChxHZXRCbG9ja0NvdW50UmVzcG9uc2VNZXNzYWdlEh4KCmJsb2NrQ291bnQYASABKARSCmJsb2NrQ291bnQSIAoLaGVhZGVyQ291bnQYAiABKARSC2hlYWRlckNvdW50EioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getBlockDagInfoRequestMessageDescriptor instead') const GetBlockDagInfoRequestMessage$json = const { '1': 'GetBlockDagInfoRequestMessage', }; /// Descriptor for `GetBlockDagInfoRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockDagInfoRequestMessageDescriptor = - $convert.base64Decode('Ch1HZXRCbG9ja0RhZ0luZm9SZXF1ZXN0TWVzc2FnZQ=='); +final $typed_data.Uint8List getBlockDagInfoRequestMessageDescriptor = $convert.base64Decode('Ch1HZXRCbG9ja0RhZ0luZm9SZXF1ZXN0TWVzc2FnZQ=='); @$core.Deprecated('Use getBlockDagInfoResponseMessageDescriptor instead') const GetBlockDagInfoResponseMessage$json = const { '1': 'GetBlockDagInfoResponseMessage', @@ -1243,181 +643,90 @@ const GetBlockDagInfoResponseMessage$json = const { const {'1': 'headerCount', '3': 3, '4': 1, '5': 4, '10': 'headerCount'}, const {'1': 'tipHashes', '3': 4, '4': 3, '5': 9, '10': 'tipHashes'}, const {'1': 'difficulty', '3': 5, '4': 1, '5': 1, '10': 'difficulty'}, - const { - '1': 'pastMedianTime', - '3': 6, - '4': 1, - '5': 3, - '10': 'pastMedianTime' - }, - const { - '1': 'virtualParentHashes', - '3': 7, - '4': 3, - '5': 9, - '10': 'virtualParentHashes' - }, - const { - '1': 'pruningPointHash', - '3': 8, - '4': 1, - '5': 9, - '10': 'pruningPointHash' - }, - const { - '1': 'virtualDaaScore', - '3': 9, - '4': 1, - '5': 4, - '10': 'virtualDaaScore' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'pastMedianTime', '3': 6, '4': 1, '5': 3, '10': 'pastMedianTime'}, + const {'1': 'virtualParentHashes', '3': 7, '4': 3, '5': 9, '10': 'virtualParentHashes'}, + const {'1': 'pruningPointHash', '3': 8, '4': 1, '5': 9, '10': 'pruningPointHash'}, + const {'1': 'virtualDaaScore', '3': 9, '4': 1, '5': 4, '10': 'virtualDaaScore'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBlockDagInfoResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBlockDagInfoResponseMessageDescriptor = - $convert.base64Decode( - 'Ch5HZXRCbG9ja0RhZ0luZm9SZXNwb25zZU1lc3NhZ2USIAoLbmV0d29ya05hbWUYASABKAlSC25ldHdvcmtOYW1lEh4KCmJsb2NrQ291bnQYAiABKARSCmJsb2NrQ291bnQSIAoLaGVhZGVyQ291bnQYAyABKARSC2hlYWRlckNvdW50EhwKCXRpcEhhc2hlcxgEIAMoCVIJdGlwSGFzaGVzEh4KCmRpZmZpY3VsdHkYBSABKAFSCmRpZmZpY3VsdHkSJgoOcGFzdE1lZGlhblRpbWUYBiABKANSDnBhc3RNZWRpYW5UaW1lEjAKE3ZpcnR1YWxQYXJlbnRIYXNoZXMYByADKAlSE3ZpcnR1YWxQYXJlbnRIYXNoZXMSKgoQcHJ1bmluZ1BvaW50SGFzaBgIIAEoCVIQcHJ1bmluZ1BvaW50SGFzaBIoCg92aXJ0dWFsRGFhU2NvcmUYCSABKARSD3ZpcnR1YWxEYWFTY29yZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List getBlockDagInfoResponseMessageDescriptor = $convert.base64Decode('Ch5HZXRCbG9ja0RhZ0luZm9SZXNwb25zZU1lc3NhZ2USIAoLbmV0d29ya05hbWUYASABKAlSC25ldHdvcmtOYW1lEh4KCmJsb2NrQ291bnQYAiABKARSCmJsb2NrQ291bnQSIAoLaGVhZGVyQ291bnQYAyABKARSC2hlYWRlckNvdW50EhwKCXRpcEhhc2hlcxgEIAMoCVIJdGlwSGFzaGVzEh4KCmRpZmZpY3VsdHkYBSABKAFSCmRpZmZpY3VsdHkSJgoOcGFzdE1lZGlhblRpbWUYBiABKANSDnBhc3RNZWRpYW5UaW1lEjAKE3ZpcnR1YWxQYXJlbnRIYXNoZXMYByADKAlSE3ZpcnR1YWxQYXJlbnRIYXNoZXMSKgoQcHJ1bmluZ1BvaW50SGFzaBgIIAEoCVIQcHJ1bmluZ1BvaW50SGFzaBIoCg92aXJ0dWFsRGFhU2NvcmUYCSABKARSD3ZpcnR1YWxEYWFTY29yZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use resolveFinalityConflictRequestMessageDescriptor instead') const ResolveFinalityConflictRequestMessage$json = const { '1': 'ResolveFinalityConflictRequestMessage', '2': const [ - const { - '1': 'finalityBlockHash', - '3': 1, - '4': 1, - '5': 9, - '10': 'finalityBlockHash' - }, + const {'1': 'finalityBlockHash', '3': 1, '4': 1, '5': 9, '10': 'finalityBlockHash'}, ], }; /// Descriptor for `ResolveFinalityConflictRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resolveFinalityConflictRequestMessageDescriptor = - $convert.base64Decode( - 'CiVSZXNvbHZlRmluYWxpdHlDb25mbGljdFJlcXVlc3RNZXNzYWdlEiwKEWZpbmFsaXR5QmxvY2tIYXNoGAEgASgJUhFmaW5hbGl0eUJsb2NrSGFzaA=='); -@$core - .Deprecated('Use resolveFinalityConflictResponseMessageDescriptor instead') +final $typed_data.Uint8List resolveFinalityConflictRequestMessageDescriptor = $convert.base64Decode('CiVSZXNvbHZlRmluYWxpdHlDb25mbGljdFJlcXVlc3RNZXNzYWdlEiwKEWZpbmFsaXR5QmxvY2tIYXNoGAEgASgJUhFmaW5hbGl0eUJsb2NrSGFzaA=='); +@$core.Deprecated('Use resolveFinalityConflictResponseMessageDescriptor instead') const ResolveFinalityConflictResponseMessage$json = const { '1': 'ResolveFinalityConflictResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `ResolveFinalityConflictResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resolveFinalityConflictResponseMessageDescriptor = - $convert.base64Decode( - 'CiZSZXNvbHZlRmluYWxpdHlDb25mbGljdFJlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List resolveFinalityConflictResponseMessageDescriptor = $convert.base64Decode('CiZSZXNvbHZlRmluYWxpdHlDb25mbGljdFJlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use notifyFinalityConflictsRequestMessageDescriptor instead') const NotifyFinalityConflictsRequestMessage$json = const { '1': 'NotifyFinalityConflictsRequestMessage', }; /// Descriptor for `NotifyFinalityConflictsRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyFinalityConflictsRequestMessageDescriptor = - $convert - .base64Decode('CiVOb3RpZnlGaW5hbGl0eUNvbmZsaWN0c1JlcXVlc3RNZXNzYWdl'); -@$core - .Deprecated('Use notifyFinalityConflictsResponseMessageDescriptor instead') +final $typed_data.Uint8List notifyFinalityConflictsRequestMessageDescriptor = $convert.base64Decode('CiVOb3RpZnlGaW5hbGl0eUNvbmZsaWN0c1JlcXVlc3RNZXNzYWdl'); +@$core.Deprecated('Use notifyFinalityConflictsResponseMessageDescriptor instead') const NotifyFinalityConflictsResponseMessage$json = const { '1': 'NotifyFinalityConflictsResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyFinalityConflictsResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyFinalityConflictsResponseMessageDescriptor = - $convert.base64Decode( - 'CiZOb3RpZnlGaW5hbGl0eUNvbmZsaWN0c1Jlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List notifyFinalityConflictsResponseMessageDescriptor = $convert.base64Decode('CiZOb3RpZnlGaW5hbGl0eUNvbmZsaWN0c1Jlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use finalityConflictNotificationMessageDescriptor instead') const FinalityConflictNotificationMessage$json = const { '1': 'FinalityConflictNotificationMessage', '2': const [ - const { - '1': 'violatingBlockHash', - '3': 1, - '4': 1, - '5': 9, - '10': 'violatingBlockHash' - }, + const {'1': 'violatingBlockHash', '3': 1, '4': 1, '5': 9, '10': 'violatingBlockHash'}, ], }; /// Descriptor for `FinalityConflictNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List finalityConflictNotificationMessageDescriptor = - $convert.base64Decode( - 'CiNGaW5hbGl0eUNvbmZsaWN0Tm90aWZpY2F0aW9uTWVzc2FnZRIuChJ2aW9sYXRpbmdCbG9ja0hhc2gYASABKAlSEnZpb2xhdGluZ0Jsb2NrSGFzaA=='); -@$core.Deprecated( - 'Use finalityConflictResolvedNotificationMessageDescriptor instead') +final $typed_data.Uint8List finalityConflictNotificationMessageDescriptor = $convert.base64Decode('CiNGaW5hbGl0eUNvbmZsaWN0Tm90aWZpY2F0aW9uTWVzc2FnZRIuChJ2aW9sYXRpbmdCbG9ja0hhc2gYASABKAlSEnZpb2xhdGluZ0Jsb2NrSGFzaA=='); +@$core.Deprecated('Use finalityConflictResolvedNotificationMessageDescriptor instead') const FinalityConflictResolvedNotificationMessage$json = const { '1': 'FinalityConflictResolvedNotificationMessage', '2': const [ - const { - '1': 'finalityBlockHash', - '3': 1, - '4': 1, - '5': 9, - '10': 'finalityBlockHash' - }, + const {'1': 'finalityBlockHash', '3': 1, '4': 1, '5': 9, '10': 'finalityBlockHash'}, ], }; /// Descriptor for `FinalityConflictResolvedNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - finalityConflictResolvedNotificationMessageDescriptor = - $convert.base64Decode( - 'CitGaW5hbGl0eUNvbmZsaWN0UmVzb2x2ZWROb3RpZmljYXRpb25NZXNzYWdlEiwKEWZpbmFsaXR5QmxvY2tIYXNoGAEgASgJUhFmaW5hbGl0eUJsb2NrSGFzaA=='); +final $typed_data.Uint8List finalityConflictResolvedNotificationMessageDescriptor = $convert.base64Decode('CitGaW5hbGl0eUNvbmZsaWN0UmVzb2x2ZWROb3RpZmljYXRpb25NZXNzYWdlEiwKEWZpbmFsaXR5QmxvY2tIYXNoGAEgASgJUhFmaW5hbGl0eUJsb2NrSGFzaA=='); @$core.Deprecated('Use shutDownRequestMessageDescriptor instead') const ShutDownRequestMessage$json = const { '1': 'ShutDownRequestMessage', }; /// Descriptor for `ShutDownRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shutDownRequestMessageDescriptor = - $convert.base64Decode('ChZTaHV0RG93blJlcXVlc3RNZXNzYWdl'); +final $typed_data.Uint8List shutDownRequestMessageDescriptor = $convert.base64Decode('ChZTaHV0RG93blJlcXVlc3RNZXNzYWdl'); @$core.Deprecated('Use shutDownResponseMessageDescriptor instead') const ShutDownResponseMessage$json = const { '1': 'ShutDownResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `ShutDownResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shutDownResponseMessageDescriptor = - $convert.base64Decode( - 'ChdTaHV0RG93blJlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List shutDownResponseMessageDescriptor = $convert.base64Decode('ChdTaHV0RG93blJlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use getHeadersRequestMessageDescriptor instead') const GetHeadersRequestMessage$json = const { '1': 'GetHeadersRequestMessage', @@ -1429,29 +738,18 @@ const GetHeadersRequestMessage$json = const { }; /// Descriptor for `GetHeadersRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getHeadersRequestMessageDescriptor = - $convert.base64Decode( - 'ChhHZXRIZWFkZXJzUmVxdWVzdE1lc3NhZ2USHAoJc3RhcnRIYXNoGAEgASgJUglzdGFydEhhc2gSFAoFbGltaXQYAiABKARSBWxpbWl0EiAKC2lzQXNjZW5kaW5nGAMgASgIUgtpc0FzY2VuZGluZw=='); +final $typed_data.Uint8List getHeadersRequestMessageDescriptor = $convert.base64Decode('ChhHZXRIZWFkZXJzUmVxdWVzdE1lc3NhZ2USHAoJc3RhcnRIYXNoGAEgASgJUglzdGFydEhhc2gSFAoFbGltaXQYAiABKARSBWxpbWl0EiAKC2lzQXNjZW5kaW5nGAMgASgIUgtpc0FzY2VuZGluZw=='); @$core.Deprecated('Use getHeadersResponseMessageDescriptor instead') const GetHeadersResponseMessage$json = const { '1': 'GetHeadersResponseMessage', '2': const [ const {'1': 'headers', '3': 1, '4': 3, '5': 9, '10': 'headers'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetHeadersResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getHeadersResponseMessageDescriptor = - $convert.base64Decode( - 'ChlHZXRIZWFkZXJzUmVzcG9uc2VNZXNzYWdlEhgKB2hlYWRlcnMYASADKAlSB2hlYWRlcnMSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List getHeadersResponseMessageDescriptor = $convert.base64Decode('ChlHZXRIZWFkZXJzUmVzcG9uc2VNZXNzYWdlEhgKB2hlYWRlcnMYASADKAlSB2hlYWRlcnMSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use notifyUtxosChangedRequestMessageDescriptor instead') const NotifyUtxosChangedRequestMessage$json = const { '1': 'NotifyUtxosChangedRequestMessage', @@ -1461,84 +759,41 @@ const NotifyUtxosChangedRequestMessage$json = const { }; /// Descriptor for `NotifyUtxosChangedRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyUtxosChangedRequestMessageDescriptor = - $convert.base64Decode( - 'CiBOb3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0TWVzc2FnZRIcCglhZGRyZXNzZXMYASADKAlSCWFkZHJlc3Nlcw=='); +final $typed_data.Uint8List notifyUtxosChangedRequestMessageDescriptor = $convert.base64Decode('CiBOb3RpZnlVdHhvc0NoYW5nZWRSZXF1ZXN0TWVzc2FnZRIcCglhZGRyZXNzZXMYASADKAlSCWFkZHJlc3Nlcw=='); @$core.Deprecated('Use notifyUtxosChangedResponseMessageDescriptor instead') const NotifyUtxosChangedResponseMessage$json = const { '1': 'NotifyUtxosChangedResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyUtxosChangedResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyUtxosChangedResponseMessageDescriptor = - $convert.base64Decode( - 'CiFOb3RpZnlVdHhvc0NoYW5nZWRSZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List notifyUtxosChangedResponseMessageDescriptor = $convert.base64Decode('CiFOb3RpZnlVdHhvc0NoYW5nZWRSZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use utxosChangedNotificationMessageDescriptor instead') const UtxosChangedNotificationMessage$json = const { '1': 'UtxosChangedNotificationMessage', '2': const [ - const { - '1': 'added', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.UtxosByAddressesEntry', - '10': 'added' - }, - const { - '1': 'removed', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.UtxosByAddressesEntry', - '10': 'removed' - }, + const {'1': 'added', '3': 1, '4': 3, '5': 11, '6': '.protowire.UtxosByAddressesEntry', '10': 'added'}, + const {'1': 'removed', '3': 2, '4': 3, '5': 11, '6': '.protowire.UtxosByAddressesEntry', '10': 'removed'}, ], }; /// Descriptor for `UtxosChangedNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List utxosChangedNotificationMessageDescriptor = - $convert.base64Decode( - 'Ch9VdHhvc0NoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlEjYKBWFkZGVkGAEgAygLMiAucHJvdG93aXJlLlV0eG9zQnlBZGRyZXNzZXNFbnRyeVIFYWRkZWQSOgoHcmVtb3ZlZBgCIAMoCzIgLnByb3Rvd2lyZS5VdHhvc0J5QWRkcmVzc2VzRW50cnlSB3JlbW92ZWQ='); +final $typed_data.Uint8List utxosChangedNotificationMessageDescriptor = $convert.base64Decode('Ch9VdHhvc0NoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlEjYKBWFkZGVkGAEgAygLMiAucHJvdG93aXJlLlV0eG9zQnlBZGRyZXNzZXNFbnRyeVIFYWRkZWQSOgoHcmVtb3ZlZBgCIAMoCzIgLnByb3Rvd2lyZS5VdHhvc0J5QWRkcmVzc2VzRW50cnlSB3JlbW92ZWQ='); @$core.Deprecated('Use utxosByAddressesEntryDescriptor instead') const UtxosByAddressesEntry$json = const { '1': 'UtxosByAddressesEntry', '2': const [ const {'1': 'address', '3': 1, '4': 1, '5': 9, '10': 'address'}, - const { - '1': 'outpoint', - '3': 2, - '4': 1, - '5': 11, - '6': '.protowire.RpcOutpoint', - '10': 'outpoint' - }, - const { - '1': 'utxoEntry', - '3': 3, - '4': 1, - '5': 11, - '6': '.protowire.RpcUtxoEntry', - '10': 'utxoEntry' - }, + const {'1': 'outpoint', '3': 2, '4': 1, '5': 11, '6': '.protowire.RpcOutpoint', '10': 'outpoint'}, + const {'1': 'utxoEntry', '3': 3, '4': 1, '5': 11, '6': '.protowire.RpcUtxoEntry', '10': 'utxoEntry'}, ], }; /// Descriptor for `UtxosByAddressesEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List utxosByAddressesEntryDescriptor = $convert.base64Decode( - 'ChVVdHhvc0J5QWRkcmVzc2VzRW50cnkSGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcxIyCghvdXRwb2ludBgCIAEoCzIWLnByb3Rvd2lyZS5ScGNPdXRwb2ludFIIb3V0cG9pbnQSNQoJdXR4b0VudHJ5GAMgASgLMhcucHJvdG93aXJlLlJwY1V0eG9FbnRyeVIJdXR4b0VudHJ5'); -@$core - .Deprecated('Use stopNotifyingUtxosChangedRequestMessageDescriptor instead') +final $typed_data.Uint8List utxosByAddressesEntryDescriptor = $convert.base64Decode('ChVVdHhvc0J5QWRkcmVzc2VzRW50cnkSGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcxIyCghvdXRwb2ludBgCIAEoCzIWLnByb3Rvd2lyZS5ScGNPdXRwb2ludFIIb3V0cG9pbnQSNQoJdXR4b0VudHJ5GAMgASgLMhcucHJvdG93aXJlLlJwY1V0eG9FbnRyeVIJdXR4b0VudHJ5'); +@$core.Deprecated('Use stopNotifyingUtxosChangedRequestMessageDescriptor instead') const StopNotifyingUtxosChangedRequestMessage$json = const { '1': 'StopNotifyingUtxosChangedRequestMessage', '2': const [ @@ -1547,29 +802,17 @@ const StopNotifyingUtxosChangedRequestMessage$json = const { }; /// Descriptor for `StopNotifyingUtxosChangedRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopNotifyingUtxosChangedRequestMessageDescriptor = - $convert.base64Decode( - 'CidTdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXM='); -@$core.Deprecated( - 'Use stopNotifyingUtxosChangedResponseMessageDescriptor instead') +final $typed_data.Uint8List stopNotifyingUtxosChangedRequestMessageDescriptor = $convert.base64Decode('CidTdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXM='); +@$core.Deprecated('Use stopNotifyingUtxosChangedResponseMessageDescriptor instead') const StopNotifyingUtxosChangedResponseMessage$json = const { '1': 'StopNotifyingUtxosChangedResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `StopNotifyingUtxosChangedResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopNotifyingUtxosChangedResponseMessageDescriptor = - $convert.base64Decode( - 'CihTdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List stopNotifyingUtxosChangedResponseMessageDescriptor = $convert.base64Decode('CihTdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getUtxosByAddressesRequestMessageDescriptor instead') const GetUtxosByAddressesRequestMessage$json = const { '1': 'GetUtxosByAddressesRequestMessage', @@ -1579,36 +822,18 @@ const GetUtxosByAddressesRequestMessage$json = const { }; /// Descriptor for `GetUtxosByAddressesRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getUtxosByAddressesRequestMessageDescriptor = - $convert.base64Decode( - 'CiFHZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXM='); +final $typed_data.Uint8List getUtxosByAddressesRequestMessageDescriptor = $convert.base64Decode('CiFHZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXM='); @$core.Deprecated('Use getUtxosByAddressesResponseMessageDescriptor instead') const GetUtxosByAddressesResponseMessage$json = const { '1': 'GetUtxosByAddressesResponseMessage', '2': const [ - const { - '1': 'entries', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.UtxosByAddressesEntry', - '10': 'entries' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'entries', '3': 1, '4': 3, '5': 11, '6': '.protowire.UtxosByAddressesEntry', '10': 'entries'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetUtxosByAddressesResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getUtxosByAddressesResponseMessageDescriptor = - $convert.base64Decode( - 'CiJHZXRVdHhvc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjoKB2VudHJpZXMYASADKAsyIC5wcm90b3dpcmUuVXR4b3NCeUFkZHJlc3Nlc0VudHJ5UgdlbnRyaWVzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getUtxosByAddressesResponseMessageDescriptor = $convert.base64Decode('CiJHZXRVdHhvc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjoKB2VudHJpZXMYASADKAsyIC5wcm90b3dpcmUuVXR4b3NCeUFkZHJlc3Nlc0VudHJ5UgdlbnRyaWVzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getBalanceByAddressRequestMessageDescriptor instead') const GetBalanceByAddressRequestMessage$json = const { '1': 'GetBalanceByAddressRequestMessage', @@ -1618,29 +843,18 @@ const GetBalanceByAddressRequestMessage$json = const { }; /// Descriptor for `GetBalanceByAddressRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBalanceByAddressRequestMessageDescriptor = - $convert.base64Decode( - 'CiFHZXRCYWxhbmNlQnlBZGRyZXNzUmVxdWVzdE1lc3NhZ2USGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcw=='); +final $typed_data.Uint8List getBalanceByAddressRequestMessageDescriptor = $convert.base64Decode('CiFHZXRCYWxhbmNlQnlBZGRyZXNzUmVxdWVzdE1lc3NhZ2USGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcw=='); @$core.Deprecated('Use getBalanceByAddressResponseMessageDescriptor instead') const GetBalanceByAddressResponseMessage$json = const { '1': 'GetBalanceByAddressResponseMessage', '2': const [ const {'1': 'balance', '3': 1, '4': 1, '5': 4, '10': 'balance'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBalanceByAddressResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBalanceByAddressResponseMessageDescriptor = - $convert.base64Decode( - 'CiJHZXRCYWxhbmNlQnlBZGRyZXNzUmVzcG9uc2VNZXNzYWdlEhgKB2JhbGFuY2UYASABKARSB2JhbGFuY2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List getBalanceByAddressResponseMessageDescriptor = $convert.base64Decode('CiJHZXRCYWxhbmNlQnlBZGRyZXNzUmVzcG9uc2VNZXNzYWdlEhgKB2JhbGFuY2UYASABKARSB2JhbGFuY2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use getBalancesByAddressesRequestMessageDescriptor instead') const GetBalancesByAddressesRequestMessage$json = const { '1': 'GetBalancesByAddressesRequestMessage', @@ -1650,268 +864,143 @@ const GetBalancesByAddressesRequestMessage$json = const { }; /// Descriptor for `GetBalancesByAddressesRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBalancesByAddressesRequestMessageDescriptor = - $convert.base64Decode( - 'CiRHZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXM='); +final $typed_data.Uint8List getBalancesByAddressesRequestMessageDescriptor = $convert.base64Decode('CiRHZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXM='); @$core.Deprecated('Use balancesByAddressEntryDescriptor instead') const BalancesByAddressEntry$json = const { '1': 'BalancesByAddressEntry', '2': const [ const {'1': 'address', '3': 1, '4': 1, '5': 9, '10': 'address'}, const {'1': 'balance', '3': 2, '4': 1, '5': 4, '10': 'balance'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `BalancesByAddressEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List balancesByAddressEntryDescriptor = - $convert.base64Decode( - 'ChZCYWxhbmNlc0J5QWRkcmVzc0VudHJ5EhgKB2FkZHJlc3MYASABKAlSB2FkZHJlc3MSGAoHYmFsYW5jZRgCIAEoBFIHYmFsYW5jZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List balancesByAddressEntryDescriptor = $convert.base64Decode('ChZCYWxhbmNlc0J5QWRkcmVzc0VudHJ5EhgKB2FkZHJlc3MYASABKAlSB2FkZHJlc3MSGAoHYmFsYW5jZRgCIAEoBFIHYmFsYW5jZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use getBalancesByAddressesResponseMessageDescriptor instead') const GetBalancesByAddressesResponseMessage$json = const { '1': 'GetBalancesByAddressesResponseMessage', '2': const [ - const { - '1': 'entries', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.BalancesByAddressEntry', - '10': 'entries' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'entries', '3': 1, '4': 3, '5': 11, '6': '.protowire.BalancesByAddressEntry', '10': 'entries'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetBalancesByAddressesResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBalancesByAddressesResponseMessageDescriptor = - $convert.base64Decode( - 'CiVHZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjsKB2VudHJpZXMYASADKAsyIS5wcm90b3dpcmUuQmFsYW5jZXNCeUFkZHJlc3NFbnRyeVIHZW50cmllcxIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); -@$core.Deprecated( - 'Use getVirtualSelectedParentBlueScoreRequestMessageDescriptor instead') +final $typed_data.Uint8List getBalancesByAddressesResponseMessageDescriptor = $convert.base64Decode('CiVHZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjsKB2VudHJpZXMYASADKAsyIS5wcm90b3dpcmUuQmFsYW5jZXNCeUFkZHJlc3NFbnRyeVIHZW50cmllcxIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +@$core.Deprecated('Use getVirtualSelectedParentBlueScoreRequestMessageDescriptor instead') const GetVirtualSelectedParentBlueScoreRequestMessage$json = const { '1': 'GetVirtualSelectedParentBlueScoreRequestMessage', }; /// Descriptor for `GetVirtualSelectedParentBlueScoreRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - getVirtualSelectedParentBlueScoreRequestMessageDescriptor = - $convert.base64Decode( - 'Ci9HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXF1ZXN0TWVzc2FnZQ=='); -@$core.Deprecated( - 'Use getVirtualSelectedParentBlueScoreResponseMessageDescriptor instead') +final $typed_data.Uint8List getVirtualSelectedParentBlueScoreRequestMessageDescriptor = $convert.base64Decode('Ci9HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXF1ZXN0TWVzc2FnZQ=='); +@$core.Deprecated('Use getVirtualSelectedParentBlueScoreResponseMessageDescriptor instead') const GetVirtualSelectedParentBlueScoreResponseMessage$json = const { '1': 'GetVirtualSelectedParentBlueScoreResponseMessage', '2': const [ const {'1': 'blueScore', '3': 1, '4': 1, '5': 4, '10': 'blueScore'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetVirtualSelectedParentBlueScoreResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - getVirtualSelectedParentBlueScoreResponseMessageDescriptor = - $convert.base64Decode( - 'CjBHZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXNwb25zZU1lc3NhZ2USHAoJYmx1ZVNjb3JlGAEgASgEUglibHVlU2NvcmUSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); -@$core.Deprecated( - 'Use notifyVirtualSelectedParentBlueScoreChangedRequestMessageDescriptor instead') +final $typed_data.Uint8List getVirtualSelectedParentBlueScoreResponseMessageDescriptor = $convert.base64Decode('CjBHZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXNwb25zZU1lc3NhZ2USHAoJYmx1ZVNjb3JlGAEgASgEUglibHVlU2NvcmUSKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +@$core.Deprecated('Use notifyVirtualSelectedParentBlueScoreChangedRequestMessageDescriptor instead') const NotifyVirtualSelectedParentBlueScoreChangedRequestMessage$json = const { '1': 'NotifyVirtualSelectedParentBlueScoreChangedRequestMessage', }; /// Descriptor for `NotifyVirtualSelectedParentBlueScoreChangedRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyVirtualSelectedParentBlueScoreChangedRequestMessageDescriptor = - $convert.base64Decode( - 'CjlOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2U='); -@$core.Deprecated( - 'Use notifyVirtualSelectedParentBlueScoreChangedResponseMessageDescriptor instead') +final $typed_data.Uint8List notifyVirtualSelectedParentBlueScoreChangedRequestMessageDescriptor = $convert.base64Decode('CjlOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2U='); +@$core.Deprecated('Use notifyVirtualSelectedParentBlueScoreChangedResponseMessageDescriptor instead') const NotifyVirtualSelectedParentBlueScoreChangedResponseMessage$json = const { '1': 'NotifyVirtualSelectedParentBlueScoreChangedResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyVirtualSelectedParentBlueScoreChangedResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyVirtualSelectedParentBlueScoreChangedResponseMessageDescriptor = - $convert.base64Decode( - 'CjpOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); -@$core.Deprecated( - 'Use virtualSelectedParentBlueScoreChangedNotificationMessageDescriptor instead') +final $typed_data.Uint8List notifyVirtualSelectedParentBlueScoreChangedResponseMessageDescriptor = $convert.base64Decode('CjpOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +@$core.Deprecated('Use virtualSelectedParentBlueScoreChangedNotificationMessageDescriptor instead') const VirtualSelectedParentBlueScoreChangedNotificationMessage$json = const { '1': 'VirtualSelectedParentBlueScoreChangedNotificationMessage', '2': const [ - const { - '1': 'virtualSelectedParentBlueScore', - '3': 1, - '4': 1, - '5': 4, - '10': 'virtualSelectedParentBlueScore' - }, + const {'1': 'virtualSelectedParentBlueScore', '3': 1, '4': 1, '5': 4, '10': 'virtualSelectedParentBlueScore'}, ], }; /// Descriptor for `VirtualSelectedParentBlueScoreChangedNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - virtualSelectedParentBlueScoreChangedNotificationMessageDescriptor = - $convert.base64Decode( - 'CjhWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uTWVzc2FnZRJGCh52aXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmUYASABKARSHnZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZQ=='); -@$core.Deprecated( - 'Use notifyVirtualDaaScoreChangedRequestMessageDescriptor instead') +final $typed_data.Uint8List virtualSelectedParentBlueScoreChangedNotificationMessageDescriptor = $convert.base64Decode('CjhWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uTWVzc2FnZRJGCh52aXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmUYASABKARSHnZpcnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZQ=='); +@$core.Deprecated('Use notifyVirtualDaaScoreChangedRequestMessageDescriptor instead') const NotifyVirtualDaaScoreChangedRequestMessage$json = const { '1': 'NotifyVirtualDaaScoreChangedRequestMessage', }; /// Descriptor for `NotifyVirtualDaaScoreChangedRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyVirtualDaaScoreChangedRequestMessageDescriptor = - $convert.base64Decode( - 'CipOb3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2U='); -@$core.Deprecated( - 'Use notifyVirtualDaaScoreChangedResponseMessageDescriptor instead') +final $typed_data.Uint8List notifyVirtualDaaScoreChangedRequestMessageDescriptor = $convert.base64Decode('CipOb3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2U='); +@$core.Deprecated('Use notifyVirtualDaaScoreChangedResponseMessageDescriptor instead') const NotifyVirtualDaaScoreChangedResponseMessage$json = const { '1': 'NotifyVirtualDaaScoreChangedResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyVirtualDaaScoreChangedResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyVirtualDaaScoreChangedResponseMessageDescriptor = - $convert.base64Decode( - 'CitOb3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); -@$core.Deprecated( - 'Use virtualDaaScoreChangedNotificationMessageDescriptor instead') +final $typed_data.Uint8List notifyVirtualDaaScoreChangedResponseMessageDescriptor = $convert.base64Decode('CitOb3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +@$core.Deprecated('Use virtualDaaScoreChangedNotificationMessageDescriptor instead') const VirtualDaaScoreChangedNotificationMessage$json = const { '1': 'VirtualDaaScoreChangedNotificationMessage', '2': const [ - const { - '1': 'virtualDaaScore', - '3': 1, - '4': 1, - '5': 4, - '10': 'virtualDaaScore' - }, + const {'1': 'virtualDaaScore', '3': 1, '4': 1, '5': 4, '10': 'virtualDaaScore'}, ], }; /// Descriptor for `VirtualDaaScoreChangedNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - virtualDaaScoreChangedNotificationMessageDescriptor = $convert.base64Decode( - 'CilWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uTWVzc2FnZRIoCg92aXJ0dWFsRGFhU2NvcmUYASABKARSD3ZpcnR1YWxEYWFTY29yZQ=='); -@$core.Deprecated( - 'Use notifyPruningPointUTXOSetOverrideRequestMessageDescriptor instead') +final $typed_data.Uint8List virtualDaaScoreChangedNotificationMessageDescriptor = $convert.base64Decode('CilWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uTWVzc2FnZRIoCg92aXJ0dWFsRGFhU2NvcmUYASABKARSD3ZpcnR1YWxEYWFTY29yZQ=='); +@$core.Deprecated('Use notifyPruningPointUTXOSetOverrideRequestMessageDescriptor instead') const NotifyPruningPointUTXOSetOverrideRequestMessage$json = const { '1': 'NotifyPruningPointUTXOSetOverrideRequestMessage', }; /// Descriptor for `NotifyPruningPointUTXOSetOverrideRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyPruningPointUTXOSetOverrideRequestMessageDescriptor = - $convert.base64Decode( - 'Ci9Ob3RpZnlQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXF1ZXN0TWVzc2FnZQ=='); -@$core.Deprecated( - 'Use notifyPruningPointUTXOSetOverrideResponseMessageDescriptor instead') +final $typed_data.Uint8List notifyPruningPointUTXOSetOverrideRequestMessageDescriptor = $convert.base64Decode('Ci9Ob3RpZnlQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXF1ZXN0TWVzc2FnZQ=='); +@$core.Deprecated('Use notifyPruningPointUTXOSetOverrideResponseMessageDescriptor instead') const NotifyPruningPointUTXOSetOverrideResponseMessage$json = const { '1': 'NotifyPruningPointUTXOSetOverrideResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyPruningPointUTXOSetOverrideResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - notifyPruningPointUTXOSetOverrideResponseMessageDescriptor = - $convert.base64Decode( - 'CjBOb3RpZnlQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); -@$core.Deprecated( - 'Use pruningPointUTXOSetOverrideNotificationMessageDescriptor instead') +final $typed_data.Uint8List notifyPruningPointUTXOSetOverrideResponseMessageDescriptor = $convert.base64Decode('CjBOb3RpZnlQcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +@$core.Deprecated('Use pruningPointUTXOSetOverrideNotificationMessageDescriptor instead') const PruningPointUTXOSetOverrideNotificationMessage$json = const { '1': 'PruningPointUTXOSetOverrideNotificationMessage', }; /// Descriptor for `PruningPointUTXOSetOverrideNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - pruningPointUTXOSetOverrideNotificationMessageDescriptor = - $convert.base64Decode( - 'Ci5QcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVOb3RpZmljYXRpb25NZXNzYWdl'); -@$core.Deprecated( - 'Use stopNotifyingPruningPointUTXOSetOverrideRequestMessageDescriptor instead') +final $typed_data.Uint8List pruningPointUTXOSetOverrideNotificationMessageDescriptor = $convert.base64Decode('Ci5QcnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVOb3RpZmljYXRpb25NZXNzYWdl'); +@$core.Deprecated('Use stopNotifyingPruningPointUTXOSetOverrideRequestMessageDescriptor instead') const StopNotifyingPruningPointUTXOSetOverrideRequestMessage$json = const { '1': 'StopNotifyingPruningPointUTXOSetOverrideRequestMessage', }; /// Descriptor for `StopNotifyingPruningPointUTXOSetOverrideRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - stopNotifyingPruningPointUTXOSetOverrideRequestMessageDescriptor = - $convert.base64Decode( - 'CjZTdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVxdWVzdE1lc3NhZ2U='); -@$core.Deprecated( - 'Use stopNotifyingPruningPointUTXOSetOverrideResponseMessageDescriptor instead') +final $typed_data.Uint8List stopNotifyingPruningPointUTXOSetOverrideRequestMessageDescriptor = $convert.base64Decode('CjZTdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVxdWVzdE1lc3NhZ2U='); +@$core.Deprecated('Use stopNotifyingPruningPointUTXOSetOverrideResponseMessageDescriptor instead') const StopNotifyingPruningPointUTXOSetOverrideResponseMessage$json = const { '1': 'StopNotifyingPruningPointUTXOSetOverrideResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `StopNotifyingPruningPointUTXOSetOverrideResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - stopNotifyingPruningPointUTXOSetOverrideResponseMessageDescriptor = - $convert.base64Decode( - 'CjdTdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List stopNotifyingPruningPointUTXOSetOverrideResponseMessageDescriptor = $convert.base64Decode('CjdTdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use banRequestMessageDescriptor instead') const BanRequestMessage$json = const { '1': 'BanRequestMessage', @@ -1921,26 +1010,17 @@ const BanRequestMessage$json = const { }; /// Descriptor for `BanRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List banRequestMessageDescriptor = - $convert.base64Decode('ChFCYW5SZXF1ZXN0TWVzc2FnZRIOCgJpcBgBIAEoCVICaXA='); +final $typed_data.Uint8List banRequestMessageDescriptor = $convert.base64Decode('ChFCYW5SZXF1ZXN0TWVzc2FnZRIOCgJpcBgBIAEoCVICaXA='); @$core.Deprecated('Use banResponseMessageDescriptor instead') const BanResponseMessage$json = const { '1': 'BanResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `BanResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List banResponseMessageDescriptor = $convert.base64Decode( - 'ChJCYW5SZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); +final $typed_data.Uint8List banResponseMessageDescriptor = $convert.base64Decode('ChJCYW5SZXNwb25zZU1lc3NhZ2USKgoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yUgVlcnJvcg=='); @$core.Deprecated('Use unbanRequestMessageDescriptor instead') const UnbanRequestMessage$json = const { '1': 'UnbanRequestMessage', @@ -1950,34 +1030,24 @@ const UnbanRequestMessage$json = const { }; /// Descriptor for `UnbanRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unbanRequestMessageDescriptor = $convert - .base64Decode('ChNVbmJhblJlcXVlc3RNZXNzYWdlEg4KAmlwGAEgASgJUgJpcA=='); +final $typed_data.Uint8List unbanRequestMessageDescriptor = $convert.base64Decode('ChNVbmJhblJlcXVlc3RNZXNzYWdlEg4KAmlwGAEgASgJUgJpcA=='); @$core.Deprecated('Use unbanResponseMessageDescriptor instead') const UnbanResponseMessage$json = const { '1': 'UnbanResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `UnbanResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unbanResponseMessageDescriptor = $convert.base64Decode( - 'ChRVbmJhblJlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List unbanResponseMessageDescriptor = $convert.base64Decode('ChRVbmJhblJlc3BvbnNlTWVzc2FnZRIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use getInfoRequestMessageDescriptor instead') const GetInfoRequestMessage$json = const { '1': 'GetInfoRequestMessage', }; /// Descriptor for `GetInfoRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInfoRequestMessageDescriptor = - $convert.base64Decode('ChVHZXRJbmZvUmVxdWVzdE1lc3NhZ2U='); +final $typed_data.Uint8List getInfoRequestMessageDescriptor = $convert.base64Decode('ChVHZXRJbmZvUmVxdWVzdE1lc3NhZ2U='); @$core.Deprecated('Use getInfoResponseMessageDescriptor instead') const GetInfoResponseMessage$json = const { '1': 'GetInfoResponseMessage', @@ -1987,23 +1057,13 @@ const GetInfoResponseMessage$json = const { const {'1': 'serverVersion', '3': 3, '4': 1, '5': 9, '10': 'serverVersion'}, const {'1': 'isUtxoIndexed', '3': 4, '4': 1, '5': 8, '10': 'isUtxoIndexed'}, const {'1': 'isSynced', '3': 5, '4': 1, '5': 8, '10': 'isSynced'}, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetInfoResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInfoResponseMessageDescriptor = - $convert.base64Decode( - 'ChZHZXRJbmZvUmVzcG9uc2VNZXNzYWdlEhQKBXAycElkGAEgASgJUgVwMnBJZBIgCgttZW1wb29sU2l6ZRgCIAEoBFILbWVtcG9vbFNpemUSJAoNc2VydmVyVmVyc2lvbhgDIAEoCVINc2VydmVyVmVyc2lvbhIkCg1pc1V0eG9JbmRleGVkGAQgASgIUg1pc1V0eG9JbmRleGVkEhoKCGlzU3luY2VkGAUgASgIUghpc1N5bmNlZBIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); -@$core.Deprecated( - 'Use estimateNetworkHashesPerSecondRequestMessageDescriptor instead') +final $typed_data.Uint8List getInfoResponseMessageDescriptor = $convert.base64Decode('ChZHZXRJbmZvUmVzcG9uc2VNZXNzYWdlEhQKBXAycElkGAEgASgJUgVwMnBJZBIgCgttZW1wb29sU2l6ZRgCIAEoBFILbWVtcG9vbFNpemUSJAoNc2VydmVyVmVyc2lvbhgDIAEoCVINc2VydmVyVmVyc2lvbhIkCg1pc1V0eG9JbmRleGVkGAQgASgIUg1pc1V0eG9JbmRleGVkEhoKCGlzU3luY2VkGAUgASgIUghpc1N5bmNlZBIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +@$core.Deprecated('Use estimateNetworkHashesPerSecondRequestMessageDescriptor instead') const EstimateNetworkHashesPerSecondRequestMessage$json = const { '1': 'EstimateNetworkHashesPerSecondRequestMessage', '2': const [ @@ -2013,191 +1073,93 @@ const EstimateNetworkHashesPerSecondRequestMessage$json = const { }; /// Descriptor for `EstimateNetworkHashesPerSecondRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - estimateNetworkHashesPerSecondRequestMessageDescriptor = - $convert.base64Decode( - 'CixFc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXF1ZXN0TWVzc2FnZRIeCgp3aW5kb3dTaXplGAEgASgNUgp3aW5kb3dTaXplEhwKCXN0YXJ0SGFzaBgCIAEoCVIJc3RhcnRIYXNo'); -@$core.Deprecated( - 'Use estimateNetworkHashesPerSecondResponseMessageDescriptor instead') +final $typed_data.Uint8List estimateNetworkHashesPerSecondRequestMessageDescriptor = $convert.base64Decode('CixFc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXF1ZXN0TWVzc2FnZRIeCgp3aW5kb3dTaXplGAEgASgNUgp3aW5kb3dTaXplEhwKCXN0YXJ0SGFzaBgCIAEoCVIJc3RhcnRIYXNo'); +@$core.Deprecated('Use estimateNetworkHashesPerSecondResponseMessageDescriptor instead') const EstimateNetworkHashesPerSecondResponseMessage$json = const { '1': 'EstimateNetworkHashesPerSecondResponseMessage', '2': const [ - const { - '1': 'networkHashesPerSecond', - '3': 1, - '4': 1, - '5': 4, - '10': 'networkHashesPerSecond' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'networkHashesPerSecond', '3': 1, '4': 1, '5': 4, '10': 'networkHashesPerSecond'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `EstimateNetworkHashesPerSecondResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - estimateNetworkHashesPerSecondResponseMessageDescriptor = - $convert.base64Decode( - 'Ci1Fc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXNwb25zZU1lc3NhZ2USNgoWbmV0d29ya0hhc2hlc1BlclNlY29uZBgBIAEoBFIWbmV0d29ya0hhc2hlc1BlclNlY29uZBIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); +final $typed_data.Uint8List estimateNetworkHashesPerSecondResponseMessageDescriptor = $convert.base64Decode('Ci1Fc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXNwb25zZU1lc3NhZ2USNgoWbmV0d29ya0hhc2hlc1BlclNlY29uZBgBIAEoBFIWbmV0d29ya0hhc2hlc1BlclNlY29uZBIqCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3JSBWVycm9y'); @$core.Deprecated('Use notifyNewBlockTemplateRequestMessageDescriptor instead') const NotifyNewBlockTemplateRequestMessage$json = const { '1': 'NotifyNewBlockTemplateRequestMessage', }; /// Descriptor for `NotifyNewBlockTemplateRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyNewBlockTemplateRequestMessageDescriptor = - $convert - .base64Decode('CiROb3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2U='); +final $typed_data.Uint8List notifyNewBlockTemplateRequestMessageDescriptor = $convert.base64Decode('CiROb3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2U='); @$core.Deprecated('Use notifyNewBlockTemplateResponseMessageDescriptor instead') const NotifyNewBlockTemplateResponseMessage$json = const { '1': 'NotifyNewBlockTemplateResponseMessage', '2': const [ - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `NotifyNewBlockTemplateResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List notifyNewBlockTemplateResponseMessageDescriptor = - $convert.base64Decode( - 'CiVOb3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List notifyNewBlockTemplateResponseMessageDescriptor = $convert.base64Decode('CiVOb3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use newBlockTemplateNotificationMessageDescriptor instead') const NewBlockTemplateNotificationMessage$json = const { '1': 'NewBlockTemplateNotificationMessage', }; /// Descriptor for `NewBlockTemplateNotificationMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List newBlockTemplateNotificationMessageDescriptor = - $convert - .base64Decode('CiNOZXdCbG9ja1RlbXBsYXRlTm90aWZpY2F0aW9uTWVzc2FnZQ=='); +final $typed_data.Uint8List newBlockTemplateNotificationMessageDescriptor = $convert.base64Decode('CiNOZXdCbG9ja1RlbXBsYXRlTm90aWZpY2F0aW9uTWVzc2FnZQ=='); @$core.Deprecated('Use mempoolEntryByAddressDescriptor instead') const MempoolEntryByAddress$json = const { '1': 'MempoolEntryByAddress', '2': const [ const {'1': 'address', '3': 1, '4': 1, '5': 9, '10': 'address'}, - const { - '1': 'sending', - '3': 2, - '4': 3, - '5': 11, - '6': '.protowire.MempoolEntry', - '10': 'sending' - }, - const { - '1': 'receiving', - '3': 3, - '4': 3, - '5': 11, - '6': '.protowire.MempoolEntry', - '10': 'receiving' - }, + const {'1': 'sending', '3': 2, '4': 3, '5': 11, '6': '.protowire.MempoolEntry', '10': 'sending'}, + const {'1': 'receiving', '3': 3, '4': 3, '5': 11, '6': '.protowire.MempoolEntry', '10': 'receiving'}, ], }; /// Descriptor for `MempoolEntryByAddress`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mempoolEntryByAddressDescriptor = $convert.base64Decode( - 'ChVNZW1wb29sRW50cnlCeUFkZHJlc3MSGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcxIxCgdzZW5kaW5nGAIgAygLMhcucHJvdG93aXJlLk1lbXBvb2xFbnRyeVIHc2VuZGluZxI1CglyZWNlaXZpbmcYAyADKAsyFy5wcm90b3dpcmUuTWVtcG9vbEVudHJ5UglyZWNlaXZpbmc='); -@$core.Deprecated( - 'Use getMempoolEntriesByAddressesRequestMessageDescriptor instead') +final $typed_data.Uint8List mempoolEntryByAddressDescriptor = $convert.base64Decode('ChVNZW1wb29sRW50cnlCeUFkZHJlc3MSGAoHYWRkcmVzcxgBIAEoCVIHYWRkcmVzcxIxCgdzZW5kaW5nGAIgAygLMhcucHJvdG93aXJlLk1lbXBvb2xFbnRyeVIHc2VuZGluZxI1CglyZWNlaXZpbmcYAyADKAsyFy5wcm90b3dpcmUuTWVtcG9vbEVudHJ5UglyZWNlaXZpbmc='); +@$core.Deprecated('Use getMempoolEntriesByAddressesRequestMessageDescriptor instead') const GetMempoolEntriesByAddressesRequestMessage$json = const { '1': 'GetMempoolEntriesByAddressesRequestMessage', '2': const [ const {'1': 'addresses', '3': 1, '4': 3, '5': 9, '10': 'addresses'}, - const { - '1': 'includeOrphanPool', - '3': 2, - '4': 1, - '5': 8, - '10': 'includeOrphanPool' - }, - const { - '1': 'filterTransactionPool', - '3': 3, - '4': 1, - '5': 8, - '10': 'filterTransactionPool' - }, + const {'1': 'includeOrphanPool', '3': 2, '4': 1, '5': 8, '10': 'includeOrphanPool'}, + const {'1': 'filterTransactionPool', '3': 3, '4': 1, '5': 8, '10': 'filterTransactionPool'}, ], }; /// Descriptor for `GetMempoolEntriesByAddressesRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - getMempoolEntriesByAddressesRequestMessageDescriptor = - $convert.base64Decode( - 'CipHZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXMSLAoRaW5jbHVkZU9ycGhhblBvb2wYAiABKAhSEWluY2x1ZGVPcnBoYW5Qb29sEjQKFWZpbHRlclRyYW5zYWN0aW9uUG9vbBgDIAEoCFIVZmlsdGVyVHJhbnNhY3Rpb25Qb29s'); -@$core.Deprecated( - 'Use getMempoolEntriesByAddressesResponseMessageDescriptor instead') +final $typed_data.Uint8List getMempoolEntriesByAddressesRequestMessageDescriptor = $convert.base64Decode('CipHZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USHAoJYWRkcmVzc2VzGAEgAygJUglhZGRyZXNzZXMSLAoRaW5jbHVkZU9ycGhhblBvb2wYAiABKAhSEWluY2x1ZGVPcnBoYW5Qb29sEjQKFWZpbHRlclRyYW5zYWN0aW9uUG9vbBgDIAEoCFIVZmlsdGVyVHJhbnNhY3Rpb25Qb29s'); +@$core.Deprecated('Use getMempoolEntriesByAddressesResponseMessageDescriptor instead') const GetMempoolEntriesByAddressesResponseMessage$json = const { '1': 'GetMempoolEntriesByAddressesResponseMessage', '2': const [ - const { - '1': 'entries', - '3': 1, - '4': 3, - '5': 11, - '6': '.protowire.MempoolEntryByAddress', - '10': 'entries' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'entries', '3': 1, '4': 3, '5': 11, '6': '.protowire.MempoolEntryByAddress', '10': 'entries'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetMempoolEntriesByAddressesResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List - getMempoolEntriesByAddressesResponseMessageDescriptor = - $convert.base64Decode( - 'CitHZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjoKB2VudHJpZXMYASADKAsyIC5wcm90b3dpcmUuTWVtcG9vbEVudHJ5QnlBZGRyZXNzUgdlbnRyaWVzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getMempoolEntriesByAddressesResponseMessageDescriptor = $convert.base64Decode('CitHZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjoKB2VudHJpZXMYASADKAsyIC5wcm90b3dpcmUuTWVtcG9vbEVudHJ5QnlBZGRyZXNzUgdlbnRyaWVzEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); @$core.Deprecated('Use getCoinSupplyRequestMessageDescriptor instead') const GetCoinSupplyRequestMessage$json = const { '1': 'GetCoinSupplyRequestMessage', }; /// Descriptor for `GetCoinSupplyRequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCoinSupplyRequestMessageDescriptor = - $convert.base64Decode('ChtHZXRDb2luU3VwcGx5UmVxdWVzdE1lc3NhZ2U='); +final $typed_data.Uint8List getCoinSupplyRequestMessageDescriptor = $convert.base64Decode('ChtHZXRDb2luU3VwcGx5UmVxdWVzdE1lc3NhZ2U='); @$core.Deprecated('Use getCoinSupplyResponseMessageDescriptor instead') const GetCoinSupplyResponseMessage$json = const { '1': 'GetCoinSupplyResponseMessage', '2': const [ const {'1': 'maxSompi', '3': 1, '4': 1, '5': 4, '10': 'maxSompi'}, - const { - '1': 'circulatingSompi', - '3': 2, - '4': 1, - '5': 4, - '10': 'circulatingSompi' - }, - const { - '1': 'error', - '3': 1000, - '4': 1, - '5': 11, - '6': '.protowire.RPCError', - '10': 'error' - }, + const {'1': 'circulatingSompi', '3': 2, '4': 1, '5': 4, '10': 'circulatingSompi'}, + const {'1': 'error', '3': 1000, '4': 1, '5': 11, '6': '.protowire.RPCError', '10': 'error'}, ], }; /// Descriptor for `GetCoinSupplyResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCoinSupplyResponseMessageDescriptor = - $convert.base64Decode( - 'ChxHZXRDb2luU3VwcGx5UmVzcG9uc2VNZXNzYWdlEhoKCG1heFNvbXBpGAEgASgEUghtYXhTb21waRIqChBjaXJjdWxhdGluZ1NvbXBpGAIgASgEUhBjaXJjdWxhdGluZ1NvbXBpEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); +final $typed_data.Uint8List getCoinSupplyResponseMessageDescriptor = $convert.base64Decode('ChxHZXRDb2luU3VwcGx5UmVzcG9uc2VNZXNzYWdlEhoKCG1heFNvbXBpGAEgASgEUghtYXhTb21waRIqChBjaXJjdWxhdGluZ1NvbXBpGAIgASgEUhBjaXJjdWxhdGluZ1NvbXBpEioKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvclIFZXJyb3I='); diff --git a/lib/spectre/spectre.dart b/lib/spectre/spectre.dart index 6c3187a..02002e6 100644 --- a/lib/spectre/spectre.dart +++ b/lib/spectre/spectre.dart @@ -1,11 +1,7 @@ -export 'address_generator.dart'; -export 'client/spectre_client.dart'; -export 'spectre_api/spectre_api.dart'; -export 'spectre_api/spectre_api_service.dart'; +export 'spectre_api.dart'; +export 'spectre_client.dart'; export 'network.dart'; -export 'signer_base.dart'; -export 'transaction/types.dart'; +export 'transaction.dart'; export 'types.dart'; export 'utils.dart'; -export 'wallet.dart'; export 'wallet_service.dart'; diff --git a/lib/spectre/spectre_api.dart b/lib/spectre/spectre_api.dart new file mode 100644 index 0000000..2417519 --- /dev/null +++ b/lib/spectre/spectre_api.dart @@ -0,0 +1 @@ +export 'spectre_api/spectre_api.dart'; diff --git a/lib/spectre/spectre_api/spectre_api.dart b/lib/spectre/spectre_api/spectre_api.dart index e138e05..78e0cbd 100644 --- a/lib/spectre/spectre_api/spectre_api.dart +++ b/lib/spectre/spectre_api/spectre_api.dart @@ -1,3 +1,5 @@ -export 'spectre_api_mainnet.dart'; -export 'spectre_api_empty.dart'; export 'spectre_api_base.dart'; +export 'spectre_api_empty.dart'; +export 'spectre_api_mainnet.dart'; +export 'spectre_api_service.dart'; +export 'types.dart'; diff --git a/lib/spectre/spectre_api/spectre_api_base.dart b/lib/spectre/spectre_api/spectre_api_base.dart index 5f7de8c..f6ea8ca 100644 --- a/lib/spectre/spectre_api/spectre_api_base.dart +++ b/lib/spectre/spectre_api/spectre_api_base.dart @@ -2,12 +2,6 @@ import 'types.dart'; export 'spectre_api_mainnet.dart'; -enum ResolvePreviousOutpoints { - no, - light, - full, -} - abstract class SpectreApi { Future getBalance({ required String address, diff --git a/lib/spectre/spectre_api/spectre_api_mainnet.dart b/lib/spectre/spectre_api/spectre_api_mainnet.dart index 3f7077b..0eeb3ad 100644 --- a/lib/spectre/spectre_api/spectre_api_mainnet.dart +++ b/lib/spectre/spectre_api/spectre_api_mainnet.dart @@ -1,6 +1,6 @@ import 'dart:convert'; import 'package:http/http.dart' as http; -import 'spectre_api.dart'; +import 'spectre_api_base.dart'; import 'types.dart'; class SpectreApiMainnet implements SpectreApi { diff --git a/lib/spectre/spectre_api/types.dart b/lib/spectre/spectre_api/types.dart index b3e05c4..6532159 100644 --- a/lib/spectre/spectre_api/types.dart +++ b/lib/spectre/spectre_api/types.dart @@ -6,6 +6,12 @@ import '../grpc/rpc.pb.dart'; part 'types.freezed.dart'; part 'types.g.dart'; +enum ResolvePreviousOutpoints { + no, + light, + full, +} + @freezed class ApiAddressBalance with _$ApiAddressBalance { const factory ApiAddressBalance({ diff --git a/lib/spectre/spectre_client.dart b/lib/spectre/spectre_client.dart new file mode 100644 index 0000000..9c07174 --- /dev/null +++ b/lib/spectre/spectre_client.dart @@ -0,0 +1 @@ +export 'client/spectre_client.dart'; diff --git a/lib/spectre/transaction.dart b/lib/spectre/transaction.dart new file mode 100644 index 0000000..c57a3a0 --- /dev/null +++ b/lib/spectre/transaction.dart @@ -0,0 +1,3 @@ +export 'transaction/transaction_builder.dart'; +export 'transaction/transaction_util.dart'; +export 'transaction/types.dart'; diff --git a/lib/spectre/transaction/transaction_builder.dart b/lib/spectre/transaction/transaction_builder.dart index eff4dfb..892adfb 100644 --- a/lib/spectre/transaction/transaction_builder.dart +++ b/lib/spectre/transaction/transaction_builder.dart @@ -9,44 +9,45 @@ import 'types.dart'; class TransactionBuilder { final List utxos; + final BigInt feePerInput; + + Address? _changeAddress; + Address? get changeAddress => _changeAddress; + BigInt? _fee; + BigInt? get fee => _fee; TransactionBuilder({ required this.utxos, - }); - - List selectUtxos({ - required BigInt spendAmount, - required BigInt feePerInput, - }) { - final selectedUtxos = _selectUtxos( - spendAmount: spendAmount, - feePerInput: feePerInput, - ); - - return selectedUtxos; - } + BigInt? feePerInput, + }) : feePerInput = feePerInput ?? kFeePerInput; Transaction createUnsignedTransaction({ required Address toAddress, required Amount amount, required Address changeAddress, }) { - final selectedUtxos = _selectUtxos( - spendAmount: amount.raw, - feePerInput: kFeePerInput, - ); + final selectedUtxos = _selectUtxos(spendAmount: amount.raw); - final changeAmount = _getChangeRaw( + final changeAmount = _getChangeAmountRaw( selectedUtxos: selectedUtxos, spendAmount: amount.raw, - feePerInput: kFeePerInput, ); + final hasChange = changeAmount >= kMinChangeTarget; + final payments = { toAddress: amount.raw.toInt64(), - if (changeAmount > kFeePerInput) changeAddress: changeAmount.toInt64(), + if (hasChange) changeAddress: changeAmount.toInt64(), }; + if (hasChange) { + _changeAddress = changeAddress; + _fee = feePerInput * BigInt.from(selectedUtxos.length); + } else { + _changeAddress = null; + _fee = feePerInput * BigInt.from(selectedUtxos.length) + changeAmount; + } + final unsignedTransaction = _createUnsignedTransaction( utxos: selectedUtxos, payments: payments, @@ -95,7 +96,6 @@ class TransactionBuilder { List _selectUtxos({ required BigInt spendAmount, - required BigInt feePerInput, }) { final selectedUtxos = []; var totalValue = BigInt.zero; @@ -106,7 +106,9 @@ class TransactionBuilder { final fee = feePerInput * BigInt.from(selectedUtxos.length); final totalSpend = spendAmount + fee; - if (totalValue >= totalSpend) { + if (totalValue == totalSpend || + (totalValue >= totalSpend + kMinChangeTarget && + selectedUtxos.length > 1)) { break; } } @@ -121,10 +123,9 @@ class TransactionBuilder { return selectedUtxos; } - BigInt _getChangeRaw({ + BigInt _getChangeAmountRaw({ required List selectedUtxos, required BigInt spendAmount, - required BigInt feePerInput, }) { var totalValue = BigInt.zero; diff --git a/lib/spectre/transaction/transaction_util.dart b/lib/spectre/transaction/transaction_util.dart index 16ef3ac..d934c61 100644 --- a/lib/spectre/transaction/transaction_util.dart +++ b/lib/spectre/transaction/transaction_util.dart @@ -4,9 +4,9 @@ import 'dart:typed_data'; import 'package:fixnum/fixnum.dart'; import 'package:pointycastle/digests/blake2b.dart'; -import '../../utils.dart'; import '../bip340/bip340.dart' as schnorr; -import '../spectre.dart'; +import '../utils.dart'; +import 'types.dart'; const kTransactionHashDomain = 'TransactionHash'; const kTransactionIdDomain = 'TransactionID'; @@ -252,7 +252,7 @@ Uint8List _genAux([int bytes = 32]) { final random = Random.secure(); final aux = Uint8List(bytes); for (int i = 0; i < bytes; ++i) { - aux[i] = random.nextInt(0xFF); + aux[i] = random.nextInt(0x100); } return aux; } diff --git a/lib/spectre/txmass_calculator.dart b/lib/spectre/transaction/txmass_calculator.dart similarity index 99% rename from lib/spectre/txmass_calculator.dart rename to lib/spectre/transaction/txmass_calculator.dart index a042bbe..7978f32 100644 --- a/lib/spectre/txmass_calculator.dart +++ b/lib/spectre/transaction/txmass_calculator.dart @@ -1,5 +1,5 @@ import '../utils.dart'; -import 'spectre.dart'; +import 'types.dart'; bool isCoinBase({required Transaction tx}) => tx.subnetworkId.hex == kSubnetworkIdCoinbaseHex; diff --git a/lib/spectre/transaction/types.dart b/lib/spectre/transaction/types.dart index 2ffca56..01bb05f 100644 --- a/lib/spectre/transaction/types.dart +++ b/lib/spectre/transaction/types.dart @@ -3,13 +3,14 @@ import 'dart:typed_data'; import 'package:fixnum/fixnum.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; -import '../../utils.dart'; import '../grpc/rpc.pb.dart'; -import '../spectre.dart'; +import '../types/address.dart'; +import '../utils.dart'; part 'types.freezed.dart'; part 'types.g.dart'; +final kMinChangeTarget = BigInt.from(20000000); final kFeePerInput = BigInt.from(10000); const kMaxInputsPerTransaction = 84; final kMaximumStandardTransactionMass = BigInt.from(100000); @@ -222,6 +223,7 @@ class TxOutput with _$TxOutput { @freezed class Transaction with _$Transaction { + const Transaction._(); const factory Transaction({ /*uint16*/ required int version, required List inputs, @@ -234,6 +236,16 @@ class Transaction with _$Transaction { /*uint64*/ Int64? mass, Uint8List? id, }) = _Transaction; + + RpcTransaction toRpc() => RpcTransaction( + version: version, + inputs: inputs.map((input) => input.toRpc()), + outputs: outputs.map((output) => output.toRpc()), + lockTime: lockTime, + subnetworkId: subnetworkId.hex, + gas: gas, + payload: payload?.hex, + ); } @unfreezed diff --git a/lib/spectre/types.dart b/lib/spectre/types.dart index a561d3e..5d5fac8 100644 --- a/lib/spectre/types.dart +++ b/lib/spectre/types.dart @@ -1,4 +1,3 @@ -export 'spectre_api/types.dart'; export 'types/address.dart'; export 'types/address_balance.dart'; export 'types/address_prefix.dart'; diff --git a/lib/spectre/types/address.dart b/lib/spectre/types/address.dart index 18c87bb..1f5a24e 100644 --- a/lib/spectre/types/address.dart +++ b/lib/spectre/types/address.dart @@ -3,7 +3,8 @@ import 'dart:typed_data'; import 'package:freezed_annotation/freezed_annotation.dart'; import '../bech32/bech32.dart' as bech32; -import '../spectre.dart'; +import '../utils.dart'; +import 'address_prefix.dart'; part 'address.freezed.dart'; diff --git a/lib/spectre/types/amount.dart b/lib/spectre/types/amount.dart index 58a4a62..1652e5f 100644 --- a/lib/spectre/types/amount.dart +++ b/lib/spectre/types/amount.dart @@ -4,7 +4,7 @@ import 'package:decimal/decimal.dart'; import 'package:fixnum/fixnum.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; -import '../spectre.dart'; +import 'token_info.dart'; part 'amount.freezed.dart'; part 'amount.g.dart'; diff --git a/lib/spectre/utils.dart b/lib/spectre/utils.dart index 15ea06c..07c5423 100644 --- a/lib/spectre/utils.dart +++ b/lib/spectre/utils.dart @@ -1,10 +1,20 @@ +import 'dart:convert'; import 'dart:typed_data'; import 'package:fixnum/fixnum.dart'; +import 'package:hex/hex.dart'; +import 'package:pointycastle/digests/blake2b.dart'; +// ignore: implementation_imports +import 'package:pointycastle/src/utils.dart' as p_utils; -import '../utils.dart'; +import 'bip39/bip39.dart' as bip39; const spectreDecimals = 8; +const _seedLength = 128; + +bool isValidSeed(String seed) { + return isHex(seed) && seed.length == _seedLength; +} extension ToBigInt on Int64 { BigInt toUnsignedBigInt() => BigInt.parse(toStringUnsigned()); @@ -25,3 +35,87 @@ extension AsUint8List on List { return (self is Uint8List) ? self : Uint8List.fromList(this); } } + +extension Uint8ListUtils on Uint8List { + String get hex => bytesToHex(this); + String get toBase64 => bytesToBase64(this); + Uint8List get complement => Uint8List.fromList(map((e) => ~e).toList()); +} + +Uint8List leftPadBytes(Uint8List bytes, int size) { + if (bytes.lengthInBytes >= size) { + return bytes; + } + + final result = Uint8List(size); + result.setAll(size - bytes.lengthInBytes, bytes); + return result; +} + +Uint8List rightPadBytes(Uint8List bytes, int size) { + if (bytes.lengthInBytes >= size) { + return bytes; + } + + final result = Uint8List(size); + result.setAll(0, bytes); + return result; +} + +String bytesToHex(Uint8List bytes) => HEX.encode(bytes); + +Uint8List hexToBytes(String hex) => Uint8List.fromList(HEX.decode(hex)); + +String bytesToBase64(Uint8List bytes) => base64.encode(bytes); + +Uint8List base64ToBytes(String data) => base64.decode(data); + +Uint8List stringToBytesUtf8(String str) => utf8.encode(str); + +String bytesUtf8ToString(Uint8List bytes) => utf8.decode(bytes); + +BigInt bytesToBigInt(Uint8List bytes) => p_utils.decodeBigInt(bytes); + +BigInt bytesToBigIntUnsigned(Uint8List bytes) => + p_utils.decodeBigIntWithSign(1, bytes); + +Uint8List bigIntToBytes(BigInt bigInt) => p_utils.encodeBigInt(bigInt); +Uint8List bigIntToBytesUnsigned(BigInt bigInt) => + p_utils.encodeBigIntAsUnsigned(bigInt); + +RegExp _hexRegExp = RegExp(r'^[0-9a-fA-F]+$'); + +bool isHex(String hex) => _hexRegExp.hasMatch(hex); + +Uint8List digest({required Uint8List data, int digestSize = 32}) { + final blake2b = Blake2bDigest(digestSize: digestSize); + final output = blake2b.process(data); + + return output; +} + +String hash(String data) => digest(data: stringToBytesUtf8(data)).hex; + +// mnemonic helpers + +String generateMnemonic({int strength = 256}) => + bip39.generateMnemonic(strength: strength); + +const kMnemonicWordList = bip39.WORDLIST; + +final _kMnemonicWords = kMnemonicWordList.toSet(); + +bool isValidMnemonicWord(String word) { + return _kMnemonicWords.contains(word); +} + +// Generic bip39 validation +bool isValidMnemonic(String mnemonic, {bool verifyChecksum = true}) { + final words = mnemonic.split(' '); + return (words.length >= 12 && words.length <= 24 && words.length % 3 == 0) && + words.every((word) => isValidMnemonicWord(word)) && + (verifyChecksum ? bip39.validateMnemonic(mnemonic) : true); +} + +String mnemonicToSeedHex(String mnemonic, {String passphrase = ''}) => + bip39.mnemonicToSeed(mnemonic, passphrase: passphrase).hex; diff --git a/lib/spectre/wallet_service.dart b/lib/spectre/wallet_service.dart index f07f145..828d04a 100644 --- a/lib/spectre/wallet_service.dart +++ b/lib/spectre/wallet_service.dart @@ -1,150 +1,5 @@ -import 'dart:async'; - -import '../transactions/send_tx.dart'; -import '../utils.dart'; -import 'grpc/rpc.pb.dart'; -import 'spectre.dart'; -import 'transaction/transaction_builder.dart'; -import 'transaction/transaction_util.dart'; - -class SendResult { - final String txId; - final Transaction tx; - final bool changeAddressUsed; - - const SendResult({ - required this.txId, - required this.tx, - required this.changeAddressUsed, - }); -} - -class WalletService { - final SignerBase signer; - final SpectreClient client; - - const WalletService({ - required this.signer, - required this.client, - }); - - SendTx createSendTx({ - required Address toAddress, - required BigInt amountRaw, - required List spendableUtxos, - required BigInt feePerInput, - String? note, - }) { - final txBuilder = TransactionBuilder(utxos: spendableUtxos); - final selectedUtxos = txBuilder.selectUtxos( - spendAmount: amountRaw, - feePerInput: feePerInput, - ); - final fee = BigInt.from(selectedUtxos.length) * feePerInput; - - return SendTx( - uri: SpectreUri( - address: toAddress, - amount: Amount.raw(amountRaw), - ), - amountRaw: amountRaw, - utxos: selectedUtxos, - fee: fee, - note: note, - ); - } - - SendTx createCompoundTx({ - required Address compoundAddress, - required List spendableUtxos, - required BigInt feePerInput, - }) { - final selectedUtxos = - spendableUtxos.take(kMaxInputsPerTransaction).toList(); - final fee = BigInt.from(selectedUtxos.length) * feePerInput; - final selectedTotal = selectedUtxos.fold( - BigInt.zero, - (sum, utxo) => sum + utxo.utxoEntry.amount, - ); - final amountRaw = selectedTotal - fee; - - return SendTx( - uri: SpectreUri( - address: compoundAddress, - amount: Amount.raw(amountRaw), - ), - amountRaw: amountRaw, - utxos: selectedUtxos, - fee: fee, - ); - } - - Future sendTransaction( - SendTx rawTx, { - required Address changeAddress, - }) async { - final builder = TransactionBuilder(utxos: rawTx.utxos); - final tx = builder.createUnsignedTransaction( - toAddress: rawTx.toAddress, - amount: rawTx.amount, - changeAddress: changeAddress, - ); - - await _signTransaction(tx); - - final rpcTx = RpcTransaction( - version: tx.version, - inputs: tx.inputs.map( - (input) => RpcTransactionInput( - previousOutpoint: input.previousOutpoint.toRpc(), - signatureScript: bytesToHex(input.signatureScript), - sequence: input.sequence, - sigOpCount: input.sigOpCount, - ), - ), - outputs: tx.outputs.map( - (output) => RpcTransactionOutput( - amount: output.value, - scriptPublicKey: output.scriptPublicKey.toRpc(), - ), - ), - lockTime: tx.lockTime, - subnetworkId: tx.subnetworkId.hex, - gas: tx.gas, - payload: tx.payload?.hex, - ); - - final txId = await client.submitTransaction(rpcTx); - - final changeAddressUsed = rpcTx.outputs.length > 1; - - return SendResult( - txId: txId, - tx: tx, - changeAddressUsed: changeAddressUsed, - ); - } - - Future _signTransaction(Transaction tx) async { - final hashType = SigHashType.sigHashAll; - final reusedValues = SighashReusedValues(); - - // Sign all inputs - for (int index = 0; index < tx.inputs.length; ++index) { - final input = tx.inputs[index]; - - final hash = calculateSignatureHashSchnorr( - tx: tx, - inputIndex: index, - hashType: hashType, - sighashReusedValues: reusedValues, - ); - - final signature = await signer.sign(hash, input.address); - - final signatureScript = - [signature.length + 1] + signature + [hashType.raw]; - input.signatureScript.setAll(0, signatureScript); - } - } -} +export 'wallet_service/address_generator.dart'; +export 'wallet_service/send_tx.dart'; +export 'wallet_service/signer_base.dart'; +export 'wallet_service/wallet.dart'; +export 'wallet_service/wallet_service.dart'; diff --git a/lib/spectre/address_generator.dart b/lib/spectre/wallet_service/address_generator.dart similarity index 98% rename from lib/spectre/address_generator.dart rename to lib/spectre/wallet_service/address_generator.dart index 8820b60..4966f6e 100644 --- a/lib/spectre/address_generator.dart +++ b/lib/spectre/wallet_service/address_generator.dart @@ -1,6 +1,7 @@ import 'dart:typed_data'; -import 'spectre.dart'; +import '../types.dart'; +import 'wallet.dart'; typedef LegacyPubKeyCallback = Future Function({ required int typeIndex, diff --git a/lib/transactions/send_tx.dart b/lib/spectre/wallet_service/send_tx.dart similarity index 82% rename from lib/transactions/send_tx.dart rename to lib/spectre/wallet_service/send_tx.dart index 4edc8d6..9c61be0 100644 --- a/lib/transactions/send_tx.dart +++ b/lib/spectre/wallet_service/send_tx.dart @@ -1,6 +1,7 @@ import 'package:freezed_annotation/freezed_annotation.dart'; -import '../spectre/spectre.dart'; +import '../transaction.dart'; +import '../types.dart'; part 'send_tx.freezed.dart'; @@ -10,9 +11,9 @@ class SendTx with _$SendTx { factory SendTx({ required SpectreUri uri, - Address? changeAddress, required BigInt amountRaw, - @Default([]) List utxos, + required Transaction tx, + Address? changeAddress, BigInt? fee, String? note, }) = _SendTx; diff --git a/lib/spectre/signer_base.dart b/lib/spectre/wallet_service/signer_base.dart similarity index 84% rename from lib/spectre/signer_base.dart rename to lib/spectre/wallet_service/signer_base.dart index 7179bf6..8bfdafc 100644 --- a/lib/spectre/signer_base.dart +++ b/lib/spectre/wallet_service/signer_base.dart @@ -1,6 +1,6 @@ import 'dart:typed_data'; -import 'types.dart'; +import '../types/address.dart'; abstract class SignerBase { Future canSignForAddress(Address address); diff --git a/lib/spectre/wallet.dart b/lib/spectre/wallet_service/wallet.dart similarity index 98% rename from lib/spectre/wallet.dart rename to lib/spectre/wallet_service/wallet.dart index 003e40f..487fc56 100644 --- a/lib/spectre/wallet.dart +++ b/lib/spectre/wallet_service/wallet.dart @@ -1,9 +1,9 @@ import 'dart:typed_data'; +import '../bip32/bip32.dart'; +import '../network.dart'; +import '../types/address_prefix.dart'; import '../utils.dart'; -import 'bip32/bip32.dart'; -import 'network.dart'; -import 'types/address_prefix.dart'; const kSeedSize = 64; diff --git a/lib/spectre/wallet_service/wallet_service.dart b/lib/spectre/wallet_service/wallet_service.dart new file mode 100644 index 0000000..fc84778 --- /dev/null +++ b/lib/spectre/wallet_service/wallet_service.dart @@ -0,0 +1,104 @@ +import 'dart:async'; + +import '../spectre_client.dart'; +import '../transaction.dart'; +import '../types.dart'; +import 'send_tx.dart'; +import 'signer_base.dart'; + +class WalletService { + final SignerBase signer; + final SpectreClient client; + + const WalletService({ + required this.signer, + required this.client, + }); + + SendTx createSendTx({ + required Address toAddress, + required BigInt amountRaw, + required List spendableUtxos, + required BigInt feePerInput, + required Address changeAddress, + String? note, + }) { + final txBuilder = TransactionBuilder( + utxos: spendableUtxos, + feePerInput: feePerInput, + ); + final tx = txBuilder.createUnsignedTransaction( + toAddress: toAddress, + amount: Amount.raw(amountRaw), + changeAddress: changeAddress, + ); + + return SendTx( + uri: SpectreUri( + address: toAddress, + amount: Amount.raw(amountRaw), + ), + amountRaw: amountRaw, + tx: tx, + changeAddress: txBuilder.changeAddress, + fee: txBuilder.fee, + note: note, + ); + } + + SendTx createCompoundTx({ + required Address compoundAddress, + required List spendableUtxos, + required BigInt feePerInput, + }) { + final selectedUtxos = + spendableUtxos.take(kMaxInputsPerTransaction).toList(); + final fee = BigInt.from(selectedUtxos.length) * feePerInput; + final selectedTotal = selectedUtxos.fold( + BigInt.zero, + (sum, utxo) => sum + utxo.utxoEntry.amount, + ); + final amountRaw = selectedTotal - fee; + + return createSendTx( + toAddress: compoundAddress, + amountRaw: amountRaw, + spendableUtxos: selectedUtxos, + feePerInput: feePerInput, + changeAddress: compoundAddress, + ); + } + + Future sendTransaction(SendTx rawTx) async { + final tx = rawTx.tx; + + await _signTransaction(tx); + + final txId = await client.submitTransaction(tx.toRpc()); + + return txId; + } + + Future _signTransaction(Transaction tx) async { + final hashType = SigHashType.sigHashAll; + final reusedValues = SighashReusedValues(); + + // Sign all inputs + for (int index = 0; index < tx.inputs.length; ++index) { + final input = tx.inputs[index]; + + final hash = calculateSignatureHashSchnorr( + tx: tx, + inputIndex: index, + hashType: hashType, + sighashReusedValues: reusedValues, + ); + + final signature = await signer.sign(hash, input.address); + + final signatureScript = + [signature.length + 1] + signature + [hashType.raw]; + input.signatureScript.setAll(0, signatureScript); + } + } +} diff --git a/lib/transactions/transaction_details_sheet.dart b/lib/transactions/transaction_details_sheet.dart index 20179bc..e9534f6 100644 --- a/lib/transactions/transaction_details_sheet.dart +++ b/lib/transactions/transaction_details_sheet.dart @@ -3,6 +3,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../contacts/contact_add_sheet.dart'; import '../l10n/l10n.dart'; import '../util/util.dart'; @@ -35,7 +36,7 @@ class TransactionDetailsSheet extends ConsumerWidget { final styles = ref.watch(stylesProvider); void addContact() { - Navigator.of(context).pop(); + appRouter.pop(context); Sheets.showAppHeightNineSheet( context: context, widget: ContactAddSheet(address: address), @@ -112,7 +113,7 @@ class TransactionDetailsSheet extends ConsumerWidget { else PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), ), ], ), diff --git a/lib/transactions/transaction_types.dart b/lib/transactions/transaction_types.dart index db26146..e031e2a 100644 --- a/lib/transactions/transaction_types.dart +++ b/lib/transactions/transaction_types.dart @@ -1,6 +1,6 @@ import 'package:freezed_annotation/freezed_annotation.dart'; -import '../spectre/types.dart'; +import '../spectre/spectre.dart'; part 'transaction_types.freezed.dart'; part 'transaction_types.g.dart'; diff --git a/lib/transactions/transactions_widget.dart b/lib/transactions/transactions_widget.dart index 40b05ca..c399ab1 100644 --- a/lib/transactions/transactions_widget.dart +++ b/lib/transactions/transactions_widget.dart @@ -8,12 +8,11 @@ import 'package:lazy_load_scrollview/lazy_load_scrollview.dart'; import '../app_providers.dart'; import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; +import '../settings/tx_settings.dart'; import '../wallet/wallet_types.dart'; import 'transaction_card.dart'; import 'transaction_empty_list.dart'; import 'transaction_types.dart'; -import 'tx_settings/tx_settings_providers.dart'; -import 'tx_settings/tx_settings_types.dart'; final _txListItemsProvider = Provider.autoDispose.family, WalletInfo>((ref, wallet) { diff --git a/lib/transactions/tx_cache_service.dart b/lib/transactions/tx_cache_service.dart index b7b7238..3afec47 100644 --- a/lib/transactions/tx_cache_service.dart +++ b/lib/transactions/tx_cache_service.dart @@ -163,9 +163,8 @@ class TxCacheService { int get _refreshTimestamp => DateTime.now().toUtc().millisecondsSinceEpoch; bool _needsRefresh(Tx tx) { - final isCoinbase = tx.apiTx.inputs.isEmpty; - final delta = Duration(seconds: isCoinbase ? 100 : 10).inMilliseconds; - final notFresh = _refreshTimestamp > tx.lastUpdate + 2000; + final delta = Duration(seconds: 100).inMilliseconds; + final notFresh = _refreshTimestamp > tx.lastUpdate + 3000; final needsRefresh = tx.lastUpdate < tx.apiTx.blockTime + delta; return notFresh && needsRefresh; } diff --git a/lib/transactions/tx_filter_dialog.dart b/lib/transactions/tx_filter_dialog.dart index 1dc01fa..2ac6ba5 100644 --- a/lib/transactions/tx_filter_dialog.dart +++ b/lib/transactions/tx_filter_dialog.dart @@ -2,10 +2,10 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; +import '../settings/tx_settings.dart'; import '../widgets/app_simpledialog.dart'; -import 'tx_settings/tx_settings_providers.dart'; -import 'tx_settings/tx_settings_types.dart'; Future showTxFilterDialog(BuildContext context, WidgetRef ref) async { final selection = await showAppDialog( @@ -38,7 +38,10 @@ class TxFilterDialog extends ConsumerWidget { ), children: [ SimpleDialogOption( - onPressed: () => Navigator.pop(context, TxFilter.all), + onPressed: () => appRouter.pop( + context, + withResult: TxFilter.all, + ), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( @@ -48,8 +51,10 @@ class TxFilterDialog extends ConsumerWidget { ), ), SimpleDialogOption( - onPressed: () => - Navigator.pop(context, TxFilter.hideNotAcceptedCoinbase), + onPressed: () => appRouter.pop( + context, + withResult: TxFilter.hideNotAcceptedCoinbase, + ), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( diff --git a/lib/transactions/tx_filter_settings.dart b/lib/transactions/tx_filter_settings.dart index 0660d3a..80d6de9 100644 --- a/lib/transactions/tx_filter_settings.dart +++ b/lib/transactions/tx_filter_settings.dart @@ -2,10 +2,9 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../l10n/l10n.dart'; +import '../settings/tx_settings.dart'; import '../settings_drawer/double_line_item_two.dart'; import 'tx_filter_dialog.dart'; -import 'tx_settings/tx_settings_providers.dart'; -import 'tx_settings/tx_settings_types.dart'; class TxFilterSettings extends ConsumerWidget { const TxFilterSettings({super.key}); diff --git a/lib/transfer/transfer_complete_sheet.dart b/lib/transfer/transfer_complete_sheet.dart deleted file mode 100644 index 6bb549e..0000000 --- a/lib/transfer/transfer_complete_sheet.dart +++ /dev/null @@ -1,86 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; - -import '../app_icons.dart'; -import '../app_providers.dart'; -import '../l10n/l10n.dart'; -import '../widgets/buttons/success_outline_button.dart'; - -class TransferCompleteSheet extends ConsumerWidget { - final String transferAmount; - const TransferCompleteSheet({ - Key? key, - required this.transferAmount, - }) : super(key: key); - - @override - Widget build(BuildContext context, WidgetRef ref) { - final theme = ref.watch(themeProvider); - final styles = ref.watch(stylesProvider); - final l10n = l10nOf(context); - - return SafeArea( - minimum: EdgeInsets.only( - bottom: MediaQuery.of(context).size.height * 0.035, - ), - child: Container( - width: double.infinity, - child: Column( - mainAxisSize: MainAxisSize.max, - children: [ - //A container for the paragraph and seed - Expanded( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - // Success tick (icon) - Container( - margin: const EdgeInsets.only(bottom: 30), - child: Icon( - AppIcons.success, - size: 100, - color: theme.success, - ), - ), - Container( - margin: EdgeInsets.only(bottom: 20), - constraints: BoxConstraints( - maxHeight: MediaQuery.of(context).size.height * 0.2, - maxWidth: MediaQuery.of(context).size.width * 0.6, - ), - child: Stack( - children: [], - ), - ), - Container( - alignment: AlignmentDirectional(-1, 0), - margin: EdgeInsets.symmetric(horizontal: 60), - child: Text( - l10n.transferComplete(transferAmount), - style: styles.textStyleParagraphSuccess, - textAlign: TextAlign.start, - ), - ), - Container( - alignment: AlignmentDirectional(-1, 0), - margin: EdgeInsets.symmetric(horizontal: 60), - child: Text( - l10n.transferClose, - style: styles.textStyleParagraph, - textAlign: TextAlign.start, - ), - ), - ], - ), - ), - SuccessOutlineButton( - title: l10n.close.toUpperCase(), - margin: const EdgeInsets.only(left: 28, right: 28, top: 8), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ), - ); - } -} diff --git a/lib/transfer/transfer_confirm_sheet.dart b/lib/transfer/transfer_confirm_sheet.dart deleted file mode 100644 index eef1ebd..0000000 --- a/lib/transfer/transfer_confirm_sheet.dart +++ /dev/null @@ -1,271 +0,0 @@ -import 'dart:async'; - -import 'package:auto_size_text/auto_size_text.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; - -import '../app_providers.dart'; -import '../spectre/spectre.dart'; -import '../l10n/l10n.dart'; -import '../util/numberutil.dart'; -import '../widgets/buttons/primary_button.dart'; -import '../widgets/buttons/primary_outline_button.dart'; -import '../widgets/dialog.dart'; - -class AppTransferConfirmSheet extends StatefulWidget { - final Map? privKeyBalanceMap; - final Function? errorCallback; - - AppTransferConfirmSheet({ - this.privKeyBalanceMap, - this.errorCallback, - }) : super(); - - _AppTransferConfirmSheetState createState() => - _AppTransferConfirmSheetState(); -} - -class _AppTransferConfirmSheetState extends State { - // Total amount there is to transfer - BigInt totalToTransfer = BigInt.zero; - String totalAsReadableAmount = ''; - // Need to be received by current account - //PendingResponse? accountPending; - // Whether animation overlay is open - bool animationOpen = false; - - @override - void initState() { - super.initState(); - - // widget.privKeyBalanceMap! - // .forEach((account, accountBalanceItem) { - // totalToTransfer += BigInt.parse(accountBalanceItem.balance!) + - // BigInt.parse(accountBalanceItem.pending!); - // }); - totalAsReadableAmount = NumberUtil.getStringFromRaw( - totalToTransfer, - 8, - ); - } - - @override - Widget build(BuildContext context) { - return Consumer( - builder: (context, ref, _) { - final styles = ref.watch(stylesProvider); - final l10n = l10nOf(context); - - return SafeArea( - minimum: EdgeInsets.only( - bottom: MediaQuery.of(context).size.height * 0.035, - ), - child: Container( - width: double.infinity, - child: Column( - mainAxisSize: MainAxisSize.max, - children: [ - //A container for the header - Container( - margin: const EdgeInsets.only(top: 30, left: 70, right: 70), - child: AutoSizeText( - l10n.transferHeader, - style: styles.textStyleHeader(context), - textAlign: TextAlign.center, - maxLines: 2, - stepGranularity: 0.1, - ), - ), - // A container for the paragraphs - Expanded( - child: Container( - margin: EdgeInsets.only( - top: MediaQuery.of(context).size.height * 0.1), - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Container( - margin: EdgeInsets.symmetric(horizontal: 60), - child: Text( - l10n.transferConfirmInfo(totalAsReadableAmount), - style: styles.textStyleParagraphPrimary, - textAlign: TextAlign.start, - )), - Container( - margin: EdgeInsets.symmetric(horizontal: 60), - child: Text( - l10n.transferConfirmInfoSecond, - style: styles.textStyleParagraph, - textAlign: TextAlign.start, - )), - Container( - margin: EdgeInsets.symmetric(horizontal: 60), - child: Text( - l10n.transferConfirmInfoThird, - style: styles.textStyleParagraph, - textAlign: TextAlign.start, - )), - ], - ), - ), - ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 28), - child: Column( - children: [ - PrimaryButton( - title: l10n.confirm, - onPressed: () async { - final theme = ref.read(themeProvider); - animationOpen = true; - Navigator.of(context).push(AnimationLoadingOverlay( - AnimationType.TRANSFER_TRANSFERRING, - theme.animationOverlayStrong, - theme.animationOverlayMedium, - onPoppedCallback: () { - animationOpen = false; - })); - await processWallets(); - }, - ), - const SizedBox(height: 16), - PrimaryOutlineButton( - title: l10n.cancel, - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ), - ], - ), - ), - ); - }, - ); - } - - // Future _getPrivKey(int index) async { - // //final appState = context.read(appStateProvider); - // final encryptedSecret = context.read(encryptedSecretProvider); - // final vault = context.read(vaultProvider); - // String? seed; - // if (encryptedSecret != null) { - // final sessionKey = await vault.getSessionKey(); - // seed = SpectreUtil.decryptHex(encryptedSecret, sessionKey); - // } else { - // seed = await vault.getSeed(); - // } - // return SpectreUtil.seedToPrivate(seed!, index); - // } - - Future processWallets() async { - //BigInt totalTransferred = BigInt.zero; - return; - // try { - // final accountService = context.read(accountServiceProvider); - // state.lockCallback(); - // for (String account in widget.privKeyBalanceMap!.keys) { - // final balanceItem = widget.privKeyBalanceMap![account]!; - // // Get frontiers first - // AccountInfoResponse resp = await accountService.getAccountInfo(account); - // if (!resp.unopened) { - // balanceItem.frontier = resp.frontier; - // } - // // Receive pending blocks - // PendingResponse pr = await accountService.getPending(account, 20); - // Map pendingBlocks = pr.blocks!; - // for (String hash in pendingBlocks.keys) { - // PendingResponseItem? item = pendingBlocks[hash]; - // if (balanceItem.frontier != null) { - // ProcessResponse resp = await accountService.requestReceive( - // balanceItem.frontier, - // item!.amount, - // hash, - // account, - // balanceItem.privKey); - // if (resp.hash != null) { - // balanceItem.frontier = resp.hash; - // totalTransferred += BigInt.parse(item.amount!); - // } - // } else { - // ProcessResponse resp = await accountService.requestOpen( - // item!.amount, hash, account, balanceItem.privKey); - // if (resp.hash != null) { - // balanceItem.frontier = resp.hash; - // totalTransferred += BigInt.parse(item.amount!); - // } - // } - // // Hack that waits for blocks to be confirmed - // await Future.delayed(const Duration(milliseconds: 300)); - // } - // // Process send from this account - // resp = await accountService.getAccountInfo(account); - // ProcessResponse sendResp = await accountService.requestSend( - // resp.frontier, - // resp.balance, - // state.wallet!.address, - // account, - // balanceItem.privKey, - // max: true); - // if (sendResp.hash != null) { - // totalTransferred += BigInt.parse(balanceItem.balance!); - // } - // } - // } catch (e) { - // if (animationOpen) { - // Navigator.of(context).pop(); - // } - // widget.errorCallback!(); - // context.read(loggerProvider).e("Error processing wallet", e); - // return; - // } finally { - // state.unlockCallback(); - // } - // try { - // final accountService = context.read(accountServiceProvider); - // state.lockCallback(); - // // Receive all new blocks to our own account - // PendingResponse pr = await accountService - // .getPending(state.wallet!.address, 20, includeActive: true); - // Map pendingBlocks = pr.blocks!; - // for (String hash in pendingBlocks.keys) { - // PendingResponseItem? item = pendingBlocks[hash]; - // if (state.wallet!.openBlock != null) { - // ProcessResponse resp = await accountService.requestReceive( - // state.wallet!.frontier, - // item!.amount, - // hash, - // state.wallet!.address, - // await _getPrivKey(state.selectedAccount.index)); - // if (resp.hash != null) { - // state.wallet!.frontier = resp.hash; - // } - // } else { - // ProcessResponse resp = await accountService.requestOpen( - // item!.amount, - // hash, - // state.wallet!.address, - // await _getPrivKey(state.selectedAccount.index), - // ); - // if (resp.hash != null) { - // state.wallet!.frontier = resp.hash; - // state.wallet!.openBlock = resp.hash; - // } - // } - // } - // state.requestUpdate(); - // } catch (e) { - // // Less-important error - // context.read(loggerProvider).e("Error processing wallet", e); - // } finally { - // state.unlockCallback(); - // } - // EventTaxiImpl.singleton() - // .fire(TransferCompleteEvent(amount: totalTransferred)); - // if (animationOpen) { - // Navigator.of(context).pop(); - // } - // Navigator.of(context).pop(); - } -} diff --git a/lib/transfer/transfer_manual_entry_sheet.dart b/lib/transfer/transfer_manual_entry_sheet.dart deleted file mode 100644 index 159b8f2..0000000 --- a/lib/transfer/transfer_manual_entry_sheet.dart +++ /dev/null @@ -1,174 +0,0 @@ -import 'package:auto_size_text/auto_size_text.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; - -import '../app_icons.dart'; -import '../app_providers.dart'; -import '../app_styles.dart'; -import '../l10n/l10n.dart'; -import '../util/formatters.dart'; -import '../util/spectre_util.dart'; -import '../util/user_data_util.dart'; -import '../widgets/app_text_field.dart'; -import '../widgets/buttons/primary_button.dart'; -import '../widgets/buttons/primary_outline_button.dart'; -import '../widgets/tap_outside_unfocus.dart'; - -class TransferManualEntrySheet extends ConsumerStatefulWidget { - final Function? validSeedCallback; - - const TransferManualEntrySheet({ - Key? key, - this.validSeedCallback, - }) : super(key: key); - - _TransferManualEntrySheetState createState() => - _TransferManualEntrySheetState(); -} - -class _TransferManualEntrySheetState - extends ConsumerState { - final _seedInputFocusNode = FocusNode(); - final _seedInputController = TextEditingController(); - - bool seedIsValid = false; - bool hasError = false; - - @override - Widget build(BuildContext context) { - final theme = ref.watch(themeProvider); - final styles = ref.watch(stylesProvider); - final l10n = l10nOf(context); - - return TapOutsideUnfocus( - child: SafeArea( - minimum: EdgeInsets.only( - bottom: MediaQuery.of(context).size.height * 0.035, - ), - child: Column( - children: [ - Container( - margin: const EdgeInsets.only(top: 30, left: 70, right: 70), - child: AutoSizeText( - l10n.transferHeader, - style: styles.textStyleHeader(context), - textAlign: TextAlign.center, - maxLines: 2, - stepGranularity: 0.1, - ), - ), - Expanded( - child: Container( - margin: EdgeInsets.only( - top: MediaQuery.of(context).size.height * 0.05, - ), - child: Column(children: [ - Container( - margin: EdgeInsets.symmetric( - horizontal: 60, - vertical: 10, - ), - alignment: Alignment.centerLeft, - child: Text( - l10n.transferManualHint, - style: styles.textStyleParagraph, - textAlign: TextAlign.start, - ), - ), - Expanded( - child: Column(children: [ - AppTextField( - focusNode: _seedInputFocusNode, - controller: _seedInputController, - inputFormatters: [ - LengthLimitingTextInputFormatter(128), - LowerCaseTextFormatter(), - ], - textInputAction: TextInputAction.done, - maxLines: null, - autocorrect: false, - suffixButton: TextFieldButton( - icon: AppIcons.paste, - onPressed: () async { - String? data = await UserDataUtil.getClipboardText( - DataType.SEED); - if (data != null) { - if (mounted) { - _seedInputController.text = data; - setState(() => seedIsValid = true); - } - } else { - if (mounted) { - setState(() => seedIsValid = false); - } - } - }, - ), - fadeSuffixOnCondition: true, - suffixShowFirstCondition: - !SpectreUtil.isValidSeed(_seedInputController.text), - keyboardType: TextInputType.text, - style: seedIsValid - ? styles.textStyleSeed - : styles.textStyleSeedGray, - onChanged: (text) { - // Always reset the error message to be less annoying - setState(() => hasError = false); - // If valid seed, clear focus/close keyboard - if (SpectreUtil.isValidSeed(text) && mounted) { - _seedInputFocusNode.unfocus(); - setState(() => seedIsValid = true); - } else if (mounted) { - setState(() => seedIsValid = false); - } - }, - ), - Container( - margin: const EdgeInsets.only(top: 5), - child: Text( - l10n.seedInvalid, - style: TextStyle( - fontSize: 14.0, - color: - hasError ? theme.primary : Colors.transparent, - fontFamily: kDefaultFontFamily, - fontWeight: FontWeight.w600, - ), - ), - ), - ]), - ), - ]), - ), - ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 28), - child: Column(children: [ - PrimaryButton( - title: l10n.transfer, - onPressed: () { - final seed = _seedInputController.text; - if (SpectreUtil.isValidSeed(seed) && - widget.validSeedCallback != null) { - widget.validSeedCallback!(seed); - } else if (mounted) { - setState(() => hasError = true); - } - }, - ), - const SizedBox(height: 16), - PrimaryOutlineButton( - title: l10n.cancel, - onPressed: () { - Navigator.of(context).pop(); - }, - ), - ]), - ), - ], - ), - ), - ); - } -} diff --git a/lib/transfer/transfer_overview_sheet.dart b/lib/transfer/transfer_overview_sheet.dart deleted file mode 100644 index 0f865b8..0000000 --- a/lib/transfer/transfer_overview_sheet.dart +++ /dev/null @@ -1,254 +0,0 @@ -import 'dart:async'; -import 'dart:typed_data'; - -import 'package:auto_size_text/auto_size_text.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; - -import '../app_providers.dart'; -import '../spectre/spectre.dart'; -import '../l10n/l10n.dart'; -import '../util/ui_util.dart'; -import '../util/user_data_util.dart'; -import '../utils.dart'; -import '../widgets/buttons.dart'; -import '../widgets/dialog.dart'; -import '../widgets/sheet_handle.dart'; -import '../widgets/sheet_util.dart'; -import 'transfer_manual_entry_sheet.dart'; - -class TransferOverviewSheet extends ConsumerStatefulWidget { - const TransferOverviewSheet({Key? key}) : super(key: key); - - @override - _TransferOverviewSheetState createState() => _TransferOverviewSheetState(); -} - -class _TransferOverviewSheetState extends ConsumerState { - // Number of accounts to sweep from a seed - static const int NUM_SWEEP = 15; - // accounts to private keys/account balances - Map privKeyBalanceMap = Map(); - - bool _animationOpen = false; - - @override - Widget build(BuildContext context) { - //final theme = ref.watch(themeProvider); - final styles = ref.watch(stylesProvider); - final l10n = l10nOf(context); - - return SafeArea( - minimum: EdgeInsets.only( - bottom: MediaQuery.of(context).size.height * 0.035, - ), - child: Container( - width: double.infinity, - child: Column( - mainAxisSize: MainAxisSize.max, - children: [ - // A container for the header - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const SizedBox(height: 60, width: 60), - Column( - children: [ - const SheetHandle(), - // The header - Container( - margin: EdgeInsets.only(top: 15), - constraints: BoxConstraints( - maxWidth: MediaQuery.of(context).size.width - 140), - child: AutoSizeText( - l10n.transferHeader, - style: styles.textStyleHeader(context), - textAlign: TextAlign.center, - maxLines: 2, - stepGranularity: 0.1, - ), - ), - ], - ), - // Emtpy SizedBox - const SizedBox(height: 60, width: 60), - ], - ), - // A container for the illustration and paragraphs - Expanded( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Container( - constraints: BoxConstraints( - maxHeight: MediaQuery.of(context).size.height * 0.2, - maxWidth: MediaQuery.of(context).size.width * 0.6, - ), - child: Stack( - children: [ - // Center( - // child: SvgPicture.asset( - // 'assets/transferfunds_illustration_start_paperwalletonly.svg', - // color: theme.text45, - // width: MediaQuery.of(context).size.width, - // ), - // ), - // Center( - // child: SvgPicture.asset( - // 'assets/transferfunds_illustration_start_natriumwalletonly.svg', - // color: theme.primary, - // width: MediaQuery.of(context).size.width, - // ), - // ), - ], - ), - ), - Container( - alignment: AlignmentDirectional(-1, 0), - margin: EdgeInsets.symmetric( - horizontal: 50, - vertical: 20, - ), - child: AutoSizeText( - l10n.transferIntro(l10n.scanQrCode), - style: styles.textStyleParagraph, - textAlign: TextAlign.start, - maxLines: 6, - stepGranularity: 0.5, - ), - ), - ], - ), - ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 28), - child: Column(children: [ - PrimaryButton( - title: l10n.scanQrCode, - onPressed: () async { - // UIUtil.cancelLockEvent(); - final result = await UserDataUtil.scanQrCode(context); - - if (result?.rawBytes != null) { - final data = Uint8List.fromList(result!.rawBytes!); - final seed = bytesToHex(data); - startTransfer(seed); - } - }, - ), - const SizedBox(height: 16), - PrimaryOutlineButton( - title: l10n.manualEntry, - onPressed: () { - Sheets.showAppHeightNineSheet( - context: context, - widget: TransferManualEntrySheet( - validSeedCallback: manualEntryCallback, - ), - theme: ref.read(themeProvider), - ); - }, - ), - ]), - ), - ], - ), - ), - ); - } - - void manualEntryCallback(WidgetRef ref, String seed) { - Navigator.of(context).pop(); - startTransfer(seed, manualEntry: true); - } - - Future startTransfer( - String seed, { - bool manualEntry = false, - }) async { - final theme = ref.read(themeProvider); - final l10n = l10nOf(context); - - // Show loading overlay - _animationOpen = true; - AnimationType animation = manualEntry - ? AnimationType.TRANSFER_SEARCHING_MANUAL - : AnimationType.TRANSFER_SEARCHING_QR; - Navigator.of(context).push(AnimationLoadingOverlay( - animation, theme.animationOverlayStrong, theme.animationOverlayMedium, - onPoppedCallback: () { - _animationOpen = false; - })); - // Get accounts from seed - //final accounts = await getAddressesFromSeed(context, seed); - try { - //final accountService = ref.read(accountServiceProvider); - //final resp = await accountService.accountInfoForAddresses(accounts); - if (_animationOpen) { - Navigator.of(context).pop(); - } - List accountsToRemove = []; - // resp.forEach((String account, AccountBalanceItem balItem) { - // BigInt balance = BigInt.parse(balItem.balance!); - // BigInt pending = BigInt.parse(balItem.pending!); - // if (balance + pending == BigInt.zero) { - // accountsToRemove.add(account); - // } else { - // // Update balance of this item - // privKeyBalanceMap[account]!.balance = balItem.balance; - // privKeyBalanceMap[account]!.pending = balItem.pending; - // } - // }); - accountsToRemove.forEach((String account) { - privKeyBalanceMap.remove(account); - }); - if (privKeyBalanceMap.length == 0) { - UIUtil.showSnackbar(l10n.transferNoFunds, context); - return; - } - // Go to confirmation screen - // EventTaxiImpl.singleton() - // .fire(TransferConfirmEvent(balMap: privKeyBalanceMap)); - Navigator.of(context).pop(); - } catch (e) { - ref.read(loggerProvider).e("error", error: e); - if (_animationOpen) { - Navigator.of(context).pop(); - } - UIUtil.showSnackbar(l10n.sendError, context); - } - } - - /// Get NUM_SWEEP accounts from seed to request balances for - Future> getAddressesFromSeed( - BuildContext context, - String seed, - ) async { - //final theme = context.read(themeProvider); - List
accountsToRequest = []; - //String privKey; - //Address address; - // Get NUM_SWEEP private keys + accounts from seed - for (int i = 0; i < NUM_SWEEP; i++) { - //privKey = SpectreUtil.seedToPrivate(seed, i); - //address = SpectreUtil.seedToAddress(seed, i); - // Don't add this if it is the currently logged in account - // if (address != appState.wallet!.address) { - // privKeyBalanceMap.putIfAbsent( - // address, () => AccountBalanceItem(privKey: privKey)); - // accountsToRequest.add(address); - // } - } - // Also treat this seed as a private key - // address = NanoAccounts.createAccount( - // NanoAccountType.SPECTRE, NanoKeys.createPublicKey(seed)); - // if (address != appState.wallet!.address) { - // privKeyBalanceMap.putIfAbsent( - // address, () => AccountBalanceItem(privKey: seed)); - // accountsToRequest.add(address); - // } - return accountsToRequest; - } -} diff --git a/lib/tx_report/tx_report_dialog.dart b/lib/tx_report/tx_report_dialog.dart index 424693c..d79f002 100644 --- a/lib/tx_report/tx_report_dialog.dart +++ b/lib/tx_report/tx_report_dialog.dart @@ -10,6 +10,7 @@ import 'package:path_provider/path_provider.dart'; import 'package:share_plus/share_plus.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/ui_util.dart'; import '../widgets/app_simpledialog.dart'; @@ -156,7 +157,7 @@ class DownloadTxsDialog extends HookConsumerWidget { ), TextButton( style: styles.dialogButtonStyle, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), child: Text( l10n.cancel.toUpperCase(), style: styles.textStyleDialogOptions, diff --git a/lib/tx_report/tx_report_sheet.dart b/lib/tx_report/tx_report_sheet.dart index 8ae6bc3..f6d22d7 100644 --- a/lib/tx_report/tx_report_sheet.dart +++ b/lib/tx_report/tx_report_sheet.dart @@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../widgets/app_simpledialog.dart'; import '../widgets/buttons.dart'; @@ -92,7 +93,7 @@ class TxReportSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ], ), diff --git a/lib/util/auth_util.dart b/lib/util/auth_util.dart index a43ad6a..2d0f7ee 100644 --- a/lib/util/auth_util.dart +++ b/lib/util/auth_util.dart @@ -1,11 +1,13 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import '../core/core_providers.dart'; +import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; -import '../screens/password_lock_screen.dart'; +import '../screens/password_lock_page.dart'; import '../settings/authentication_method.dart'; import '../widgets/pin_screen.dart'; +import 'routes.dart'; class AuthUtil { final Ref ref; @@ -20,11 +22,12 @@ class AuthUtil { final sharedPrefsUtil = ref.read(sharedPrefsUtilProvider); final biometricUtil = ref.read(biometricUtilProvider); - final authMethod = await sharedPrefsUtil.getAuthMethod(); + final authMethod = sharedPrefsUtil.getAuthMethod(); final hasBiometrics = await biometricUtil.hasBiometrics(); if (authMethod.method == AuthMethod.BIOMETRICS && hasBiometrics) { try { + ref.read(privacyOverlayDisabledProvider.notifier).state = true; final authenticated = await biometricUtil.authenticateWithBiometrics(biometricsMessage); if (authenticated) { @@ -37,42 +40,92 @@ class AuthUtil { final logger = ref.read(loggerProvider); logger.e('Failed to authenticate with biometrics', error: e, stackTrace: st); - return authenticateWithPin(context, pinMessage); + return authenticateWithPin(context, description: pinMessage); + } finally { + Future.delayed(Duration(milliseconds: 200), () { + ref.read(privacyOverlayDisabledProvider.notifier).state = false; + }); } } - return authenticateWithPin(context, pinMessage); + return authenticateWithPin(context, description: pinMessage); } - Future authenticateWithPin(BuildContext context, String message) async { + Future authenticateWithPin( + BuildContext context, { + required String description, + bool useTransition = false, + }) async { + final l10n = l10nOf(context); String? expectedPin = await ref.read(vaultProvider).getPin(); - bool? auth = await Navigator.of(context).push( - MaterialPageRoute(builder: (context) { - final l10n = l10nOf(context); - return PinScreen( - PinOverlayType.ENTER_PIN, - expectedPin: expectedPin, - description: message, - l10n: l10n, - ); - }), + final pinScreen = PinScreen( + PinOverlayType.ENTER_PIN, + expectedPin: expectedPin, + description: description, + l10n: l10n, ); + + final route = useTransition + ? MaterialPageRoute(builder: (_) => pinScreen) + : NoTransitionRoute(builder: (_) => pinScreen); + + final auth = await appRouter.push(context, route); await Future.delayed(const Duration(milliseconds: 200)); return auth == true; } Future authenticateWithPassword( - BuildContext context, - Future Function(String password) validator, - ) async { - final auth = await Navigator.of(context).push( - MaterialPageRoute(builder: (context) { - return PasswordLockScreen(validator: validator); - }), + BuildContext context, { + required Future Function(String password) validator, + }) async { + final auth = await appRouter.push( + context, + MaterialPageRoute( + builder: (context) => PasswordLockPage( + canCancel: true, + validator: validator, + ), + ), ); await Future.delayed(const Duration(milliseconds: 200)); return auth == true; } + + Future?> getMnemonic(BuildContext context) async { + final l10n = l10nOf(context); + + final walletAuth = ref.read(walletAuthProvider.notifier); + + if (walletAuth.walletIsEncrypted) { + List? mnemonic = null; + await authenticateWithPassword(context, validator: (password) async { + try { + mnemonic = await walletAuth.getMnemonic(password: password); + return true; + } catch (e) { + return false; + } + }); + + return mnemonic; + } else { + final auth = await authenticate( + context, + l10n.pinSeedBackup, + l10n.fingerprintSeedBackup, + ); + + if (auth) { + try { + final mnemonic = await walletAuth.getMnemonic(); + return mnemonic; + } catch (_) { + return []; + } + } + return null; + } + } } diff --git a/lib/util/spectre_util.dart b/lib/util/encryption_util.dart similarity index 65% rename from lib/util/spectre_util.dart rename to lib/util/encryption_util.dart index cf9fe52..9e4a667 100644 --- a/lib/util/spectre_util.dart +++ b/lib/util/encryption_util.dart @@ -1,18 +1,9 @@ import 'package:flutter/foundation.dart'; import '../encrypt/crypter.dart'; -import '../spectre/transaction/transaction_util.dart'; -import '../utils.dart'; - -class SpectreUtil { - const SpectreUtil(); - - static const seedLength = 128; - - static bool isValidSeed(String seed) { - return isHex(seed) && seed.length == seedLength; - } +import '../spectre/utils.dart'; +abstract class EncryptionUtil { static bool isEncryptedHex(String hex) { try { final bytes = hexToBytes(hex.substring(0, 16)); @@ -23,14 +14,6 @@ class SpectreUtil { } } - static List mnemonicWordsFromEntropyHex(String entropyHex) { - return entropyHexToMnemonic(entropyHex).split(' '); - } - - static String seedFromMnemonic(String mnemonic) { - return mnemonicToSeed(mnemonic).hex; - } - static Uint8List decrypt(Uint8List data, String password) { return NanoCrypt.decrypt(data, password); } @@ -69,15 +52,4 @@ class SpectreUtil { if (value == null) return null; return encryptText(value, password); } - - static Future computeSignDataSchnorr( - Uint8List data, - Uint8List privateKey, - ) { - return compute(_computeSignDataSchnorr, [data, privateKey]); - } -} - -Uint8List _computeSignDataSchnorr(List params) { - return signSchnorr(hash: params.first, privateKey: params.last); } diff --git a/lib/util/lock_settings.dart b/lib/util/lock_settings.dart index a1091fb..33da682 100644 --- a/lib/util/lock_settings.dart +++ b/lib/util/lock_settings.dart @@ -1,9 +1,8 @@ -import '../settings/device_lock_timeout.dart'; import 'vault.dart'; class LockSettings { static const _spectrum_lock = 'fspectrum_lock_dev'; - static const _spectrum_lock_timeout = 'fspectrum_lock_timeout'; + static const _spectrum_autolock = 'fspectrum_autolock_dev'; static const _true = 'true'; static const _false = 'false'; @@ -13,15 +12,13 @@ class LockSettings { Future setLock(bool value) => vault.set(_spectrum_lock, value ? _true : _false); + Future getLock() async => - (await vault.get(_spectrum_lock) ?? _false) == _true; + (await vault.get(_spectrum_lock) ?? _true) == _true; - Future setLockTimeout(LockTimeoutSetting setting) => - vault.set(_spectrum_lock_timeout, setting.getId()); + Future setAutoLock(bool value) => + vault.set(_spectrum_autolock, value ? _true : _false); - Future getLockTimeout() async { - final lockTimeout = - await vault.get(_spectrum_lock_timeout) ?? LockTimeoutOption.ONE.name; - return LockTimeoutSetting(LockTimeoutOption.values.byName(lockTimeout)); - } + Future getAutoLock() async => + (await vault.get(_spectrum_autolock) ?? _true) == _true; } diff --git a/lib/util/routes.dart b/lib/util/routes.dart index aea7c65..cb64924 100644 --- a/lib/util/routes.dart +++ b/lib/util/routes.dart @@ -71,6 +71,17 @@ class NoPopTransitionRoute extends MaterialPageRoute { } } +// Used for lock screen +class BarrierRoute extends NoTransitionRoute { + BarrierRoute({required super.builder, super.settings}); + + @override + RoutePopDisposition get popDisposition => RoutePopDisposition.bubble; + + @override + bool get barrierDismissible => false; +} + class RouteUtils { static RoutePredicate withNameLike(String name) { return (Route route) { diff --git a/lib/util/ui_util.dart b/lib/util/ui_util.dart index f58eaad..7ac21ab 100644 --- a/lib/util/ui_util.dart +++ b/lib/util/ui_util.dart @@ -7,14 +7,13 @@ import '../spectre/spectre.dart'; import '../l10n/l10n.dart'; import '../send_sheet/send_confirm_sheet.dart'; import '../send_sheet/send_sheet.dart'; -import '../transactions/send_tx.dart'; import '../widgets/sheet_util.dart'; import '../widgets/toast_widget.dart'; import 'numberutil.dart'; abstract class UIUtil { static double drawerWidth(BuildContext context) { - final width = MediaQuery.of(context).size.width; + final width = MediaQuery.sizeOf(context).width; return (width < 375) ? width * 0.94 : width * 0.85; } @@ -26,11 +25,11 @@ abstract class UIUtil { ); } - static void showSendFlow( + static Future showSendFlow( BuildContext context, { required WidgetRef ref, required SpectreUri uri, - }) { + }) async { final theme = ref.read(themeProvider); final amount = uri.amount; @@ -45,26 +44,28 @@ abstract class UIUtil { final spendableUtxos = ref.read(spendableUtxosProvider); final walletService = ref.read(walletServiceProvider); + final addressNotifier = ref.read(addressNotifierProvider); - final SendTx tx; try { - tx = walletService.createSendTx( + final changeAddress = await addressNotifier.nextChangeAddress; + final tx = walletService.createSendTx( toAddress: uri.address, amountRaw: amount.raw, spendableUtxos: spendableUtxos, feePerInput: kFeePerInput, + changeAddress: changeAddress.address, note: uri.message, ); + + Sheets.showAppHeightNineSheet( + context: context, + theme: theme, + widget: SendConfirmSheet(tx: tx), + ); } catch (e) { UIUtil.showSnackbar(e.toString(), context); return; } - - Sheets.showAppHeightNineSheet( - context: context, - theme: theme, - widget: SendConfirmSheet(tx: tx), - ); } static bool smallScreen(BuildContext context) { diff --git a/lib/util/user_data_util.dart b/lib/util/user_data_util.dart index 795e062..3082ee6 100644 --- a/lib/util/user_data_util.dart +++ b/lib/util/user_data_util.dart @@ -5,11 +5,11 @@ import 'package:flutter/services.dart'; import 'package:qr_code_scanner/qr_code_scanner.dart'; import 'package:validators/validators.dart'; +import '../app_router.dart'; import '../spectre/spectre.dart'; import '../widgets/qr_scanner_widget.dart'; -import 'spectre_util.dart'; -enum DataType { RAW, URL, ADDRESS, SEED } +enum DataType { RAW, URL, ADDRESS } String sanitizeUri(String uri, String scheme) { if (isIP(uri)) { @@ -40,11 +40,6 @@ class UserDataUtil { if (address != null) { return address.encoded; } - } else if (type == DataType.SEED) { - // Check if valid seed - if (SpectreUtil.isValidSeed(data)) { - return data; - } } return null; } @@ -59,10 +54,9 @@ class UserDataUtil { } static Future scanQrCode(BuildContext context) async { - final result = await Navigator.of(context).push( - MaterialPageRoute(builder: (BuildContext context) { - return const QrScannerWidget(); - }), + final result = await appRouter.push( + context, + MaterialPageRoute(builder: (context) => const QrScannerWidget()), ); return result; } diff --git a/lib/util/vault.dart b/lib/util/vault.dart index fb8a374..6dc230d 100644 --- a/lib/util/vault.dart +++ b/lib/util/vault.dart @@ -28,11 +28,10 @@ class Vault { Future get pinIsSet async => (await get(_pinKey)) != null; Future getDbKey() async { - final key = await get(_dbKey); + var key = await get(_dbKey); if (key == null) { - final newKey = RandomUtil.generateKey(); - await set(_dbKey, newKey); - return newKey; + key = RandomUtil.generateKey(); + await set(_dbKey, key); } return key; } diff --git a/lib/utils.dart b/lib/utils.dart deleted file mode 100644 index 553286b..0000000 --- a/lib/utils.dart +++ /dev/null @@ -1,95 +0,0 @@ -import 'dart:convert'; -import 'dart:typed_data'; - -import 'package:hex/hex.dart'; -import 'package:pointycastle/digests/blake2b.dart'; -// ignore: implementation_imports -import 'package:pointycastle/src/utils.dart' as p_utils; - -import 'spectre/bip39/bip39.dart' as bip39; - -extension Uint8ListUtils on Uint8List { - String get hex => bytesToHex(this); - String get toBase64 => bytesToBase64(this); - Uint8List get complement => Uint8List.fromList(map((e) => ~e).toList()); -} - -Uint8List leftPadBytes(Uint8List bytes, int size) { - if (bytes.lengthInBytes >= size) { - return bytes; - } - - final result = Uint8List(size); - result.setAll(size - bytes.lengthInBytes, bytes); - return result; -} - -Uint8List rightPadBytes(Uint8List bytes, int size) { - if (bytes.lengthInBytes >= size) { - return bytes; - } - - final result = Uint8List(size); - result.setAll(0, bytes); - return result; -} - -String bytesToHex(Uint8List bytes) => HEX.encode(bytes); - -Uint8List hexToBytes(String hex) => Uint8List.fromList(HEX.decode(hex)); - -String bytesToBase64(Uint8List bytes) => base64.encode(bytes); - -Uint8List base64ToBytes(String data) => base64.decode(data); - -Uint8List stringToBytesUtf8(String str) => Uint8List.fromList(utf8.encode(str)); - -String bytesUtf8ToString(Uint8List bytes) => utf8.decode(bytes); - -BigInt bytesToBigInt(Uint8List bytes) => p_utils.decodeBigInt(bytes); - -BigInt bytesToBigIntUnsigned(Uint8List bytes) => - p_utils.decodeBigIntWithSign(1, bytes); - -Uint8List bigIntToBytes(BigInt bigInt) => p_utils.encodeBigInt(bigInt); -Uint8List bigIntToBytesUnsigned(BigInt bigInt) => - p_utils.encodeBigIntAsUnsigned(bigInt); - -RegExp _hexRegExp = RegExp(r'^[0-9a-fA-F]+$'); - -bool isHex(String hex) => _hexRegExp.hasMatch(hex); - -Uint8List digest({required Uint8List data, int digestSize = 32}) { - final blake2b = Blake2bDigest(digestSize: digestSize); - final output = blake2b.process(data); - - return output; -} - -// mnemonic helpers - -String generateMnemonic({int strength = 256}) => - bip39.generateMnemonic(strength: strength); - -final _kBip39EnglishWords = bip39.WORDLIST.toSet(); - -bool isValidMnemonicWord(String word) { - return _kBip39EnglishWords.contains(word); -} - -// Generic bip39 validation -bool isValidMnemonic(String mnemonic, {bool verifyChecksum = true}) { - final words = mnemonic.split(' '); - return (words.length >= 12 && words.length <= 24 && words.length % 3 == 0) && - words.every((word) => isValidMnemonicWord(word)) && - (verifyChecksum ? bip39.validateMnemonic(mnemonic) : true); -} - -String mnemonicToEntropyHex(String mnemonic) => - bip39.mnemonicToEntropy(mnemonic); - -String entropyHexToMnemonic(String entropyHex) => - bip39.entropyToMnemonic(entropyHex); - -Uint8List mnemonicToSeed(String mnemonic, {String passphrase = ''}) => - bip39.mnemonicToSeed(mnemonic, passphrase: passphrase); diff --git a/lib/wallet/wallet_bundle_notifier.dart b/lib/wallet/wallet_bundle_notifier.dart index e14fe56..21a5c2e 100644 --- a/lib/wallet/wallet_bundle_notifier.dart +++ b/lib/wallet/wallet_bundle_notifier.dart @@ -4,7 +4,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../database/database.dart'; import '../spectre/spectre.dart'; import '../util/random_util.dart'; -import '../utils.dart'; import 'wallet_repository.dart'; import 'wallet_types.dart'; import 'wallet_vault.dart'; @@ -61,16 +60,11 @@ class WalletBundleNotifier extends StateNotifier { required String wid, required SpectreNetwork network, }) { - final addressBoxKey = - digest(data: stringToBytesUtf8('addressBoxKey#$network#$wid')).hex; - final balanceBoxKey = - digest(data: stringToBytesUtf8('balanceBoxKey#$network#$wid')).hex; - final utxoBoxKey = - digest(data: stringToBytesUtf8('utxoBoxKey#$network#$wid')).hex; - final txIndexBoxKey = - digest(data: stringToBytesUtf8('txIndexBoxKey#$network#$wid')).hex; - final txBoxKey = - digest(data: stringToBytesUtf8('txBoxKey#$network#$wid')).hex; + final addressBoxKey = hash('addressBoxKey#$network#$wid'); + final balanceBoxKey = hash('balanceBoxKey#$network#$wid'); + final utxoBoxKey = hash('utxoBoxKey#$network#$wid'); + final txIndexBoxKey = hash('txIndexBoxKey#$network#$wid'); + final txBoxKey = hash('txBoxKey#$network#$wid'); return BoxInfo( address: BoxKeys( @@ -119,12 +113,18 @@ class WalletBundleNotifier extends StateNotifier { }, ); + final usesBip39Passphrase = walletData.map( + seed: (data) => data.usesBip39Passphrase, + kpub: (data) => false, + ); + return WalletInfo( name: walletData.name, kind: walletData.kind, wid: wid, boxInfo: boxInfo, mainnetPublicKey: mainnetPublicKey, + usesBip39Passphrase: usesBip39Passphrase, ); } diff --git a/lib/wallet/wallet_card.dart b/lib/wallet/wallet_card.dart index 66ed7f8..453ef01 100644 --- a/lib/wallet/wallet_card.dart +++ b/lib/wallet/wallet_card.dart @@ -4,6 +4,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_slidable/flutter_slidable.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/caseconverter.dart'; import '../widgets/dialog.dart'; @@ -28,7 +29,7 @@ class WalletCard extends ConsumerWidget { final network = ref.read(networkProvider); await notifier.selectWallet(wallet, network); - Navigator.of(context).pushNamedAndRemoveUntil('/', (_) => false); + appRouter.reload(context); } Future removeWallet() async { diff --git a/lib/wallet/wallet_repository.dart b/lib/wallet/wallet_repository.dart index f657a9a..ba29fcc 100644 --- a/lib/wallet/wallet_repository.dart +++ b/lib/wallet/wallet_repository.dart @@ -2,7 +2,7 @@ import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import '../database/database.dart'; import '../spectre/spectre.dart'; -import '../settings/settings_providers.dart'; +import '../settings/settings_repository.dart'; import '../transactions/transaction_types.dart'; import '../util/vault.dart'; import '../wallet_address/wallet_address.dart'; @@ -24,7 +24,7 @@ extension WalletSettings on SettingsRepository { Future setWalletEntries(List entries) => box.setList( _kWalletEntriesKey, entries, - convert: (e) => (e as dynamic).toJson(), + convert: (e) => e.toJson(), ); WalletInfo? getSelectedWallet() => diff --git a/lib/wallet/wallet_types.dart b/lib/wallet/wallet_types.dart index fd8a97c..b2ac3ff 100644 --- a/lib/wallet/wallet_types.dart +++ b/lib/wallet/wallet_types.dart @@ -98,13 +98,14 @@ class WalletKind with _$WalletKind { @freezed class WalletInfo with _$WalletInfo { - const WalletInfo._(); - const factory WalletInfo({ + WalletInfo._(); + factory WalletInfo({ required String name, @Default(WalletKind.localHdSchnorr()) WalletKind kind, required String wid, required BoxInfoByNetwork boxInfo, required String mainnetPublicKey, // HDPublic key base58 encoded + @Default(false) bool usesBip39Passphrase, }) = _WalletInfo; factory WalletInfo.fromJson(Map json) => @@ -116,8 +117,12 @@ class WalletInfo with _$WalletInfo { bool get hasValidKpub => !kind.isLegacy; + bool get canSetPassword => !kind.isViewOnly; + BoxInfo getBoxInfo(SpectreNetwork network) => boxInfo.getBoxInfo(network); + late final String settingsKey = hash('walletSettingsKey#${wid}'); + String hdPublicKey(SpectreNetwork network) { if (network == SpectreNetwork.mainnet) { return mainnetPublicKey; @@ -161,9 +166,10 @@ class WalletData with _$WalletData { required String name, required WalletKind kind, required String seed, + required bool usesBip39Passphrase, String? mnemonic, String? password, - }) = _WalletDataMnemonic; + }) = _WalletDataSeed; const factory WalletData.kpub({ required String name, diff --git a/lib/wallet/wallet_vault.dart b/lib/wallet/wallet_vault.dart index 68cd582..6402fc9 100644 --- a/lib/wallet/wallet_vault.dart +++ b/lib/wallet/wallet_vault.dart @@ -1,4 +1,5 @@ -import '../util/spectre_util.dart'; +import '../spectre/utils.dart'; +import '../util/encryption_util.dart'; import '../util/vault.dart'; const _kMnemonicKey = 'spectrum_mnemonic_key'; @@ -20,7 +21,7 @@ class WalletVault { throw Exception('Mnemonic is missing from vault'); } - if (!SpectreUtil.isEncryptedHex(mnemonic)) { + if (!EncryptionUtil.isEncryptedHex(mnemonic)) { return mnemonic; } @@ -28,7 +29,7 @@ class WalletVault { throw Exception('Mnemonic is password protected'); } - final decrypted = SpectreUtil.decryptToText(mnemonic, password); + final decrypted = EncryptionUtil.decryptToText(mnemonic, password); return decrypted; } @@ -39,7 +40,7 @@ class WalletVault { throw Exception('Seed is missing from vault'); } - if (!SpectreUtil.isEncryptedHex(seed)) { + if (!EncryptionUtil.isEncryptedHex(seed)) { return seed; } @@ -47,9 +48,9 @@ class WalletVault { throw Exception('Seed is password protected'); } - final decrypted = SpectreUtil.decryptHex(seed, password); + final decrypted = EncryptionUtil.decryptHex(seed, password); - if (!SpectreUtil.isValidSeed(decrypted)) { + if (!isValidSeed(decrypted)) { throw Exception('Incorrect password'); } return decrypted; @@ -57,8 +58,7 @@ class WalletVault { Future hasMnemonic() async { final mnemonic = await vault.get(_mnemonicKey); - final mnemonicOrSeed = mnemonic ?? await vault.get(_seedKey); - return mnemonicOrSeed != null; + return mnemonic != null; } Future seedIsEncrypted() async { @@ -67,7 +67,7 @@ class WalletVault { return false; } - return SpectreUtil.isEncryptedHex(seed); + return EncryptionUtil.isEncryptedHex(seed); } Future setSeed( @@ -77,9 +77,9 @@ class WalletVault { }) async { if (password != null) { // encrypt mnemonic with password for vault - mnemonic = SpectreUtil.maybeEncryptText(mnemonic, password); + mnemonic = EncryptionUtil.maybeEncryptText(mnemonic, password); // encrypt seed with password for vault - seed = SpectreUtil.encryptHex(seed, password); + seed = EncryptionUtil.encryptHex(seed, password); } await vault.set(_seedKey, seed); await vault.set(_mnemonicKey, mnemonic); diff --git a/lib/wallet_address/address_details_sheet.dart b/lib/wallet_address/address_details_sheet.dart index c915167..80331bd 100644 --- a/lib/wallet_address/address_details_sheet.dart +++ b/lib/wallet_address/address_details_sheet.dart @@ -7,6 +7,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:qr_flutter/qr_flutter.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/ui_util.dart'; import '../util/util.dart'; @@ -126,7 +127,7 @@ class AddressDetailsSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/wallet_address/address_filter_dialog.dart b/lib/wallet_address/address_filter_dialog.dart index 46d155a..e5d44bb 100644 --- a/lib/wallet_address/address_filter_dialog.dart +++ b/lib/wallet_address/address_filter_dialog.dart @@ -2,9 +2,10 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../widgets/app_simpledialog.dart'; -import 'address_settings.dart'; +import '../settings/address_settings.dart'; class AddressFilterDialog extends ConsumerWidget { const AddressFilterDialog({Key? key}) : super(key: key); @@ -26,7 +27,10 @@ class AddressFilterDialog extends ConsumerWidget { ), children: [ SimpleDialogOption( - onPressed: () => Navigator.pop(context, AddressFilter.all), + onPressed: () => appRouter.pop( + context, + withResult: AddressFilter.all, + ), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( @@ -36,7 +40,10 @@ class AddressFilterDialog extends ConsumerWidget { ), ), SimpleDialogOption( - onPressed: () => Navigator.pop(context, AddressFilter.nonZero), + onPressed: () => appRouter.pop( + context, + withResult: AddressFilter.nonZero, + ), child: Padding( padding: const EdgeInsets.symmetric(vertical: 8), child: Text( diff --git a/lib/wallet_address/address_selection_sheet.dart b/lib/wallet_address/address_selection_sheet.dart index b7bbaab..38d3102 100644 --- a/lib/wallet_address/address_selection_sheet.dart +++ b/lib/wallet_address/address_selection_sheet.dart @@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../widgets/app_simpledialog.dart'; import '../widgets/buttons.dart'; @@ -11,13 +12,9 @@ import '../widgets/sheet_header_button.dart'; import '../widgets/sheet_widget.dart'; import 'address_filter_dialog.dart'; import 'address_list_widget.dart'; -import 'address_settings.dart'; +import '../settings/address_settings.dart'; import 'wallet_address.dart'; -final selectedAddressProvider = StateProvider.autoDispose((ref) { - return ref.read(receiveAddressProvider); -}); - class AddressSelectionSheet extends HookConsumerWidget { final AddressType addressType; @@ -79,7 +76,7 @@ class AddressSelectionSheet extends HookConsumerWidget { onSelection: (address) { final notifier = ref.read(selectedAddressProvider.notifier); notifier.state = address; - Navigator.pop(context); + appRouter.pop(context); }, ), const ListTopGradient(), @@ -102,7 +99,7 @@ class AddressSelectionSheet extends HookConsumerWidget { ], PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/wallet_address/wallet_address_providers.dart b/lib/wallet_address/wallet_address_providers.dart index c83213f..9ba2f17 100644 --- a/lib/wallet_address/wallet_address_providers.dart +++ b/lib/wallet_address/wallet_address_providers.dart @@ -9,7 +9,7 @@ import '../transactions/transaction_providers.dart'; import '../wallet/wallet_types.dart'; import '../wallet_auth/wallet_auth_providers.dart'; import '../wallet_balance/wallet_balance_providers.dart'; -import 'address_settings.dart'; +import '../settings/address_settings.dart'; import 'wallet_address.dart'; import 'wallet_address_notifier.dart'; @@ -136,3 +136,7 @@ final receiveAddressProvider = Provider.autoDispose((ref) { addressNotifierProvider.select((value) => value.receiveAddress), ); }); + +final selectedAddressProvider = StateProvider.autoDispose((ref) { + return ref.read(receiveAddressProvider); +}); diff --git a/lib/wallet_address/wallet_addresses_sheet.dart b/lib/wallet_address/wallet_addresses_sheet.dart index 0dc6785..721e459 100644 --- a/lib/wallet_address/wallet_addresses_sheet.dart +++ b/lib/wallet_address/wallet_addresses_sheet.dart @@ -4,6 +4,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../settings_advanced/kpub_sheet.dart'; import '../util/ui_util.dart'; @@ -15,7 +16,7 @@ import '../widgets/sheet_util.dart'; import '../widgets/sheet_widget.dart'; import 'address_filter_dialog.dart'; import 'address_list_widget.dart'; -import 'address_settings.dart'; +import '../settings/address_settings.dart'; import 'wallet_address.dart'; class WalletAddressesSheet extends HookConsumerWidget { @@ -200,7 +201,7 @@ class WalletAddressesSheet extends HookConsumerWidget { const SizedBox(height: 16), PrimaryOutlineButton( title: l10n.close, - onPressed: () => Navigator.pop(context), + onPressed: () => appRouter.pop(context), ), ]), ), diff --git a/lib/wallet_auth/wallet_auth_notifier.dart b/lib/wallet_auth/wallet_auth_notifier.dart index 7c89632..3628458 100644 --- a/lib/wallet_auth/wallet_auth_notifier.dart +++ b/lib/wallet_auth/wallet_auth_notifier.dart @@ -1,26 +1,39 @@ -import 'dart:typed_data'; - +import 'package:flutter/foundation.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../spectre/spectre.dart'; -import '../util/spectre_util.dart'; -import '../utils.dart'; +import '../util/encryption_util.dart'; import '../wallet/wallet_vault.dart'; import 'wallet_auth_types.dart'; +Uint8List _computeSignDataSchnorr(List params) { + return signSchnorr(hash: params.first, privateKey: params.last); +} + class WalletAuthNotifier extends StateNotifier { final WalletVault walletVault; WalletAuthNotifier(this.walletVault, WalletAuth auth) : super(auth); + static Future computeSignDataSchnorr( + Uint8List data, + Uint8List privateKey, + ) { + return compute(_computeSignDataSchnorr, [data, privateKey]); + } + Future checkEncryptedState() async { final isEncrypted = await walletVault.seedIsEncrypted(); state = state.copyWith(isEncrypted: isEncrypted); } - WalletAuth get walletAuth => state; - bool get walletLocked => state.isLocked; - bool get walletEncrypted => state.isEncrypted; + bool get walletIsLocked => state.isLocked; + bool get walletIsEncrypted => state.isEncrypted; + + bool get walletIsLegacy => state.wallet.isLegacy; + + bool get needsPasswordAuth => + state.isEncrypted && state.encryptedSecret == null; Future _getSeed() async { if (state.isLocked) { @@ -30,7 +43,7 @@ class WalletAuthNotifier extends StateNotifier { if (!state.isEncrypted) { final seed = await walletVault.getSeed(); - if (SpectreUtil.isEncryptedHex(seed)) { + if (EncryptionUtil.isEncryptedHex(seed)) { throw Exception('Seed is password protected'); } return seed; @@ -42,7 +55,7 @@ class WalletAuthNotifier extends StateNotifier { } final sessionKey = await walletVault.getSessionKey(); - return SpectreUtil.decryptHex(secret, sessionKey); + return EncryptionUtil.decryptHex(secret, sessionKey); } Future sign( @@ -55,8 +68,7 @@ class WalletAuthNotifier extends StateNotifier { final seed = await _getSeed(); final wallet = HdWallet.forSeedHex(seed, type: walletKind.type); final keyPair = wallet.deriveKeyPair(typeIndex: typeIndex, index: index); - final signature = - await SpectreUtil.computeSignDataSchnorr(data, keyPair.privateKey); + final signature = await computeSignDataSchnorr(data, keyPair.privateKey); return signature; } @@ -75,12 +87,9 @@ class WalletAuthNotifier extends StateNotifier { } Future unlock({String? password}) async { - if (state.isEncrypted) { - if (password == null) { - return false; - } + if (state.isEncrypted && password != null) { try { - await unlockWithPassword(password); + await _unlockWithPassword(password); return true; } catch (_) { return false; @@ -90,11 +99,11 @@ class WalletAuthNotifier extends StateNotifier { return true; } - Future unlockWithPassword(String password) async { + Future _unlockWithPassword(String password) async { final seed = await walletVault.getSeed(password: password); - final sessionKey = await walletVault.getSessionKey(); - final encryptedSecret = SpectreUtil.encryptHex(seed, sessionKey); + final sessionKey = await walletVault.updateSessionKey(); + final encryptedSecret = EncryptionUtil.encryptHex(seed, sessionKey); state = state.copyWith( encryptedSecret: encryptedSecret, @@ -106,9 +115,12 @@ class WalletAuthNotifier extends StateNotifier { Future setPassword(String password) async { try { final seed = await walletVault.getSeed(); + if (EncryptionUtil.isEncryptedHex(seed)) { + throw Exception('Wallet is password protected'); + } final mnemonic = await walletVault.getMnemonic(); - final sessionKey = await walletVault.getSessionKey(); - final encryptedSecret = SpectreUtil.encryptHex(seed, sessionKey); + final sessionKey = await walletVault.updateSessionKey(); + final encryptedSecret = EncryptionUtil.encryptHex(seed, sessionKey); await walletVault.setSeed( seed, diff --git a/lib/wallet_auth/wallet_auth_types.dart b/lib/wallet_auth/wallet_auth_types.dart index 1d624b0..35a6d47 100644 --- a/lib/wallet_auth/wallet_auth_types.dart +++ b/lib/wallet_auth/wallet_auth_types.dart @@ -1,23 +1,12 @@ -import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; import '../wallet/wallet_types.dart'; part 'wallet_auth_types.freezed.dart'; -@freezed -class WalletStatus with _$WalletStatus { - const factory WalletStatus.noWallets() = _WalletStatusNoWallets; - const factory WalletStatus.noSelection({ - required IList wallets, - }) = _WalletStatusNoSelection; - const factory WalletStatus.selected({ - required WalletInfo wallet, - }) = _WalletStatusSelected; -} - @freezed class WalletAuth with _$WalletAuth { + const WalletAuth._(); const factory WalletAuth({ required WalletInfo wallet, String? encryptedSecret, @@ -25,4 +14,6 @@ class WalletAuth with _$WalletAuth { @Default(false) bool isEncrypted, @Default(false) bool hasMnemonic, }) = _WalletAuth; + + bool get canSetPassword => wallet.canSetPassword; } diff --git a/lib/wallet_home/wallet_home.dart b/lib/wallet_home/wallet_home.dart index 5e71b9e..e5cc35a 100644 --- a/lib/wallet_home/wallet_home.dart +++ b/lib/wallet_home/wallet_home.dart @@ -27,7 +27,7 @@ final _walletWatcherProvider = Provider.autoDispose((ref) { }); class WalletHome extends HookConsumerWidget { - const WalletHome({Key? key}) : super(key: key); + const WalletHome({super.key}); @override Widget build(BuildContext context, WidgetRef ref) { @@ -43,8 +43,8 @@ class WalletHome extends HookConsumerWidget { if (appLink == null) { return; } - final auth = ref.read(walletAuthNotifierProvider); - if (auth == null || auth.walletLocked == true) { + final walletAuth = ref.read(walletAuthNotifierProvider); + if (walletAuth == null || walletAuth.walletIsLocked) { return; } final prefix = ref.read(addressPrefixProvider); diff --git a/lib/widgets/dialog.dart b/lib/widgets/dialog.dart index 4b70caa..40c4362 100644 --- a/lib/widgets/dialog.dart +++ b/lib/widgets/dialog.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/caseconverter.dart'; import 'app_simpledialog.dart'; @@ -47,7 +48,7 @@ class AppDialogs { ), ), onPressed: () { - Navigator.of(context).pop(); + appRouter.pop(context); onCancel.call(); }, ), @@ -98,7 +99,7 @@ class AppDialogs { ), ), onPressed: () { - Navigator.of(context).pop(); + appRouter.pop(context); onClose?.call(); }, ), @@ -155,7 +156,7 @@ class AppDialogs { ), ), onPressed: () { - Navigator.of(context).pop(); + appRouter.pop(context); cancelAction?.call(); }, ), @@ -169,7 +170,7 @@ class AppDialogs { ), ), onPressed: () { - Navigator.of(context).pop(); + appRouter.pop(context); onPressed(); }, ), diff --git a/lib/widgets/fiat_mode_icon.dart b/lib/widgets/fiat_mode_icon.dart new file mode 100644 index 0000000..686b9b8 --- /dev/null +++ b/lib/widgets/fiat_mode_icon.dart @@ -0,0 +1,26 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../app_providers.dart'; +import 'spr_icon_widget.dart'; + +class FiatModeIcon extends ConsumerWidget { + final bool fiatMode; + const FiatModeIcon({super.key, required this.fiatMode}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final styles = ref.watch(stylesProvider); + final currency = ref.watch(currencyProvider); + + return fiatMode + ? FittedBox( + fit: BoxFit.scaleDown, + child: Text( + currency.symbol, + style: styles.textStyleParagraphPrimary, + ), + ) + : Image.asset(kSprIconPath, width: 40, height: 40); + } +} diff --git a/lib/widgets/keyboard_widget.dart b/lib/widgets/keyboard_widget.dart index d00b550..77181eb 100644 --- a/lib/widgets/keyboard_widget.dart +++ b/lib/widgets/keyboard_widget.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_providers.dart'; -import '../spectre/bip39/bip39.dart' as bip39; +import '../spectre/spectre.dart'; class Event { final T data; @@ -13,15 +13,15 @@ class Event { const kBackspaceKey = '⌫'; final wordListProvider = - Provider>((ref) => bip39.WORDLIST.toIList()); + Provider>((ref) => kMnemonicWordList.toIList()); -final wordPrefixProvider = StateProvider((ref) { +final wordPrefixProvider = StateProvider.autoDispose((ref) { return ''; }); final keyboardEnabledProvider = StateProvider.autoDispose((ref) => true); -final wordSuggestionsProvider = Provider>((ref) { +final wordSuggestionsProvider = Provider.autoDispose>((ref) { final prefix = ref.watch(wordPrefixProvider); final wordList = ref.watch(wordListProvider); if (prefix.isEmpty) { diff --git a/lib/widgets/logout_button.dart b/lib/widgets/logout_button.dart index 04acd46..d78f331 100644 --- a/lib/widgets/logout_button.dart +++ b/lib/widgets/logout_button.dart @@ -3,6 +3,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import 'dialog.dart'; @@ -15,17 +16,13 @@ class LogoutButton extends ConsumerWidget { final styles = ref.watch(stylesProvider); final l10n = l10nOf(context); - void logout() { - Navigator.of(context).pushNamedAndRemoveUntil('/logout', (_) => false); - } - void confirmLogout() { AppDialogs.showConfirmDialog( context, l10n.areYouSure, l10n.logoutDialogContent, l10n.yesUppercase, - logout, + () => appRouter.logout(context), ); } diff --git a/lib/widgets/notice_dialog.dart b/lib/widgets/notice_dialog.dart index a3407c7..971511e 100644 --- a/lib/widgets/notice_dialog.dart +++ b/lib/widgets/notice_dialog.dart @@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import 'app_simpledialog.dart'; @@ -65,7 +66,7 @@ class NoticeDialog extends HookConsumerWidget { final sharedPrefsUtil = ref.read(sharedPrefsUtilProvider); await sharedPrefsUtil.setNoticeShown(true); } - Navigator.of(context).pop(); + appRouter.pop(context); }, ), ], diff --git a/lib/widgets/pin_screen.dart b/lib/widgets/pin_screen.dart index b281d43..cc888e3 100644 --- a/lib/widgets/pin_screen.dart +++ b/lib/widgets/pin_screen.dart @@ -6,6 +6,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../app_icons.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/pin_lockout.dart'; import 'pin_screen_button.dart'; @@ -98,11 +99,10 @@ class _PinScreenState extends ConsumerState setState(() { _controller.value = 0; }); - pinLockout.updateLockDate().then((_) { - Navigator.of(context).pushNamedAndRemoveUntil( - '/lock_screen_transition', - (Route route) => false); - }); + // TODO - check logic here + pinLockout + .updateLockDate() + .then((_) => appRouter.lockoutkWithTransition(context)); } else { setState(() { _pin = ''; @@ -210,7 +210,7 @@ class _PinScreenState extends ConsumerState _controller.forward(); } else { await pinLockout.resetUnlockAttempts(); - Navigator.of(context, rootNavigator: true).pop(true); + appRouter.pop(context, withResult: true); } } else { if (!_awaitingConfirmation) { @@ -223,7 +223,7 @@ class _PinScreenState extends ConsumerState } else { // First and second pins match if (_pin == _pinConfirmed) { - Navigator.of(context).pop(_pin); + appRouter.pop(context, withResult: _pin); } else { hapticUtil.error(); _controller.forward(); diff --git a/lib/widgets/qr_scanner_widget.dart b/lib/widgets/qr_scanner_widget.dart index dcd95eb..23a1fc1 100644 --- a/lib/widgets/qr_scanner_widget.dart +++ b/lib/widgets/qr_scanner_widget.dart @@ -5,6 +5,7 @@ import 'package:image_picker/image_picker.dart'; import 'package:qr_code_scanner/qr_code_scanner.dart'; import '../app_providers.dart'; +import '../app_router.dart'; import '../l10n/l10n.dart'; import '../util/platform.dart'; import '../util/ui_util.dart'; @@ -72,7 +73,7 @@ class _QrScannerWidgetState extends ConsumerState { ); if (code == null) throw Exception(l10n.emptyResult); result = Barcode(code, BarcodeFormat.qrcode, null); - Navigator.of(context).pop(result); + appRouter.pop(context, withResult: result); } catch (e) { UIUtil.showSnackbar(l10n.noQrCodeFound, context); } @@ -123,7 +124,7 @@ class _QrScannerWidgetState extends ConsumerState { AppIconButton( icon: Icons.arrow_back, color: Colors.white, - onPressed: () => Navigator.of(context).pop(), + onPressed: () => appRouter.pop(context), ), Text( l10n.scanQrCode, @@ -168,7 +169,7 @@ class _QrScannerWidgetState extends ConsumerState { if (!p && !_checkedPermission && context.mounted) { _checkedPermission = true; if (kPlatformIsAndroid) { - Navigator.of(context).pop(); + appRouter.pop(context); } final l10n = l10nOf(context); @@ -184,7 +185,7 @@ class _QrScannerWidgetState extends ConsumerState { _controller.scannedDataStream.listen((event) { if (result == null && _shouldScan) { result = event; - Navigator.of(context).pop(result); + appRouter.pop(context, withResult: result); } }); } diff --git a/lib/widgets/sheet_util.dart b/lib/widgets/sheet_util.dart index 7ccd30a..675f806 100644 --- a/lib/widgets/sheet_util.dart +++ b/lib/widgets/sheet_util.dart @@ -1,8 +1,8 @@ import 'package:flutter/material.dart'; +import '../app_router.dart'; import '../themes/themes.dart'; import '../util/platform.dart'; -import '../util/routes.dart'; class Sheets { //App Ninty Height Sheet @@ -33,10 +33,9 @@ class Sheets { onDisposed: onDisposed, ); if (removeUntilHome) { - return Navigator.pushAndRemoveUntil( - context, route, RouteUtils.withNameLike('/home')); + return appRouter.pushAndRemoveUntilHome(context, route); } - return Navigator.push(context, route); + return appRouter.push(context, route); } //App Height Eigth Sheet @@ -53,9 +52,9 @@ class Sheets { final color = backgroundColor ?? theme.backgroundDark; final barrier = theme.barrier; - return Navigator.push( + return appRouter.push( context, - _AppHeightEightModalRoute( + _AppHeightEightModalRoute( builder: (BuildContext context) => widget, color: color, radius: radius, @@ -182,7 +181,7 @@ class _AppHeightNineModalRoute extends PopupRoute { onTap: () { if (closeOnTap) { // Close when tapped anywhere - Navigator.of(context).pop(); + appRouter.pop(context); } }, child: Theme( @@ -193,7 +192,7 @@ class _AppHeightNineModalRoute extends PopupRoute { delegate: _AppHeightNineSheetLayout(appSheetAnimation.value), child: BottomSheet( animationController: _animationController, - onClosing: () => Navigator.pop(context), + onClosing: () => appRouter.pop(context), builder: (context) => Container( decoration: BoxDecoration( color: color, @@ -324,7 +323,7 @@ class _AppHeightEightModalRoute extends PopupRoute { delegate: _AppHeightEightSheetLayout(appSheetAnimation.value), child: BottomSheet( animationController: _animationController, - onClosing: () => Navigator.pop(context), + onClosing: () => appRouter.pop(context), builder: (context) => Container( decoration: BoxDecoration( color: color, diff --git a/missing_translations.txt b/missing_translations.txt new file mode 100644 index 0000000..ca6945a --- /dev/null +++ b/missing_translations.txt @@ -0,0 +1,883 @@ +{ + "af": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ar": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "bg": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "bn": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ca": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "cs": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "da": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "de": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "el": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "es": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "eu": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "fa": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "fi": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "fr": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "he": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "hi": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "hu": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "id": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "it": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ja": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ka": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ko": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "lv": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ms": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "nl": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "no": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "pl": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "pt": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ro": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ru": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "sk": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "sl": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "sq": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "sr": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "sv": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "te": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "tl": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "tr": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "uk": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "ur": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "vi": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ], + + "zh": [ + "missingSecretPhrase", + "secretPhrase12Words", + "secretPhrase24Words", + "importOptionStandardWalletTitle", + "importOptionStandardWalletDescription", + "importOptionLegacyWalletTitle", + "importOptionLegacyWalletDescription", + "requestPasswordHeader", + "requestPasswordAtLaunch", + "requestPasswordWhenLocked", + "requestPasswordWhenSigning", + "importWalletAdvancedOptions", + "bip39Passphrase", + "bip39PassphraseWarning", + "bip39PassphraseEnter", + "bip39PassphraseConfirm", + "bip39PassphraseMismatch", + "bip39PassphraseNote" + ] +} diff --git a/pubspec.yaml b/pubspec.yaml index ffdf6f9..50b479e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: spectrum description: The Ultimate Self-Custodial Wallet for the Spectre Network. publish_to: "none" -version: 0.3.16+1 +version: 0.3.17+1 environment: sdk: '>=3.3.0 <4.0.0' diff --git a/test/bech32_test.dart b/test/bech32_test.dart index c1e5297..806a08e 100644 --- a/test/bech32_test.dart +++ b/test/bech32_test.dart @@ -1,7 +1,6 @@ import 'package:flutter_test/flutter_test.dart'; import 'package:spectrum/spectre/bech32/bech32.dart'; import 'package:spectrum/spectre/spectre.dart'; -import 'package:spectrum/utils.dart'; const checkEncodingStringTests = [ ["a", "0", "", "a:qqeq69uvrh"],