Skip to content

Commit

Permalink
Merge pull request #323 from earlbread/add-state-ref-desc
Browse files Browse the repository at this point in the history
Add assumption for StoreStateReference
  • Loading branch information
earlbread committed Jul 2, 2019
2 parents dfa589b + bac7b4b commit dce3bbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Libplanet/Store/IStore.cs
Expand Up @@ -3,6 +3,7 @@
using System.Collections.Immutable;
using System.Security.Cryptography;
using Libplanet.Action;
using Libplanet.Blockchain;
using Libplanet.Blocks;
using Libplanet.Tx;

Expand Down Expand Up @@ -135,6 +136,9 @@ AddressStateMap states
/// of the <see cref="Address"/>.</param>
/// <typeparam name="T">An <see cref="IAction"/> class used with
/// <paramref name="block"/>.</typeparam>
/// <remarks>State reference must be stored in the same order as the blocks. For now,
/// it is assumed that this is only called by
/// <see cref="BlockChain{T}.Append(Block{T}, DateTimeOffset, bool)"/> method.</remarks>
/// <seealso cref="IterateStateReferences(string, Address)"/>
void StoreStateReference<T>(
string @namespace,
Expand Down

0 comments on commit dce3bbf

Please sign in to comment.