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 SanityCheckBlockstore 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
type SanityCheckBlockstore ¶ added in v0.2.0
type SanityCheckBlockstore struct { blockstore.Blockstore // contains filtered or unexported fields }
func (SanityCheckBlockstore) SetSanityCheckFn ¶ added in v0.2.0
func (sc SanityCheckBlockstore) SetSanityCheckFn(fn sanityCheckFn)
Click to show internal directories.
Click to hide internal directories.