Documentation ¶
Index ¶
- func MkChain(lsys ipld.LinkSystem, full bool) []ipld.Link
- func MkLinkSystem(ds datastore.Batching) ipld.LinkSystem
- func MkTestHost(options ...libp2p.Option) host.Host
- func RandomCids(n int) ([]cid.Cid, error)
- func Store(srcStore datastore.Batching, n ipld.Node) (ipld.Link, error)
- func WaitForMeshWithMessage(t *testing.T, topic string, hosts ...host.Host) []*pubsub.Topic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkChain ¶ added in v0.2.0
func MkChain(lsys ipld.LinkSystem, full bool) []ipld.Link
Return the chain with all nodes or just half of it for testing
func MkLinkSystem ¶
func MkLinkSystem(ds datastore.Batching) ipld.LinkSystem
func MkTestHost ¶ added in v0.2.0
func RandomCids ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.