Skip to content

Commit 2e21655

Browse files
committed
Restore docs for methods
1 parent 13ba5d1 commit 2e21655

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/Libplanet.RocksDBStore/RocksDBStore.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,15 @@ public override long AppendIndex(Guid chainId, BlockHash hash)
648648
return index;
649649
}
650650

651-
// FIXME: Temporarily left for testing only.
651+
/// <summary>
652+
/// Forks block indexes from <paramref name="sourceChainId"/> to
653+
/// <paramref name="destinationChainId"/>.
654+
/// </summary>
655+
/// <param name="sourceChainId">The chain ID of block indexes to fork.</param>
656+
/// <param name="destinationChainId">The chain ID of destination block indexes.</param>
657+
/// <param name="branchpoint">The branchpoint <see cref="Block"/> to fork.</param>
658+
/// <seealso cref="IterateIndexes(Guid, int, int?)"/>
659+
/// <seealso cref="AppendIndex(Guid, BlockHash)"/>
652660
public void ForkBlockIndexes(
653661
Guid sourceChainId,
654662
Guid destinationChainId,
@@ -1137,6 +1145,14 @@ public override void Dispose()
11371145
}
11381146
}
11391147

1148+
/// <summary>
1149+
/// Forks <see cref="Transaction"/> <see cref="Transaction.Nonce"/>s from
1150+
/// <paramref name="sourceChainId"/> to <paramref name="destinationChainId"/>.
1151+
/// </summary>
1152+
/// <param name="sourceChainId">The chain <see cref="BlockChain.Id"/> of
1153+
/// <see cref="Transaction"/> <see cref="Transaction.Nonce"/>s to fork.</param>
1154+
/// <param name="destinationChainId">The chain <see cref="BlockChain.Id"/> of destination
1155+
/// <see cref="Transaction"/> <see cref="Transaction.Nonce"/>s.</param>
11401156
public void ForkTxNonces(Guid sourceChainId, Guid destinationChainId)
11411157
{
11421158
var writeBatch = new WriteBatch();

0 commit comments

Comments
 (0)