Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BootstrapPeers []peer.AddrInfo
Functions ¶
This section is empty.
Types ¶
type EstuaryBlockstore ¶
type EstuaryBlockstore interface {
blockstore.Blockstore
DeleteMany(context.Context, []cid.Cid) error
}
type Node ¶
type Node struct {
Dht *dht.IpfsDHT
Provider *batched.BatchProvidingSystem
FullRT *fullrt.FullRT
FilDht *dht.IpfsDHT
Host host.Host
StorageDir string
//Lmdb *lmdb.Blockstore
Datastore datastore.Batching
Blockstore blockstore.Blockstore
Bitswap *bitswap.Bitswap
NotifBlockstore *NotifyBlockstore
Wallet *wallet.LocalWallet
Bwc *metrics.BandwidthCounter
Peering *peering.EstuaryPeeringService
Config *config.Node
}
type NodeInitializer ¶
type NodeInitializer interface {
BlockstoreWrap(blockstore.Blockstore) (blockstore.Blockstore, error)
KeyProviderFunc(context.Context) (<-chan cid.Cid, error)
Config() *config.Node
}
type NotifyBlockstore ¶
type NotifyBlockstore struct {
EstuaryBlockstore
// contains filtered or unexported fields
}
func NewNotifBs ¶
func NewNotifBs(bstore EstuaryBlockstore) *NotifyBlockstore
Click to show internal directories.
Click to hide internal directories.