package
0.4.1
Repository: https://github.com/ipld/go-trustless-utils.git
Documentation: pkg.go.dev

# Packages

Package chaintypes is a fork of some components of github.com/ipfs/go-graphsync/testutil/chaintypes in order to avoid networking dependencies imposed by Graphsync.

# Functions

No description provided by the author
MakeDagWithIdentity makes a non-unixfs DAG, wrapped in the go-unixfsnode/testutil/DirEntry struct (so it can be used in all the places DirEntry is) that has an identity CID in the middle linking a section that the identity CID must be traversed through to find.
RandomBytes returns a byte array of the given size with random values.
SetupBlockChain creates a new test block chain with the given height.

# Structs

TODO: remove when this is fixed in IPLD prime.
TestBlockChain is a simulated data structure similar to a blockchain.
No description provided by the author

# Interfaces

No description provided by the author