Show / Hide Table of Contents

Class TrieMetadata

Inheritance
System.Object
TrieMetadata
Namespace: Libplanet.Store.Trie
Assembly: Libplanet.Store.dll
Syntax
public class TrieMetadata : IBencodable

Constructors

| Improve this Doc View Source

TrieMetadata(IValue)

Declaration
public TrieMetadata(IValue bencoded)
Parameters
Type Name Description
IValue bencoded
| Improve this Doc View Source

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 Source

Bencoded

Declaration
public IValue Bencoded { get; }
Property Value
Type Description
IValue
| Improve this Doc View Source

Version

Declaration
public int Version { get; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium