react-native-zcash 0.3.5 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +10 -7
- package/android/build.gradle +6 -4
- package/android/src/main/assets/saplingtree/mainnet/1310000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1320000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1330000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1340000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1350000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1360000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1370000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1380000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1390000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1400000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1410000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1420000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1430000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1440000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1450000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1460000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1470000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1480000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1490000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1500000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1510000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1520000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1530000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1540000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1550000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1560000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1570000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1580000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1590000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1600000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1610000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1620000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1630000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1640000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1650000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1660000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1670000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1680000.json +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1690000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1700000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1710000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1720000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1730000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1740000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1750000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1760000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1770000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1780000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1790000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1800000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1810000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1820000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1830000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1840000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1850000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1860000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1870000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1880000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1890000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1900000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1910000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1920000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1930000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1940000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1950000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1960000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1970000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1980000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/1990000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2000000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2010000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2020000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2030000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2040000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2050000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2060000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2070000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2080000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2090000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2100000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2110000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2120000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2130000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2140000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2150000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2160000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2170000.json +2 -1
- package/android/src/main/assets/saplingtree/mainnet/2180000.json +8 -0
- package/android/src/main/assets/saplingtree/mainnet/2190000.json +8 -0
- package/android/src/main/assets/saplingtree/mainnet/2200000.json +8 -0
- package/android/src/main/assets/saplingtree/mainnet/2210000.json +8 -0
- package/android/src/main/java/app/edge/rnzcash/RNZcashModule.kt +179 -175
- package/android/src/main/java/app/edge/rnzcash/RNZcashPackage.kt +2 -3
- package/ios/RNZcash.m +5 -21
- package/ios/RNZcash.swift +531 -512
- package/ios/ZCashLightClientKit/Block/CompactBlockProcessor.swift +1365 -0
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/ConnectorProvider.swift +12 -0
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/DatabaseStorageError.swift +20 -0
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/SimpleConnectionProvider.swift +39 -0
- package/ios/ZCashLightClientKit/Block/Download/BlockDownloader.swift +295 -0
- package/ios/ZCashLightClientKit/Block/Download/BlockDownloaderService.swift +117 -0
- package/ios/ZCashLightClientKit/Block/Enhance/BlockEnhancer.swift +123 -0
- package/ios/ZCashLightClientKit/Block/FetchUnspentTxOutputs/UTXOFetcher.swift +114 -0
- package/ios/ZCashLightClientKit/Block/FilesystemStorage/FSCompactBlockRepository.swift +419 -0
- package/ios/ZCashLightClientKit/Block/SaplingParameters/SaplingParametersHandler.swift +52 -0
- package/ios/ZCashLightClientKit/Block/Scan/BlockScanner.swift +114 -0
- package/ios/ZCashLightClientKit/Block/Utils/AfterSyncHooksManager.swift +88 -0
- package/ios/ZCashLightClientKit/Block/Utils/InternalSyncProgress.swift +200 -0
- package/ios/ZCashLightClientKit/Block/Validate/BlockValidator.swift +51 -0
- package/ios/ZCashLightClientKit/ClosureSynchronizer.swift +84 -0
- package/ios/ZCashLightClientKit/CombineSynchronizer.swift +76 -0
- package/ios/ZCashLightClientKit/Constants/Checkpoint+Constants.swift +98 -0
- package/ios/ZCashLightClientKit/Constants/Checkpoint+mainnet.swift +19 -0
- package/ios/ZCashLightClientKit/Constants/Checkpoint+testnet.swift +20 -0
- package/ios/ZCashLightClientKit/Constants/ZcashSDK.swift +139 -169
- package/ios/ZCashLightClientKit/DAO/BlockDao.swift +65 -20
- package/ios/ZCashLightClientKit/DAO/PagedTransactionDao.swift +20 -28
- package/ios/ZCashLightClientKit/DAO/TransactionDao.swift +175 -323
- package/ios/ZCashLightClientKit/DAO/UnspentTransactionOutputDao.swift +80 -58
- package/ios/ZCashLightClientKit/Entity/AccountEntity.swift +86 -88
- package/ios/ZCashLightClientKit/Entity/BlockProgress.swift +24 -0
- package/ios/ZCashLightClientKit/Entity/EncodedTransactionEntity.swift +3 -3
- package/ios/ZCashLightClientKit/Entity/SentNoteEntity.swift +15 -12
- package/ios/ZCashLightClientKit/Entity/TransactionEntity.swift +205 -131
- package/ios/ZCashLightClientKit/Entity/UnspentTransactionOutputEntity.swift +7 -6
- package/ios/ZCashLightClientKit/Entity/ZcashCompactBlock.swift +96 -0
- package/ios/ZCashLightClientKit/Error/Sourcery/ZcashError.stencil +40 -0
- package/ios/ZCashLightClientKit/Error/Sourcery/ZcashErrorCode.stencil +15 -0
- package/ios/ZCashLightClientKit/Error/Sourcery/generateErrorCode.sh +34 -0
- package/ios/ZCashLightClientKit/Error/ZcashError.swift +820 -0
- package/ios/ZCashLightClientKit/Error/ZcashErrorCode.swift +306 -0
- package/ios/ZCashLightClientKit/Error/ZcashErrorCodeDefinition.swift +596 -0
- package/ios/ZCashLightClientKit/Extensions/Error+ZcashError.swift +18 -0
- package/ios/ZCashLightClientKit/Extensions/HexEncode.swift +1 -1
- package/ios/ZCashLightClientKit/Extensions/NumberFormatter+Zcash.swift +19 -0
- package/ios/ZCashLightClientKit/Extensions/URL+UpdateWithAlias.swift +36 -0
- package/ios/ZCashLightClientKit/Extensions/Undescribable.swift +22 -0
- package/ios/ZCashLightClientKit/Extensions/Zatoshi+SQLite.swift +20 -0
- package/ios/ZCashLightClientKit/Initializer.swift +336 -260
- package/ios/ZCashLightClientKit/Metrics/SDKMetrics.swift +270 -0
- package/ios/ZCashLightClientKit/Model/Checkpoint.swift +84 -0
- package/ios/ZCashLightClientKit/Model/Memo.swift +236 -0
- package/ios/ZCashLightClientKit/Model/WalletTypes.swift +261 -88
- package/ios/ZCashLightClientKit/Model/Zatoshi.swift +115 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/LightWalletGRPCService.swift +342 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/ProtoBuf/Extensions/Protocolbuffer+Extensions.swift +50 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/ProtoBuf/compact_formats.pb.swift +399 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/ProtoBuf/proto/compact_formats.proto +66 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/ProtoBuf/proto/service.proto +185 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/ProtoBuf/service.grpc.swift +1123 -0
- package/ios/ZCashLightClientKit/Modules/Service/GRPC/ProtoBuf/service.pb.swift +1208 -0
- package/ios/ZCashLightClientKit/Modules/Service/LightWalletService.swift +195 -0
- package/ios/ZCashLightClientKit/Providers/LatestBlocksDataProvider.swift +69 -0
- package/ios/ZCashLightClientKit/Providers/ResourceProvider.swift +24 -6
- package/ios/ZCashLightClientKit/Repository/CompactBlockRepository.swift +14 -46
- package/ios/ZCashLightClientKit/Repository/NotesRepository.swift +1 -0
- package/ios/ZCashLightClientKit/Repository/PaginatedTransactionRepository.swift +6 -6
- package/ios/ZCashLightClientKit/Repository/TransactionRepository.swift +18 -19
- package/ios/ZCashLightClientKit/Repository/UnspentTransactionOutputRepository.swift +5 -7
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1000000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1010000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1020000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1030000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1040000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1050000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1060000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1070000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1080000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1090000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1100000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1110000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1120000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1130000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1140000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1150000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1160000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1170000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1180000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1190000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1200000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1210000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1220000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1230000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1240000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1250000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1260000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1270000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1280000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1290000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1300000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1310000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1320000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1330000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1340000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1350000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1360000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1370000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1380000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1390000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1400000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1410000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1420000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1430000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1440000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1450000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1460000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1470000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1480000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1490000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1631000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1686871.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1687104.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1690000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1700000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1710000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1720000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1722500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1725000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1727500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1730000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1732500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1735000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1737500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1740000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1742500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1745000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1747500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1750000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1752500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1755000.json +9 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1757500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1760000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1762500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1765000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1767500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1770000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1772500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1775000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1777500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1780000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1782500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1785000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1787500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1790000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1792500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1795000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1797500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1800000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1802500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1805000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1807500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1810000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1812500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1815000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1817500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1820000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1822500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1825000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1827500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1830000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1832500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1835000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1837500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1840000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1842500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1845000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1847500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1850000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1852500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1855000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1857500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1860000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1862500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1865000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1867500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1870000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1872500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1875000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1877500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1880000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1882500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1885000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1887500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1890000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1892500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1895000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1897500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1900000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1902500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1905000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1907500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1910000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1912500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1915000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1917500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1920000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1922500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1925000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1927500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1930000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1932500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1935000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1937500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1940000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1942500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1945000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1947500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1950000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1952500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1955000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1957500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1960000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1962500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1965000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1967500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1970000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1972500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1975000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1977500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1980000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1982500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1985000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1987500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1990000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1992500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1995000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/1997500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2000000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2002500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2005000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2007500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2010000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2012500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2015000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2017500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2020000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2022500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2025000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2027500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2030000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2032500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2035000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2037500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2040000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2042500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2045000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2047500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2050000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2052500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2055000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2057500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2060000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2062500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2065000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2067500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2070000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2072500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2075000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2077500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2080000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2082500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2085000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2087500.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2090000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2100000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2110000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2120000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2130000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2140000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2150000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2160000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2170000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2180000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2190000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2200000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/2210000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/419200.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/663150.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/850000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/860000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/870000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/880000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/890000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/900000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/910000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/920000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/930000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/940000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/950000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/960000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/970000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/980000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/mainnet/990000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1000000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1010000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1020000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1030000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1040000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1050000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1060000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1070000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1080000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1090000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1100000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1110000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1120000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1130000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1140000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1150000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1160000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1170000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1180000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1190000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1200000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1210000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1220000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1230000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1240000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1250000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1260000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1270000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1280000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1290000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1300000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1310000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1320000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1330000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1340000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1350000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1360000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1370000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1380000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1390000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1400000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1410000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1420000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1430000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1440000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1450000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1460000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1470000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1480000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1490000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1842420.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1850000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1860000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1870000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1880000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1890000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1900000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1910000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1920000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1930000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1940000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1950000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1960000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1970000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1980000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/1990000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2000000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2010000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2020000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2030000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2040000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2050000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2060000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2070000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2080000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2090000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2100000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2110000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2120000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2130000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2140000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2150000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2160000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2170000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2180000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2190000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2200000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2210000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2220000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2230000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2240000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2250000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2260000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2270000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2280000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2290000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2300000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2310000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2320000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2330000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/2340000.json +8 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/280000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/290000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/300000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/310000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/320000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/330000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/340000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/350000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/360000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/370000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/380000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/390000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/400000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/410000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/420000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/430000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/440000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/450000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/460000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/470000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/480000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/490000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/850000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/860000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/870000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/880000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/890000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/900000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/910000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/920000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/930000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/940000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/950000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/960000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/970000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/980000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/checkpoints/testnet/990000.json +7 -0
- package/ios/ZCashLightClientKit/Rust/ZcashKeyDerivationBackend.swift +218 -0
- package/ios/ZCashLightClientKit/Rust/ZcashKeyDerivationBackendWelding.swift +88 -0
- package/ios/ZCashLightClientKit/Rust/ZcashRustBackend.swift +531 -604
- package/ios/ZCashLightClientKit/Rust/ZcashRustBackendWelding.swift +223 -356
- package/ios/ZCashLightClientKit/Rust/zcashlc.h +802 -136
- package/ios/ZCashLightClientKit/Synchronizer/ClosureSDKSynchronizer.swift +180 -0
- package/ios/ZCashLightClientKit/Synchronizer/CombineSDKSynchronizer.swift +175 -0
- package/ios/ZCashLightClientKit/Synchronizer/Dependencies.swift +207 -0
- package/ios/ZCashLightClientKit/Synchronizer/SDKSynchronizer.swift +527 -793
- package/ios/ZCashLightClientKit/Synchronizer.swift +416 -342
- package/ios/ZCashLightClientKit/Tool/DerivationTool.swift +163 -300
- package/ios/ZCashLightClientKit/Transaction/TransactionEncoder.swift +39 -89
- package/ios/ZCashLightClientKit/Transaction/WalletTransactionEncoder.swift +93 -144
- package/ios/ZCashLightClientKit/Utils/AsyncToClosureGateway.swift +46 -0
- package/ios/ZCashLightClientKit/Utils/AsyncToCombineGateway.swift +59 -0
- package/ios/ZCashLightClientKit/Utils/Clamped.swift +32 -0
- package/ios/ZCashLightClientKit/Utils/DIContainer.swift +86 -0
- package/ios/ZCashLightClientKit/Utils/GenericActor.swift +18 -0
- package/ios/ZCashLightClientKit/Utils/LoggingProxy.swift +22 -21
- package/ios/ZCashLightClientKit/Utils/OSLogger.swift +109 -0
- package/ios/ZCashLightClientKit/Utils/SaplingParameterDownloader.swift +124 -89
- package/ios/ZCashLightClientKit/Utils/SpecificCombineTypes.swift +16 -0
- package/ios/ZCashLightClientKit/Utils/SyncSessionIDGenerator.swift +32 -0
- package/ios/ZCashLightClientKit/Utils/Task+sleep.swift +14 -0
- package/ios/ZCashLightClientKit/Utils/UsedAliasesChecker.swift +41 -0
- package/ios/libzcashlc.xcframework/Info.plist +5 -5
- package/ios/libzcashlc.xcframework/ios-arm64/libzcashlc.a +0 -0
- package/ios/libzcashlc.xcframework/ios-arm64_x86_64-simulator/libzcashlc.a +0 -0
- package/lib/rnzcash.rn.js +37 -80
- package/lib/rnzcash.rn.js.map +1 -1
- package/lib/src/react-native.d.ts +5 -10
- package/lib/src/types.d.ts +3 -4
- package/package.json +4 -1
- package/react-native-zcash.podspec +5 -4
- package/src/react-native.ts +15 -41
- package/src/types.ts +3 -4
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/CompactBlockStorage.swift +0 -123
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/DatabaseMigrationManager.swift +0 -222
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/StorageError.swift +0 -22
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/StorageManager.swift +0 -73
- package/ios/ZCashLightClientKit/Block/Downloader/BlockDownloader.swift +0 -240
- package/ios/ZCashLightClientKit/Block/Downloader/CompactBlockDownloaderBuilder.swift +0 -26
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockDownloadOperation.swift +0 -258
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockEnhancementOperation.swift +0 -157
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockProcessor.swift +0 -1454
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockScanningOperation.swift +0 -238
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockValidationInformation.swift +0 -66
- package/ios/ZCashLightClientKit/Block/Processor/FetchUnspentTxOutputsOperation.swift +0 -103
- package/ios/ZCashLightClientKit/Block/Processor/FigureNextBatchOperation.swift +0 -58
- package/ios/ZCashLightClientKit/Block/Processor/ZcashOperation.swift +0 -68
- package/ios/ZCashLightClientKit/Constants/WalletBirthday+Constants.swift +0 -58
- package/ios/ZCashLightClientKit/Constants/WalletBirthday+mainnet.swift +0 -20
- package/ios/ZCashLightClientKit/Constants/WalletBirthday+testnet.swift +0 -20
- package/ios/ZCashLightClientKit/DAO/CompactBlockDAO.swift +0 -24
- package/ios/ZCashLightClientKit/DAO/NotesDao.swift +0 -142
- package/ios/ZCashLightClientKit/DAO/PendingTransactionDao.swift +0 -213
- package/ios/ZCashLightClientKit/DAO/TransactionBuilder.swift +0 -169
- package/ios/ZCashLightClientKit/Entity/CompactBlockEntity.swift +0 -13
- package/ios/ZCashLightClientKit/Entity/PendingTransactionEntity.swift +0 -205
- package/ios/ZCashLightClientKit/Entity/ReceivedNoteEntity.swift +0 -22
- package/ios/ZCashLightClientKit/Repository/PendingTransactionRepository.swift +0 -19
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1000000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1010000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1020000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1030000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1040000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1050000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1060000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1070000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1080000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1090000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1100000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1110000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1120000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1130000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1140000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1150000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1160000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1170000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1180000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1190000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1200000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1210000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1220000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1230000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1240000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1250000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1260000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1270000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1280000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1290000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1300000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1310000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1320000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1330000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1340000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1350000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1360000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1370000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1380000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1390000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1400000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1410000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1420000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1430000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1440000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1450000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1460000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1470000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1480000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1490000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1500000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1510000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1520000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1530000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1540000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1550000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1560000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1570000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1580000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1590000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1600000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1610000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1620000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1630000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1640000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1650000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1660000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1670000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1680000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1690000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1700000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1710000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1720000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1730000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1740000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1750000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1760000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1770000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1780000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1790000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1800000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1810000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1820000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1830000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1840000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1850000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1860000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1870000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1880000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1890000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1900000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1910000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1920000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1930000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1940000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1950000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1960000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1970000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1980000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1990000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2000000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2010000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2020000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2030000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2040000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2050000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2060000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2070000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2080000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2090000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2100000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2110000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2120000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2130000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2140000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2150000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2160000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2170000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/419200.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/500000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/510000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/520000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/530000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/540000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/550000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/560000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/570000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/580000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/590000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/600000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/610000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/620000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/630000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/640000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/650000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/660000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/663150.json +0 -8
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/670000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/680000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/690000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/700000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/710000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/720000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/730000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/740000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/750000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/760000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/770000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/780000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/790000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/800000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/810000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/820000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/830000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/840000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/850000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/860000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/870000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/880000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/890000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/900000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/910000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/920000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/930000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/940000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/950000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/960000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/970000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/980000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/990000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1000000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1010000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1020000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1030000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1040000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1050000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1060000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1070000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1080000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1090000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1100000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1110000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1120000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1130000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1140000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1150000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1160000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1170000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1180000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1190000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1200000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1210000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1220000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1230000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1240000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1250000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1260000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1270000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1280000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1290000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1300000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1310000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1320000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1330000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1340000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1350000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1360000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1370000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1380000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1390000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1400000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1410000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1420000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1430000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1440000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1450000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1460000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1470000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1480000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1490000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1500000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1510000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1520000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1530000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1540000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1550000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1560000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1570000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1580000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1590000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1600000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1610000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1620000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1630000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1640000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1650000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1660000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1670000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1680000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1690000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1700000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1710000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1720000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1730000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1740000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1750000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1760000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1770000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1780000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1790000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1800000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1810000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1820000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1830000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1840000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1850000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1860000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/280000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/290000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/300000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/310000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/320000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/330000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/340000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/350000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/360000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/370000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/380000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/390000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/400000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/410000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/420000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/430000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/440000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/450000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/460000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/470000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/480000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/490000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/500000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/510000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/520000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/530000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/540000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/550000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/560000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/570000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/580000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/590000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/600000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/610000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/620000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/630000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/640000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/650000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/660000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/670000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/680000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/690000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/700000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/710000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/720000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/730000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/740000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/750000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/760000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/770000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/780000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/790000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/800000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/810000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/820000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/830000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/840000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/850000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/860000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/870000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/880000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/890000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/900000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/910000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/920000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/930000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/940000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/950000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/960000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/970000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/980000.json +0 -7
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/990000.json +0 -7
- package/ios/ZCashLightClientKit/Service/LightWalletGRPCService.swift +0 -551
- package/ios/ZCashLightClientKit/Service/LightWalletService.swift +0 -214
- package/ios/ZCashLightClientKit/Service/Model/ZcashCompactBlock.swift +0 -46
- package/ios/ZCashLightClientKit/Service/ProtoBuf/Extensions/Protocolbuffer+Extensions.swift +0 -50
- package/ios/ZCashLightClientKit/Service/ProtoBuf/compact_formats.pb.swift +0 -332
- package/ios/ZCashLightClientKit/Service/ProtoBuf/proto/compact_formats.proto +0 -56
- package/ios/ZCashLightClientKit/Service/ProtoBuf/proto/service.proto +0 -180
- package/ios/ZCashLightClientKit/Service/ProtoBuf/service.grpc.swift +0 -383
- package/ios/ZCashLightClientKit/Service/ProtoBuf/service.pb.swift +0 -1173
- package/ios/ZCashLightClientKit/Transaction/PersistentTransactionManager.swift +0 -339
- package/ios/ZCashLightClientKit/Transaction/TransactionManager.swift +0 -42
- package/ios/ZCashLightClientKit/Utils/Bundle+module.swift +0 -30
|
@@ -0,0 +1,1123 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DO NOT EDIT.
|
|
3
|
+
//
|
|
4
|
+
// Generated by the protocol buffer compiler.
|
|
5
|
+
// Source: service.proto
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
//
|
|
9
|
+
// Copyright 2018, gRPC Authors All rights reserved.
|
|
10
|
+
//
|
|
11
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
// you may not use this file except in compliance with the License.
|
|
13
|
+
// You may obtain a copy of the License at
|
|
14
|
+
//
|
|
15
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
//
|
|
17
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
+
// See the License for the specific language governing permissions and
|
|
21
|
+
// limitations under the License.
|
|
22
|
+
//
|
|
23
|
+
import GRPC
|
|
24
|
+
import NIO
|
|
25
|
+
import NIOConcurrencyHelpers
|
|
26
|
+
import SwiftProtobuf
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/// Usage: instantiate `CompactTxStreamerClient`, then call methods of this protocol to make API calls.
|
|
30
|
+
internal protocol CompactTxStreamerClientProtocol: GRPCClient {
|
|
31
|
+
var serviceName: String { get }
|
|
32
|
+
var interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? { get }
|
|
33
|
+
|
|
34
|
+
func getLatestBlock(
|
|
35
|
+
_ request: ChainSpec,
|
|
36
|
+
callOptions: CallOptions?
|
|
37
|
+
) -> UnaryCall<ChainSpec, BlockID>
|
|
38
|
+
|
|
39
|
+
func getBlock(
|
|
40
|
+
_ request: BlockID,
|
|
41
|
+
callOptions: CallOptions?
|
|
42
|
+
) -> UnaryCall<BlockID, CompactBlock>
|
|
43
|
+
|
|
44
|
+
func getBlockRange(
|
|
45
|
+
_ request: BlockRange,
|
|
46
|
+
callOptions: CallOptions?,
|
|
47
|
+
handler: @escaping (CompactBlock) -> Void
|
|
48
|
+
) -> ServerStreamingCall<BlockRange, CompactBlock>
|
|
49
|
+
|
|
50
|
+
func getTransaction(
|
|
51
|
+
_ request: TxFilter,
|
|
52
|
+
callOptions: CallOptions?
|
|
53
|
+
) -> UnaryCall<TxFilter, RawTransaction>
|
|
54
|
+
|
|
55
|
+
func sendTransaction(
|
|
56
|
+
_ request: RawTransaction,
|
|
57
|
+
callOptions: CallOptions?
|
|
58
|
+
) -> UnaryCall<RawTransaction, SendResponse>
|
|
59
|
+
|
|
60
|
+
func getTaddressTxids(
|
|
61
|
+
_ request: TransparentAddressBlockFilter,
|
|
62
|
+
callOptions: CallOptions?,
|
|
63
|
+
handler: @escaping (RawTransaction) -> Void
|
|
64
|
+
) -> ServerStreamingCall<TransparentAddressBlockFilter, RawTransaction>
|
|
65
|
+
|
|
66
|
+
func getTaddressBalance(
|
|
67
|
+
_ request: AddressList,
|
|
68
|
+
callOptions: CallOptions?
|
|
69
|
+
) -> UnaryCall<AddressList, Balance>
|
|
70
|
+
|
|
71
|
+
func getTaddressBalanceStream(
|
|
72
|
+
callOptions: CallOptions?
|
|
73
|
+
) -> ClientStreamingCall<Address, Balance>
|
|
74
|
+
|
|
75
|
+
func getMempoolTx(
|
|
76
|
+
_ request: Exclude,
|
|
77
|
+
callOptions: CallOptions?,
|
|
78
|
+
handler: @escaping (CompactTx) -> Void
|
|
79
|
+
) -> ServerStreamingCall<Exclude, CompactTx>
|
|
80
|
+
|
|
81
|
+
func getMempoolStream(
|
|
82
|
+
_ request: Empty,
|
|
83
|
+
callOptions: CallOptions?,
|
|
84
|
+
handler: @escaping (RawTransaction) -> Void
|
|
85
|
+
) -> ServerStreamingCall<Empty, RawTransaction>
|
|
86
|
+
|
|
87
|
+
func getTreeState(
|
|
88
|
+
_ request: BlockID,
|
|
89
|
+
callOptions: CallOptions?
|
|
90
|
+
) -> UnaryCall<BlockID, TreeState>
|
|
91
|
+
|
|
92
|
+
func getAddressUtxos(
|
|
93
|
+
_ request: GetAddressUtxosArg,
|
|
94
|
+
callOptions: CallOptions?
|
|
95
|
+
) -> UnaryCall<GetAddressUtxosArg, GetAddressUtxosReplyList>
|
|
96
|
+
|
|
97
|
+
func getAddressUtxosStream(
|
|
98
|
+
_ request: GetAddressUtxosArg,
|
|
99
|
+
callOptions: CallOptions?,
|
|
100
|
+
handler: @escaping (GetAddressUtxosReply) -> Void
|
|
101
|
+
) -> ServerStreamingCall<GetAddressUtxosArg, GetAddressUtxosReply>
|
|
102
|
+
|
|
103
|
+
func getLightdInfo(
|
|
104
|
+
_ request: Empty,
|
|
105
|
+
callOptions: CallOptions?
|
|
106
|
+
) -> UnaryCall<Empty, LightdInfo>
|
|
107
|
+
|
|
108
|
+
func ping(
|
|
109
|
+
_ request: Duration,
|
|
110
|
+
callOptions: CallOptions?
|
|
111
|
+
) -> UnaryCall<Duration, PingResponse>
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
extension CompactTxStreamerClientProtocol {
|
|
115
|
+
internal var serviceName: String {
|
|
116
|
+
return "cash.z.wallet.sdk.rpc.CompactTxStreamer"
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/// Return the height of the tip of the best chain
|
|
120
|
+
///
|
|
121
|
+
/// - Parameters:
|
|
122
|
+
/// - request: Request to send to GetLatestBlock.
|
|
123
|
+
/// - callOptions: Call options.
|
|
124
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
125
|
+
internal func getLatestBlock(
|
|
126
|
+
_ request: ChainSpec,
|
|
127
|
+
callOptions: CallOptions? = nil
|
|
128
|
+
) -> UnaryCall<ChainSpec, BlockID> {
|
|
129
|
+
return self.makeUnaryCall(
|
|
130
|
+
path: CompactTxStreamerClientMetadata.Methods.getLatestBlock.path,
|
|
131
|
+
request: request,
|
|
132
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
133
|
+
interceptors: self.interceptors?.makeGetLatestBlockInterceptors() ?? []
|
|
134
|
+
)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/// Return the compact block corresponding to the given block identifier
|
|
138
|
+
///
|
|
139
|
+
/// - Parameters:
|
|
140
|
+
/// - request: Request to send to GetBlock.
|
|
141
|
+
/// - callOptions: Call options.
|
|
142
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
143
|
+
internal func getBlock(
|
|
144
|
+
_ request: BlockID,
|
|
145
|
+
callOptions: CallOptions? = nil
|
|
146
|
+
) -> UnaryCall<BlockID, CompactBlock> {
|
|
147
|
+
return self.makeUnaryCall(
|
|
148
|
+
path: CompactTxStreamerClientMetadata.Methods.getBlock.path,
|
|
149
|
+
request: request,
|
|
150
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
151
|
+
interceptors: self.interceptors?.makeGetBlockInterceptors() ?? []
|
|
152
|
+
)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/// Return a list of consecutive compact blocks
|
|
156
|
+
///
|
|
157
|
+
/// - Parameters:
|
|
158
|
+
/// - request: Request to send to GetBlockRange.
|
|
159
|
+
/// - callOptions: Call options.
|
|
160
|
+
/// - handler: A closure called when each response is received from the server.
|
|
161
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
162
|
+
internal func getBlockRange(
|
|
163
|
+
_ request: BlockRange,
|
|
164
|
+
callOptions: CallOptions? = nil,
|
|
165
|
+
handler: @escaping (CompactBlock) -> Void
|
|
166
|
+
) -> ServerStreamingCall<BlockRange, CompactBlock> {
|
|
167
|
+
return self.makeServerStreamingCall(
|
|
168
|
+
path: CompactTxStreamerClientMetadata.Methods.getBlockRange.path,
|
|
169
|
+
request: request,
|
|
170
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
171
|
+
interceptors: self.interceptors?.makeGetBlockRangeInterceptors() ?? [],
|
|
172
|
+
handler: handler
|
|
173
|
+
)
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/// Return the requested full (not compact) transaction (as from zcashd)
|
|
177
|
+
///
|
|
178
|
+
/// - Parameters:
|
|
179
|
+
/// - request: Request to send to GetTransaction.
|
|
180
|
+
/// - callOptions: Call options.
|
|
181
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
182
|
+
internal func getTransaction(
|
|
183
|
+
_ request: TxFilter,
|
|
184
|
+
callOptions: CallOptions? = nil
|
|
185
|
+
) -> UnaryCall<TxFilter, RawTransaction> {
|
|
186
|
+
return self.makeUnaryCall(
|
|
187
|
+
path: CompactTxStreamerClientMetadata.Methods.getTransaction.path,
|
|
188
|
+
request: request,
|
|
189
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
190
|
+
interceptors: self.interceptors?.makeGetTransactionInterceptors() ?? []
|
|
191
|
+
)
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/// Submit the given transaction to the Zcash network
|
|
195
|
+
///
|
|
196
|
+
/// - Parameters:
|
|
197
|
+
/// - request: Request to send to SendTransaction.
|
|
198
|
+
/// - callOptions: Call options.
|
|
199
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
200
|
+
internal func sendTransaction(
|
|
201
|
+
_ request: RawTransaction,
|
|
202
|
+
callOptions: CallOptions? = nil
|
|
203
|
+
) -> UnaryCall<RawTransaction, SendResponse> {
|
|
204
|
+
return self.makeUnaryCall(
|
|
205
|
+
path: CompactTxStreamerClientMetadata.Methods.sendTransaction.path,
|
|
206
|
+
request: request,
|
|
207
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
208
|
+
interceptors: self.interceptors?.makeSendTransactionInterceptors() ?? []
|
|
209
|
+
)
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/// Return the txids corresponding to the given t-address within the given block range
|
|
213
|
+
///
|
|
214
|
+
/// - Parameters:
|
|
215
|
+
/// - request: Request to send to GetTaddressTxids.
|
|
216
|
+
/// - callOptions: Call options.
|
|
217
|
+
/// - handler: A closure called when each response is received from the server.
|
|
218
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
219
|
+
internal func getTaddressTxids(
|
|
220
|
+
_ request: TransparentAddressBlockFilter,
|
|
221
|
+
callOptions: CallOptions? = nil,
|
|
222
|
+
handler: @escaping (RawTransaction) -> Void
|
|
223
|
+
) -> ServerStreamingCall<TransparentAddressBlockFilter, RawTransaction> {
|
|
224
|
+
return self.makeServerStreamingCall(
|
|
225
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressTxids.path,
|
|
226
|
+
request: request,
|
|
227
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
228
|
+
interceptors: self.interceptors?.makeGetTaddressTxidsInterceptors() ?? [],
|
|
229
|
+
handler: handler
|
|
230
|
+
)
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/// Unary call to GetTaddressBalance
|
|
234
|
+
///
|
|
235
|
+
/// - Parameters:
|
|
236
|
+
/// - request: Request to send to GetTaddressBalance.
|
|
237
|
+
/// - callOptions: Call options.
|
|
238
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
239
|
+
internal func getTaddressBalance(
|
|
240
|
+
_ request: AddressList,
|
|
241
|
+
callOptions: CallOptions? = nil
|
|
242
|
+
) -> UnaryCall<AddressList, Balance> {
|
|
243
|
+
return self.makeUnaryCall(
|
|
244
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalance.path,
|
|
245
|
+
request: request,
|
|
246
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
247
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceInterceptors() ?? []
|
|
248
|
+
)
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/// Client streaming call to GetTaddressBalanceStream
|
|
252
|
+
///
|
|
253
|
+
/// Callers should use the `send` method on the returned object to send messages
|
|
254
|
+
/// to the server. The caller should send an `.end` after the final message has been sent.
|
|
255
|
+
///
|
|
256
|
+
/// - Parameters:
|
|
257
|
+
/// - callOptions: Call options.
|
|
258
|
+
/// - Returns: A `ClientStreamingCall` with futures for the metadata, status and response.
|
|
259
|
+
internal func getTaddressBalanceStream(
|
|
260
|
+
callOptions: CallOptions? = nil
|
|
261
|
+
) -> ClientStreamingCall<Address, Balance> {
|
|
262
|
+
return self.makeClientStreamingCall(
|
|
263
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalanceStream.path,
|
|
264
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
265
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceStreamInterceptors() ?? []
|
|
266
|
+
)
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/// Return the compact transactions currently in the mempool; the results
|
|
270
|
+
/// can be a few seconds out of date. If the Exclude list is empty, return
|
|
271
|
+
/// all transactions; otherwise return all *except* those in the Exclude list
|
|
272
|
+
/// (if any); this allows the client to avoid receiving transactions that it
|
|
273
|
+
/// already has (from an earlier call to this rpc). The transaction IDs in the
|
|
274
|
+
/// Exclude list can be shortened to any number of bytes to make the request
|
|
275
|
+
/// more bandwidth-efficient; if two or more transactions in the mempool
|
|
276
|
+
/// match a shortened txid, they are all sent (none is excluded). Transactions
|
|
277
|
+
/// in the exclude list that don't exist in the mempool are ignored.
|
|
278
|
+
///
|
|
279
|
+
/// - Parameters:
|
|
280
|
+
/// - request: Request to send to GetMempoolTx.
|
|
281
|
+
/// - callOptions: Call options.
|
|
282
|
+
/// - handler: A closure called when each response is received from the server.
|
|
283
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
284
|
+
internal func getMempoolTx(
|
|
285
|
+
_ request: Exclude,
|
|
286
|
+
callOptions: CallOptions? = nil,
|
|
287
|
+
handler: @escaping (CompactTx) -> Void
|
|
288
|
+
) -> ServerStreamingCall<Exclude, CompactTx> {
|
|
289
|
+
return self.makeServerStreamingCall(
|
|
290
|
+
path: CompactTxStreamerClientMetadata.Methods.getMempoolTx.path,
|
|
291
|
+
request: request,
|
|
292
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
293
|
+
interceptors: self.interceptors?.makeGetMempoolTxInterceptors() ?? [],
|
|
294
|
+
handler: handler
|
|
295
|
+
)
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/// Return a stream of current Mempool transactions. This will keep the output stream open while
|
|
299
|
+
/// there are mempool transactions. It will close the returned stream when a new block is mined.
|
|
300
|
+
///
|
|
301
|
+
/// - Parameters:
|
|
302
|
+
/// - request: Request to send to GetMempoolStream.
|
|
303
|
+
/// - callOptions: Call options.
|
|
304
|
+
/// - handler: A closure called when each response is received from the server.
|
|
305
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
306
|
+
internal func getMempoolStream(
|
|
307
|
+
_ request: Empty,
|
|
308
|
+
callOptions: CallOptions? = nil,
|
|
309
|
+
handler: @escaping (RawTransaction) -> Void
|
|
310
|
+
) -> ServerStreamingCall<Empty, RawTransaction> {
|
|
311
|
+
return self.makeServerStreamingCall(
|
|
312
|
+
path: CompactTxStreamerClientMetadata.Methods.getMempoolStream.path,
|
|
313
|
+
request: request,
|
|
314
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
315
|
+
interceptors: self.interceptors?.makeGetMempoolStreamInterceptors() ?? [],
|
|
316
|
+
handler: handler
|
|
317
|
+
)
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/// GetTreeState returns the note commitment tree state corresponding to the given block.
|
|
321
|
+
/// See section 3.7 of the Zcash protocol specification. It returns several other useful
|
|
322
|
+
/// values also (even though they can be obtained using GetBlock).
|
|
323
|
+
/// The block can be specified by either height or hash.
|
|
324
|
+
///
|
|
325
|
+
/// - Parameters:
|
|
326
|
+
/// - request: Request to send to GetTreeState.
|
|
327
|
+
/// - callOptions: Call options.
|
|
328
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
329
|
+
internal func getTreeState(
|
|
330
|
+
_ request: BlockID,
|
|
331
|
+
callOptions: CallOptions? = nil
|
|
332
|
+
) -> UnaryCall<BlockID, TreeState> {
|
|
333
|
+
return self.makeUnaryCall(
|
|
334
|
+
path: CompactTxStreamerClientMetadata.Methods.getTreeState.path,
|
|
335
|
+
request: request,
|
|
336
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
337
|
+
interceptors: self.interceptors?.makeGetTreeStateInterceptors() ?? []
|
|
338
|
+
)
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/// Unary call to GetAddressUtxos
|
|
342
|
+
///
|
|
343
|
+
/// - Parameters:
|
|
344
|
+
/// - request: Request to send to GetAddressUtxos.
|
|
345
|
+
/// - callOptions: Call options.
|
|
346
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
347
|
+
internal func getAddressUtxos(
|
|
348
|
+
_ request: GetAddressUtxosArg,
|
|
349
|
+
callOptions: CallOptions? = nil
|
|
350
|
+
) -> UnaryCall<GetAddressUtxosArg, GetAddressUtxosReplyList> {
|
|
351
|
+
return self.makeUnaryCall(
|
|
352
|
+
path: CompactTxStreamerClientMetadata.Methods.getAddressUtxos.path,
|
|
353
|
+
request: request,
|
|
354
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
355
|
+
interceptors: self.interceptors?.makeGetAddressUtxosInterceptors() ?? []
|
|
356
|
+
)
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/// Server streaming call to GetAddressUtxosStream
|
|
360
|
+
///
|
|
361
|
+
/// - Parameters:
|
|
362
|
+
/// - request: Request to send to GetAddressUtxosStream.
|
|
363
|
+
/// - callOptions: Call options.
|
|
364
|
+
/// - handler: A closure called when each response is received from the server.
|
|
365
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
366
|
+
internal func getAddressUtxosStream(
|
|
367
|
+
_ request: GetAddressUtxosArg,
|
|
368
|
+
callOptions: CallOptions? = nil,
|
|
369
|
+
handler: @escaping (GetAddressUtxosReply) -> Void
|
|
370
|
+
) -> ServerStreamingCall<GetAddressUtxosArg, GetAddressUtxosReply> {
|
|
371
|
+
return self.makeServerStreamingCall(
|
|
372
|
+
path: CompactTxStreamerClientMetadata.Methods.getAddressUtxosStream.path,
|
|
373
|
+
request: request,
|
|
374
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
375
|
+
interceptors: self.interceptors?.makeGetAddressUtxosStreamInterceptors() ?? [],
|
|
376
|
+
handler: handler
|
|
377
|
+
)
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/// Return information about this lightwalletd instance and the blockchain
|
|
381
|
+
///
|
|
382
|
+
/// - Parameters:
|
|
383
|
+
/// - request: Request to send to GetLightdInfo.
|
|
384
|
+
/// - callOptions: Call options.
|
|
385
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
386
|
+
internal func getLightdInfo(
|
|
387
|
+
_ request: Empty,
|
|
388
|
+
callOptions: CallOptions? = nil
|
|
389
|
+
) -> UnaryCall<Empty, LightdInfo> {
|
|
390
|
+
return self.makeUnaryCall(
|
|
391
|
+
path: CompactTxStreamerClientMetadata.Methods.getLightdInfo.path,
|
|
392
|
+
request: request,
|
|
393
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
394
|
+
interceptors: self.interceptors?.makeGetLightdInfoInterceptors() ?? []
|
|
395
|
+
)
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/// Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)
|
|
399
|
+
///
|
|
400
|
+
/// - Parameters:
|
|
401
|
+
/// - request: Request to send to Ping.
|
|
402
|
+
/// - callOptions: Call options.
|
|
403
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
404
|
+
internal func ping(
|
|
405
|
+
_ request: Duration,
|
|
406
|
+
callOptions: CallOptions? = nil
|
|
407
|
+
) -> UnaryCall<Duration, PingResponse> {
|
|
408
|
+
return self.makeUnaryCall(
|
|
409
|
+
path: CompactTxStreamerClientMetadata.Methods.ping.path,
|
|
410
|
+
request: request,
|
|
411
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
412
|
+
interceptors: self.interceptors?.makePingInterceptors() ?? []
|
|
413
|
+
)
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
#if compiler(>=5.6)
|
|
418
|
+
@available(*, deprecated)
|
|
419
|
+
extension CompactTxStreamerClient: @unchecked Sendable {}
|
|
420
|
+
#endif // compiler(>=5.6)
|
|
421
|
+
|
|
422
|
+
@available(*, deprecated, renamed: "CompactTxStreamerNIOClient")
|
|
423
|
+
internal final class CompactTxStreamerClient: CompactTxStreamerClientProtocol {
|
|
424
|
+
private let lock = Lock()
|
|
425
|
+
private var _defaultCallOptions: CallOptions
|
|
426
|
+
private var _interceptors: CompactTxStreamerClientInterceptorFactoryProtocol?
|
|
427
|
+
internal let channel: GRPCChannel
|
|
428
|
+
internal var defaultCallOptions: CallOptions {
|
|
429
|
+
get { self.lock.withLock { return self._defaultCallOptions } }
|
|
430
|
+
set { self.lock.withLockVoid { self._defaultCallOptions = newValue } }
|
|
431
|
+
}
|
|
432
|
+
internal var interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? {
|
|
433
|
+
get { self.lock.withLock { return self._interceptors } }
|
|
434
|
+
set { self.lock.withLockVoid { self._interceptors = newValue } }
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/// Creates a client for the cash.z.wallet.sdk.rpc.CompactTxStreamer service.
|
|
438
|
+
///
|
|
439
|
+
/// - Parameters:
|
|
440
|
+
/// - channel: `GRPCChannel` to the service host.
|
|
441
|
+
/// - defaultCallOptions: Options to use for each service call if the user doesn't provide them.
|
|
442
|
+
/// - interceptors: A factory providing interceptors for each RPC.
|
|
443
|
+
internal init(
|
|
444
|
+
channel: GRPCChannel,
|
|
445
|
+
defaultCallOptions: CallOptions = CallOptions(),
|
|
446
|
+
interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? = nil
|
|
447
|
+
) {
|
|
448
|
+
self.channel = channel
|
|
449
|
+
self._defaultCallOptions = defaultCallOptions
|
|
450
|
+
self._interceptors = interceptors
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
internal struct CompactTxStreamerNIOClient: CompactTxStreamerClientProtocol {
|
|
455
|
+
internal var channel: GRPCChannel
|
|
456
|
+
internal var defaultCallOptions: CallOptions
|
|
457
|
+
internal var interceptors: CompactTxStreamerClientInterceptorFactoryProtocol?
|
|
458
|
+
|
|
459
|
+
/// Creates a client for the cash.z.wallet.sdk.rpc.CompactTxStreamer service.
|
|
460
|
+
///
|
|
461
|
+
/// - Parameters:
|
|
462
|
+
/// - channel: `GRPCChannel` to the service host.
|
|
463
|
+
/// - defaultCallOptions: Options to use for each service call if the user doesn't provide them.
|
|
464
|
+
/// - interceptors: A factory providing interceptors for each RPC.
|
|
465
|
+
internal init(
|
|
466
|
+
channel: GRPCChannel,
|
|
467
|
+
defaultCallOptions: CallOptions = CallOptions(),
|
|
468
|
+
interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? = nil
|
|
469
|
+
) {
|
|
470
|
+
self.channel = channel
|
|
471
|
+
self.defaultCallOptions = defaultCallOptions
|
|
472
|
+
self.interceptors = interceptors
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
#if compiler(>=5.6)
|
|
477
|
+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
|
478
|
+
internal protocol CompactTxStreamerAsyncClientProtocol: GRPCClient {
|
|
479
|
+
static var serviceDescriptor: GRPCServiceDescriptor { get }
|
|
480
|
+
var interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? { get }
|
|
481
|
+
|
|
482
|
+
func makeGetLatestBlockCall(
|
|
483
|
+
_ request: ChainSpec,
|
|
484
|
+
callOptions: CallOptions?
|
|
485
|
+
) -> GRPCAsyncUnaryCall<ChainSpec, BlockID>
|
|
486
|
+
|
|
487
|
+
func makeGetBlockCall(
|
|
488
|
+
_ request: BlockID,
|
|
489
|
+
callOptions: CallOptions?
|
|
490
|
+
) -> GRPCAsyncUnaryCall<BlockID, CompactBlock>
|
|
491
|
+
|
|
492
|
+
func makeGetBlockRangeCall(
|
|
493
|
+
_ request: BlockRange,
|
|
494
|
+
callOptions: CallOptions?
|
|
495
|
+
) -> GRPCAsyncServerStreamingCall<BlockRange, CompactBlock>
|
|
496
|
+
|
|
497
|
+
func makeGetTransactionCall(
|
|
498
|
+
_ request: TxFilter,
|
|
499
|
+
callOptions: CallOptions?
|
|
500
|
+
) -> GRPCAsyncUnaryCall<TxFilter, RawTransaction>
|
|
501
|
+
|
|
502
|
+
func makeSendTransactionCall(
|
|
503
|
+
_ request: RawTransaction,
|
|
504
|
+
callOptions: CallOptions?
|
|
505
|
+
) -> GRPCAsyncUnaryCall<RawTransaction, SendResponse>
|
|
506
|
+
|
|
507
|
+
func makeGetTaddressTxidsCall(
|
|
508
|
+
_ request: TransparentAddressBlockFilter,
|
|
509
|
+
callOptions: CallOptions?
|
|
510
|
+
) -> GRPCAsyncServerStreamingCall<TransparentAddressBlockFilter, RawTransaction>
|
|
511
|
+
|
|
512
|
+
func makeGetTaddressBalanceCall(
|
|
513
|
+
_ request: AddressList,
|
|
514
|
+
callOptions: CallOptions?
|
|
515
|
+
) -> GRPCAsyncUnaryCall<AddressList, Balance>
|
|
516
|
+
|
|
517
|
+
func makeGetTaddressBalanceStreamCall(
|
|
518
|
+
callOptions: CallOptions?
|
|
519
|
+
) -> GRPCAsyncClientStreamingCall<Address, Balance>
|
|
520
|
+
|
|
521
|
+
func makeGetMempoolTxCall(
|
|
522
|
+
_ request: Exclude,
|
|
523
|
+
callOptions: CallOptions?
|
|
524
|
+
) -> GRPCAsyncServerStreamingCall<Exclude, CompactTx>
|
|
525
|
+
|
|
526
|
+
func makeGetMempoolStreamCall(
|
|
527
|
+
_ request: Empty,
|
|
528
|
+
callOptions: CallOptions?
|
|
529
|
+
) -> GRPCAsyncServerStreamingCall<Empty, RawTransaction>
|
|
530
|
+
|
|
531
|
+
func makeGetTreeStateCall(
|
|
532
|
+
_ request: BlockID,
|
|
533
|
+
callOptions: CallOptions?
|
|
534
|
+
) -> GRPCAsyncUnaryCall<BlockID, TreeState>
|
|
535
|
+
|
|
536
|
+
func makeGetAddressUtxosCall(
|
|
537
|
+
_ request: GetAddressUtxosArg,
|
|
538
|
+
callOptions: CallOptions?
|
|
539
|
+
) -> GRPCAsyncUnaryCall<GetAddressUtxosArg, GetAddressUtxosReplyList>
|
|
540
|
+
|
|
541
|
+
func makeGetAddressUtxosStreamCall(
|
|
542
|
+
_ request: GetAddressUtxosArg,
|
|
543
|
+
callOptions: CallOptions?
|
|
544
|
+
) -> GRPCAsyncServerStreamingCall<GetAddressUtxosArg, GetAddressUtxosReply>
|
|
545
|
+
|
|
546
|
+
func makeGetLightdInfoCall(
|
|
547
|
+
_ request: Empty,
|
|
548
|
+
callOptions: CallOptions?
|
|
549
|
+
) -> GRPCAsyncUnaryCall<Empty, LightdInfo>
|
|
550
|
+
|
|
551
|
+
func makePingCall(
|
|
552
|
+
_ request: Duration,
|
|
553
|
+
callOptions: CallOptions?
|
|
554
|
+
) -> GRPCAsyncUnaryCall<Duration, PingResponse>
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
|
558
|
+
extension CompactTxStreamerAsyncClientProtocol {
|
|
559
|
+
internal static var serviceDescriptor: GRPCServiceDescriptor {
|
|
560
|
+
return CompactTxStreamerClientMetadata.serviceDescriptor
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
internal var interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? {
|
|
564
|
+
return nil
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
internal func makeGetLatestBlockCall(
|
|
568
|
+
_ request: ChainSpec,
|
|
569
|
+
callOptions: CallOptions? = nil
|
|
570
|
+
) -> GRPCAsyncUnaryCall<ChainSpec, BlockID> {
|
|
571
|
+
return self.makeAsyncUnaryCall(
|
|
572
|
+
path: CompactTxStreamerClientMetadata.Methods.getLatestBlock.path,
|
|
573
|
+
request: request,
|
|
574
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
575
|
+
interceptors: self.interceptors?.makeGetLatestBlockInterceptors() ?? []
|
|
576
|
+
)
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
internal func makeGetBlockCall(
|
|
580
|
+
_ request: BlockID,
|
|
581
|
+
callOptions: CallOptions? = nil
|
|
582
|
+
) -> GRPCAsyncUnaryCall<BlockID, CompactBlock> {
|
|
583
|
+
return self.makeAsyncUnaryCall(
|
|
584
|
+
path: CompactTxStreamerClientMetadata.Methods.getBlock.path,
|
|
585
|
+
request: request,
|
|
586
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
587
|
+
interceptors: self.interceptors?.makeGetBlockInterceptors() ?? []
|
|
588
|
+
)
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
internal func makeGetBlockRangeCall(
|
|
592
|
+
_ request: BlockRange,
|
|
593
|
+
callOptions: CallOptions? = nil
|
|
594
|
+
) -> GRPCAsyncServerStreamingCall<BlockRange, CompactBlock> {
|
|
595
|
+
return self.makeAsyncServerStreamingCall(
|
|
596
|
+
path: CompactTxStreamerClientMetadata.Methods.getBlockRange.path,
|
|
597
|
+
request: request,
|
|
598
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
599
|
+
interceptors: self.interceptors?.makeGetBlockRangeInterceptors() ?? []
|
|
600
|
+
)
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
internal func makeGetTransactionCall(
|
|
604
|
+
_ request: TxFilter,
|
|
605
|
+
callOptions: CallOptions? = nil
|
|
606
|
+
) -> GRPCAsyncUnaryCall<TxFilter, RawTransaction> {
|
|
607
|
+
return self.makeAsyncUnaryCall(
|
|
608
|
+
path: CompactTxStreamerClientMetadata.Methods.getTransaction.path,
|
|
609
|
+
request: request,
|
|
610
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
611
|
+
interceptors: self.interceptors?.makeGetTransactionInterceptors() ?? []
|
|
612
|
+
)
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
internal func makeSendTransactionCall(
|
|
616
|
+
_ request: RawTransaction,
|
|
617
|
+
callOptions: CallOptions? = nil
|
|
618
|
+
) -> GRPCAsyncUnaryCall<RawTransaction, SendResponse> {
|
|
619
|
+
return self.makeAsyncUnaryCall(
|
|
620
|
+
path: CompactTxStreamerClientMetadata.Methods.sendTransaction.path,
|
|
621
|
+
request: request,
|
|
622
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
623
|
+
interceptors: self.interceptors?.makeSendTransactionInterceptors() ?? []
|
|
624
|
+
)
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
internal func makeGetTaddressTxidsCall(
|
|
628
|
+
_ request: TransparentAddressBlockFilter,
|
|
629
|
+
callOptions: CallOptions? = nil
|
|
630
|
+
) -> GRPCAsyncServerStreamingCall<TransparentAddressBlockFilter, RawTransaction> {
|
|
631
|
+
return self.makeAsyncServerStreamingCall(
|
|
632
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressTxids.path,
|
|
633
|
+
request: request,
|
|
634
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
635
|
+
interceptors: self.interceptors?.makeGetTaddressTxidsInterceptors() ?? []
|
|
636
|
+
)
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
internal func makeGetTaddressBalanceCall(
|
|
640
|
+
_ request: AddressList,
|
|
641
|
+
callOptions: CallOptions? = nil
|
|
642
|
+
) -> GRPCAsyncUnaryCall<AddressList, Balance> {
|
|
643
|
+
return self.makeAsyncUnaryCall(
|
|
644
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalance.path,
|
|
645
|
+
request: request,
|
|
646
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
647
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceInterceptors() ?? []
|
|
648
|
+
)
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
internal func makeGetTaddressBalanceStreamCall(
|
|
652
|
+
callOptions: CallOptions? = nil
|
|
653
|
+
) -> GRPCAsyncClientStreamingCall<Address, Balance> {
|
|
654
|
+
return self.makeAsyncClientStreamingCall(
|
|
655
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalanceStream.path,
|
|
656
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
657
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceStreamInterceptors() ?? []
|
|
658
|
+
)
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
internal func makeGetMempoolTxCall(
|
|
662
|
+
_ request: Exclude,
|
|
663
|
+
callOptions: CallOptions? = nil
|
|
664
|
+
) -> GRPCAsyncServerStreamingCall<Exclude, CompactTx> {
|
|
665
|
+
return self.makeAsyncServerStreamingCall(
|
|
666
|
+
path: CompactTxStreamerClientMetadata.Methods.getMempoolTx.path,
|
|
667
|
+
request: request,
|
|
668
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
669
|
+
interceptors: self.interceptors?.makeGetMempoolTxInterceptors() ?? []
|
|
670
|
+
)
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
internal func makeGetMempoolStreamCall(
|
|
674
|
+
_ request: Empty,
|
|
675
|
+
callOptions: CallOptions? = nil
|
|
676
|
+
) -> GRPCAsyncServerStreamingCall<Empty, RawTransaction> {
|
|
677
|
+
return self.makeAsyncServerStreamingCall(
|
|
678
|
+
path: CompactTxStreamerClientMetadata.Methods.getMempoolStream.path,
|
|
679
|
+
request: request,
|
|
680
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
681
|
+
interceptors: self.interceptors?.makeGetMempoolStreamInterceptors() ?? []
|
|
682
|
+
)
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
internal func makeGetTreeStateCall(
|
|
686
|
+
_ request: BlockID,
|
|
687
|
+
callOptions: CallOptions? = nil
|
|
688
|
+
) -> GRPCAsyncUnaryCall<BlockID, TreeState> {
|
|
689
|
+
return self.makeAsyncUnaryCall(
|
|
690
|
+
path: CompactTxStreamerClientMetadata.Methods.getTreeState.path,
|
|
691
|
+
request: request,
|
|
692
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
693
|
+
interceptors: self.interceptors?.makeGetTreeStateInterceptors() ?? []
|
|
694
|
+
)
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
internal func makeGetAddressUtxosCall(
|
|
698
|
+
_ request: GetAddressUtxosArg,
|
|
699
|
+
callOptions: CallOptions? = nil
|
|
700
|
+
) -> GRPCAsyncUnaryCall<GetAddressUtxosArg, GetAddressUtxosReplyList> {
|
|
701
|
+
return self.makeAsyncUnaryCall(
|
|
702
|
+
path: CompactTxStreamerClientMetadata.Methods.getAddressUtxos.path,
|
|
703
|
+
request: request,
|
|
704
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
705
|
+
interceptors: self.interceptors?.makeGetAddressUtxosInterceptors() ?? []
|
|
706
|
+
)
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
internal func makeGetAddressUtxosStreamCall(
|
|
710
|
+
_ request: GetAddressUtxosArg,
|
|
711
|
+
callOptions: CallOptions? = nil
|
|
712
|
+
) -> GRPCAsyncServerStreamingCall<GetAddressUtxosArg, GetAddressUtxosReply> {
|
|
713
|
+
return self.makeAsyncServerStreamingCall(
|
|
714
|
+
path: CompactTxStreamerClientMetadata.Methods.getAddressUtxosStream.path,
|
|
715
|
+
request: request,
|
|
716
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
717
|
+
interceptors: self.interceptors?.makeGetAddressUtxosStreamInterceptors() ?? []
|
|
718
|
+
)
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
internal func makeGetLightdInfoCall(
|
|
722
|
+
_ request: Empty,
|
|
723
|
+
callOptions: CallOptions? = nil
|
|
724
|
+
) -> GRPCAsyncUnaryCall<Empty, LightdInfo> {
|
|
725
|
+
return self.makeAsyncUnaryCall(
|
|
726
|
+
path: CompactTxStreamerClientMetadata.Methods.getLightdInfo.path,
|
|
727
|
+
request: request,
|
|
728
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
729
|
+
interceptors: self.interceptors?.makeGetLightdInfoInterceptors() ?? []
|
|
730
|
+
)
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
internal func makePingCall(
|
|
734
|
+
_ request: Duration,
|
|
735
|
+
callOptions: CallOptions? = nil
|
|
736
|
+
) -> GRPCAsyncUnaryCall<Duration, PingResponse> {
|
|
737
|
+
return self.makeAsyncUnaryCall(
|
|
738
|
+
path: CompactTxStreamerClientMetadata.Methods.ping.path,
|
|
739
|
+
request: request,
|
|
740
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
741
|
+
interceptors: self.interceptors?.makePingInterceptors() ?? []
|
|
742
|
+
)
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
|
747
|
+
extension CompactTxStreamerAsyncClientProtocol {
|
|
748
|
+
internal func getLatestBlock(
|
|
749
|
+
_ request: ChainSpec,
|
|
750
|
+
callOptions: CallOptions? = nil
|
|
751
|
+
) async throws -> BlockID {
|
|
752
|
+
return try await self.performAsyncUnaryCall(
|
|
753
|
+
path: CompactTxStreamerClientMetadata.Methods.getLatestBlock.path,
|
|
754
|
+
request: request,
|
|
755
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
756
|
+
interceptors: self.interceptors?.makeGetLatestBlockInterceptors() ?? []
|
|
757
|
+
)
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
internal func getBlock(
|
|
761
|
+
_ request: BlockID,
|
|
762
|
+
callOptions: CallOptions? = nil
|
|
763
|
+
) async throws -> CompactBlock {
|
|
764
|
+
return try await self.performAsyncUnaryCall(
|
|
765
|
+
path: CompactTxStreamerClientMetadata.Methods.getBlock.path,
|
|
766
|
+
request: request,
|
|
767
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
768
|
+
interceptors: self.interceptors?.makeGetBlockInterceptors() ?? []
|
|
769
|
+
)
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
internal func getBlockRange(
|
|
773
|
+
_ request: BlockRange,
|
|
774
|
+
callOptions: CallOptions? = nil
|
|
775
|
+
) -> GRPCAsyncResponseStream<CompactBlock> {
|
|
776
|
+
return self.performAsyncServerStreamingCall(
|
|
777
|
+
path: CompactTxStreamerClientMetadata.Methods.getBlockRange.path,
|
|
778
|
+
request: request,
|
|
779
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
780
|
+
interceptors: self.interceptors?.makeGetBlockRangeInterceptors() ?? []
|
|
781
|
+
)
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
internal func getTransaction(
|
|
785
|
+
_ request: TxFilter,
|
|
786
|
+
callOptions: CallOptions? = nil
|
|
787
|
+
) async throws -> RawTransaction {
|
|
788
|
+
return try await self.performAsyncUnaryCall(
|
|
789
|
+
path: CompactTxStreamerClientMetadata.Methods.getTransaction.path,
|
|
790
|
+
request: request,
|
|
791
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
792
|
+
interceptors: self.interceptors?.makeGetTransactionInterceptors() ?? []
|
|
793
|
+
)
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
internal func sendTransaction(
|
|
797
|
+
_ request: RawTransaction,
|
|
798
|
+
callOptions: CallOptions? = nil
|
|
799
|
+
) async throws -> SendResponse {
|
|
800
|
+
return try await self.performAsyncUnaryCall(
|
|
801
|
+
path: CompactTxStreamerClientMetadata.Methods.sendTransaction.path,
|
|
802
|
+
request: request,
|
|
803
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
804
|
+
interceptors: self.interceptors?.makeSendTransactionInterceptors() ?? []
|
|
805
|
+
)
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
internal func getTaddressTxids(
|
|
809
|
+
_ request: TransparentAddressBlockFilter,
|
|
810
|
+
callOptions: CallOptions? = nil
|
|
811
|
+
) -> GRPCAsyncResponseStream<RawTransaction> {
|
|
812
|
+
return self.performAsyncServerStreamingCall(
|
|
813
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressTxids.path,
|
|
814
|
+
request: request,
|
|
815
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
816
|
+
interceptors: self.interceptors?.makeGetTaddressTxidsInterceptors() ?? []
|
|
817
|
+
)
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
internal func getTaddressBalance(
|
|
821
|
+
_ request: AddressList,
|
|
822
|
+
callOptions: CallOptions? = nil
|
|
823
|
+
) async throws -> Balance {
|
|
824
|
+
return try await self.performAsyncUnaryCall(
|
|
825
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalance.path,
|
|
826
|
+
request: request,
|
|
827
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
828
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceInterceptors() ?? []
|
|
829
|
+
)
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
internal func getTaddressBalanceStream<RequestStream>(
|
|
833
|
+
_ requests: RequestStream,
|
|
834
|
+
callOptions: CallOptions? = nil
|
|
835
|
+
) async throws -> Balance where RequestStream: Sequence, RequestStream.Element == Address {
|
|
836
|
+
return try await self.performAsyncClientStreamingCall(
|
|
837
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalanceStream.path,
|
|
838
|
+
requests: requests,
|
|
839
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
840
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceStreamInterceptors() ?? []
|
|
841
|
+
)
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
internal func getTaddressBalanceStream<RequestStream>(
|
|
845
|
+
_ requests: RequestStream,
|
|
846
|
+
callOptions: CallOptions? = nil
|
|
847
|
+
) async throws -> Balance where RequestStream: AsyncSequence & Sendable, RequestStream.Element == Address {
|
|
848
|
+
return try await self.performAsyncClientStreamingCall(
|
|
849
|
+
path: CompactTxStreamerClientMetadata.Methods.getTaddressBalanceStream.path,
|
|
850
|
+
requests: requests,
|
|
851
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
852
|
+
interceptors: self.interceptors?.makeGetTaddressBalanceStreamInterceptors() ?? []
|
|
853
|
+
)
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
internal func getMempoolTx(
|
|
857
|
+
_ request: Exclude,
|
|
858
|
+
callOptions: CallOptions? = nil
|
|
859
|
+
) -> GRPCAsyncResponseStream<CompactTx> {
|
|
860
|
+
return self.performAsyncServerStreamingCall(
|
|
861
|
+
path: CompactTxStreamerClientMetadata.Methods.getMempoolTx.path,
|
|
862
|
+
request: request,
|
|
863
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
864
|
+
interceptors: self.interceptors?.makeGetMempoolTxInterceptors() ?? []
|
|
865
|
+
)
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
internal func getMempoolStream(
|
|
869
|
+
_ request: Empty,
|
|
870
|
+
callOptions: CallOptions? = nil
|
|
871
|
+
) -> GRPCAsyncResponseStream<RawTransaction> {
|
|
872
|
+
return self.performAsyncServerStreamingCall(
|
|
873
|
+
path: CompactTxStreamerClientMetadata.Methods.getMempoolStream.path,
|
|
874
|
+
request: request,
|
|
875
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
876
|
+
interceptors: self.interceptors?.makeGetMempoolStreamInterceptors() ?? []
|
|
877
|
+
)
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
internal func getTreeState(
|
|
881
|
+
_ request: BlockID,
|
|
882
|
+
callOptions: CallOptions? = nil
|
|
883
|
+
) async throws -> TreeState {
|
|
884
|
+
return try await self.performAsyncUnaryCall(
|
|
885
|
+
path: CompactTxStreamerClientMetadata.Methods.getTreeState.path,
|
|
886
|
+
request: request,
|
|
887
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
888
|
+
interceptors: self.interceptors?.makeGetTreeStateInterceptors() ?? []
|
|
889
|
+
)
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
internal func getAddressUtxos(
|
|
893
|
+
_ request: GetAddressUtxosArg,
|
|
894
|
+
callOptions: CallOptions? = nil
|
|
895
|
+
) async throws -> GetAddressUtxosReplyList {
|
|
896
|
+
return try await self.performAsyncUnaryCall(
|
|
897
|
+
path: CompactTxStreamerClientMetadata.Methods.getAddressUtxos.path,
|
|
898
|
+
request: request,
|
|
899
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
900
|
+
interceptors: self.interceptors?.makeGetAddressUtxosInterceptors() ?? []
|
|
901
|
+
)
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
internal func getAddressUtxosStream(
|
|
905
|
+
_ request: GetAddressUtxosArg,
|
|
906
|
+
callOptions: CallOptions? = nil
|
|
907
|
+
) -> GRPCAsyncResponseStream<GetAddressUtxosReply> {
|
|
908
|
+
return self.performAsyncServerStreamingCall(
|
|
909
|
+
path: CompactTxStreamerClientMetadata.Methods.getAddressUtxosStream.path,
|
|
910
|
+
request: request,
|
|
911
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
912
|
+
interceptors: self.interceptors?.makeGetAddressUtxosStreamInterceptors() ?? []
|
|
913
|
+
)
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
internal func getLightdInfo(
|
|
917
|
+
_ request: Empty,
|
|
918
|
+
callOptions: CallOptions? = nil
|
|
919
|
+
) async throws -> LightdInfo {
|
|
920
|
+
return try await self.performAsyncUnaryCall(
|
|
921
|
+
path: CompactTxStreamerClientMetadata.Methods.getLightdInfo.path,
|
|
922
|
+
request: request,
|
|
923
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
924
|
+
interceptors: self.interceptors?.makeGetLightdInfoInterceptors() ?? []
|
|
925
|
+
)
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
internal func ping(
|
|
929
|
+
_ request: Duration,
|
|
930
|
+
callOptions: CallOptions? = nil
|
|
931
|
+
) async throws -> PingResponse {
|
|
932
|
+
return try await self.performAsyncUnaryCall(
|
|
933
|
+
path: CompactTxStreamerClientMetadata.Methods.ping.path,
|
|
934
|
+
request: request,
|
|
935
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
936
|
+
interceptors: self.interceptors?.makePingInterceptors() ?? []
|
|
937
|
+
)
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
|
942
|
+
internal struct CompactTxStreamerAsyncClient: CompactTxStreamerAsyncClientProtocol {
|
|
943
|
+
internal var channel: GRPCChannel
|
|
944
|
+
internal var defaultCallOptions: CallOptions
|
|
945
|
+
internal var interceptors: CompactTxStreamerClientInterceptorFactoryProtocol?
|
|
946
|
+
|
|
947
|
+
internal init(
|
|
948
|
+
channel: GRPCChannel,
|
|
949
|
+
defaultCallOptions: CallOptions = CallOptions(),
|
|
950
|
+
interceptors: CompactTxStreamerClientInterceptorFactoryProtocol? = nil
|
|
951
|
+
) {
|
|
952
|
+
self.channel = channel
|
|
953
|
+
self.defaultCallOptions = defaultCallOptions
|
|
954
|
+
self.interceptors = interceptors
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
#endif // compiler(>=5.6)
|
|
959
|
+
|
|
960
|
+
internal protocol CompactTxStreamerClientInterceptorFactoryProtocol: GRPCSendable {
|
|
961
|
+
|
|
962
|
+
/// - Returns: Interceptors to use when invoking 'getLatestBlock'.
|
|
963
|
+
func makeGetLatestBlockInterceptors() -> [ClientInterceptor<ChainSpec, BlockID>]
|
|
964
|
+
|
|
965
|
+
/// - Returns: Interceptors to use when invoking 'getBlock'.
|
|
966
|
+
func makeGetBlockInterceptors() -> [ClientInterceptor<BlockID, CompactBlock>]
|
|
967
|
+
|
|
968
|
+
/// - Returns: Interceptors to use when invoking 'getBlockRange'.
|
|
969
|
+
func makeGetBlockRangeInterceptors() -> [ClientInterceptor<BlockRange, CompactBlock>]
|
|
970
|
+
|
|
971
|
+
/// - Returns: Interceptors to use when invoking 'getTransaction'.
|
|
972
|
+
func makeGetTransactionInterceptors() -> [ClientInterceptor<TxFilter, RawTransaction>]
|
|
973
|
+
|
|
974
|
+
/// - Returns: Interceptors to use when invoking 'sendTransaction'.
|
|
975
|
+
func makeSendTransactionInterceptors() -> [ClientInterceptor<RawTransaction, SendResponse>]
|
|
976
|
+
|
|
977
|
+
/// - Returns: Interceptors to use when invoking 'getTaddressTxids'.
|
|
978
|
+
func makeGetTaddressTxidsInterceptors() -> [ClientInterceptor<TransparentAddressBlockFilter, RawTransaction>]
|
|
979
|
+
|
|
980
|
+
/// - Returns: Interceptors to use when invoking 'getTaddressBalance'.
|
|
981
|
+
func makeGetTaddressBalanceInterceptors() -> [ClientInterceptor<AddressList, Balance>]
|
|
982
|
+
|
|
983
|
+
/// - Returns: Interceptors to use when invoking 'getTaddressBalanceStream'.
|
|
984
|
+
func makeGetTaddressBalanceStreamInterceptors() -> [ClientInterceptor<Address, Balance>]
|
|
985
|
+
|
|
986
|
+
/// - Returns: Interceptors to use when invoking 'getMempoolTx'.
|
|
987
|
+
func makeGetMempoolTxInterceptors() -> [ClientInterceptor<Exclude, CompactTx>]
|
|
988
|
+
|
|
989
|
+
/// - Returns: Interceptors to use when invoking 'getMempoolStream'.
|
|
990
|
+
func makeGetMempoolStreamInterceptors() -> [ClientInterceptor<Empty, RawTransaction>]
|
|
991
|
+
|
|
992
|
+
/// - Returns: Interceptors to use when invoking 'getTreeState'.
|
|
993
|
+
func makeGetTreeStateInterceptors() -> [ClientInterceptor<BlockID, TreeState>]
|
|
994
|
+
|
|
995
|
+
/// - Returns: Interceptors to use when invoking 'getAddressUtxos'.
|
|
996
|
+
func makeGetAddressUtxosInterceptors() -> [ClientInterceptor<GetAddressUtxosArg, GetAddressUtxosReplyList>]
|
|
997
|
+
|
|
998
|
+
/// - Returns: Interceptors to use when invoking 'getAddressUtxosStream'.
|
|
999
|
+
func makeGetAddressUtxosStreamInterceptors() -> [ClientInterceptor<GetAddressUtxosArg, GetAddressUtxosReply>]
|
|
1000
|
+
|
|
1001
|
+
/// - Returns: Interceptors to use when invoking 'getLightdInfo'.
|
|
1002
|
+
func makeGetLightdInfoInterceptors() -> [ClientInterceptor<Empty, LightdInfo>]
|
|
1003
|
+
|
|
1004
|
+
/// - Returns: Interceptors to use when invoking 'ping'.
|
|
1005
|
+
func makePingInterceptors() -> [ClientInterceptor<Duration, PingResponse>]
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
internal enum CompactTxStreamerClientMetadata {
|
|
1009
|
+
internal static let serviceDescriptor = GRPCServiceDescriptor(
|
|
1010
|
+
name: "CompactTxStreamer",
|
|
1011
|
+
fullName: "cash.z.wallet.sdk.rpc.CompactTxStreamer",
|
|
1012
|
+
methods: [
|
|
1013
|
+
CompactTxStreamerClientMetadata.Methods.getLatestBlock,
|
|
1014
|
+
CompactTxStreamerClientMetadata.Methods.getBlock,
|
|
1015
|
+
CompactTxStreamerClientMetadata.Methods.getBlockRange,
|
|
1016
|
+
CompactTxStreamerClientMetadata.Methods.getTransaction,
|
|
1017
|
+
CompactTxStreamerClientMetadata.Methods.sendTransaction,
|
|
1018
|
+
CompactTxStreamerClientMetadata.Methods.getTaddressTxids,
|
|
1019
|
+
CompactTxStreamerClientMetadata.Methods.getTaddressBalance,
|
|
1020
|
+
CompactTxStreamerClientMetadata.Methods.getTaddressBalanceStream,
|
|
1021
|
+
CompactTxStreamerClientMetadata.Methods.getMempoolTx,
|
|
1022
|
+
CompactTxStreamerClientMetadata.Methods.getMempoolStream,
|
|
1023
|
+
CompactTxStreamerClientMetadata.Methods.getTreeState,
|
|
1024
|
+
CompactTxStreamerClientMetadata.Methods.getAddressUtxos,
|
|
1025
|
+
CompactTxStreamerClientMetadata.Methods.getAddressUtxosStream,
|
|
1026
|
+
CompactTxStreamerClientMetadata.Methods.getLightdInfo,
|
|
1027
|
+
CompactTxStreamerClientMetadata.Methods.ping,
|
|
1028
|
+
]
|
|
1029
|
+
)
|
|
1030
|
+
|
|
1031
|
+
internal enum Methods {
|
|
1032
|
+
internal static let getLatestBlock = GRPCMethodDescriptor(
|
|
1033
|
+
name: "GetLatestBlock",
|
|
1034
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLatestBlock",
|
|
1035
|
+
type: GRPCCallType.unary
|
|
1036
|
+
)
|
|
1037
|
+
|
|
1038
|
+
internal static let getBlock = GRPCMethodDescriptor(
|
|
1039
|
+
name: "GetBlock",
|
|
1040
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlock",
|
|
1041
|
+
type: GRPCCallType.unary
|
|
1042
|
+
)
|
|
1043
|
+
|
|
1044
|
+
internal static let getBlockRange = GRPCMethodDescriptor(
|
|
1045
|
+
name: "GetBlockRange",
|
|
1046
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlockRange",
|
|
1047
|
+
type: GRPCCallType.serverStreaming
|
|
1048
|
+
)
|
|
1049
|
+
|
|
1050
|
+
internal static let getTransaction = GRPCMethodDescriptor(
|
|
1051
|
+
name: "GetTransaction",
|
|
1052
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTransaction",
|
|
1053
|
+
type: GRPCCallType.unary
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
internal static let sendTransaction = GRPCMethodDescriptor(
|
|
1057
|
+
name: "SendTransaction",
|
|
1058
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/SendTransaction",
|
|
1059
|
+
type: GRPCCallType.unary
|
|
1060
|
+
)
|
|
1061
|
+
|
|
1062
|
+
internal static let getTaddressTxids = GRPCMethodDescriptor(
|
|
1063
|
+
name: "GetTaddressTxids",
|
|
1064
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTaddressTxids",
|
|
1065
|
+
type: GRPCCallType.serverStreaming
|
|
1066
|
+
)
|
|
1067
|
+
|
|
1068
|
+
internal static let getTaddressBalance = GRPCMethodDescriptor(
|
|
1069
|
+
name: "GetTaddressBalance",
|
|
1070
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTaddressBalance",
|
|
1071
|
+
type: GRPCCallType.unary
|
|
1072
|
+
)
|
|
1073
|
+
|
|
1074
|
+
internal static let getTaddressBalanceStream = GRPCMethodDescriptor(
|
|
1075
|
+
name: "GetTaddressBalanceStream",
|
|
1076
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTaddressBalanceStream",
|
|
1077
|
+
type: GRPCCallType.clientStreaming
|
|
1078
|
+
)
|
|
1079
|
+
|
|
1080
|
+
internal static let getMempoolTx = GRPCMethodDescriptor(
|
|
1081
|
+
name: "GetMempoolTx",
|
|
1082
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetMempoolTx",
|
|
1083
|
+
type: GRPCCallType.serverStreaming
|
|
1084
|
+
)
|
|
1085
|
+
|
|
1086
|
+
internal static let getMempoolStream = GRPCMethodDescriptor(
|
|
1087
|
+
name: "GetMempoolStream",
|
|
1088
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetMempoolStream",
|
|
1089
|
+
type: GRPCCallType.serverStreaming
|
|
1090
|
+
)
|
|
1091
|
+
|
|
1092
|
+
internal static let getTreeState = GRPCMethodDescriptor(
|
|
1093
|
+
name: "GetTreeState",
|
|
1094
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTreeState",
|
|
1095
|
+
type: GRPCCallType.unary
|
|
1096
|
+
)
|
|
1097
|
+
|
|
1098
|
+
internal static let getAddressUtxos = GRPCMethodDescriptor(
|
|
1099
|
+
name: "GetAddressUtxos",
|
|
1100
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetAddressUtxos",
|
|
1101
|
+
type: GRPCCallType.unary
|
|
1102
|
+
)
|
|
1103
|
+
|
|
1104
|
+
internal static let getAddressUtxosStream = GRPCMethodDescriptor(
|
|
1105
|
+
name: "GetAddressUtxosStream",
|
|
1106
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetAddressUtxosStream",
|
|
1107
|
+
type: GRPCCallType.serverStreaming
|
|
1108
|
+
)
|
|
1109
|
+
|
|
1110
|
+
internal static let getLightdInfo = GRPCMethodDescriptor(
|
|
1111
|
+
name: "GetLightdInfo",
|
|
1112
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLightdInfo",
|
|
1113
|
+
type: GRPCCallType.unary
|
|
1114
|
+
)
|
|
1115
|
+
|
|
1116
|
+
internal static let ping = GRPCMethodDescriptor(
|
|
1117
|
+
name: "Ping",
|
|
1118
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/Ping",
|
|
1119
|
+
type: GRPCCallType.unary
|
|
1120
|
+
)
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
|