Class IpfsAdapter
Modifies the IPFS behaviour to meet the Catalyst requirements.
Inheritance
System.Object
IpfsAdapter
Implements
ICoreApi
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Catalyst.Core.Modules.Dfs.dll
Syntax
public sealed class IpfsAdapter : IIpfsAdapter, ICoreApi, IDisposable
Constructors
|
Improve this Doc
View Source
IpfsAdapter(IPasswordManager, IFileSystem, ILogger, String, IEnumerable<MultiAddress>)
Declaration
public IpfsAdapter(IPasswordManager passwordReader, IFileSystem fileSystem, ILogger logger, string swarmKey = "07a8e9d0c43400927ab274b7fa443596b71e609bacae47bd958e5cd9f59d6ca3", IEnumerable<MultiAddress> seedServers = null)
Parameters
Type |
Name |
Description |
IPasswordManager |
passwordReader |
|
IFileSystem |
fileSystem |
|
ILogger |
logger |
|
System.String |
swarmKey |
|
System.Collections.Generic.IEnumerable<MultiAddress> |
seedServers |
|
Properties
|
Improve this Doc
View Source
Bitswap
Declaration
public IBitswapApi Bitswap { get; }
Property Value
Type |
Description |
IBitswapApi |
|
|
Improve this Doc
View Source
Block
Declaration
public IBlockApi Block { get; }
Property Value
Type |
Description |
IBlockApi |
|
|
Improve this Doc
View Source
BlockRepository
Declaration
public IBlockRepositoryApi BlockRepository { get; }
Property Value
Type |
Description |
IBlockRepositoryApi |
|
|
Improve this Doc
View Source
Bootstrap
Declaration
public IBootstrapApi Bootstrap { get; }
Property Value
Type |
Description |
IBootstrapApi |
|
|
Improve this Doc
View Source
Config
Declaration
public IConfigApi Config { get; }
Property Value
Type |
Description |
IConfigApi |
|
|
Improve this Doc
View Source
Dag
Declaration
public IDagApi Dag { get; }
Property Value
|
Improve this Doc
View Source
Dht
Declaration
public IDhtApi Dht { get; }
Property Value
|
Improve this Doc
View Source
Dns
Declaration
public IDnsApi Dns { get; }
Property Value
|
Improve this Doc
View Source
FileSystem
Declaration
public IFileSystemApi FileSystem { get; }
Property Value
Type |
Description |
IFileSystemApi |
|
|
Improve this Doc
View Source
Generic
Declaration
public IGenericApi Generic { get; }
Property Value
Type |
Description |
IGenericApi |
|
|
Improve this Doc
View Source
Key
Declaration
public IKeyApi Key { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public INameApi Name { get; }
Property Value
Type |
Description |
INameApi |
|
|
Improve this Doc
View Source
Object
Declaration
public IObjectApi Object { get; }
Property Value
Type |
Description |
IObjectApi |
|
|
Improve this Doc
View Source
Options
Declaration
public IpfsEngineOptions Options { get; }
Property Value
Type |
Description |
IpfsEngineOptions |
|
|
Improve this Doc
View Source
Pin
Declaration
public IPinApi Pin { get; }
Property Value
|
Improve this Doc
View Source
PubSub
Declaration
public IPubSubApi PubSub { get; }
Property Value
Type |
Description |
IPubSubApi |
|
|
Improve this Doc
View Source
Stats
Declaration
public IStatsApi Stats { get; }
Property Value
Type |
Description |
IStatsApi |
|
|
Improve this Doc
View Source
Swarm
Declaration
public ISwarmApi Swarm { get; }
Property Value
Type |
Description |
ISwarmApi |
|
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
Implements
ICoreApi
System.IDisposable