# Functions
ConnectNodes creates a basic connection between the nodes.
GetSomeBlocks returns a list of num ids for blocks that are in the referenced dataset.
MakeIPFSNode creates a single mock IPFS Node.
MakeIPFSSwarm creates and connects n number of mock IPFS Nodes.
MakeRepoFromIPFSNode wraps an ipfs node with a mock qri repo.
NewAvailableTestNode constructs a test node that is hooked up and ready to Connect.
NewNodeWithBus constructs the next node in the factory, but with the given bus, helpful for tests where you need to subscribe to specific events in order to coordiate timing.
NewTestDirNetwork constructs nodes from the testdata directory, for p2p testing Peers are pulled from the "testdata" directory, and come pre-populated with datasets no peers are connected.
NewTestNetwork constructs nodes to test p2p functionality.
NewTestNodeFactory returns a new TestNodeFactory.
NewTestNodeFactoryWithBus returns a new TestNodeFactory with non nil buses.
# Structs
TestNodeFactory can be used to safetly construct nodes for tests.
# Interfaces
TestablePeerNode is used by tests only.
# Type aliases
NodeMakerFunc is a function that constructs a Node from a Repo and options.