File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
src/Libplanet.RocksDBStore Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -648,7 +648,15 @@ public override long AppendIndex(Guid chainId, BlockHash hash)
648
648
return index ;
649
649
}
650
650
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)"/>
652
660
public void ForkBlockIndexes (
653
661
Guid sourceChainId ,
654
662
Guid destinationChainId ,
@@ -1137,6 +1145,14 @@ public override void Dispose()
1137
1145
}
1138
1146
}
1139
1147
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>
1140
1156
public void ForkTxNonces ( Guid sourceChainId , Guid destinationChainId )
1141
1157
{
1142
1158
var writeBatch = new WriteBatch ( ) ;
You can’t perform that action at this time.
0 commit comments