https://hackmd.io/@6-HLeMXARN2tdFLKKcqrxw/rkU0eLmEC
Empty minimal interface of go-libp2p used by Prysm. Every function or type used in Prysm has been copied from go-libp2p without its implementation.
In Prysm go.mod use replace directive to link this version of go-libp2p ie
replace github.com/libp2p/go-libp2p => /path/to/custom/go-libp2p
- Modify
core/crypto/pb/crypto.proto
(we do not need all KeyType) and generate a newcore/crypto/pb/crypto.pb.go