Skip to content

Commit

Permalink
Updated descriptions for future maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed May 20, 2024
1 parent 021f2c1 commit 0444db9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Libplanet.Types/Blocks/BlockMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,26 @@ public class BlockMetadata : IBlockMetadata
public const int CurrentProtocolVersion = 7;

/// <summary>
/// <para>
/// The starting protocol version where a bug in transferring asset was fixed.
/// Prior to this version, it was possible to duplicate
/// <see cref="FungibleAssetValue"/>.
/// </para>
/// <para>
/// Also, <see cref="Block.ProtocolVersion"/> was added.
/// </para>
/// </summary>
public const int TransferFixProtocolVersion = 1;

/// <summary>
/// <para>
/// The starting protocol version where <see cref="IBlockHeader.Signature"/> was added.
/// Prior to this version, <see cref="Block"/>s had no signature.
/// </para>
/// <para>
/// In its serialized form, <see cref="Block.Miner"/> was removed and
/// <see cref="Block.PublicKey"/> together with <see cref="Block.Signature"/> were added.
/// </para>
/// </summary>
public const int SignatureProtocolVersion = 2;

Expand Down

0 comments on commit 0444db9

Please sign in to comment.