@bsv/wallet-toolbox 2.1.27 → 2.1.30
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/docs/client.md +485 -160
- package/docs/monitor.md +69 -1
- package/docs/storage.md +421 -63
- package/docs/wallet.md +945 -145
- package/out/src/CWIStyleWalletManager.js +107 -41
- package/out/src/CWIStyleWalletManager.js.map +1 -1
- package/out/src/Setup.js +3 -3
- package/out/src/Setup.js.map +1 -1
- package/out/src/SetupClient.js +1 -1
- package/out/src/SetupClient.js.map +1 -1
- package/out/src/ShamirWalletManager.d.ts +2 -2
- package/out/src/ShamirWalletManager.js +10 -3
- package/out/src/ShamirWalletManager.js.map +1 -1
- package/out/src/SimpleWalletManager.js +29 -0
- package/out/src/SimpleWalletManager.js.map +1 -1
- package/out/src/Wallet.js +84 -66
- package/out/src/Wallet.js.map +1 -1
- package/out/src/WalletAuthenticationManager.js +6 -3
- package/out/src/WalletAuthenticationManager.js.map +1 -1
- package/out/src/WalletLogger.js +6 -4
- package/out/src/WalletLogger.js.map +1 -1
- package/out/src/WalletPermissionsManager.d.ts.map +1 -1
- package/out/src/WalletPermissionsManager.js +158 -167
- package/out/src/WalletPermissionsManager.js.map +1 -1
- package/out/src/WalletSettingsManager.js +3 -0
- package/out/src/WalletSettingsManager.js.map +1 -1
- package/out/src/entropy/EntropyCollector.js +9 -9
- package/out/src/entropy/EntropyCollector.js.map +1 -1
- package/out/src/fundWalletP2PKH.js +5 -6
- package/out/src/fundWalletP2PKH.js.map +1 -1
- package/out/src/mockchain/MockChainMigrations.js +1 -1
- package/out/src/mockchain/MockChainMigrations.js.map +1 -1
- package/out/src/mockchain/MockChainStorage.js +1 -0
- package/out/src/mockchain/MockChainStorage.js.map +1 -1
- package/out/src/mockchain/MockChainTracker.js +2 -0
- package/out/src/mockchain/MockChainTracker.js.map +1 -1
- package/out/src/mockchain/MockMiner.js +2 -2
- package/out/src/mockchain/MockMiner.js.map +1 -1
- package/out/src/mockchain/MockServices.js +21 -25
- package/out/src/mockchain/MockServices.js.map +1 -1
- package/out/src/monitor/Monitor.d.ts.map +1 -1
- package/out/src/monitor/Monitor.js +57 -33
- package/out/src/monitor/Monitor.js.map +1 -1
- package/out/src/monitor/MonitorDaemon.js +12 -10
- package/out/src/monitor/MonitorDaemon.js.map +1 -1
- package/out/src/monitor/tasks/TaskArcSSE.js +10 -13
- package/out/src/monitor/tasks/TaskArcSSE.js.map +1 -1
- package/out/src/monitor/tasks/TaskCheckForProofs.js +10 -11
- package/out/src/monitor/tasks/TaskCheckForProofs.js.map +1 -1
- package/out/src/monitor/tasks/TaskCheckNoSends.d.ts +59 -1
- package/out/src/monitor/tasks/TaskCheckNoSends.d.ts.map +1 -1
- package/out/src/monitor/tasks/TaskCheckNoSends.js +101 -12
- package/out/src/monitor/tasks/TaskCheckNoSends.js.map +1 -1
- package/out/src/monitor/tasks/TaskClock.js +3 -1
- package/out/src/monitor/tasks/TaskClock.js.map +1 -1
- package/out/src/monitor/tasks/TaskFailAbandoned.js +2 -1
- package/out/src/monitor/tasks/TaskFailAbandoned.js.map +1 -1
- package/out/src/monitor/tasks/TaskMineBlock.js +3 -2
- package/out/src/monitor/tasks/TaskMineBlock.js.map +1 -1
- package/out/src/monitor/tasks/TaskMonitorCallHistory.js +2 -1
- package/out/src/monitor/tasks/TaskMonitorCallHistory.js.map +1 -1
- package/out/src/monitor/tasks/TaskNewHeader.js +12 -1
- package/out/src/monitor/tasks/TaskNewHeader.js.map +1 -1
- package/out/src/monitor/tasks/TaskPurge.js +7 -5
- package/out/src/monitor/tasks/TaskPurge.js.map +1 -1
- package/out/src/monitor/tasks/TaskReorg.js +4 -2
- package/out/src/monitor/tasks/TaskReorg.js.map +1 -1
- package/out/src/monitor/tasks/TaskReviewDoubleSpends.js +12 -9
- package/out/src/monitor/tasks/TaskReviewDoubleSpends.js.map +1 -1
- package/out/src/monitor/tasks/TaskReviewProvenTxs.js +8 -3
- package/out/src/monitor/tasks/TaskReviewProvenTxs.js.map +1 -1
- package/out/src/monitor/tasks/TaskReviewStatus.js +7 -5
- package/out/src/monitor/tasks/TaskReviewStatus.js.map +1 -1
- package/out/src/monitor/tasks/TaskReviewUtxos.js +6 -2
- package/out/src/monitor/tasks/TaskReviewUtxos.js.map +1 -1
- package/out/src/monitor/tasks/TaskSendWaiting.js +9 -2
- package/out/src/monitor/tasks/TaskSendWaiting.js.map +1 -1
- package/out/src/monitor/tasks/TaskSyncWhenIdle.js +2 -1
- package/out/src/monitor/tasks/TaskSyncWhenIdle.js.map +1 -1
- package/out/src/monitor/tasks/TaskUnFail.js +6 -5
- package/out/src/monitor/tasks/TaskUnFail.js.map +1 -1
- package/out/src/monitor/tasks/WalletMonitorTask.js +7 -4
- package/out/src/monitor/tasks/WalletMonitorTask.js.map +1 -1
- package/out/src/sdk/PrivilegedKeyManager.js +44 -27
- package/out/src/sdk/PrivilegedKeyManager.js.map +1 -1
- package/out/src/sdk/WERR_errors.js +23 -8
- package/out/src/sdk/WERR_errors.js.map +1 -1
- package/out/src/sdk/WalletError.js +7 -7
- package/out/src/sdk/WalletError.js.map +1 -1
- package/out/src/services/ServiceCollection.js +9 -2
- package/out/src/services/ServiceCollection.js.map +1 -1
- package/out/src/services/Services.js +58 -54
- package/out/src/services/Services.js.map +1 -1
- package/out/src/services/chaintracker/BHServiceClient.js +8 -2
- package/out/src/services/chaintracker/BHServiceClient.js.map +1 -1
- package/out/src/services/chaintracker/ChaintracksChainTracker.js +5 -2
- package/out/src/services/chaintracker/ChaintracksChainTracker.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Chaintracks.js +27 -21
- package/out/src/services/chaintracker/chaintracks/Chaintracks.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/ChaintracksService.js +10 -5
- package/out/src/services/chaintracker/chaintracks/ChaintracksService.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/ChaintracksServiceClient.js +4 -1
- package/out/src/services/chaintracker/chaintracks/ChaintracksServiceClient.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorBase.js +8 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorBase.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorCDN.js +7 -0
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorCDN.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorWhatsOnChainCdn.js +5 -3
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorWhatsOnChainCdn.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorWhatsOnChainWs.js +3 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/BulkIngestorWhatsOnChainWs.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/LiveIngestorBase.js +3 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/LiveIngestorBase.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/LiveIngestorWhatsOnChainPoll.js +3 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/LiveIngestorWhatsOnChainPoll.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/LiveIngestorWhatsOnChainWs.js +4 -3
- package/out/src/services/chaintracker/chaintracks/Ingest/LiveIngestorWhatsOnChainWs.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/WhatsOnChainIngestorWs.js +1 -2
- package/out/src/services/chaintracker/chaintracks/Ingest/WhatsOnChainIngestorWs.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/WhatsOnChainServices.js +8 -5
- package/out/src/services/chaintracker/chaintracks/Ingest/WhatsOnChainServices.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Storage/BulkStorageBase.js +3 -1
- package/out/src/services/chaintracker/chaintracks/Storage/BulkStorageBase.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksKnexMigrations.js +2 -1
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksKnexMigrations.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageBase.js +12 -6
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageBase.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageIdb.js +8 -7
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageIdb.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageKnex.js +8 -8
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageKnex.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageNoDb.js +15 -16
- package/out/src/services/chaintracker/chaintracks/Storage/ChaintracksStorageNoDb.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/createDefaultIdbChaintracksOptions.js +1 -1
- package/out/src/services/chaintracker/chaintracks/createDefaultIdbChaintracksOptions.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/createDefaultKnexChaintracksOptions.js +3 -3
- package/out/src/services/chaintracker/chaintracks/createDefaultKnexChaintracksOptions.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/createDefaultNoDbChaintracksOptions.js +1 -1
- package/out/src/services/chaintracker/chaintracks/createDefaultNoDbChaintracksOptions.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/createIdbChaintracks.js +1 -1
- package/out/src/services/chaintracker/chaintracks/createIdbChaintracks.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/createKnexChaintracks.js +1 -1
- package/out/src/services/chaintracker/chaintracks/createKnexChaintracks.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/createNoDbChaintracks.js +1 -1
- package/out/src/services/chaintracker/chaintracks/createNoDbChaintracks.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/BulkFileDataManager.js +19 -16
- package/out/src/services/chaintracker/chaintracks/util/BulkFileDataManager.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/BulkFileDataReader.js +4 -0
- package/out/src/services/chaintracker/chaintracks/util/BulkFileDataReader.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/BulkFilesReader.js +17 -4
- package/out/src/services/chaintracker/chaintracks/util/BulkFilesReader.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/BulkHeaderFile.js +21 -0
- package/out/src/services/chaintracker/chaintracks/util/BulkHeaderFile.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/ChaintracksFetch.js +1 -3
- package/out/src/services/chaintracker/chaintracks/util/ChaintracksFetch.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/ChaintracksFs.js +9 -3
- package/out/src/services/chaintracker/chaintracks/util/ChaintracksFs.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/HeightRange.js +7 -5
- package/out/src/services/chaintracker/chaintracks/util/HeightRange.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/SingleWriterMultiReaderLock.js +4 -6
- package/out/src/services/chaintracker/chaintracks/util/SingleWriterMultiReaderLock.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/blockHeaderUtilities.js +1 -1
- package/out/src/services/chaintracker/chaintracks/util/blockHeaderUtilities.js.map +1 -1
- package/out/src/services/chaintracker/chaintracks/util/validBulkHeaderFilesByFileHash.js +8 -8
- package/out/src/services/chaintracker/chaintracks/util/validBulkHeaderFilesByFileHash.js.map +1 -1
- package/out/src/services/createDefaultWalletServicesOptions.js +8 -8
- package/out/src/services/createDefaultWalletServicesOptions.js.map +1 -1
- package/out/src/services/providers/ARC.js +13 -5
- package/out/src/services/providers/ARC.js.map +1 -1
- package/out/src/services/providers/ArcSSEClient.js +9 -8
- package/out/src/services/providers/ArcSSEClient.js.map +1 -1
- package/out/src/services/providers/Bitails.js +6 -2
- package/out/src/services/providers/Bitails.js.map +1 -1
- package/out/src/services/providers/SdkWhatsOnChain.js +6 -2
- package/out/src/services/providers/SdkWhatsOnChain.js.map +1 -1
- package/out/src/services/providers/WhatsOnChain.js +2 -1
- package/out/src/services/providers/WhatsOnChain.js.map +1 -1
- package/out/src/services/providers/getBeefForTxid.js +2 -1
- package/out/src/services/providers/getBeefForTxid.js.map +1 -1
- package/out/src/signer/WalletSigner.js +4 -1
- package/out/src/signer/WalletSigner.js.map +1 -1
- package/out/src/signer/methods/acquireDirectCertificate.js +1 -2
- package/out/src/signer/methods/acquireDirectCertificate.js.map +1 -1
- package/out/src/signer/methods/buildSignableTransaction.js +1 -2
- package/out/src/signer/methods/buildSignableTransaction.js.map +1 -1
- package/out/src/signer/methods/completeSignedTransaction.js +4 -5
- package/out/src/signer/methods/completeSignedTransaction.js.map +1 -1
- package/out/src/signer/methods/createAction.js +9 -11
- package/out/src/signer/methods/createAction.js.map +1 -1
- package/out/src/signer/methods/internalizeAction.d.ts +8 -1
- package/out/src/signer/methods/internalizeAction.d.ts.map +1 -1
- package/out/src/signer/methods/internalizeAction.js +8 -1
- package/out/src/signer/methods/internalizeAction.js.map +1 -1
- package/out/src/signer/methods/signAction.js +5 -6
- package/out/src/signer/methods/signAction.js.map +1 -1
- package/out/src/storage/StorageIdb.js +84 -99
- package/out/src/storage/StorageIdb.js.map +1 -1
- package/out/src/storage/StorageKnex.d.ts.map +1 -1
- package/out/src/storage/StorageKnex.js +22 -29
- package/out/src/storage/StorageKnex.js.map +1 -1
- package/out/src/storage/StorageProvider.d.ts +4 -1
- package/out/src/storage/StorageProvider.d.ts.map +1 -1
- package/out/src/storage/StorageProvider.js +122 -32
- package/out/src/storage/StorageProvider.js.map +1 -1
- package/out/src/storage/StorageReader.js +4 -2
- package/out/src/storage/StorageReader.js.map +1 -1
- package/out/src/storage/StorageSyncReader.js +2 -0
- package/out/src/storage/StorageSyncReader.js.map +1 -1
- package/out/src/storage/WalletStorageManager.js +47 -25
- package/out/src/storage/WalletStorageManager.js.map +1 -1
- package/out/src/storage/adminServer/adminServer.js +35 -48
- package/out/src/storage/adminServer/adminServer.js.map +1 -1
- package/out/src/storage/idbHelpers.js +1 -2
- package/out/src/storage/idbHelpers.js.map +1 -1
- package/out/src/storage/methods/ListActionsSpecOp.d.ts.map +1 -1
- package/out/src/storage/methods/ListActionsSpecOp.js +69 -6
- package/out/src/storage/methods/ListActionsSpecOp.js.map +1 -1
- package/out/src/storage/methods/ListOutputsSpecOp.d.ts.map +1 -1
- package/out/src/storage/methods/ListOutputsSpecOp.js +5 -2
- package/out/src/storage/methods/ListOutputsSpecOp.js.map +1 -1
- package/out/src/storage/methods/attemptToPostReqsToNetwork.js +10 -12
- package/out/src/storage/methods/attemptToPostReqsToNetwork.js.map +1 -1
- package/out/src/storage/methods/createAction.d.ts.map +1 -1
- package/out/src/storage/methods/createAction.js +111 -69
- package/out/src/storage/methods/createAction.js.map +1 -1
- package/out/src/storage/methods/generateChange.js +2 -3
- package/out/src/storage/methods/generateChange.js.map +1 -1
- package/out/src/storage/methods/getBeefForTransaction.js +2 -4
- package/out/src/storage/methods/getBeefForTransaction.js.map +1 -1
- package/out/src/storage/methods/internalizeAction.d.ts +69 -2
- package/out/src/storage/methods/internalizeAction.d.ts.map +1 -1
- package/out/src/storage/methods/internalizeAction.js +232 -27
- package/out/src/storage/methods/internalizeAction.js.map +1 -1
- package/out/src/storage/methods/listActionsIdb.js +7 -9
- package/out/src/storage/methods/listActionsIdb.js.map +1 -1
- package/out/src/storage/methods/listActionsKnex.js +7 -9
- package/out/src/storage/methods/listActionsKnex.js.map +1 -1
- package/out/src/storage/methods/listOutputsIdb.js +5 -7
- package/out/src/storage/methods/listOutputsIdb.js.map +1 -1
- package/out/src/storage/methods/listOutputsKnex.js +9 -10
- package/out/src/storage/methods/listOutputsKnex.js.map +1 -1
- package/out/src/storage/methods/processAction.d.ts.map +1 -1
- package/out/src/storage/methods/processAction.js +12 -11
- package/out/src/storage/methods/processAction.js.map +1 -1
- package/out/src/storage/methods/reviewStatus.d.ts +3 -2
- package/out/src/storage/methods/reviewStatus.d.ts.map +1 -1
- package/out/src/storage/methods/reviewStatus.js +34 -2
- package/out/src/storage/methods/reviewStatus.js.map +1 -1
- package/out/src/storage/methods/reviewStatusIdb.d.ts +2 -2
- package/out/src/storage/methods/reviewStatusIdb.d.ts.map +1 -1
- package/out/src/storage/methods/reviewStatusIdb.js +54 -13
- package/out/src/storage/methods/reviewStatusIdb.js.map +1 -1
- package/out/src/storage/portable/index.d.ts.map +1 -1
- package/out/src/storage/portable/index.js +171 -129
- package/out/src/storage/portable/index.js.map +1 -1
- package/out/src/storage/remoting/StorageClient.js +2 -3
- package/out/src/storage/remoting/StorageClient.js.map +1 -1
- package/out/src/storage/remoting/StorageClientBase.js +6 -3
- package/out/src/storage/remoting/StorageClientBase.js.map +1 -1
- package/out/src/storage/remoting/StorageServer.js +17 -11
- package/out/src/storage/remoting/StorageServer.js.map +1 -1
- package/out/src/storage/schema/KnexMigrations.js +5 -1
- package/out/src/storage/schema/KnexMigrations.js.map +1 -1
- package/out/src/storage/schema/entities/EntityBase.js +1 -0
- package/out/src/storage/schema/entities/EntityBase.js.map +1 -1
- package/out/src/storage/schema/entities/EntityOutputBasket.js +1 -1
- package/out/src/storage/schema/entities/EntityOutputBasket.js.map +1 -1
- package/out/src/storage/schema/entities/EntityProvenTx.js +12 -13
- package/out/src/storage/schema/entities/EntityProvenTx.js.map +1 -1
- package/out/src/storage/schema/entities/EntityProvenTxReq.js +7 -9
- package/out/src/storage/schema/entities/EntityProvenTxReq.js.map +1 -1
- package/out/src/storage/schema/entities/EntitySyncState.js +6 -3
- package/out/src/storage/schema/entities/EntitySyncState.js.map +1 -1
- package/out/src/storage/schema/entities/MergeEntity.js +4 -0
- package/out/src/storage/schema/entities/MergeEntity.js.map +1 -1
- package/out/src/storage/storageProviderHelpers.js +2 -3
- package/out/src/storage/storageProviderHelpers.js.map +1 -1
- package/out/src/storage/sync/StorageMySQLDojoReader.js +2 -2
- package/out/src/storage/sync/StorageMySQLDojoReader.js.map +1 -1
- package/out/src/utility/Format.js +4 -5
- package/out/src/utility/Format.js.map +1 -1
- package/out/src/utility/ScriptTemplateBRC29.js +7 -6
- package/out/src/utility/ScriptTemplateBRC29.js.map +1 -1
- package/out/src/utility/brc114ActionTimeLabels.js +1 -1
- package/out/src/utility/brc114ActionTimeLabels.js.map +1 -1
- package/out/src/utility/identityUtils.js +2 -4
- package/out/src/utility/identityUtils.js.map +1 -1
- package/out/src/utility/utilityHelpers.buffer.js +3 -3
- package/out/src/utility/utilityHelpers.buffer.js.map +1 -1
- package/out/src/utility/utilityHelpers.js +2 -2
- package/out/src/utility/utilityHelpers.js.map +1 -1
- package/out/src/utility/utilityHelpers.noBuffer.js +4 -4
- package/out/src/utility/utilityHelpers.noBuffer.js.map +1 -1
- package/out/src/wab-client/WABClient.js +1 -0
- package/out/src/wab-client/WABClient.js.map +1 -1
- package/out/src/wab-client/auth-method-interactors/DevConsoleInteractor.js +1 -4
- package/out/src/wab-client/auth-method-interactors/DevConsoleInteractor.js.map +1 -1
- package/out/src/wab-client/auth-method-interactors/PersonaIDInteractor.js +1 -4
- package/out/src/wab-client/auth-method-interactors/PersonaIDInteractor.js.map +1 -1
- package/out/src/wab-client/auth-method-interactors/TwilioPhoneInteractor.js +1 -4
- package/out/src/wab-client/auth-method-interactors/TwilioPhoneInteractor.js.map +1 -1
- package/package.json +19 -19
- package/out/src/__tests/CWIStyleWalletManager.test.d.ts +0 -2
- package/out/src/__tests/CWIStyleWalletManager.test.d.ts.map +0 -1
- package/out/src/__tests/CWIStyleWalletManager.test.js +0 -810
- package/out/src/__tests/CWIStyleWalletManager.test.js.map +0 -1
- package/out/src/__tests/ShamirWalletManager.test.d.ts +0 -2
- package/out/src/__tests/ShamirWalletManager.test.d.ts.map +0 -1
- package/out/src/__tests/ShamirWalletManager.test.js +0 -303
- package/out/src/__tests/ShamirWalletManager.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.callbacks.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.callbacks.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.callbacks.test.js +0 -365
- package/out/src/__tests/WalletPermissionsManager.callbacks.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.checks.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.checks.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.checks.test.js +0 -642
- package/out/src/__tests/WalletPermissionsManager.checks.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.encryption.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.encryption.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.encryption.test.js +0 -335
- package/out/src/__tests/WalletPermissionsManager.encryption.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.fixtures.d.ts +0 -86
- package/out/src/__tests/WalletPermissionsManager.fixtures.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.fixtures.js +0 -280
- package/out/src/__tests/WalletPermissionsManager.fixtures.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.flows.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.flows.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.flows.test.js +0 -613
- package/out/src/__tests/WalletPermissionsManager.flows.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.initialization.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.initialization.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.initialization.test.js +0 -227
- package/out/src/__tests/WalletPermissionsManager.initialization.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.pmodules.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.pmodules.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.pmodules.test.js +0 -735
- package/out/src/__tests/WalletPermissionsManager.pmodules.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.proxying.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.proxying.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.proxying.test.js +0 -585
- package/out/src/__tests/WalletPermissionsManager.proxying.test.js.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.tokens.test.d.ts +0 -2
- package/out/src/__tests/WalletPermissionsManager.tokens.test.d.ts.map +0 -1
- package/out/src/__tests/WalletPermissionsManager.tokens.test.js +0 -416
- package/out/src/__tests/WalletPermissionsManager.tokens.test.js.map +0 -1
- package/out/src/entropy/__tests/EntropyCollector.test.d.ts +0 -2
- package/out/src/entropy/__tests/EntropyCollector.test.d.ts.map +0 -1
- package/out/src/entropy/__tests/EntropyCollector.test.js +0 -137
- package/out/src/entropy/__tests/EntropyCollector.test.js.map +0 -1
- package/out/src/monitor/__test/MonitorDaemon.man.test.d.ts +0 -2
- package/out/src/monitor/__test/MonitorDaemon.man.test.d.ts.map +0 -1
- package/out/src/monitor/__test/MonitorDaemon.man.test.js +0 -41
- package/out/src/monitor/__test/MonitorDaemon.man.test.js.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskArcSSE.test.d.ts +0 -2
- package/out/src/monitor/tasks/__tests/TaskArcSSE.test.d.ts.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskArcSSE.test.js +0 -257
- package/out/src/monitor/tasks/__tests/TaskArcSSE.test.js.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskReviewDoubleSpends.test.d.ts +0 -2
- package/out/src/monitor/tasks/__tests/TaskReviewDoubleSpends.test.d.ts.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskReviewDoubleSpends.test.js +0 -161
- package/out/src/monitor/tasks/__tests/TaskReviewDoubleSpends.test.js.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskReviewProvenTxs.test.d.ts +0 -2
- package/out/src/monitor/tasks/__tests/TaskReviewProvenTxs.test.d.ts.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskReviewProvenTxs.test.js +0 -214
- package/out/src/monitor/tasks/__tests/TaskReviewProvenTxs.test.js.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskReviewUtxos.test.d.ts +0 -2
- package/out/src/monitor/tasks/__tests/TaskReviewUtxos.test.d.ts.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskReviewUtxos.test.js +0 -92
- package/out/src/monitor/tasks/__tests/TaskReviewUtxos.test.js.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskSendWaiting.test.d.ts +0 -2
- package/out/src/monitor/tasks/__tests/TaskSendWaiting.test.d.ts.map +0 -1
- package/out/src/monitor/tasks/__tests/TaskSendWaiting.test.js +0 -139
- package/out/src/monitor/tasks/__tests/TaskSendWaiting.test.js.map +0 -1
- package/out/src/sdk/__test/CertificateLifeCycle.test.d.ts +0 -2
- package/out/src/sdk/__test/CertificateLifeCycle.test.d.ts.map +0 -1
- package/out/src/sdk/__test/CertificateLifeCycle.test.js +0 -62
- package/out/src/sdk/__test/CertificateLifeCycle.test.js.map +0 -1
- package/out/src/sdk/__test/PrivilegedKeyManager.test.d.ts +0 -2
- package/out/src/sdk/__test/PrivilegedKeyManager.test.d.ts.map +0 -1
- package/out/src/sdk/__test/PrivilegedKeyManager.test.js +0 -647
- package/out/src/sdk/__test/PrivilegedKeyManager.test.js.map +0 -1
- package/out/src/sdk/__test/WalletError.test.d.ts +0 -2
- package/out/src/sdk/__test/WalletError.test.d.ts.map +0 -1
- package/out/src/sdk/__test/WalletError.test.js +0 -255
- package/out/src/sdk/__test/WalletError.test.js.map +0 -1
- package/out/src/sdk/__test/validationHelpers.test.d.ts +0 -2
- package/out/src/sdk/__test/validationHelpers.test.d.ts.map +0 -1
- package/out/src/sdk/__test/validationHelpers.test.js +0 -20
- package/out/src/sdk/__test/validationHelpers.test.js.map +0 -1
- package/out/src/services/__tests/ARC.man.test.d.ts +0 -2
- package/out/src/services/__tests/ARC.man.test.d.ts.map +0 -1
- package/out/src/services/__tests/ARC.man.test.js +0 -104
- package/out/src/services/__tests/ARC.man.test.js.map +0 -1
- package/out/src/services/__tests/ARC.timeout.man.test.d.ts +0 -2
- package/out/src/services/__tests/ARC.timeout.man.test.d.ts.map +0 -1
- package/out/src/services/__tests/ARC.timeout.man.test.js +0 -74
- package/out/src/services/__tests/ARC.timeout.man.test.js.map +0 -1
- package/out/src/services/__tests/ArcGorillaPool.man.test.d.ts +0 -2
- package/out/src/services/__tests/ArcGorillaPool.man.test.d.ts.map +0 -1
- package/out/src/services/__tests/ArcGorillaPool.man.test.js +0 -93
- package/out/src/services/__tests/ArcGorillaPool.man.test.js.map +0 -1
- package/out/src/services/__tests/arcServices.test.d.ts +0 -2
- package/out/src/services/__tests/arcServices.test.d.ts.map +0 -1
- package/out/src/services/__tests/arcServices.test.js +0 -7
- package/out/src/services/__tests/arcServices.test.js.map +0 -1
- package/out/src/services/__tests/bitrails.test.d.ts +0 -2
- package/out/src/services/__tests/bitrails.test.d.ts.map +0 -1
- package/out/src/services/__tests/bitrails.test.js +0 -60
- package/out/src/services/__tests/bitrails.test.js.map +0 -1
- package/out/src/services/__tests/getFiatExchangeRate.test.d.ts +0 -2
- package/out/src/services/__tests/getFiatExchangeRate.test.d.ts.map +0 -1
- package/out/src/services/__tests/getFiatExchangeRate.test.js +0 -156
- package/out/src/services/__tests/getFiatExchangeRate.test.js.map +0 -1
- package/out/src/services/__tests/getMerklePath.test.d.ts +0 -2
- package/out/src/services/__tests/getMerklePath.test.d.ts.map +0 -1
- package/out/src/services/__tests/getMerklePath.test.js +0 -16
- package/out/src/services/__tests/getMerklePath.test.js.map +0 -1
- package/out/src/services/__tests/getRawTx.test.d.ts +0 -2
- package/out/src/services/__tests/getRawTx.test.d.ts.map +0 -1
- package/out/src/services/__tests/getRawTx.test.js +0 -16
- package/out/src/services/__tests/getRawTx.test.js.map +0 -1
- package/out/src/services/__tests/postBeef.test.d.ts +0 -2
- package/out/src/services/__tests/postBeef.test.d.ts.map +0 -1
- package/out/src/services/__tests/postBeef.test.js +0 -101
- package/out/src/services/__tests/postBeef.test.js.map +0 -1
- package/out/src/services/__tests/verifyBeef.test.d.ts +0 -2
- package/out/src/services/__tests/verifyBeef.test.d.ts.map +0 -1
- package/out/src/services/__tests/verifyBeef.test.js +0 -43
- package/out/src/services/__tests/verifyBeef.test.js.map +0 -1
- package/out/src/services/chaintracker/__tests/ChaintracksChainTracker.test.d.ts +0 -2
- package/out/src/services/chaintracker/__tests/ChaintracksChainTracker.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/__tests/ChaintracksChainTracker.test.js +0 -25
- package/out/src/services/chaintracker/__tests/ChaintracksChainTracker.test.js.map +0 -1
- package/out/src/services/chaintracker/__tests/ChaintracksServiceClient.test.d.ts +0 -2
- package/out/src/services/chaintracker/__tests/ChaintracksServiceClient.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/__tests/ChaintracksServiceClient.test.js +0 -27
- package/out/src/services/chaintracker/__tests/ChaintracksServiceClient.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/BulkIngestorCDNBabbage.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/BulkIngestorCDNBabbage.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/BulkIngestorCDNBabbage.test.js +0 -57
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/BulkIngestorCDNBabbage.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/LiveIngestorWhatsOnChainPoll.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/LiveIngestorWhatsOnChainPoll.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/LiveIngestorWhatsOnChainPoll.test.js +0 -41
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/LiveIngestorWhatsOnChainPoll.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/WhatsOnChainServices.man.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/WhatsOnChainServices.man.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/WhatsOnChainServices.man.test.js +0 -109
- package/out/src/services/chaintracker/chaintracks/Ingest/__tests/WhatsOnChainServices.man.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageIdb.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageIdb.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageIdb.test.js +0 -88
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageIdb.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageKnex.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageKnex.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageKnex.test.js +0 -39
- package/out/src/services/chaintracker/chaintracks/Storage/__tests/ChaintracksStorageKnex.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/Chaintracks.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/__tests/Chaintracks.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/Chaintracks.test.js +0 -76
- package/out/src/services/chaintracker/chaintracks/__tests/Chaintracks.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksCDN.man.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksCDN.man.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksCDN.man.test.js +0 -44
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksCDN.man.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksClientApi.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksClientApi.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksClientApi.test.js +0 -165
- package/out/src/services/chaintracker/chaintracks/__tests/ChaintracksClientApi.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/LocalCdnServer.d.ts +0 -12
- package/out/src/services/chaintracker/chaintracks/__tests/LocalCdnServer.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/LocalCdnServer.js +0 -66
- package/out/src/services/chaintracker/chaintracks/__tests/LocalCdnServer.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/bulkIngestorFailures.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/__tests/bulkIngestorFailures.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/bulkIngestorFailures.test.js +0 -109
- package/out/src/services/chaintracker/chaintracks/__tests/bulkIngestorFailures.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/createIdbChaintracks.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/__tests/createIdbChaintracks.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/__tests/createIdbChaintracks.test.js +0 -55
- package/out/src/services/chaintracker/chaintracks/__tests/createIdbChaintracks.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/BulkFileDataManager.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/util/__tests/BulkFileDataManager.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/BulkFileDataManager.test.js +0 -255
- package/out/src/services/chaintracker/chaintracks/util/__tests/BulkFileDataManager.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/ChaintracksFetch.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/util/__tests/ChaintracksFetch.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/ChaintracksFetch.test.js +0 -56
- package/out/src/services/chaintracker/chaintracks/util/__tests/ChaintracksFetch.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/HeightRange.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/util/__tests/HeightRange.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/HeightRange.test.js +0 -69
- package/out/src/services/chaintracker/chaintracks/util/__tests/HeightRange.test.js.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/SingleWriterMultiReaderLock.test.d.ts +0 -2
- package/out/src/services/chaintracker/chaintracks/util/__tests/SingleWriterMultiReaderLock.test.d.ts.map +0 -1
- package/out/src/services/chaintracker/chaintracks/util/__tests/SingleWriterMultiReaderLock.test.js +0 -51
- package/out/src/services/chaintracker/chaintracks/util/__tests/SingleWriterMultiReaderLock.test.js.map +0 -1
- package/out/src/services/providers/__tests/ArcSSEClient.test.d.ts +0 -2
- package/out/src/services/providers/__tests/ArcSSEClient.test.d.ts.map +0 -1
- package/out/src/services/providers/__tests/ArcSSEClient.test.js +0 -256
- package/out/src/services/providers/__tests/ArcSSEClient.test.js.map +0 -1
- package/out/src/services/providers/__tests/WhatsOnChain.test.d.ts +0 -2
- package/out/src/services/providers/__tests/WhatsOnChain.test.d.ts.map +0 -1
- package/out/src/services/providers/__tests/WhatsOnChain.test.js +0 -191
- package/out/src/services/providers/__tests/WhatsOnChain.test.js.map +0 -1
- package/out/src/services/providers/__tests/exchangeRates.test.d.ts +0 -2
- package/out/src/services/providers/__tests/exchangeRates.test.d.ts.map +0 -1
- package/out/src/services/providers/__tests/exchangeRates.test.js +0 -23
- package/out/src/services/providers/__tests/exchangeRates.test.js.map +0 -1
- package/out/src/storage/__test/StorageIdb.test.d.ts +0 -2
- package/out/src/storage/__test/StorageIdb.test.d.ts.map +0 -1
- package/out/src/storage/__test/StorageIdb.test.js +0 -44
- package/out/src/storage/__test/StorageIdb.test.js.map +0 -1
- package/out/src/storage/__test/WalletStorageManager.test.d.ts +0 -2
- package/out/src/storage/__test/WalletStorageManager.test.d.ts.map +0 -1
- package/out/src/storage/__test/WalletStorageManager.test.js +0 -254
- package/out/src/storage/__test/WalletStorageManager.test.js.map +0 -1
- package/out/src/storage/__test/adminStats.man.test.d.ts +0 -2
- package/out/src/storage/__test/adminStats.man.test.d.ts.map +0 -1
- package/out/src/storage/__test/adminStats.man.test.js +0 -78
- package/out/src/storage/__test/adminStats.man.test.js.map +0 -1
- package/out/src/storage/__test/findStaleMerkleRoots.test.d.ts +0 -2
- package/out/src/storage/__test/findStaleMerkleRoots.test.d.ts.map +0 -1
- package/out/src/storage/__test/findStaleMerkleRoots.test.js +0 -41
- package/out/src/storage/__test/findStaleMerkleRoots.test.js.map +0 -1
- package/out/src/storage/__test/findStaleMerkleRootsKnex.test.d.ts +0 -2
- package/out/src/storage/__test/findStaleMerkleRootsKnex.test.d.ts.map +0 -1
- package/out/src/storage/__test/findStaleMerkleRootsKnex.test.js +0 -73
- package/out/src/storage/__test/findStaleMerkleRootsKnex.test.js.map +0 -1
- package/out/src/storage/__test/getBeefForTransaction.test.d.ts +0 -2
- package/out/src/storage/__test/getBeefForTransaction.test.d.ts.map +0 -1
- package/out/src/storage/__test/getBeefForTransaction.test.js +0 -347
- package/out/src/storage/__test/getBeefForTransaction.test.js.map +0 -1
- package/out/src/storage/methods/__test/GenerateChange/generateChangeSdk.test.d.ts +0 -2
- package/out/src/storage/methods/__test/GenerateChange/generateChangeSdk.test.d.ts.map +0 -1
- package/out/src/storage/methods/__test/GenerateChange/generateChangeSdk.test.js +0 -1111
- package/out/src/storage/methods/__test/GenerateChange/generateChangeSdk.test.js.map +0 -1
- package/out/src/storage/methods/__test/offsetKey.test.d.ts +0 -2
- package/out/src/storage/methods/__test/offsetKey.test.d.ts.map +0 -1
- package/out/src/storage/methods/__test/offsetKey.test.js +0 -229
- package/out/src/storage/methods/__test/offsetKey.test.js.map +0 -1
- package/out/src/storage/remoting/__test/StorageClient.man.test.d.ts +0 -2
- package/out/src/storage/remoting/__test/StorageClient.man.test.d.ts.map +0 -1
- package/out/src/storage/remoting/__test/StorageClient.man.test.js +0 -487
- package/out/src/storage/remoting/__test/StorageClient.man.test.js.map +0 -1
- package/out/src/storage/remoting/__test/StorageClient.test.d.ts +0 -2
- package/out/src/storage/remoting/__test/StorageClient.test.d.ts.map +0 -1
- package/out/src/storage/remoting/__test/StorageClient.test.js +0 -119
- package/out/src/storage/remoting/__test/StorageClient.test.js.map +0 -1
- package/out/src/storage/remoting/__tests__/entityValidationHelpers.test.d.ts +0 -2
- package/out/src/storage/remoting/__tests__/entityValidationHelpers.test.d.ts.map +0 -1
- package/out/src/storage/remoting/__tests__/entityValidationHelpers.test.js +0 -268
- package/out/src/storage/remoting/__tests__/entityValidationHelpers.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/CertificateFieldTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/CertificateFieldTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/CertificateFieldTests.test.js +0 -301
- package/out/src/storage/schema/entities/__tests/CertificateFieldTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/CertificateTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/CertificateTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/CertificateTests.test.js +0 -308
- package/out/src/storage/schema/entities/__tests/CertificateTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/CommissionTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/CommissionTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/CommissionTests.test.js +0 -316
- package/out/src/storage/schema/entities/__tests/CommissionTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputBasketTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/OutputBasketTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputBasketTests.test.js +0 -228
- package/out/src/storage/schema/entities/__tests/OutputBasketTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputTagMapTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/OutputTagMapTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputTagMapTests.test.js +0 -191
- package/out/src/storage/schema/entities/__tests/OutputTagMapTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputTagTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/OutputTagTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputTagTests.test.js +0 -226
- package/out/src/storage/schema/entities/__tests/OutputTagTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/OutputTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/OutputTests.test.js +0 -413
- package/out/src/storage/schema/entities/__tests/OutputTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/ProvenTxReqTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/ProvenTxReqTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/ProvenTxReqTests.test.js +0 -331
- package/out/src/storage/schema/entities/__tests/ProvenTxReqTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/ProvenTxTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/ProvenTxTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/ProvenTxTests.test.js +0 -474
- package/out/src/storage/schema/entities/__tests/ProvenTxTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/SyncStateTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/SyncStateTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/SyncStateTests.test.js +0 -234
- package/out/src/storage/schema/entities/__tests/SyncStateTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/TransactionTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/TransactionTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/TransactionTests.test.js +0 -539
- package/out/src/storage/schema/entities/__tests/TransactionTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/TxLabelMapTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/TxLabelMapTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/TxLabelMapTests.test.js +0 -304
- package/out/src/storage/schema/entities/__tests/TxLabelMapTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/TxLabelTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/TxLabelTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/TxLabelTests.test.js +0 -170
- package/out/src/storage/schema/entities/__tests/TxLabelTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/stampLogTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/stampLogTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/stampLogTests.test.js +0 -81
- package/out/src/storage/schema/entities/__tests/stampLogTests.test.js.map +0 -1
- package/out/src/storage/schema/entities/__tests/usersTests.test.d.ts +0 -2
- package/out/src/storage/schema/entities/__tests/usersTests.test.d.ts.map +0 -1
- package/out/src/storage/schema/entities/__tests/usersTests.test.js +0 -277
- package/out/src/storage/schema/entities/__tests/usersTests.test.js.map +0 -1
- package/out/src/utility/__tests/utilityHelpers.noBuffer.test.d.ts +0 -2
- package/out/src/utility/__tests/utilityHelpers.noBuffer.test.d.ts.map +0 -1
- package/out/src/utility/__tests/utilityHelpers.noBuffer.test.js +0 -107
- package/out/src/utility/__tests/utilityHelpers.noBuffer.test.js.map +0 -1
- package/out/src/wab-client/__tests/WABClient.man.test.d.ts +0 -2
- package/out/src/wab-client/__tests/WABClient.man.test.d.ts.map +0 -1
- package/out/src/wab-client/__tests/WABClient.man.test.js +0 -52
- package/out/src/wab-client/__tests/WABClient.man.test.js.map +0 -1
package/docs/client.md
CHANGED
|
@@ -6,87 +6,89 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6
6
|
|
|
7
7
|
| | | |
|
|
8
8
|
| --- | --- | --- |
|
|
9
|
-
| [AdminStatsResult](#interface-adminstatsresult) | [
|
|
10
|
-
| [AggregatePostBeefTxResult](#interface-aggregatepostbeeftxresult) | [
|
|
11
|
-
| [ArcConfig](#interface-arcconfig) | [
|
|
12
|
-
| [ArcMinerGetTxData](#interface-arcminergettxdata) | [
|
|
13
|
-
| [ArcSSEClientOptions](#interface-arcsseclientoptions) | [
|
|
14
|
-
| [ArcSSEEvent](#interface-arcsseevent) | [
|
|
15
|
-
| [AuthId](#interface-authid) | [
|
|
16
|
-
| [AuthPayload](#interface-authpayload) | [
|
|
17
|
-
| [
|
|
18
|
-
| [
|
|
19
|
-
| [
|
|
20
|
-
| [
|
|
21
|
-
| [
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [
|
|
30
|
-
| [
|
|
31
|
-
| [
|
|
32
|
-
| [
|
|
33
|
-
| [
|
|
34
|
-
| [
|
|
35
|
-
| [
|
|
36
|
-
| [
|
|
37
|
-
| [
|
|
38
|
-
| [
|
|
39
|
-
| [
|
|
40
|
-
| [
|
|
41
|
-
| [
|
|
42
|
-
| [
|
|
43
|
-
| [
|
|
44
|
-
| [
|
|
45
|
-
| [
|
|
46
|
-
| [
|
|
47
|
-
| [
|
|
48
|
-
| [
|
|
49
|
-
| [
|
|
50
|
-
| [
|
|
51
|
-
| [
|
|
52
|
-
| [
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
56
|
-
| [
|
|
57
|
-
| [
|
|
58
|
-
| [
|
|
59
|
-
| [
|
|
60
|
-
| [
|
|
61
|
-
| [
|
|
62
|
-
| [
|
|
63
|
-
| [
|
|
64
|
-
| [
|
|
65
|
-
| [
|
|
66
|
-
| [
|
|
67
|
-
| [
|
|
68
|
-
| [
|
|
69
|
-
| [
|
|
70
|
-
| [
|
|
71
|
-
| [
|
|
72
|
-
| [
|
|
73
|
-
| [
|
|
74
|
-
| [
|
|
75
|
-
| [
|
|
76
|
-
| [
|
|
77
|
-
| [
|
|
78
|
-
| [
|
|
79
|
-
| [
|
|
80
|
-
| [
|
|
81
|
-
| [
|
|
82
|
-
| [
|
|
83
|
-
| [
|
|
84
|
-
| [
|
|
85
|
-
| [
|
|
86
|
-
| [
|
|
87
|
-
| [
|
|
88
|
-
| [
|
|
89
|
-
| [
|
|
9
|
+
| [AdminStatsResult](#interface-adminstatsresult) | [FindTxLabelsArgs](#interface-findtxlabelsargs) | [SetupWallet](#interface-setupwallet) |
|
|
10
|
+
| [AggregatePostBeefTxResult](#interface-aggregatepostbeeftxresult) | [FindUsersArgs](#interface-findusersargs) | [SetupWalletClient](#interface-setupwalletclient) |
|
|
11
|
+
| [ArcConfig](#interface-arcconfig) | [GenerateChangeSdkChangeInput](#interface-generatechangesdkchangeinput) | [SetupWalletIdb](#interface-setupwalletidb) |
|
|
12
|
+
| [ArcMinerGetTxData](#interface-arcminergettxdata) | [GenerateChangeSdkChangeOutput](#interface-generatechangesdkchangeoutput) | [SetupWalletIdbArgs](#interface-setupwalletidbargs) |
|
|
13
|
+
| [ArcSSEClientOptions](#interface-arcsseclientoptions) | [GenerateChangeSdkInput](#interface-generatechangesdkinput) | [SignActionResultX](#interface-signactionresultx) |
|
|
14
|
+
| [ArcSSEEvent](#interface-arcsseevent) | [GenerateChangeSdkOutput](#interface-generatechangesdkoutput) | [SpentInputTransition](#interface-spentinputtransition) |
|
|
15
|
+
| [AuthId](#interface-authid) | [GenerateChangeSdkParams](#interface-generatechangesdkparams) | [StartAuthResponse](#interface-startauthresponse) |
|
|
16
|
+
| [AuthPayload](#interface-authpayload) | [GenerateChangeSdkResult](#interface-generatechangesdkresult) | [StatusForTxidResult](#interface-statusfortxidresult) |
|
|
17
|
+
| [BRC38ImportOptions](#interface-brc38importoptions) | [GenerateChangeSdkStorageChange](#interface-generatechangesdkstoragechange) | [StopListenerToken](#interface-stoplistenertoken) |
|
|
18
|
+
| [BRC38ImportResult](#interface-brc38importresult) | [GetHeaderByteFileLinksResult](#interface-getheaderbytefilelinksresult) | [StorageAdminStats](#interface-storageadminstats) |
|
|
19
|
+
| [BRC38Tables](#interface-brc38tables) | [GetMerklePathResult](#interface-getmerklepathresult) | [StorageCreateActionResult](#interface-storagecreateactionresult) |
|
|
20
|
+
| [BRC38WalletData](#interface-brc38walletdata) | [GetRawTxResult](#interface-getrawtxresult) | [StorageCreateTransactionSdkInput](#interface-storagecreatetransactionsdkinput) |
|
|
21
|
+
| [BRC39Options](#interface-brc39options) | [GetReqsAndBeefDetail](#interface-getreqsandbeefdetail) | [StorageCreateTransactionSdkOutput](#interface-storagecreatetransactionsdkoutput) |
|
|
22
|
+
| [BaseBlockHeader](#interface-baseblockheader) | [GetReqsAndBeefResult](#interface-getreqsandbeefresult) | [StorageFeeModel](#interface-storagefeemodel) |
|
|
23
|
+
| [BitailsConfig](#interface-bitailsconfig) | [GetScriptHashHistory](#interface-getscripthashhistory) | [StorageGetBeefOptions](#interface-storagegetbeefoptions) |
|
|
24
|
+
| [BitailsMerkleProof](#interface-bitailsmerkleproof) | [GetScriptHashHistoryResult](#interface-getscripthashhistoryresult) | [StorageIdbOptions](#interface-storageidboptions) |
|
|
25
|
+
| [BlockHeader](#interface-blockheader) | [GetStatusForTxidsResult](#interface-getstatusfortxidsresult) | [StorageIdbSchema](#interface-storageidbschema) |
|
|
26
|
+
| [BsvExchangeRate](#interface-bsvexchangerate) | [GetUtxoStatusDetails](#interface-getutxostatusdetails) | [StorageIdentity](#interface-storageidentity) |
|
|
27
|
+
| [BulkFileDataManagerMergeResult](#interface-bulkfiledatamanagermergeresult) | [GetUtxoStatusResult](#interface-getutxostatusresult) | [StorageInternalizeActionResult](#interface-storageinternalizeactionresult) |
|
|
28
|
+
| [BulkFileDataManagerOptions](#interface-bulkfiledatamanageroptions) | [GroupedPermissionRequest](#interface-groupedpermissionrequest) | [StorageProcessActionArgs](#interface-storageprocessactionargs) |
|
|
29
|
+
| [BulkHeaderFileInfo](#interface-bulkheaderfileinfo) | [GroupedPermissions](#interface-groupedpermissions) | [StorageProcessActionResults](#interface-storageprocessactionresults) |
|
|
30
|
+
| [BulkHeaderFilesInfo](#interface-bulkheaderfilesinfo) | [HeightRangeApi](#interface-heightrangeapi) | [StorageProvenOrReq](#interface-storageprovenorreq) |
|
|
31
|
+
| [BulkIngestorApi](#interface-bulkingestorapi) | [HeightRanges](#interface-heightranges) | [StorageProviderOptions](#interface-storageprovideroptions) |
|
|
32
|
+
| [BulkIngestorBaseOptions](#interface-bulkingestorbaseoptions) | [KdfConfig](#interface-kdfconfig) | [StorageReaderOptions](#interface-storagereaderoptions) |
|
|
33
|
+
| [BulkIngestorCDNOptions](#interface-bulkingestorcdnoptions) | [KeyPair](#interface-keypair) | [StorageReaderWriterOptions](#interface-storagereaderwriteroptions) |
|
|
34
|
+
| [BulkIngestorWhatsOnChainOptions](#interface-bulkingestorwhatsonchainoptions) | [KeyPairAddress](#interface-keypairaddress) | [StorageSyncReaderOptions](#interface-storagesyncreaderoptions) |
|
|
35
|
+
| [BulkStorageApi](#interface-bulkstorageapi) | [ListActionsSpecOp](#interface-listactionsspecop) | [SyncChunk](#interface-syncchunk) |
|
|
36
|
+
| [BulkStorageBaseOptions](#interface-bulkstoragebaseoptions) | [ListOutputsSpecOp](#interface-listoutputsspecop) | [SyncError](#interface-syncerror) |
|
|
37
|
+
| [BulkSyncResult](#interface-bulksyncresult) | [LiveBlockHeader](#interface-liveblockheader) | [SyncMap](#interface-syncmap) |
|
|
38
|
+
| [CertOpsWallet](#interface-certopswallet) | [LiveIngestorApi](#interface-liveingestorapi) | [TableCertificate](#interface-tablecertificate) |
|
|
39
|
+
| [Certifier](#interface-certifier) | [LiveIngestorBaseOptions](#interface-liveingestorbaseoptions) | [TableCertificateField](#interface-tablecertificatefield) |
|
|
40
|
+
| [ChaintracksApi](#interface-chaintracksapi) | [LiveIngestorWhatsOnChainOptions](#interface-liveingestorwhatsonchainoptions) | [TableCertificateX](#interface-tablecertificatex) |
|
|
41
|
+
| [ChaintracksAppendableFileApi](#interface-chaintracksappendablefileapi) | [MerklePathNote](#interface-merklepathnote) | [TableCommission](#interface-tablecommission) |
|
|
42
|
+
| [ChaintracksChainTrackerOptions](#interface-chaintrackschaintrackeroptions) | [MockChainBlockHeaderRow](#interface-mockchainblockheaderrow) | [TableMonitorEvent](#interface-tablemonitorevent) |
|
|
43
|
+
| [ChaintracksClientApi](#interface-chaintracksclientapi) | [MockChainTransactionRow](#interface-mockchaintransactionrow) | [TableOutput](#interface-tableoutput) |
|
|
44
|
+
| [ChaintracksFetchApi](#interface-chaintracksfetchapi) | [MockChainUtxoRow](#interface-mockchainutxorow) | [TableOutputBasket](#interface-tableoutputbasket) |
|
|
45
|
+
| [ChaintracksFsApi](#interface-chaintracksfsapi) | [MonitorOptions](#interface-monitoroptions) | [TableOutputTag](#interface-tableoutputtag) |
|
|
46
|
+
| [ChaintracksInfoApi](#interface-chaintracksinfoapi) | [OutPoint](#interface-outpoint) | [TableOutputTagMap](#interface-tableoutputtagmap) |
|
|
47
|
+
| [ChaintracksIngestorParams](#interface-chaintracksingestorparams) | [Paged](#interface-paged) | [TableOutputX](#interface-tableoutputx) |
|
|
48
|
+
| [ChaintracksManagementApi](#interface-chaintracksmanagementapi) | [ParsedBrc114ActionTimeLabels](#interface-parsedbrc114actiontimelabels) | [TableProvenTx](#interface-tableproventx) |
|
|
49
|
+
| [ChaintracksOptions](#interface-chaintracksoptions) | [ParsedOutpoint](#interface-parsedoutpoint) | [TableProvenTxReq](#interface-tableproventxreq) |
|
|
50
|
+
| [ChaintracksPackageInfoApi](#interface-chaintrackspackageinfoapi) | [PendingSignAction](#interface-pendingsignaction) | [TableProvenTxReqDynamics](#interface-tableproventxreqdynamics) |
|
|
51
|
+
| [ChaintracksReadableFileApi](#interface-chaintracksreadablefileapi) | [PendingStorageInput](#interface-pendingstorageinput) | [TableSettings](#interface-tablesettings) |
|
|
52
|
+
| [ChaintracksServiceClientOptions](#interface-chaintracksserviceclientoptions) | [PermissionRequest](#interface-permissionrequest) | [TableSyncState](#interface-tablesyncstate) |
|
|
53
|
+
| [ChaintracksStorageApi](#interface-chaintracksstorageapi) | [PermissionToken](#interface-permissiontoken) | [TableTransaction](#interface-tabletransaction) |
|
|
54
|
+
| [ChaintracksStorageBaseOptions](#interface-chaintracksstoragebaseoptions) | [PermissionsManagerConfig](#interface-permissionsmanagerconfig) | [TableTxLabel](#interface-tabletxlabel) |
|
|
55
|
+
| [ChaintracksStorageBulkFileApi](#interface-chaintracksstoragebulkfileapi) | [PermissionsModule](#interface-permissionsmodule) | [TableTxLabelMap](#interface-tabletxlabelmap) |
|
|
56
|
+
| [ChaintracksStorageIdbOptions](#interface-chaintracksstorageidboptions) | [PostBeefResult](#interface-postbeefresult) | [TableUser](#interface-tableuser) |
|
|
57
|
+
| [ChaintracksStorageIdbSchema](#interface-chaintracksstorageidbschema) | [PostBeefResultForTxidApi](#interface-postbeefresultfortxidapi) | [TaskPurgeParams](#interface-taskpurgeparams) |
|
|
58
|
+
| [ChaintracksStorageIngestApi](#interface-chaintracksstorageingestapi) | [PostReqsToNetworkDetails](#interface-postreqstonetworkdetails) | [TrustSettings](#interface-trustsettings) |
|
|
59
|
+
| [ChaintracksStorageNoDbOptions](#interface-chaintracksstoragenodboptions) | [PostReqsToNetworkResult](#interface-postreqstonetworkresult) | [TrxToken](#interface-trxtoken) |
|
|
60
|
+
| [ChaintracksStorageQueryApi](#interface-chaintracksstoragequeryapi) | [PostTxResultForTxid](#interface-posttxresultfortxid) | [TscMerkleProofApi](#interface-tscmerkleproofapi) |
|
|
61
|
+
| [ChaintracksWritableFileApi](#interface-chaintrackswritablefileapi) | [PostTxResultForTxidError](#interface-posttxresultfortxiderror) | [TxScriptOffsets](#interface-txscriptoffsets) |
|
|
62
|
+
| [CommitNewTxResults](#interface-commitnewtxresults) | [PostTxsResult](#interface-posttxsresult) | [UMPToken](#interface-umptoken) |
|
|
63
|
+
| [CompleteAuthResponse](#interface-completeauthresponse) | [ProcessSyncChunkResult](#interface-processsyncchunkresult) | [UMPTokenInteractor](#interface-umptokeninteractor) |
|
|
64
|
+
| [ContactRecord](#interface-contactrecord) | [Profile](#interface-profile) | [UpdateProvenTxReqWithNewProvenTxArgs](#interface-updateproventxreqwithnewproventxargs) |
|
|
65
|
+
| [ContactSource](#interface-contactsource) | [ProvenOrRawTx](#interface-provenorrawtx) | [UpdateProvenTxReqWithNewProvenTxResult](#interface-updateproventxreqwithnewproventxresult) |
|
|
66
|
+
| [CounterpartyPermissionRequest](#interface-counterpartypermissionrequest) | [ProvenTransactionStatus](#interface-proventransactionstatus) | [ValidateGenerateChangeSdkParamsResult](#interface-validategeneratechangesdkparamsresult) |
|
|
67
|
+
| [CounterpartyPermissions](#interface-counterpartypermissions) | [ProvenTxFromTxidResult](#interface-proventxfromtxidresult) | [VerifyAndRepairBeefResult](#interface-verifyandrepairbeefresult) |
|
|
68
|
+
| [CreateActionResultX](#interface-createactionresultx) | [ProvenTxReqHistory](#interface-proventxreqhistory) | [WalletArgs](#interface-walletargs) |
|
|
69
|
+
| [DeactivedHeader](#interface-deactivedheader) | [ProvenTxReqHistorySummaryApi](#interface-proventxreqhistorysummaryapi) | [WalletBalance](#interface-walletbalance) |
|
|
70
|
+
| [EntitySyncMap](#interface-entitysyncmap) | [ProvenTxReqNotify](#interface-proventxreqnotify) | [WalletLoggerArgs](#interface-walletloggerargs) |
|
|
71
|
+
| [EntityTimeStamp](#interface-entitytimestamp) | [ProviderCallHistory](#interface-providercallhistory) | [WalletPermissionsManagerCallbacks](#interface-walletpermissionsmanagercallbacks) |
|
|
72
|
+
| [ExchangeRatesIoApi](#interface-exchangeratesioapi) | [PurgeParams](#interface-purgeparams) | [WalletServices](#interface-walletservices) |
|
|
73
|
+
| [ExtendedVerifiableCertificate](#interface-extendedverifiablecertificate) | [PurgeResults](#interface-purgeresults) | [WalletServicesOptions](#interface-walletservicesoptions) |
|
|
74
|
+
| [FiatExchangeRates](#interface-fiatexchangerates) | [ReorgResult](#interface-reorgresult) | [WalletSettings](#interface-walletsettings) |
|
|
75
|
+
| [FindCertificateFieldsArgs](#interface-findcertificatefieldsargs) | [ReproveHeaderResult](#interface-reproveheaderresult) | [WalletSettingsManagerConfig](#interface-walletsettingsmanagerconfig) |
|
|
76
|
+
| [FindCertificatesArgs](#interface-findcertificatesargs) | [ReproveProvenResult](#interface-reproveprovenresult) | [WalletSigner](#interface-walletsigner) |
|
|
77
|
+
| [FindCommissionsArgs](#interface-findcommissionsargs) | [ReqHistoryNote](#interface-reqhistorynote) | [WalletStorage](#interface-walletstorage) |
|
|
78
|
+
| [FindForUserSincePagedArgs](#interface-findforusersincepagedargs) | [RequestSyncChunkArgs](#interface-requestsyncchunkargs) | [WalletStorageInfo](#interface-walletstorageinfo) |
|
|
79
|
+
| [FindMonitorEventsArgs](#interface-findmonitoreventsargs) | [ReviewActionResult](#interface-reviewactionresult) | [WalletStorageProvider](#interface-walletstorageprovider) |
|
|
80
|
+
| [FindOutputBasketsArgs](#interface-findoutputbasketsargs) | [ReviewHeightRangeResult](#interface-reviewheightrangeresult) | [WalletStorageReader](#interface-walletstoragereader) |
|
|
81
|
+
| [FindOutputTagMapsArgs](#interface-findoutputtagmapsargs) | [ScriptHashHistoryResponse](#interface-scripthashhistoryresponse) | [WalletStorageSync](#interface-walletstoragesync) |
|
|
82
|
+
| [FindOutputTagsArgs](#interface-findoutputtagsargs) | [ScriptTemplateParamsBRC29](#interface-scripttemplateparamsbrc29) | [WalletStorageSyncReader](#interface-walletstoragesyncreader) |
|
|
83
|
+
| [FindOutputsArgs](#interface-findoutputsargs) | [ScriptTemplateUnlock](#interface-scripttemplateunlock) | [WalletStorageWriter](#interface-walletstoragewriter) |
|
|
84
|
+
| [FindPartialSincePagedArgs](#interface-findpartialsincepagedargs) | [ServiceCall](#interface-servicecall) | [WalletTheme](#interface-wallettheme) |
|
|
85
|
+
| [FindProvenTxReqsArgs](#interface-findproventxreqsargs) | [ServiceCall](#interface-servicecall) | [WhatsOnChainServicesOptions](#interface-whatsonchainservicesoptions) |
|
|
86
|
+
| [FindProvenTxsArgs](#interface-findproventxsargs) | [ServiceCallHistory](#interface-servicecallhistory) | [WocChainInfo](#interface-wocchaininfo) |
|
|
87
|
+
| [FindSincePagedArgs](#interface-findsincepagedargs) | [ServiceCallHistoryCounts](#interface-servicecallhistorycounts) | [WocGetHeaderByteFileLinks](#interface-wocgetheaderbytefilelinks) |
|
|
88
|
+
| [FindStaleMerkleRootsArgs](#interface-findstalemerklerootsargs) | [ServiceToCall](#interface-servicetocall) | [WocGetHeadersHeader](#interface-wocgetheadersheader) |
|
|
89
|
+
| [FindSyncStatesArgs](#interface-findsyncstatesargs) | [ServicesCallHistory](#interface-servicescallhistory) | [WocHeader](#interface-wocheader) |
|
|
90
|
+
| [FindTransactionsArgs](#interface-findtransactionsargs) | [SetupClientWalletArgs](#interface-setupclientwalletargs) | [XValidCreateActionOutput](#interface-xvalidcreateactionoutput) |
|
|
91
|
+
| [FindTxLabelMapsArgs](#interface-findtxlabelmapsargs) | [SetupClientWalletClientArgs](#interface-setupclientwalletclientargs) | |
|
|
90
92
|
|
|
91
93
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
92
94
|
|
|
@@ -349,6 +351,87 @@ export interface AuthPayload {
|
|
|
349
351
|
|
|
350
352
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
351
353
|
|
|
354
|
+
---
|
|
355
|
+
##### Interface: BRC38ImportOptions
|
|
356
|
+
|
|
357
|
+
```ts
|
|
358
|
+
export interface BRC38ImportOptions {
|
|
359
|
+
mode: "merge" | "restore";
|
|
360
|
+
}
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
##### Interface: BRC38ImportResult
|
|
367
|
+
|
|
368
|
+
```ts
|
|
369
|
+
export interface BRC38ImportResult {
|
|
370
|
+
mode: "merge" | "restore";
|
|
371
|
+
identityKey: string;
|
|
372
|
+
userId: number;
|
|
373
|
+
inserts: number;
|
|
374
|
+
updates: number;
|
|
375
|
+
}
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
##### Interface: BRC38Tables
|
|
382
|
+
|
|
383
|
+
```ts
|
|
384
|
+
export interface BRC38Tables {
|
|
385
|
+
provenTxs: PortableRow[];
|
|
386
|
+
provenTxReqs: PortableRow[];
|
|
387
|
+
outputBaskets: PortableRow[];
|
|
388
|
+
transactions: PortableRow[];
|
|
389
|
+
commissions: PortableRow[];
|
|
390
|
+
outputs: PortableRow[];
|
|
391
|
+
outputTags: PortableRow[];
|
|
392
|
+
outputTagMaps: PortableRow[];
|
|
393
|
+
txLabels: PortableRow[];
|
|
394
|
+
txLabelMaps: PortableRow[];
|
|
395
|
+
certificates: PortableRow[];
|
|
396
|
+
certificateFields: PortableRow[];
|
|
397
|
+
syncStates: PortableRow[];
|
|
398
|
+
}
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
402
|
+
|
|
403
|
+
---
|
|
404
|
+
##### Interface: BRC38WalletData
|
|
405
|
+
|
|
406
|
+
```ts
|
|
407
|
+
export interface BRC38WalletData {
|
|
408
|
+
brc: 38;
|
|
409
|
+
title: "User Wallet Data Format";
|
|
410
|
+
formatVersion: 1;
|
|
411
|
+
exportedAt: string;
|
|
412
|
+
sourceStorage: PortableRow;
|
|
413
|
+
user: PortableRow;
|
|
414
|
+
tables: BRC38Tables;
|
|
415
|
+
}
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
See also: [BRC38Tables](./storage.md#interface-brc38tables)
|
|
419
|
+
|
|
420
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
421
|
+
|
|
422
|
+
---
|
|
423
|
+
##### Interface: BRC39Options
|
|
424
|
+
|
|
425
|
+
```ts
|
|
426
|
+
export interface BRC39Options {
|
|
427
|
+
iterations?: number;
|
|
428
|
+
memoryKiB?: number;
|
|
429
|
+
parallelism?: number;
|
|
430
|
+
}
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
434
|
+
|
|
352
435
|
---
|
|
353
436
|
##### Interface: BaseBlockHeader
|
|
354
437
|
|
|
@@ -6082,6 +6165,26 @@ See also: [ReviewActionResult](./client.md#interface-reviewactionresult)
|
|
|
6082
6165
|
|
|
6083
6166
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6084
6167
|
|
|
6168
|
+
---
|
|
6169
|
+
##### Interface: SpentInputTransition
|
|
6170
|
+
|
|
6171
|
+
```ts
|
|
6172
|
+
export interface SpentInputTransition {
|
|
6173
|
+
outputId: number;
|
|
6174
|
+
setSpentBy: boolean;
|
|
6175
|
+
}
|
|
6176
|
+
```
|
|
6177
|
+
|
|
6178
|
+
###### Property setSpentBy
|
|
6179
|
+
|
|
6180
|
+
true if the call set spentBy; false if only spendable was flipped.
|
|
6181
|
+
|
|
6182
|
+
```ts
|
|
6183
|
+
setSpentBy: boolean
|
|
6184
|
+
```
|
|
6185
|
+
|
|
6186
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6187
|
+
|
|
6085
6188
|
---
|
|
6086
6189
|
##### Interface: StartAuthResponse
|
|
6087
6190
|
|
|
@@ -13941,7 +14044,8 @@ See also: [UpdateProvenTxReqWithNewProvenTxArgs](./client.md#interface-updatepro
|
|
|
13941
14044
|
|
|
13942
14045
|
For all `status` values besides 'failed', just updates the transaction records status property.
|
|
13943
14046
|
|
|
13944
|
-
For 'status' of 'failed', attempts to make outputs previously allocated as inputs to this transaction usable again
|
|
14047
|
+
For 'status' of 'failed', attempts to make outputs previously allocated as inputs to this transaction usable again
|
|
14048
|
+
and makes outputs generated by this transaction non-spendable.
|
|
13945
14049
|
|
|
13946
14050
|
```ts
|
|
13947
14051
|
async updateTransactionStatus(status: TransactionStatus, transactionId?: number, userId?: number, reference?: string, trx?: TrxToken): Promise<void>
|
|
@@ -14227,7 +14331,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
14227
14331
|
---
|
|
14228
14332
|
##### Class: TaskCheckNoSends
|
|
14229
14333
|
|
|
14230
|
-
`TaskCheckNoSends` is a WalletMonitor task that
|
|
14334
|
+
`TaskCheckNoSends` is a WalletMonitor task that retrieves merkle proofs for
|
|
14231
14335
|
'nosend' transactions that MAY have been shared externally.
|
|
14232
14336
|
|
|
14233
14337
|
Unlike intentionally processed transactions, 'nosend' transactions are fully valid
|
|
@@ -14239,10 +14343,54 @@ managed to get mined by some external process.
|
|
|
14239
14343
|
If a proof is obtained and validated, a new ProvenTx record is created and
|
|
14240
14344
|
the original ProvenTxReq status is advanced to 'notifying'.
|
|
14241
14345
|
|
|
14346
|
+
# Aging schedule on the checkNow path
|
|
14347
|
+
|
|
14348
|
+
When this task is triggered by a new block header (`checkNow = true`, wired in
|
|
14349
|
+
`Monitor.processNewBlockHeader`), it does NOT scan every `nosend` row on every
|
|
14350
|
+
block. The set of `nosend` rows can grow large over a wallet's lifetime
|
|
14351
|
+
(txs sitting in escrow, un-aborted tests, abandoned batches), and a fast,
|
|
14352
|
+
unfiltered scan on every block would do an unbounded number of external
|
|
14353
|
+
`getMerklePath` lookups per block.
|
|
14354
|
+
|
|
14355
|
+
Instead, the row's age (now - `created_at`) determines how often it is
|
|
14356
|
+
eligible for a checkNow-triggered chain check. The schedule starts at "skip
|
|
14357
|
+
entirely" for very fresh rows (to protect in-flight batched-tx workflows
|
|
14358
|
+
where chained `createAction({ noSend: true, sendWith: [...] })` builds
|
|
14359
|
+
deliberately keep rows in `nosend` until a single terminator broadcasts the
|
|
14360
|
+
whole BEEF), then progresses to "every block", "hourly", "daily", and
|
|
14361
|
+
"weekly" as rows age:
|
|
14362
|
+
|
|
14363
|
+
age < 5 min → skip (in-flight batch protection)
|
|
14364
|
+
5 min ≤ age < 1 hr → check on every checkNow trigger
|
|
14365
|
+
1 hr ≤ age < 24 hr → check on ~hourly cadence (block-height % 6)
|
|
14366
|
+
24 hr ≤ age < 7 days → check on ~daily cadence (block-height % 144)
|
|
14367
|
+
age ≥ 7 days → check on ~weekly cadence (block-height % 1008)
|
|
14368
|
+
|
|
14369
|
+
Block-height modulo gives a deterministic, stateless way to schedule
|
|
14370
|
+
checks for older rows; no per-row "last checked" persistence is required.
|
|
14371
|
+
Each row's modulo offset is keyed by its `provenTxReqId` so that rows in
|
|
14372
|
+
the same age tier are staggered across the modulo cycle rather than all
|
|
14373
|
+
firing on the same block — `(blockHeight + provenTxReqId) % tierInterval`.
|
|
14374
|
+
For a wallet with N rows in tier T and tier interval K, this gives
|
|
14375
|
+
roughly N/K rows fired per block instead of N rows fired every K blocks.
|
|
14376
|
+
|
|
14377
|
+
The scheduled daily cadence (no `checkNow`) is unaffected — it still scans
|
|
14378
|
+
every row regardless of age. That path is the once-per-day fallback that
|
|
14379
|
+
guarantees externally-broadcast `nosend` txs are eventually recognized
|
|
14380
|
+
even if the aging schedule on the checkNow path defers them.
|
|
14381
|
+
|
|
14242
14382
|
```ts
|
|
14243
14383
|
export class TaskCheckNoSends extends WalletMonitorTask {
|
|
14244
14384
|
static readonly taskName = "CheckNoSends";
|
|
14245
14385
|
static checkNow = false;
|
|
14386
|
+
static readonly tier0FreshSkipMsecs = 5 * 60 * 1000;
|
|
14387
|
+
static readonly tier1EveryBlockMsecs = 60 * 60 * 1000;
|
|
14388
|
+
static readonly tier2HourlyMsecs = 24 * 60 * 60 * 1000;
|
|
14389
|
+
static readonly tier3DailyMsecs = 7 * 24 * 60 * 60 * 1000;
|
|
14390
|
+
static readonly tier2BlockInterval = 6;
|
|
14391
|
+
static readonly tier3BlockInterval = 144;
|
|
14392
|
+
static readonly tier4BlockInterval = 1008;
|
|
14393
|
+
static shouldCheckOnCheckNow(createdAt: Date, nowMs: number, currentBlockHeight: number, provenTxReqId: number): boolean
|
|
14246
14394
|
constructor(monitor: Monitor, public triggerMsecs = Monitor.oneDay * 1)
|
|
14247
14395
|
trigger(nowMsecsSinceEpoch: number): {
|
|
14248
14396
|
run: boolean;
|
|
@@ -14262,6 +14410,30 @@ listener can set this true to cause
|
|
|
14262
14410
|
static checkNow = false
|
|
14263
14411
|
```
|
|
14264
14412
|
|
|
14413
|
+
###### Property tier0FreshSkipMsecs
|
|
14414
|
+
|
|
14415
|
+
Aging-schedule constants for the `checkNow` path. Rows below `tier0FreshSkipMsecs`
|
|
14416
|
+
are never checked via checkNow (batched-tx protection). Rows from tier 0 up
|
|
14417
|
+
to `tier1EveryBlockMsecs` are checked on every checkNow trigger. Beyond that,
|
|
14418
|
+
checks happen on `block-height % tierNBlockInterval === 0` cadences with
|
|
14419
|
+
growing intervals. The scheduled daily cadence (no checkNow) is unaffected.
|
|
14420
|
+
|
|
14421
|
+
```ts
|
|
14422
|
+
static readonly tier0FreshSkipMsecs = 5 * 60 * 1000
|
|
14423
|
+
```
|
|
14424
|
+
|
|
14425
|
+
###### Method shouldCheckOnCheckNow
|
|
14426
|
+
|
|
14427
|
+
Decide whether a single `nosend` row should be chain-checked on the
|
|
14428
|
+
current `checkNow` trigger, based on its age, the current block
|
|
14429
|
+
height, and its `provenTxReqId` (used to stagger same-tier rows
|
|
14430
|
+
across the modulo cycle). See class docstring for the full schedule
|
|
14431
|
+
and staggering rationale.
|
|
14432
|
+
|
|
14433
|
+
```ts
|
|
14434
|
+
static shouldCheckOnCheckNow(createdAt: Date, nowMs: number, currentBlockHeight: number, provenTxReqId: number): boolean
|
|
14435
|
+
```
|
|
14436
|
+
|
|
14265
14437
|
###### Method trigger
|
|
14266
14438
|
|
|
14267
14439
|
Normally triggered by checkNow getting set by new block header found event from chaintracks
|
|
@@ -16776,74 +16948,77 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
16776
16948
|
|
|
16777
16949
|
| | | |
|
|
16778
16950
|
| --- | --- | --- |
|
|
16779
|
-
| [WalletErrorFromJson](#function-walleterrorfromjson) | [
|
|
16780
|
-
| [WocHeadersBulkListener](#function-wocheadersbulklistener) | [
|
|
16781
|
-
| [WocHeadersBulkListener_test](#function-wocheadersbulklistener_test) | [
|
|
16782
|
-
| [WocHeadersLiveListener](#function-wocheaderslivelistener) | [
|
|
16783
|
-
| [WocHeadersLiveListener_test](#function-wocheaderslivelistener_test) | [
|
|
16784
|
-
| [acquireDirectCertificate](#function-acquiredirectcertificate) | [
|
|
16785
|
-
| [addWork](#function-addwork) | [
|
|
16786
|
-
| [arcDefaultUrl](#function-arcdefaulturl) | [
|
|
16787
|
-
| [arcGorillaPoolUrl](#function-arcgorillapoolurl) | [
|
|
16788
|
-
| [arraysEqual](#function-arraysequal) | [
|
|
16789
|
-
| [asArray](#function-asarray) | [
|
|
16790
|
-
| [asBsvSdkPrivateKey](#function-asbsvsdkprivatekey) | [
|
|
16791
|
-
| [asBsvSdkPublickKey](#function-asbsvsdkpublickkey) | [
|
|
16792
|
-
| [asBsvSdkScript](#function-asbsvsdkscript) | [
|
|
16793
|
-
| [asBsvSdkTx](#function-asbsvsdktx) | [
|
|
16794
|
-
| [asString](#function-asstring) | [
|
|
16795
|
-
| [asUint8Array](#function-asuint8array) | [
|
|
16796
|
-
| [attemptToPostReqsToNetwork](#function-attempttopostreqstonetwork) | [
|
|
16797
|
-
| [blockHash](#function-blockhash) | [
|
|
16798
|
-
| [buildBeefForOutpoints](#function-buildbeefforoutpoints) | [
|
|
16799
|
-
| [buildChaintracksOptionsWithIngestors](#function-buildchaintracksoptionswithingestors) | [
|
|
16800
|
-
| [buildSignableTransaction](#function-buildsignabletransaction) | [
|
|
16801
|
-
| [classifyMerklePathResponse](#function-classifymerklepathresponse) | [
|
|
16802
|
-
| [classifyReqStatus](#function-classifyreqstatus) | [
|
|
16803
|
-
| [completeSignedTransaction](#function-completesignedtransaction) | [
|
|
16804
|
-
| [computeMerklePath](#function-computemerklepath) | [
|
|
16805
|
-
| [computeMerkleRoot](#function-computemerkleroot) | [
|
|
16806
|
-
| [convertBitsToTarget](#function-convertbitstotarget) | [
|
|
16807
|
-
| [convertBitsToWork](#function-convertbitstowork) | [
|
|
16808
|
-
| [convertBufferToUint32](#function-convertbuffertouint32) | [
|
|
16809
|
-
| [convertProofToMerklePath](#function-convertprooftomerklepath) | [
|
|
16810
|
-
| [convertUint32ToBuffer](#function-convertuint32tobuffer) | [
|
|
16811
|
-
| [convertWocToBlockHeaderHex](#function-convertwoctoblockheaderhex) | [
|
|
16812
|
-
| [createAction](#function-createaction) | [
|
|
16813
|
-
| [createAction](#function-createaction) | [
|
|
16814
|
-
| [createCoinbaseTransaction](#function-createcoinbasetransaction) | [
|
|
16815
|
-
| [createDefaultIdbChaintracksOptions](#function-createdefaultidbchaintracksoptions) | [
|
|
16816
|
-
| [createDefaultNoDbChaintracksOptions](#function-createdefaultnodbchaintracksoptions) | [
|
|
16817
|
-
| [createDefaultWalletServicesOptions](#function-createdefaultwalletservicesoptions) | [
|
|
16818
|
-
| [createIdbChaintracks](#function-createidbchaintracks) | [
|
|
16819
|
-
| [createNoDbChaintracks](#function-createnodbchaintracks) | [
|
|
16820
|
-
| [createStorageServiceChargeScript](#function-createstorageservicechargescript) | [
|
|
16821
|
-
| [createSyncMap](#function-createsyncmap) | [
|
|
16822
|
-
| [dateMatches](#function-datematches) | [
|
|
16823
|
-
| [
|
|
16824
|
-
| [
|
|
16825
|
-
| [
|
|
16826
|
-
| [
|
|
16827
|
-
| [
|
|
16828
|
-
| [
|
|
16829
|
-
| [
|
|
16830
|
-
| [
|
|
16831
|
-
| [
|
|
16832
|
-
| [
|
|
16833
|
-
| [
|
|
16834
|
-
| [
|
|
16835
|
-
| [
|
|
16836
|
-
| [
|
|
16837
|
-
| [
|
|
16838
|
-
| [
|
|
16839
|
-
| [
|
|
16840
|
-
| [
|
|
16841
|
-
| [
|
|
16842
|
-
| [
|
|
16843
|
-
| [
|
|
16844
|
-
| [
|
|
16845
|
-
| [
|
|
16846
|
-
| [
|
|
16951
|
+
| [WalletErrorFromJson](#function-walleterrorfromjson) | [handleUtxoConnReset](#function-handleutxoconnreset) | [serializeBaseBlockHeader](#function-serializebaseblockheader) |
|
|
16952
|
+
| [WocHeadersBulkListener](#function-wocheadersbulklistener) | [importBRC38](#function-importbrc38) | [serializeBaseBlockHeaders](#function-serializebaseblockheaders) |
|
|
16953
|
+
| [WocHeadersBulkListener_test](#function-wocheadersbulklistener_test) | [importBRC39](#function-importbrc39) | [setDisableDoubleSpendCheckForTest](#function-setdisabledoublespendcheckfortest) |
|
|
16954
|
+
| [WocHeadersLiveListener](#function-wocheaderslivelistener) | [importSingleOutpoint](#function-importsingleoutpoint) | [sha256Hash](#function-sha256hash) |
|
|
16955
|
+
| [WocHeadersLiveListener_test](#function-wocheaderslivelistener_test) | [internalizeAction](#function-internalizeaction) | [sha256HashOfBinaryFile](#function-sha256hashofbinaryfile) |
|
|
16956
|
+
| [acquireDirectCertificate](#function-acquiredirectcertificate) | [internalizeAction](#function-internalizeaction) | [shareReqsWithWorld](#function-sharereqswithworld) |
|
|
16957
|
+
| [addWork](#function-addwork) | [isBaseBlockHeader](#function-isbaseblockheader) | [signAction](#function-signaction) |
|
|
16958
|
+
| [arcDefaultUrl](#function-arcdefaulturl) | [isBlockHeader](#function-isblockheader) | [signAndComplete](#function-signandcomplete) |
|
|
16959
|
+
| [arcGorillaPoolUrl](#function-arcgorillapoolurl) | [isCreateActionSpecOp](#function-iscreateactionspecop) | [stampLog](#function-stamplog) |
|
|
16960
|
+
| [arraysEqual](#function-arraysequal) | [isKnownValidBulkHeaderFile](#function-isknownvalidbulkheaderfile) | [stampLogFormat](#function-stamplogformat) |
|
|
16961
|
+
| [asArray](#function-asarray) | [isListActionsSpecOp](#function-islistactionsspecop) | [subWork](#function-subwork) |
|
|
16962
|
+
| [asBsvSdkPrivateKey](#function-asbsvsdkprivatekey) | [isListOutputsSpecOp](#function-islistoutputsspecop) | [swapByteOrder](#function-swapbyteorder) |
|
|
16963
|
+
| [asBsvSdkPublickKey](#function-asbsvsdkpublickkey) | [isLive](#function-islive) | [throwDummyReviewActions](#function-throwdummyreviewactions) |
|
|
16964
|
+
| [asBsvSdkScript](#function-asbsvsdkscript) | [isLiveBlockHeader](#function-isliveblockheader) | [toBinaryBaseBlockHeader](#function-tobinarybaseblockheader) |
|
|
16965
|
+
| [asBsvSdkTx](#function-asbsvsdktx) | [isMoreWork](#function-ismorework) | [toLookupNetworkPreset](#function-tolookupnetworkpreset) |
|
|
16966
|
+
| [asString](#function-asstring) | [keyOffsetToHashedSecret](#function-keyoffsettohashedsecret) | [toWalletNetwork](#function-towalletnetwork) |
|
|
16967
|
+
| [asUint8Array](#function-asuint8array) | [listActionsIdb](#function-listactionsidb) | [transactionInputSize](#function-transactioninputsize) |
|
|
16968
|
+
| [attemptToPostReqsToNetwork](#function-attempttopostreqstonetwork) | [listCertificates](#function-listcertificates) | [transactionOutputSize](#function-transactionoutputsize) |
|
|
16969
|
+
| [blockHash](#function-blockhash) | [listOutputsIdb](#function-listoutputsidb) | [transactionSize](#function-transactionsize) |
|
|
16970
|
+
| [buildBeefForOutpoints](#function-buildbeefforoutpoints) | [lockScriptWithKeyOffsetFromPubKey](#function-lockscriptwithkeyoffsetfrompubkey) | [updateChaintracksFiatExchangeRates](#function-updatechaintracksfiatexchangerates) |
|
|
16971
|
+
| [buildChaintracksOptionsWithIngestors](#function-buildchaintracksoptionswithingestors) | [logCreateActionArgs](#function-logcreateactionargs) | [updateExchangeratesapi](#function-updateexchangeratesapi) |
|
|
16972
|
+
| [buildSignableTransaction](#function-buildsignabletransaction) | [logWalletError](#function-logwalleterror) | [updateReqsFromAggregateResults](#function-updatereqsfromaggregateresults) |
|
|
16973
|
+
| [classifyMerklePathResponse](#function-classifymerklepathresponse) | [makeAtomicBeef](#function-makeatomicbeef) | [upgradeAllStoresV1](#function-upgradeallstoresv1) |
|
|
16974
|
+
| [classifyReqStatus](#function-classifyreqstatus) | [makeBrc114ActionTimeLabel](#function-makebrc114actiontimelabel) | [upgradeCertificateFields](#function-upgradecertificatefields) |
|
|
16975
|
+
| [completeSignedTransaction](#function-completesignedtransaction) | [makeChangeLock](#function-makechangelock) | [upgradeCertificates](#function-upgradecertificates) |
|
|
16976
|
+
| [computeMerklePath](#function-computemerklepath) | [makeMerklePathNote](#function-makemerklepathnote) | [upgradeCommissions](#function-upgradecommissions) |
|
|
16977
|
+
| [computeMerkleRoot](#function-computemerkleroot) | [markStaleInputsAsSpent](#function-markstaleinputsasspent) | [upgradeMonitorEvents](#function-upgrademonitorevents) |
|
|
16978
|
+
| [convertBitsToTarget](#function-convertbitstotarget) | [markUserInputsSpent](#function-markuserinputsspent) | [upgradeOutputBaskets](#function-upgradeoutputbaskets) |
|
|
16979
|
+
| [convertBitsToWork](#function-convertbitstowork) | [matchesCertificateFieldPartial](#function-matchescertificatefieldpartial) | [upgradeOutputTags](#function-upgradeoutputtags) |
|
|
16980
|
+
| [convertBufferToUint32](#function-convertbuffertouint32) | [matchesCertificatePartial](#function-matchescertificatepartial) | [upgradeOutputTagsMap](#function-upgradeoutputtagsmap) |
|
|
16981
|
+
| [convertProofToMerklePath](#function-convertprooftomerklepath) | [matchesCommissionPartial](#function-matchescommissionpartial) | [upgradeOutputs](#function-upgradeoutputs) |
|
|
16982
|
+
| [convertUint32ToBuffer](#function-convertuint32tobuffer) | [matchesMonitorEventPartial](#function-matchesmonitoreventpartial) | [upgradeProvenTxReqs](#function-upgradeproventxreqs) |
|
|
16983
|
+
| [convertWocToBlockHeaderHex](#function-convertwoctoblockheaderhex) | [matchesOutputBasketPartial](#function-matchesoutputbasketpartial) | [upgradeProvenTxs](#function-upgradeproventxs) |
|
|
16984
|
+
| [createAction](#function-createaction) | [matchesOutputPartial](#function-matchesoutputpartial) | [upgradeSyncStates](#function-upgradesyncstates) |
|
|
16985
|
+
| [createAction](#function-createaction) | [matchesOutputTagMapPartial](#function-matchesoutputtagmappartial) | [upgradeTransactions](#function-upgradetransactions) |
|
|
16986
|
+
| [createCoinbaseTransaction](#function-createcoinbasetransaction) | [matchesOutputTagPartial](#function-matchesoutputtagpartial) | [upgradeTxLabels](#function-upgradetxlabels) |
|
|
16987
|
+
| [createDefaultIdbChaintracksOptions](#function-createdefaultidbchaintracksoptions) | [matchesProvenTxPartial](#function-matchesproventxpartial) | [upgradeTxLabelsMap](#function-upgradetxlabelsmap) |
|
|
16988
|
+
| [createDefaultNoDbChaintracksOptions](#function-createdefaultnodbchaintracksoptions) | [matchesProvenTxReqPartial](#function-matchesproventxreqpartial) | [upgradeUsers](#function-upgradeusers) |
|
|
16989
|
+
| [createDefaultWalletServicesOptions](#function-createdefaultwalletservicesoptions) | [matchesSyncStatePartial](#function-matchessyncstatepartial) | [validBulkHeaderFilesByFileHash](#function-validbulkheaderfilesbyfilehash) |
|
|
16990
|
+
| [createIdbChaintracks](#function-createidbchaintracks) | [matchesTransactionPartial](#function-matchestransactionpartial) | [validateAgainstDirtyHashes](#function-validateagainstdirtyhashes) |
|
|
16991
|
+
| [createNoDbChaintracks](#function-createnodbchaintracks) | [matchesTxLabelMapPartial](#function-matchestxlabelmappartial) | [validateBufferOfHeaders](#function-validatebufferofheaders) |
|
|
16992
|
+
| [createStorageServiceChargeScript](#function-createstorageservicechargescript) | [matchesTxLabelPartial](#function-matchestxlabelpartial) | [validateBulkFileData](#function-validatebulkfiledata) |
|
|
16993
|
+
| [createSyncMap](#function-createsyncmap) | [maxDate](#function-maxdate) | [validateDate](#function-validatedate) |
|
|
16994
|
+
| [dateMatches](#function-datematches) | [mergeInputBeefs](#function-mergeinputbeefs) | [validateEntities](#function-validateentities) |
|
|
16995
|
+
| [decryptBRC39](#function-decryptbrc39) | [mergeInputsIntoBeef](#function-mergeinputsintobeef) | [validateEntity](#function-validateentity) |
|
|
16996
|
+
| [deserializeBaseBlockHeader](#function-deserializebaseblockheader) | [notifyTransactionsOfProof](#function-notifytransactionsofproof) | [validateGenerateChangeSdkParams](#function-validategeneratechangesdkparams) |
|
|
16997
|
+
| [deserializeBaseBlockHeaders](#function-deserializebaseblockheaders) | [offsetPrivKey](#function-offsetprivkey) | [validateGenerateChangeSdkResult](#function-validategeneratechangesdkresult) |
|
|
16998
|
+
| [deserializeBlockHeader](#function-deserializeblockheader) | [offsetPubKey](#function-offsetpubkey) | [validateGenesisHeader](#function-validategenesisheader) |
|
|
16999
|
+
| [deserializeBlockHeaders](#function-deserializeblockheaders) | [optionalArraysEqual](#function-optionalarraysequal) | [validateHeaderDifficulty](#function-validateheaderdifficulty) |
|
|
17000
|
+
| [doubleSha256BE](#function-doublesha256be) | [parseBRC38Json](#function-parsebrc38json) | [validateHeaderFormat](#function-validateheaderformat) |
|
|
17001
|
+
| [doubleSha256LE](#function-doublesha256le) | [parseBrc114ActionTimeLabels](#function-parsebrc114actiontimelabels) | [validateScriptHash](#function-validatescripthash) |
|
|
17002
|
+
| [encryptBRC39](#function-encryptbrc39) | [parseOutpoint](#function-parseoutpoint) | [validateSecondsSinceEpoch](#function-validatesecondssinceepoch) |
|
|
17003
|
+
| [exportBRC38](#function-exportbrc38) | [parseResults$](#function-parseresults$) | [validateStorageFeeModel](#function-validatestoragefeemodel) |
|
|
17004
|
+
| [exportBRC38Json](#function-exportbrc38json) | [parseTxAndAssertId](#function-parsetxandassertid) | [validateSyncChunkEntities](#function-validatesyncchunkentities) |
|
|
17005
|
+
| [exportBRC39](#function-exportbrc39) | [parseTxScriptOffsets](#function-parsetxscriptoffsets) | [varUintSize](#function-varuintsize) |
|
|
17006
|
+
| [fundWalletFromP2PKHOutpoints](#function-fundwalletfromp2pkhoutpoints) | [partitionActionLabels](#function-partitionactionlabels) | [verifyHexString](#function-verifyhexstring) |
|
|
17007
|
+
| [generateChangeSdk](#function-generatechangesdk) | [populateUtxoDetails](#function-populateutxodetails) | [verifyId](#function-verifyid) |
|
|
17008
|
+
| [generateChangeSdkMakeStorage](#function-generatechangesdkmakestorage) | [processAction](#function-processaction) | [verifyInteger](#function-verifyinteger) |
|
|
17009
|
+
| [genesisBuffer](#function-genesisbuffer) | [processAction](#function-processaction) | [verifyNumber](#function-verifynumber) |
|
|
17010
|
+
| [genesisHeader](#function-genesisheader) | [proveCertificate](#function-provecertificate) | [verifyOne](#function-verifyone) |
|
|
17011
|
+
| [getBeefForTransaction](#function-getbeeffortransaction) | [purgeDataIdb](#function-purgedataidb) | [verifyOneOrNone](#function-verifyoneornone) |
|
|
17012
|
+
| [getBeefForTxid](#function-getbeeffortxid) | [randomBytes](#function-randombytes) | [verifyOptionalHexString](#function-verifyoptionalhexstring) |
|
|
17013
|
+
| [getExchangeRatesIo](#function-getexchangeratesio) | [randomBytesBase64](#function-randombytesbase64) | [verifyP2PKHOwnership](#function-verifyp2pkhownership) |
|
|
17014
|
+
| [getIdentityKey](#function-getidentitykey) | [randomBytesHex](#function-randombyteshex) | [verifyTruthy](#function-verifytruthy) |
|
|
17015
|
+
| [getListOutputsSpecOp](#function-getlistoutputsspecop) | [readUInt32BE](#function-readuint32be) | [verifyUnlockScripts](#function-verifyunlockscripts) |
|
|
17016
|
+
| [getProofs](#function-getproofs) | [readUInt32LE](#function-readuint32le) | [wait](#function-wait) |
|
|
17017
|
+
| [getSyncChunk](#function-getsyncchunk) | [redeemServiceCharges](#function-redeemservicecharges) | [wocGetHeadersHeaderToBlockHeader](#function-wocgetheadersheadertoblockheader) |
|
|
17018
|
+
| [getWhatsOnChainBlockHeaderByHash](#function-getwhatsonchainblockheaderbyhash) | [resolveAutoSigned](#function-resolveautosigned) | [workBNtoBuffer](#function-workbntobuffer) |
|
|
17019
|
+
| [handlePostRawTxErrorResponse](#function-handlepostrawtxerrorresponse) | [restoreInputsToSpendable](#function-restoreinputstospendable) | [writeUInt32BE](#function-writeuint32be) |
|
|
17020
|
+
| [handleScriptHashHistoryCatch](#function-handlescripthashhistorycatch) | [reviewStatusIdb](#function-reviewstatusidb) | [writeUInt32LE](#function-writeuint32le) |
|
|
17021
|
+
| [handleScriptHashHistoryResponse](#function-handlescripthashhistoryresponse) | [selectBulkHeaderFiles](#function-selectbulkheaderfiles) | |
|
|
16847
17022
|
|
|
16848
17023
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
16849
17024
|
|
|
@@ -17597,6 +17772,17 @@ export function dateMatches(a: Date | undefined, b: Date | undefined): boolean
|
|
|
17597
17772
|
|
|
17598
17773
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17599
17774
|
|
|
17775
|
+
---
|
|
17776
|
+
##### Function: decryptBRC39
|
|
17777
|
+
|
|
17778
|
+
```ts
|
|
17779
|
+
export async function decryptBRC39(bytes: number[] | Uint8Array, password: string): Promise<BRC38WalletData>
|
|
17780
|
+
```
|
|
17781
|
+
|
|
17782
|
+
See also: [BRC38WalletData](./storage.md#interface-brc38walletdata)
|
|
17783
|
+
|
|
17784
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17785
|
+
|
|
17600
17786
|
---
|
|
17601
17787
|
##### Function: deserializeBaseBlockHeader
|
|
17602
17788
|
|
|
@@ -17707,6 +17893,50 @@ Argument Details
|
|
|
17707
17893
|
|
|
17708
17894
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17709
17895
|
|
|
17896
|
+
---
|
|
17897
|
+
##### Function: encryptBRC39
|
|
17898
|
+
|
|
17899
|
+
```ts
|
|
17900
|
+
export async function encryptBRC39(documentOrJson: BRC38WalletData | string, password: string, options?: BRC39Options): Promise<number[]>
|
|
17901
|
+
```
|
|
17902
|
+
|
|
17903
|
+
See also: [BRC38WalletData](./storage.md#interface-brc38walletdata), [BRC39Options](./storage.md#interface-brc39options)
|
|
17904
|
+
|
|
17905
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17906
|
+
|
|
17907
|
+
---
|
|
17908
|
+
##### Function: exportBRC38
|
|
17909
|
+
|
|
17910
|
+
```ts
|
|
17911
|
+
export async function exportBRC38(storage: StorageProvider, identityKey: string): Promise<BRC38WalletData>
|
|
17912
|
+
```
|
|
17913
|
+
|
|
17914
|
+
See also: [BRC38WalletData](./storage.md#interface-brc38walletdata), [StorageProvider](./storage.md#class-storageprovider)
|
|
17915
|
+
|
|
17916
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17917
|
+
|
|
17918
|
+
---
|
|
17919
|
+
##### Function: exportBRC38Json
|
|
17920
|
+
|
|
17921
|
+
```ts
|
|
17922
|
+
export async function exportBRC38Json(storage: StorageProvider, identityKey: string): Promise<string>
|
|
17923
|
+
```
|
|
17924
|
+
|
|
17925
|
+
See also: [StorageProvider](./storage.md#class-storageprovider)
|
|
17926
|
+
|
|
17927
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17928
|
+
|
|
17929
|
+
---
|
|
17930
|
+
##### Function: exportBRC39
|
|
17931
|
+
|
|
17932
|
+
```ts
|
|
17933
|
+
export async function exportBRC39(storage: StorageProvider, identityKey: string, password: string, options?: BRC39Options): Promise<number[]>
|
|
17934
|
+
```
|
|
17935
|
+
|
|
17936
|
+
See also: [BRC39Options](./storage.md#interface-brc39options), [StorageProvider](./storage.md#class-storageprovider)
|
|
17937
|
+
|
|
17938
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
17939
|
+
|
|
17710
17940
|
---
|
|
17711
17941
|
##### Function: fundWalletFromP2PKHOutpoints
|
|
17712
17942
|
|
|
@@ -18015,6 +18245,28 @@ See also: [GetUtxoStatusResult](./client.md#interface-getutxostatusresult)
|
|
|
18015
18245
|
|
|
18016
18246
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18017
18247
|
|
|
18248
|
+
---
|
|
18249
|
+
##### Function: importBRC38
|
|
18250
|
+
|
|
18251
|
+
```ts
|
|
18252
|
+
export async function importBRC38(storage: StorageProvider, documentOrJson: BRC38WalletData | string, options: BRC38ImportOptions): Promise<BRC38ImportResult>
|
|
18253
|
+
```
|
|
18254
|
+
|
|
18255
|
+
See also: [BRC38ImportOptions](./storage.md#interface-brc38importoptions), [BRC38ImportResult](./storage.md#interface-brc38importresult), [BRC38WalletData](./storage.md#interface-brc38walletdata), [StorageProvider](./storage.md#class-storageprovider)
|
|
18256
|
+
|
|
18257
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18258
|
+
|
|
18259
|
+
---
|
|
18260
|
+
##### Function: importBRC39
|
|
18261
|
+
|
|
18262
|
+
```ts
|
|
18263
|
+
export async function importBRC39(storage: StorageProvider, bytes: number[] | Uint8Array, password: string, options: BRC38ImportOptions): Promise<BRC38ImportResult>
|
|
18264
|
+
```
|
|
18265
|
+
|
|
18266
|
+
See also: [BRC38ImportOptions](./storage.md#interface-brc38importoptions), [BRC38ImportResult](./storage.md#interface-brc38importresult), [StorageProvider](./storage.md#class-storageprovider)
|
|
18267
|
+
|
|
18268
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18269
|
+
|
|
18018
18270
|
---
|
|
18019
18271
|
##### Function: importSingleOutpoint
|
|
18020
18272
|
|
|
@@ -18041,7 +18293,14 @@ A "wallet payment" adds an outputs value to the wallet's change "balance". These
|
|
|
18041
18293
|
Processing starts with simple validation and then checks for a pre-existing transaction.
|
|
18042
18294
|
If the transaction is already known to the user, then the outputs are reviewed against the existing outputs treatment,
|
|
18043
18295
|
and merge rules are added to the arguments passed to the storage layer.
|
|
18044
|
-
|
|
18296
|
+
|
|
18297
|
+
The existing transaction's `status` determines what the merge path does next:
|
|
18298
|
+
- `'unproven'` or `'completed'`: outputs are merged; status is left as-is.
|
|
18299
|
+
- `'nosend'`: the `internalizeAction` call is treated as explicit authorization to advance the lifecycle.
|
|
18300
|
+
`transactions.status` is promoted to `'completed'` (BUMP-bearing BEEF) or `'unproven'` (otherwise), and the
|
|
18301
|
+
`proven_tx_req` is moved out of `'nosend'` so Monitor's proof-fetching flow can finalize it. See storage-layer
|
|
18302
|
+
`internalizeAction` docs for the full rationale.
|
|
18303
|
+
- Any other status: an error.
|
|
18045
18304
|
|
|
18046
18305
|
When the transaction already exists, the description is updated. The isOutgoing sense is not changed.
|
|
18047
18306
|
|
|
@@ -18077,7 +18336,17 @@ A "wallet payment" adds an outputs value to the wallet's change "balance". These
|
|
|
18077
18336
|
Processing starts with simple validation and then checks for a pre-existing transaction.
|
|
18078
18337
|
If the transaction is already known to the user, then the outputs are reviewed against the existing outputs treatment,
|
|
18079
18338
|
and merge rules are added to the arguments passed to the storage layer.
|
|
18080
|
-
|
|
18339
|
+
|
|
18340
|
+
The existing transaction's `status` determines what the merge path does next:
|
|
18341
|
+
- `'unproven'` or `'completed'`: outputs are merged into the existing record. The transaction status is left as-is.
|
|
18342
|
+
- `'nosend'`: an ambiguous case. The transaction was created with `noSend: true` and may have been externally
|
|
18343
|
+
broadcast, may be sitting in a sendWith chain, or may be stuck mid-flight. The merge path treats the
|
|
18344
|
+
`internalizeAction` call as explicit authorization to advance the lifecycle. Specifically: `transactions.status`
|
|
18345
|
+
is promoted to `'completed'` (when a BUMP is included in the BEEF) or `'unproven'` (otherwise), and the
|
|
18346
|
+
`proven_tx_req` is moved out of `'nosend'` so Monitor's standard proof-fetching flow can finalize it.
|
|
18347
|
+
This makes the `internalizeAction` semantics consistent regardless of whether the originator shares the
|
|
18348
|
+
same storage as the internalizer or not.
|
|
18349
|
+
- Any other status: an error.
|
|
18081
18350
|
|
|
18082
18351
|
When the transaction already exists, the description is updated. The isOutgoing sense is not changed.
|
|
18083
18352
|
|
|
@@ -18443,6 +18712,17 @@ See also: [AggregatePostBeefTxResult](./storage.md#interface-aggregatepostbeeftx
|
|
|
18443
18712
|
|
|
18444
18713
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18445
18714
|
|
|
18715
|
+
---
|
|
18716
|
+
##### Function: markUserInputsSpent
|
|
18717
|
+
|
|
18718
|
+
```ts
|
|
18719
|
+
export async function markUserInputsSpent(storage: StorageProvider, userId: number, tx: BsvTransaction, transactionId: number): Promise<SpentInputTransition[]>
|
|
18720
|
+
```
|
|
18721
|
+
|
|
18722
|
+
See also: [SpentInputTransition](./storage.md#interface-spentinputtransition), [StorageProvider](./storage.md#class-storageprovider)
|
|
18723
|
+
|
|
18724
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18725
|
+
|
|
18446
18726
|
---
|
|
18447
18727
|
##### Function: matchesCertificateFieldPartial
|
|
18448
18728
|
|
|
@@ -18689,6 +18969,17 @@ export function optionalArraysEqual(arr1?: Number[], arr2?: Number[]): boolean
|
|
|
18689
18969
|
|
|
18690
18970
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18691
18971
|
|
|
18972
|
+
---
|
|
18973
|
+
##### Function: parseBRC38Json
|
|
18974
|
+
|
|
18975
|
+
```ts
|
|
18976
|
+
export function parseBRC38Json(json: string): BRC38WalletData
|
|
18977
|
+
```
|
|
18978
|
+
|
|
18979
|
+
See also: [BRC38WalletData](./storage.md#interface-brc38walletdata)
|
|
18980
|
+
|
|
18981
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18982
|
+
|
|
18692
18983
|
---
|
|
18693
18984
|
##### Function: parseBrc114ActionTimeLabels
|
|
18694
18985
|
|
|
@@ -18900,14 +19191,25 @@ export function resolveAutoSigned(car: CreateActionResult, txid: string, vout: n
|
|
|
18900
19191
|
|
|
18901
19192
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
18902
19193
|
|
|
19194
|
+
---
|
|
19195
|
+
##### Function: restoreInputsToSpendable
|
|
19196
|
+
|
|
19197
|
+
```ts
|
|
19198
|
+
export async function restoreInputsToSpendable(storage: StorageProvider, transitions: SpentInputTransition[]): Promise<void>
|
|
19199
|
+
```
|
|
19200
|
+
|
|
19201
|
+
See also: [SpentInputTransition](./storage.md#interface-spentinputtransition), [StorageProvider](./storage.md#class-storageprovider)
|
|
19202
|
+
|
|
19203
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
19204
|
+
|
|
18903
19205
|
---
|
|
18904
19206
|
##### Function: reviewStatusIdb
|
|
18905
19207
|
|
|
18906
19208
|
Looks for unpropagated state:
|
|
18907
19209
|
|
|
18908
19210
|
1. set transactions to 'failed' if not already failed and provenTxReq with matching txid has status of 'invalid'.
|
|
18909
|
-
2. sets
|
|
18910
|
-
3. sets outputs to spendable
|
|
19211
|
+
2. sets outputs to spendable true, spentBy undefined if spentBy is a terminal failed transaction.
|
|
19212
|
+
3. sets outputs generated by terminal failed transactions to spendable false, spentBy undefined.
|
|
18911
19213
|
|
|
18912
19214
|
```ts
|
|
18913
19215
|
export async function reviewStatusIdb(storage: StorageIdb, args: {
|
|
@@ -20759,13 +21061,36 @@ getLabelToSpecOp: () => Record<string, ListActionsSpecOp> = () => {
|
|
|
20759
21061
|
labelsToIntercept: ["abort"],
|
|
20760
21062
|
setStatusFilter: () => ["nosend"],
|
|
20761
21063
|
postProcess: async (s: StorageProvider, auth: AuthId, vargs: Validation.ValidListActionsArgs, specOpLabels: string[], txs: Array<Partial<TableTransaction>>): Promise<void> => {
|
|
20762
|
-
if (specOpLabels.includes("abort"))
|
|
20763
|
-
|
|
20764
|
-
|
|
20765
|
-
|
|
20766
|
-
|
|
21064
|
+
if (!specOpLabels.includes("abort"))
|
|
21065
|
+
return;
|
|
21066
|
+
const candidates = txs.filter(tx => tx.status === "nosend" && !!tx.txid);
|
|
21067
|
+
const candidateTxids = candidates.map(tx => tx.txid as string);
|
|
21068
|
+
const protectedTxids = new Set<string>();
|
|
21069
|
+
if (candidateTxids.length > 0) {
|
|
21070
|
+
const services = s.getServices();
|
|
21071
|
+
try {
|
|
21072
|
+
const r = await services.getStatusForTxids(candidateTxids);
|
|
21073
|
+
if (r.status === "success") {
|
|
21074
|
+
for (const result of r.results) {
|
|
21075
|
+
if (result.status === "mined" || result.status === "known") {
|
|
21076
|
+
protectedTxids.add(result.txid);
|
|
21077
|
+
}
|
|
21078
|
+
}
|
|
20767
21079
|
}
|
|
20768
21080
|
}
|
|
21081
|
+
catch {
|
|
21082
|
+
}
|
|
21083
|
+
}
|
|
21084
|
+
for (const tx of txs) {
|
|
21085
|
+
if (tx.status !== "nosend")
|
|
21086
|
+
continue;
|
|
21087
|
+
if (tx.txid && protectedTxids.has(tx.txid)) {
|
|
21088
|
+
continue;
|
|
21089
|
+
}
|
|
21090
|
+
const result = await s.abortAction(auth, { reference: tx.reference! });
|
|
21091
|
+
if (result.aborted) {
|
|
21092
|
+
tx.status = "failed";
|
|
21093
|
+
}
|
|
20769
21094
|
}
|
|
20770
21095
|
}
|
|
20771
21096
|
},
|