react-native-zcash 0.3.3 → 0.3.5
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 +10 -0
- package/LICENSE +22 -0
- package/README.md +47 -14
- package/android/build.gradle +1 -1
- package/android/src/main/assets/saplingtree/mainnet/1310000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1320000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1330000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1340000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1350000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1360000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1370000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1380000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1390000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1400000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1410000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1420000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1430000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1440000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1450000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1460000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1470000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1480000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1490000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1500000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1510000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1520000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1530000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1540000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1550000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1560000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1570000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1580000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1590000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1600000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1610000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1620000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1630000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1640000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1650000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1660000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1670000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1680000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1690000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1700000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1710000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1720000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1730000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1740000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1750000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1760000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1770000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1780000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1790000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1800000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1810000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1820000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1830000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1840000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1850000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1860000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1870000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1880000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1890000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1900000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1910000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1920000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1930000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1940000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1950000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1960000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1970000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1980000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/1990000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2000000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2010000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2020000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2030000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2040000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2050000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2060000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2070000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2080000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2090000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2100000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2110000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2120000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2130000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2140000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2150000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2160000.json +7 -0
- package/android/src/main/assets/saplingtree/mainnet/2170000.json +7 -0
- package/ios/RNZcash.m +0 -1
- package/ios/RNZcash.swift +14 -15
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/CompactBlockStorage.swift +123 -0
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/DatabaseMigrationManager.swift +222 -0
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/StorageError.swift +22 -0
- package/ios/ZCashLightClientKit/Block/DatabaseStorage/StorageManager.swift +73 -0
- package/ios/ZCashLightClientKit/Block/Downloader/BlockDownloader.swift +240 -0
- package/ios/ZCashLightClientKit/Block/Downloader/CompactBlockDownloaderBuilder.swift +26 -0
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockDownloadOperation.swift +258 -0
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockEnhancementOperation.swift +157 -0
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockProcessor.swift +1454 -0
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockScanningOperation.swift +238 -0
- package/ios/ZCashLightClientKit/Block/Processor/CompactBlockValidationInformation.swift +66 -0
- package/ios/ZCashLightClientKit/Block/Processor/FetchUnspentTxOutputsOperation.swift +103 -0
- package/ios/ZCashLightClientKit/Block/Processor/FigureNextBatchOperation.swift +58 -0
- package/ios/ZCashLightClientKit/Block/Processor/ZcashOperation.swift +68 -0
- package/ios/ZCashLightClientKit/Constants/WalletBirthday+Constants.swift +58 -0
- package/ios/ZCashLightClientKit/Constants/WalletBirthday+mainnet.swift +20 -0
- package/ios/ZCashLightClientKit/Constants/WalletBirthday+testnet.swift +20 -0
- package/ios/ZCashLightClientKit/Constants/ZcashSDK.swift +245 -0
- package/ios/ZCashLightClientKit/DAO/BlockDao.swift +67 -0
- package/ios/ZCashLightClientKit/DAO/CompactBlockDAO.swift +24 -0
- package/ios/ZCashLightClientKit/DAO/NotesDao.swift +142 -0
- package/ios/ZCashLightClientKit/DAO/PagedTransactionDao.swift +62 -0
- package/ios/ZCashLightClientKit/DAO/PendingTransactionDao.swift +213 -0
- package/ios/ZCashLightClientKit/DAO/TransactionBuilder.swift +169 -0
- package/ios/ZCashLightClientKit/DAO/TransactionDao.swift +393 -0
- package/ios/ZCashLightClientKit/DAO/UnspentTransactionOutputDao.swift +188 -0
- package/ios/ZCashLightClientKit/Entity/AccountEntity.swift +201 -0
- package/ios/ZCashLightClientKit/Entity/CompactBlockEntity.swift +13 -0
- package/ios/ZCashLightClientKit/Entity/EncodedTransactionEntity.swift +26 -0
- package/ios/ZCashLightClientKit/Entity/PendingTransactionEntity.swift +205 -0
- package/ios/ZCashLightClientKit/Entity/ReceivedNoteEntity.swift +22 -0
- package/ios/ZCashLightClientKit/Entity/SentNoteEntity.swift +45 -0
- package/ios/ZCashLightClientKit/Entity/TransactionEntity.swift +161 -0
- package/ios/ZCashLightClientKit/Entity/UnspentTransactionOutputEntity.swift +17 -0
- package/ios/ZCashLightClientKit/Extensions/Data+Zcash.swift +17 -0
- package/ios/ZCashLightClientKit/Extensions/Data+internal.swift +35 -0
- package/ios/ZCashLightClientKit/Extensions/HexEncode.swift +41 -0
- package/ios/ZCashLightClientKit/Extensions/ZcashRust+Utils.swift +26 -0
- package/ios/ZCashLightClientKit/Extensions/ZcashSDK+extensions.swift +34 -0
- package/ios/ZCashLightClientKit/Initializer.swift +357 -0
- package/ios/ZCashLightClientKit/Model/WalletTypes.swift +108 -0
- package/ios/ZCashLightClientKit/Providers/ResourceProvider.swift +47 -0
- package/ios/ZCashLightClientKit/Repository/BlockRepository.swift +13 -0
- package/ios/ZCashLightClientKit/Repository/CompactBlockRepository.swift +75 -0
- package/ios/ZCashLightClientKit/Repository/NotesRepository.swift +16 -0
- package/ios/ZCashLightClientKit/Repository/PaginatedTransactionRepository.swift +35 -0
- package/ios/ZCashLightClientKit/Repository/PendingTransactionRepository.swift +19 -0
- package/ios/ZCashLightClientKit/Repository/TransactionRepository.swift +30 -0
- package/ios/ZCashLightClientKit/Repository/TransactionRepositoryBuilder.swift +24 -0
- package/ios/ZCashLightClientKit/Repository/UnspentTransactionOutputRepository.swift +18 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1000000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1010000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1020000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1030000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1040000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1050000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1060000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1070000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1080000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1090000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1100000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1110000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1120000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1130000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1140000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1150000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1160000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1170000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1180000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1190000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1200000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1210000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1220000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1230000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1240000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1250000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1260000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1270000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1280000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1290000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1300000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1310000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1320000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1330000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1340000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1350000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1360000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1370000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1380000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1390000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1400000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1410000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1420000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1430000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1440000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1450000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1460000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1470000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1480000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1490000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1850000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1860000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1870000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1880000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1890000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1900000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1910000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1920000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1930000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1940000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1950000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1960000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1970000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1980000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/1990000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2000000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2010000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2020000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2030000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2040000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2050000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2060000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2070000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2080000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2090000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2100000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2110000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2120000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2130000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2140000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2150000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2160000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/2170000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/419200.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/663150.json +8 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/850000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/860000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/870000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/880000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/890000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/900000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/910000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/920000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/930000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/940000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/950000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/960000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/970000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/980000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/mainnet/990000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1000000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1010000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1020000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1030000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1040000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1050000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1060000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1070000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1080000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1090000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1100000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1110000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1120000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1130000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1140000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1150000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1160000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1170000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1180000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1190000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1200000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1210000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1220000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1230000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1240000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1250000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1260000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1270000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1280000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1290000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1300000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1310000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1320000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1330000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1340000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1350000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1360000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1370000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1380000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1390000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1400000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1410000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1420000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1430000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1440000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1450000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1460000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1470000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1480000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1490000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1850000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/1860000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/280000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/290000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/300000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/310000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/320000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/330000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/340000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/350000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/360000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/370000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/380000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/390000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/400000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/410000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/420000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/430000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/440000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/450000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/460000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/470000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/480000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/490000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/500000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/510000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/520000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/530000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/540000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/550000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/560000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/570000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/580000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/590000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/600000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/610000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/620000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/630000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/640000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/650000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/660000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/670000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/680000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/690000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/700000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/710000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/720000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/730000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/740000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/750000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/760000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/770000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/780000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/790000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/800000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/810000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/820000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/830000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/840000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/850000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/860000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/870000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/880000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/890000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/900000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/910000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/920000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/930000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/940000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/950000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/960000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/970000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/980000.json +7 -0
- package/ios/ZCashLightClientKit/Resources/saplingtree-checkpoints/testnet/990000.json +7 -0
- package/ios/ZCashLightClientKit/Rust/ZcashRustBackend.swift +718 -0
- package/ios/ZCashLightClientKit/Rust/ZcashRustBackendWelding.swift +389 -0
- package/ios/ZCashLightClientKit/Rust/zcashlc.h +385 -0
- package/ios/ZCashLightClientKit/Service/LightWalletGRPCService.swift +551 -0
- package/ios/ZCashLightClientKit/Service/LightWalletService.swift +214 -0
- package/ios/ZCashLightClientKit/Service/Model/ZcashCompactBlock.swift +46 -0
- package/ios/ZCashLightClientKit/Service/ProtoBuf/Extensions/Protocolbuffer+Extensions.swift +50 -0
- package/ios/ZCashLightClientKit/Service/ProtoBuf/compact_formats.pb.swift +332 -0
- package/ios/ZCashLightClientKit/Service/ProtoBuf/proto/compact_formats.proto +56 -0
- package/ios/ZCashLightClientKit/Service/ProtoBuf/proto/service.proto +180 -0
- package/ios/ZCashLightClientKit/Service/ProtoBuf/service.grpc.swift +383 -0
- package/ios/ZCashLightClientKit/Service/ProtoBuf/service.pb.swift +1173 -0
- package/ios/ZCashLightClientKit/Synchronizer/SDKSynchronizer.swift +929 -0
- package/ios/ZCashLightClientKit/Synchronizer.swift +430 -0
- package/ios/ZCashLightClientKit/Tool/DerivationTool.swift +344 -0
- package/ios/ZCashLightClientKit/Transaction/PersistentTransactionManager.swift +339 -0
- package/ios/ZCashLightClientKit/Transaction/TransactionEncoder.swift +116 -0
- package/ios/ZCashLightClientKit/Transaction/TransactionManager.swift +42 -0
- package/ios/ZCashLightClientKit/Transaction/WalletTransactionEncoder.swift +216 -0
- package/ios/ZCashLightClientKit/Utils/Bundle+module.swift +30 -0
- package/ios/ZCashLightClientKit/Utils/LoggingProxy.swift +47 -0
- package/ios/ZCashLightClientKit/Utils/SaplingParameterDownloader.swift +124 -0
- package/ios/libzcashlc.xcframework/Info.plist +40 -0
- package/ios/libzcashlc.xcframework/ios-arm64/libzcashlc.a +0 -0
- package/ios/libzcashlc.xcframework/ios-arm64_x86_64-simulator/libzcashlc.a +0 -0
- package/ios/react-native-zcash-Bridging-Header.h +2 -0
- package/ios/react-native-zcash.xcodeproj/project.pbxproj +1 -0
- package/lib/scripts/copyCheckpoints.d.ts +5 -0
- package/lib/scripts/updateCheckpoints.d.ts +1 -0
- package/lib/scripts/updateSources.d.ts +1 -0
- package/package.json +21 -32
- package/react-native-zcash.podspec +17 -7
- package/ios/RNZcash-Bridging-Header.h +0 -6
- package/ios/RNZcash.xcodeproj/project.pbxproj +0 -271
- package/ios/RNZcash.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/RNZcash.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/lib/src/browser.d.ts +0 -0
- package/lib/src/index.d.ts +0 -0
- package/lib/test/test.test.d.ts +0 -0
- package/src/browser.ts +0 -36
- package/src/index.flow.js +0 -168
- package/src/index.ts +0 -1
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
// Copyright (c) 2019-2020 The Zcash developers
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or https://www.opensource.org/licenses/mit-license.php .
|
|
4
|
+
|
|
5
|
+
syntax = "proto3";
|
|
6
|
+
package cash.z.wallet.sdk.rpc;
|
|
7
|
+
option go_package = "lightwalletd/walletrpc";
|
|
8
|
+
option swift_prefix = "";
|
|
9
|
+
import "compact_formats.proto";
|
|
10
|
+
|
|
11
|
+
// A BlockID message contains identifiers to select a block: a height or a
|
|
12
|
+
// hash. Specification by hash is not implemented, but may be in the future.
|
|
13
|
+
message BlockID {
|
|
14
|
+
uint64 height = 1;
|
|
15
|
+
bytes hash = 2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// BlockRange specifies a series of blocks from start to end inclusive.
|
|
19
|
+
// Both BlockIDs must be heights; specification by hash is not yet supported.
|
|
20
|
+
message BlockRange {
|
|
21
|
+
BlockID start = 1;
|
|
22
|
+
BlockID end = 2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// A TxFilter contains the information needed to identify a particular
|
|
26
|
+
// transaction: either a block and an index, or a direct transaction hash.
|
|
27
|
+
// Currently, only specification by hash is supported.
|
|
28
|
+
message TxFilter {
|
|
29
|
+
BlockID block = 1; // block identifier, height or hash
|
|
30
|
+
uint64 index = 2; // index within the block
|
|
31
|
+
bytes hash = 3; // transaction ID (hash, txid)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// RawTransaction contains the complete transaction data. It also optionally includes
|
|
35
|
+
// the block height in which the transaction was included.
|
|
36
|
+
message RawTransaction {
|
|
37
|
+
bytes data = 1; // exact data returned by Zcash 'getrawtransaction'
|
|
38
|
+
uint64 height = 2; // height that the transaction was mined (or -1)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// A SendResponse encodes an error code and a string. It is currently used
|
|
42
|
+
// only by SendTransaction(). If error code is zero, the operation was
|
|
43
|
+
// successful; if non-zero, it and the message specify the failure.
|
|
44
|
+
message SendResponse {
|
|
45
|
+
int32 errorCode = 1;
|
|
46
|
+
string errorMessage = 2;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Chainspec is a placeholder to allow specification of a particular chain fork.
|
|
50
|
+
message ChainSpec {}
|
|
51
|
+
|
|
52
|
+
// Empty is for gRPCs that take no arguments, currently only GetLightdInfo.
|
|
53
|
+
message Empty {}
|
|
54
|
+
|
|
55
|
+
// LightdInfo returns various information about this lightwalletd instance
|
|
56
|
+
// and the state of the blockchain.
|
|
57
|
+
message LightdInfo {
|
|
58
|
+
string version = 1;
|
|
59
|
+
string vendor = 2;
|
|
60
|
+
bool taddrSupport = 3; // true
|
|
61
|
+
string chainName = 4; // either "main" or "test"
|
|
62
|
+
uint64 saplingActivationHeight = 5; // depends on mainnet or testnet
|
|
63
|
+
string consensusBranchId = 6; // protocol identifier, see consensus/upgrades.cpp
|
|
64
|
+
uint64 blockHeight = 7; // latest block on the best chain
|
|
65
|
+
string gitCommit = 8;
|
|
66
|
+
string branch = 9;
|
|
67
|
+
string buildDate = 10;
|
|
68
|
+
string buildUser = 11;
|
|
69
|
+
uint64 estimatedHeight = 12; // less than tip height if zcashd is syncing
|
|
70
|
+
string zcashdBuild = 13; // example: "v4.1.1-877212414"
|
|
71
|
+
string zcashdSubversion = 14; // example: "/MagicBean:4.1.1/"
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// TransparentAddressBlockFilter restricts the results to the given address
|
|
75
|
+
// or block range.
|
|
76
|
+
message TransparentAddressBlockFilter {
|
|
77
|
+
string address = 1; // t-address
|
|
78
|
+
BlockRange range = 2; // start, end heights
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Duration is currently used only for testing, so that the Ping rpc
|
|
82
|
+
// can simulate a delay, to create many simultaneous connections. Units
|
|
83
|
+
// are microseconds.
|
|
84
|
+
message Duration {
|
|
85
|
+
int64 intervalUs = 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// PingResponse is used to indicate concurrency, how many Ping rpcs
|
|
89
|
+
// are executing upon entry and upon exit (after the delay).
|
|
90
|
+
// This rpc is used for testing only.
|
|
91
|
+
message PingResponse {
|
|
92
|
+
int64 entry = 1;
|
|
93
|
+
int64 exit = 2;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
message Address {
|
|
97
|
+
string address = 1;
|
|
98
|
+
}
|
|
99
|
+
message AddressList {
|
|
100
|
+
repeated string addresses = 1;
|
|
101
|
+
}
|
|
102
|
+
message Balance {
|
|
103
|
+
int64 valueZat = 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
message Exclude {
|
|
107
|
+
repeated bytes txid = 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// The TreeState is derived from the Zcash z_gettreestate rpc.
|
|
111
|
+
message TreeState {
|
|
112
|
+
string network = 1; // "main" or "test"
|
|
113
|
+
uint64 height = 2;
|
|
114
|
+
string hash = 3; // block id
|
|
115
|
+
uint32 time = 4; // Unix epoch time when the block was mined
|
|
116
|
+
string tree = 5; // sapling commitment tree state
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// Results are sorted by height, which makes it easy to issue another
|
|
120
|
+
// request that picks up from where the previous left off.
|
|
121
|
+
message GetAddressUtxosArg {
|
|
122
|
+
repeated string addresses = 1;
|
|
123
|
+
uint64 startHeight = 2;
|
|
124
|
+
uint32 maxEntries = 3; // zero means unlimited
|
|
125
|
+
}
|
|
126
|
+
message GetAddressUtxosReply {
|
|
127
|
+
string address = 6;
|
|
128
|
+
bytes txid = 1;
|
|
129
|
+
int32 index = 2;
|
|
130
|
+
bytes script = 3;
|
|
131
|
+
int64 valueZat = 4;
|
|
132
|
+
uint64 height = 5;
|
|
133
|
+
}
|
|
134
|
+
message GetAddressUtxosReplyList {
|
|
135
|
+
repeated GetAddressUtxosReply addressUtxos = 1;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
service CompactTxStreamer {
|
|
139
|
+
// Return the height of the tip of the best chain
|
|
140
|
+
rpc GetLatestBlock(ChainSpec) returns (BlockID) {}
|
|
141
|
+
// Return the compact block corresponding to the given block identifier
|
|
142
|
+
rpc GetBlock(BlockID) returns (CompactBlock) {}
|
|
143
|
+
// Return a list of consecutive compact blocks
|
|
144
|
+
rpc GetBlockRange(BlockRange) returns (stream CompactBlock) {}
|
|
145
|
+
|
|
146
|
+
// Return the requested full (not compact) transaction (as from zcashd)
|
|
147
|
+
rpc GetTransaction(TxFilter) returns (RawTransaction) {}
|
|
148
|
+
// Submit the given transaction to the Zcash network
|
|
149
|
+
rpc SendTransaction(RawTransaction) returns (SendResponse) {}
|
|
150
|
+
|
|
151
|
+
// Return the txids corresponding to the given t-address within the given block range
|
|
152
|
+
rpc GetTaddressTxids(TransparentAddressBlockFilter) returns (stream RawTransaction) {}
|
|
153
|
+
rpc GetTaddressBalance(AddressList) returns (Balance) {}
|
|
154
|
+
rpc GetTaddressBalanceStream(stream Address) returns (Balance) {}
|
|
155
|
+
|
|
156
|
+
// Return the compact transactions currently in the mempool; the results
|
|
157
|
+
// can be a few seconds out of date. If the Exclude list is empty, return
|
|
158
|
+
// all transactions; otherwise return all *except* those in the Exclude list
|
|
159
|
+
// (if any); this allows the client to avoid receiving transactions that it
|
|
160
|
+
// already has (from an earlier call to this rpc). The transaction IDs in the
|
|
161
|
+
// Exclude list can be shortened to any number of bytes to make the request
|
|
162
|
+
// more bandwidth-efficient; if two or more transactions in the mempool
|
|
163
|
+
// match a shortened txid, they are all sent (none is excluded). Transactions
|
|
164
|
+
// in the exclude list that don't exist in the mempool are ignored.
|
|
165
|
+
rpc GetMempoolTx(Exclude) returns (stream CompactTx) {}
|
|
166
|
+
|
|
167
|
+
// GetTreeState returns the note commitment tree state corresponding to the given block.
|
|
168
|
+
// See section 3.7 of the Zcash protocol specification. It returns several other useful
|
|
169
|
+
// values also (even though they can be obtained using GetBlock).
|
|
170
|
+
// The block can be specified by either height or hash.
|
|
171
|
+
rpc GetTreeState(BlockID) returns (TreeState) {}
|
|
172
|
+
|
|
173
|
+
rpc GetAddressUtxos(GetAddressUtxosArg) returns (GetAddressUtxosReplyList) {}
|
|
174
|
+
rpc GetAddressUtxosStream(GetAddressUtxosArg) returns (stream GetAddressUtxosReply) {}
|
|
175
|
+
|
|
176
|
+
// Return information about this lightwalletd instance and the blockchain
|
|
177
|
+
rpc GetLightdInfo(Empty) returns (LightdInfo) {}
|
|
178
|
+
// Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)
|
|
179
|
+
rpc Ping(Duration) returns (PingResponse) {}
|
|
180
|
+
}
|
|
@@ -0,0 +1,383 @@
|
|
|
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 SwiftProtobuf
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/// Usage: instantiate CompactTxStreamerClient, then call methods of this protocol to make API calls.
|
|
29
|
+
internal protocol CompactTxStreamerClientProtocol: GRPCClient {
|
|
30
|
+
func getLatestBlock(
|
|
31
|
+
_ request: ChainSpec,
|
|
32
|
+
callOptions: CallOptions?
|
|
33
|
+
) -> UnaryCall<ChainSpec, BlockID>
|
|
34
|
+
|
|
35
|
+
func getBlock(
|
|
36
|
+
_ request: BlockID,
|
|
37
|
+
callOptions: CallOptions?
|
|
38
|
+
) -> UnaryCall<BlockID, CompactBlock>
|
|
39
|
+
|
|
40
|
+
func getBlockRange(
|
|
41
|
+
_ request: BlockRange,
|
|
42
|
+
callOptions: CallOptions?,
|
|
43
|
+
handler: @escaping (CompactBlock) -> Void
|
|
44
|
+
) -> ServerStreamingCall<BlockRange, CompactBlock>
|
|
45
|
+
|
|
46
|
+
func getTransaction(
|
|
47
|
+
_ request: TxFilter,
|
|
48
|
+
callOptions: CallOptions?
|
|
49
|
+
) -> UnaryCall<TxFilter, RawTransaction>
|
|
50
|
+
|
|
51
|
+
func sendTransaction(
|
|
52
|
+
_ request: RawTransaction,
|
|
53
|
+
callOptions: CallOptions?
|
|
54
|
+
) -> UnaryCall<RawTransaction, SendResponse>
|
|
55
|
+
|
|
56
|
+
func getTaddressTxids(
|
|
57
|
+
_ request: TransparentAddressBlockFilter,
|
|
58
|
+
callOptions: CallOptions?,
|
|
59
|
+
handler: @escaping (RawTransaction) -> Void
|
|
60
|
+
) -> ServerStreamingCall<TransparentAddressBlockFilter, RawTransaction>
|
|
61
|
+
|
|
62
|
+
func getTaddressBalance(
|
|
63
|
+
_ request: AddressList,
|
|
64
|
+
callOptions: CallOptions?
|
|
65
|
+
) -> UnaryCall<AddressList, Balance>
|
|
66
|
+
|
|
67
|
+
func getTaddressBalanceStream(
|
|
68
|
+
callOptions: CallOptions?
|
|
69
|
+
) -> ClientStreamingCall<Address, Balance>
|
|
70
|
+
|
|
71
|
+
func getMempoolTx(
|
|
72
|
+
_ request: Exclude,
|
|
73
|
+
callOptions: CallOptions?,
|
|
74
|
+
handler: @escaping (CompactTx) -> Void
|
|
75
|
+
) -> ServerStreamingCall<Exclude, CompactTx>
|
|
76
|
+
|
|
77
|
+
func getTreeState(
|
|
78
|
+
_ request: BlockID,
|
|
79
|
+
callOptions: CallOptions?
|
|
80
|
+
) -> UnaryCall<BlockID, TreeState>
|
|
81
|
+
|
|
82
|
+
func getAddressUtxos(
|
|
83
|
+
_ request: GetAddressUtxosArg,
|
|
84
|
+
callOptions: CallOptions?
|
|
85
|
+
) -> UnaryCall<GetAddressUtxosArg, GetAddressUtxosReplyList>
|
|
86
|
+
|
|
87
|
+
func getAddressUtxosStream(
|
|
88
|
+
_ request: GetAddressUtxosArg,
|
|
89
|
+
callOptions: CallOptions?,
|
|
90
|
+
handler: @escaping (GetAddressUtxosReply) -> Void
|
|
91
|
+
) -> ServerStreamingCall<GetAddressUtxosArg, GetAddressUtxosReply>
|
|
92
|
+
|
|
93
|
+
func getLightdInfo(
|
|
94
|
+
_ request: Empty,
|
|
95
|
+
callOptions: CallOptions?
|
|
96
|
+
) -> UnaryCall<Empty, LightdInfo>
|
|
97
|
+
|
|
98
|
+
func ping(
|
|
99
|
+
_ request: Duration,
|
|
100
|
+
callOptions: CallOptions?
|
|
101
|
+
) -> UnaryCall<Duration, PingResponse>
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
extension CompactTxStreamerClientProtocol {
|
|
106
|
+
|
|
107
|
+
/// Return the height of the tip of the best chain
|
|
108
|
+
///
|
|
109
|
+
/// - Parameters:
|
|
110
|
+
/// - request: Request to send to GetLatestBlock.
|
|
111
|
+
/// - callOptions: Call options.
|
|
112
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
113
|
+
internal func getLatestBlock(
|
|
114
|
+
_ request: ChainSpec,
|
|
115
|
+
callOptions: CallOptions? = nil
|
|
116
|
+
) -> UnaryCall<ChainSpec, BlockID> {
|
|
117
|
+
return self.makeUnaryCall(
|
|
118
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLatestBlock",
|
|
119
|
+
request: request,
|
|
120
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
121
|
+
)
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/// Return the compact block corresponding to the given block identifier
|
|
125
|
+
///
|
|
126
|
+
/// - Parameters:
|
|
127
|
+
/// - request: Request to send to GetBlock.
|
|
128
|
+
/// - callOptions: Call options.
|
|
129
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
130
|
+
internal func getBlock(
|
|
131
|
+
_ request: BlockID,
|
|
132
|
+
callOptions: CallOptions? = nil
|
|
133
|
+
) -> UnaryCall<BlockID, CompactBlock> {
|
|
134
|
+
return self.makeUnaryCall(
|
|
135
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlock",
|
|
136
|
+
request: request,
|
|
137
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
138
|
+
)
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/// Return a list of consecutive compact blocks
|
|
142
|
+
///
|
|
143
|
+
/// - Parameters:
|
|
144
|
+
/// - request: Request to send to GetBlockRange.
|
|
145
|
+
/// - callOptions: Call options.
|
|
146
|
+
/// - handler: A closure called when each response is received from the server.
|
|
147
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
148
|
+
internal func getBlockRange(
|
|
149
|
+
_ request: BlockRange,
|
|
150
|
+
callOptions: CallOptions? = nil,
|
|
151
|
+
handler: @escaping (CompactBlock) -> Void
|
|
152
|
+
) -> ServerStreamingCall<BlockRange, CompactBlock> {
|
|
153
|
+
return self.makeServerStreamingCall(
|
|
154
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlockRange",
|
|
155
|
+
request: request,
|
|
156
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
157
|
+
handler: handler
|
|
158
|
+
)
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/// Return the requested full (not compact) transaction (as from zcashd)
|
|
162
|
+
///
|
|
163
|
+
/// - Parameters:
|
|
164
|
+
/// - request: Request to send to GetTransaction.
|
|
165
|
+
/// - callOptions: Call options.
|
|
166
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
167
|
+
internal func getTransaction(
|
|
168
|
+
_ request: TxFilter,
|
|
169
|
+
callOptions: CallOptions? = nil
|
|
170
|
+
) -> UnaryCall<TxFilter, RawTransaction> {
|
|
171
|
+
return self.makeUnaryCall(
|
|
172
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTransaction",
|
|
173
|
+
request: request,
|
|
174
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
175
|
+
)
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/// Submit the given transaction to the Zcash network
|
|
179
|
+
///
|
|
180
|
+
/// - Parameters:
|
|
181
|
+
/// - request: Request to send to SendTransaction.
|
|
182
|
+
/// - callOptions: Call options.
|
|
183
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
184
|
+
internal func sendTransaction(
|
|
185
|
+
_ request: RawTransaction,
|
|
186
|
+
callOptions: CallOptions? = nil
|
|
187
|
+
) -> UnaryCall<RawTransaction, SendResponse> {
|
|
188
|
+
return self.makeUnaryCall(
|
|
189
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/SendTransaction",
|
|
190
|
+
request: request,
|
|
191
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
192
|
+
)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/// Return the txids corresponding to the given t-address within the given block range
|
|
196
|
+
///
|
|
197
|
+
/// - Parameters:
|
|
198
|
+
/// - request: Request to send to GetTaddressTxids.
|
|
199
|
+
/// - callOptions: Call options.
|
|
200
|
+
/// - handler: A closure called when each response is received from the server.
|
|
201
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
202
|
+
internal func getTaddressTxids(
|
|
203
|
+
_ request: TransparentAddressBlockFilter,
|
|
204
|
+
callOptions: CallOptions? = nil,
|
|
205
|
+
handler: @escaping (RawTransaction) -> Void
|
|
206
|
+
) -> ServerStreamingCall<TransparentAddressBlockFilter, RawTransaction> {
|
|
207
|
+
return self.makeServerStreamingCall(
|
|
208
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTaddressTxids",
|
|
209
|
+
request: request,
|
|
210
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
211
|
+
handler: handler
|
|
212
|
+
)
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/// Unary call to GetTaddressBalance
|
|
216
|
+
///
|
|
217
|
+
/// - Parameters:
|
|
218
|
+
/// - request: Request to send to GetTaddressBalance.
|
|
219
|
+
/// - callOptions: Call options.
|
|
220
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
221
|
+
internal func getTaddressBalance(
|
|
222
|
+
_ request: AddressList,
|
|
223
|
+
callOptions: CallOptions? = nil
|
|
224
|
+
) -> UnaryCall<AddressList, Balance> {
|
|
225
|
+
return self.makeUnaryCall(
|
|
226
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTaddressBalance",
|
|
227
|
+
request: request,
|
|
228
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
229
|
+
)
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/// Client streaming call to GetTaddressBalanceStream
|
|
233
|
+
///
|
|
234
|
+
/// Callers should use the `send` method on the returned object to send messages
|
|
235
|
+
/// to the server. The caller should send an `.end` after the final message has been sent.
|
|
236
|
+
///
|
|
237
|
+
/// - Parameters:
|
|
238
|
+
/// - callOptions: Call options.
|
|
239
|
+
/// - Returns: A `ClientStreamingCall` with futures for the metadata, status and response.
|
|
240
|
+
internal func getTaddressBalanceStream(
|
|
241
|
+
callOptions: CallOptions? = nil
|
|
242
|
+
) -> ClientStreamingCall<Address, Balance> {
|
|
243
|
+
return self.makeClientStreamingCall(
|
|
244
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTaddressBalanceStream",
|
|
245
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
246
|
+
)
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/// Return the compact transactions currently in the mempool; the results
|
|
250
|
+
/// can be a few seconds out of date. If the Exclude list is empty, return
|
|
251
|
+
/// all transactions; otherwise return all *except* those in the Exclude list
|
|
252
|
+
/// (if any); this allows the client to avoid receiving transactions that it
|
|
253
|
+
/// already has (from an earlier call to this rpc). The transaction IDs in the
|
|
254
|
+
/// Exclude list can be shortened to any number of bytes to make the request
|
|
255
|
+
/// more bandwidth-efficient; if two or more transactions in the mempool
|
|
256
|
+
/// match a shortened txid, they are all sent (none is excluded). Transactions
|
|
257
|
+
/// in the exclude list that don't exist in the mempool are ignored.
|
|
258
|
+
///
|
|
259
|
+
/// - Parameters:
|
|
260
|
+
/// - request: Request to send to GetMempoolTx.
|
|
261
|
+
/// - callOptions: Call options.
|
|
262
|
+
/// - handler: A closure called when each response is received from the server.
|
|
263
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
264
|
+
internal func getMempoolTx(
|
|
265
|
+
_ request: Exclude,
|
|
266
|
+
callOptions: CallOptions? = nil,
|
|
267
|
+
handler: @escaping (CompactTx) -> Void
|
|
268
|
+
) -> ServerStreamingCall<Exclude, CompactTx> {
|
|
269
|
+
return self.makeServerStreamingCall(
|
|
270
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetMempoolTx",
|
|
271
|
+
request: request,
|
|
272
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
273
|
+
handler: handler
|
|
274
|
+
)
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/// GetTreeState returns the note commitment tree state corresponding to the given block.
|
|
278
|
+
/// See section 3.7 of the Zcash protocol specification. It returns several other useful
|
|
279
|
+
/// values also (even though they can be obtained using GetBlock).
|
|
280
|
+
/// The block can be specified by either height or hash.
|
|
281
|
+
///
|
|
282
|
+
/// - Parameters:
|
|
283
|
+
/// - request: Request to send to GetTreeState.
|
|
284
|
+
/// - callOptions: Call options.
|
|
285
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
286
|
+
internal func getTreeState(
|
|
287
|
+
_ request: BlockID,
|
|
288
|
+
callOptions: CallOptions? = nil
|
|
289
|
+
) -> UnaryCall<BlockID, TreeState> {
|
|
290
|
+
return self.makeUnaryCall(
|
|
291
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTreeState",
|
|
292
|
+
request: request,
|
|
293
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
294
|
+
)
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/// Unary call to GetAddressUtxos
|
|
298
|
+
///
|
|
299
|
+
/// - Parameters:
|
|
300
|
+
/// - request: Request to send to GetAddressUtxos.
|
|
301
|
+
/// - callOptions: Call options.
|
|
302
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
303
|
+
internal func getAddressUtxos(
|
|
304
|
+
_ request: GetAddressUtxosArg,
|
|
305
|
+
callOptions: CallOptions? = nil
|
|
306
|
+
) -> UnaryCall<GetAddressUtxosArg, GetAddressUtxosReplyList> {
|
|
307
|
+
return self.makeUnaryCall(
|
|
308
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetAddressUtxos",
|
|
309
|
+
request: request,
|
|
310
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
311
|
+
)
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/// Server streaming call to GetAddressUtxosStream
|
|
315
|
+
///
|
|
316
|
+
/// - Parameters:
|
|
317
|
+
/// - request: Request to send to GetAddressUtxosStream.
|
|
318
|
+
/// - callOptions: Call options.
|
|
319
|
+
/// - handler: A closure called when each response is received from the server.
|
|
320
|
+
/// - Returns: A `ServerStreamingCall` with futures for the metadata and status.
|
|
321
|
+
internal func getAddressUtxosStream(
|
|
322
|
+
_ request: GetAddressUtxosArg,
|
|
323
|
+
callOptions: CallOptions? = nil,
|
|
324
|
+
handler: @escaping (GetAddressUtxosReply) -> Void
|
|
325
|
+
) -> ServerStreamingCall<GetAddressUtxosArg, GetAddressUtxosReply> {
|
|
326
|
+
return self.makeServerStreamingCall(
|
|
327
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetAddressUtxosStream",
|
|
328
|
+
request: request,
|
|
329
|
+
callOptions: callOptions ?? self.defaultCallOptions,
|
|
330
|
+
handler: handler
|
|
331
|
+
)
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/// Return information about this lightwalletd instance and the blockchain
|
|
335
|
+
///
|
|
336
|
+
/// - Parameters:
|
|
337
|
+
/// - request: Request to send to GetLightdInfo.
|
|
338
|
+
/// - callOptions: Call options.
|
|
339
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
340
|
+
internal func getLightdInfo(
|
|
341
|
+
_ request: Empty,
|
|
342
|
+
callOptions: CallOptions? = nil
|
|
343
|
+
) -> UnaryCall<Empty, LightdInfo> {
|
|
344
|
+
return self.makeUnaryCall(
|
|
345
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLightdInfo",
|
|
346
|
+
request: request,
|
|
347
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
348
|
+
)
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/// Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production)
|
|
352
|
+
///
|
|
353
|
+
/// - Parameters:
|
|
354
|
+
/// - request: Request to send to Ping.
|
|
355
|
+
/// - callOptions: Call options.
|
|
356
|
+
/// - Returns: A `UnaryCall` with futures for the metadata, status and response.
|
|
357
|
+
internal func ping(
|
|
358
|
+
_ request: Duration,
|
|
359
|
+
callOptions: CallOptions? = nil
|
|
360
|
+
) -> UnaryCall<Duration, PingResponse> {
|
|
361
|
+
return self.makeUnaryCall(
|
|
362
|
+
path: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/Ping",
|
|
363
|
+
request: request,
|
|
364
|
+
callOptions: callOptions ?? self.defaultCallOptions
|
|
365
|
+
)
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
internal final class CompactTxStreamerClient: CompactTxStreamerClientProtocol {
|
|
370
|
+
internal let channel: GRPCChannel
|
|
371
|
+
internal var defaultCallOptions: CallOptions
|
|
372
|
+
|
|
373
|
+
/// Creates a client for the cash.z.wallet.sdk.rpc.CompactTxStreamer service.
|
|
374
|
+
///
|
|
375
|
+
/// - Parameters:
|
|
376
|
+
/// - channel: `GRPCChannel` to the service host.
|
|
377
|
+
/// - defaultCallOptions: Options to use for each service call if the user doesn't provide them.
|
|
378
|
+
internal init(channel: GRPCChannel, defaultCallOptions: CallOptions = CallOptions()) {
|
|
379
|
+
self.channel = channel
|
|
380
|
+
self.defaultCallOptions = defaultCallOptions
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|