Esempio n. 1
0
 /// <summary>
 /// Removes the specified block from the cache repository.
 /// </summary>
 /// <param name="hash">The block's hash that identifies the requested block.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 /// <returns>The requested bitcoin block.</returns>
 public Task InvalidateAsync(uint256 hash, CancellationToken cancellationToken)
 {
     return(BlockRepository.RemoveAsync(hash, cancellationToken));
 }