DART.this

Creates DART with given net and by given file path safely with catching possible exceptions

  1. this(HashNet net, string filename, Flag!"read_only" read_only, HiRPC hirpc, ushort from_sector, ushort to_sector)
  2. this(HashNet net, string filename, Exception exception, Flag!"read_only" read_only, HiRPC hirpc, ushort from_sector, ushort to_sector)
    class DART
    @safe nothrow
    this
    (
    const HashNet net
    ,
    string filename
    ,
    out Exception exception
    ,
    Flag!"read_only" read_only = No.read_only
    ,,
    const ushort from_sector = 0
    ,
    const ushort to_sector = 0
    )

Parameters

net HashNet

Represent HashNet for initializing DART

filename string

Represent path to DART file to open

exception Exception

Field used for returning exception in case when something gone wrong

from_sector ushort

Represents from angle for DART sharding. In development.

to_sector ushort

Represents to angle for DART sharding. In development.