package
0.1.1
Repository: https://github.com/myelnet/pop.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
New puts together all the components of the ipfs node.
No description provided by the author
No description provided by the author
NewDAGParams initializes default params for generating a DAG.
NewPeeringService constructs a new peering service.
NewRemoteIndex creates a new index instance for the given wallet and host.
No description provided by the author
contains checks if a string is present in a slice.
RestartByExec calls `syscall.Exec()` to restart app.
Run runs a pop IPFS node.
No description provided by the author
WithChunker overrides the default chunker with a given chunker interface.
WithLayout overrides the default dag layout with a layout function defining the overall layout of a DAG.
No description provided by the author

# Constants

DhtPrefix sets a Pop prefix to be attached to the DHT protocols.
KContentBatch is the keystore used for storing the root CID of the HAMT used to aggregate content for storage.
MaxMessageSize is the maximum message size, in bytes.
No description provided by the author

# Variables

DefaultChunker is the default chunker of the DAG builder.
DefaultChunkSize is the default size a chunk.
DefaultLayout is the default layout of the DAG builder.
ErrAllDealsFailed is returned when all storage deals failed to get started.
ErrCacheRFInvalid is returned if the cache RF is inconsistant with the specified peers.
ErrFilecoinRPCOffline is returned when the node is running without a provided filecoin api endpoint + token.
ErrInvalidPeer is returned when trying to ping a peer with invalid peer ID or address.
ErrNodeNotFound is returned when we cannot find the node in the given root.
ErrNoTx is returned when no transaction is staged and we attempt to commit.
ErrQuoteNotFound is returned when we are trying to store but couldn't get a quote.
No description provided by the author

# Structs

No description provided by the author
Command is a message sent from a client to the daemon.
CommandClient sends commands to a daemon process.
CommandServer receives commands on the daemon side and executes them.
CommArgs are passed to the Commit command.
CommResult is feedback on the push operation.
DAGParams is a set of features used to chunk and format files into DAGs.
DealInfoArgs gives some params to find the deal.
DealInfoResult describes any ongoing deal.
GetArgs get passed to the Get command.
GetResult gives us feedback on the result of the Get request.
ImportArgs provides the path to the car file.
ImportResult returns the resulting index entries from the CAR file.
ListArgs provides params for the List command.
ListResult contains the result for a single item of the list.
Notify is a message sent from the daemon to the client.
OffArgs get passed to the Off command.
OffResult doesn't return any value at this time.
Options determines configurations for the IPFS node.
PayArgs provides params for controlling a payment channel.
PayResult returns the result of submitted vouchers.
PeeringService maintains connections to specified peers, reconnecting on disconnect with a back-off.
PingArgs get passed to the Ping command.
PingResult is sent in the notify message to give us the info we requested.
Pop is the pop node implementation.
PutArgs get passed to the Put command.
PutResult gives us feedback on the result of the Put request.
No description provided by the author
No description provided by the author
RemoteIndex can publish cbor encoded records that a provider is storing a thing.
RRecord is a lightweight record to store as encoded bytes in a remote index.
StatusArgs get passed to the Status command.
StatusResult gives us the result of status request to ping.
No description provided by the author
WalletExportArgs get passed to the WalletExport command.
WalletListArgs get passed to the WalletList command.
WalletPayArgs get passed to the WalletPay command.
WalletResult returns the output of every WalletList/WalletExport/WalletPay requests.
No description provided by the author

# Type aliases

DAGOption is a functional option overriding default DAG params.