Class TrieMetadata
Inheritance
System.Object
TrieMetadata
Namespace: Libplanet.Store.Trie
Assembly: Libplanet.Store.dll
Syntax
public class TrieMetadata : IBencodable
Constructors
| Improve this Doc View SourceTrieMetadata(IValue)
Declaration
public TrieMetadata(IValue bencoded)
Parameters
Type | Name | Description |
---|---|---|
IValue | bencoded |
TrieMetadata(Int32)
Creates a TrieMetadata instance.
Declaration
public TrieMetadata(int version)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | version | The version of the TrieMetadata to create. This must equal to the version of IPreEvaluationBlock that is under evaluation. |
Properties
| Improve this Doc View SourceBencoded
Declaration
public IValue Bencoded { get; }
Property Value
Type | Description |
---|---|
IValue |
Version
Declaration
public int Version { get; }
Property Value
Type | Description |
---|---|
System.Int32 |