public Task <Checkpoint> GetCheckpointAsync(string checkpointName) { var blob = _Container.GetBlockBlobReference("Checkpoints/" + GetSetPart(checkpointName)); return(Checkpoint.LoadBlobAsync(blob, _Network)); }
/// <summary> /// Determines the block that a checkpoint is at. /// </summary> /// <param name="indexerCheckpoints">The type of checkpoint (wallets, blocks, transactions or balances).</param> /// <returns>The block that a checkpoint is at.</returns> private ChainedBlock GetCheckPointBlock(IndexerCheckpoints indexerCheckpoints) { Checkpoint checkpoint = this.AzureIndexer.GetCheckpointInternal(indexerCheckpoints); return(this.Chain.FindFork(checkpoint.BlockLocator)); }