Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed Jan 19, 2024
1 parent b335131 commit d4e83e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Libplanet.Store/TrieStateStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,17 @@ public TrieStateStore(IKeyValueStore stateKeyValueStore)
public IKeyValueStore StateKeyValueStore { get; }

/// <summary>
/// <para>
/// Copies states under state root hashes of given <paramref name="stateRootHashes"/>
/// to <paramref name="targetStateStore"/>.
/// </para>
/// <para>
/// Under the hood, this not only copies states directly associated
/// with <paramref name="stateRootHashes"/>, but also automatically copies states
/// that are not directly associated with <paramref name="stateRootHashes"/>
/// but associated with "subtries" with references stored in <see cref="ITrie"/>s
/// of <paramref name="stateRootHashes"/>.
/// </para>
/// </summary>
/// <param name="stateRootHashes">The state root hashes of states to copy.</param>
/// <param name="targetStateStore">The target state store to copy state root hashes.</param>
Expand Down

0 comments on commit d4e83e7

Please sign in to comment.