github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/tm2/pkg/bft/blockchain/package.go (about) 1 package blockchain 2 3 import ( 4 "github.com/gnolang/gno/tm2/pkg/amino" 5 btypes "github.com/gnolang/gno/tm2/pkg/bft/types" 6 ) 7 8 var Package = amino.RegisterPackage(amino.NewPackage( 9 "github.com/gnolang/gno/tm2/pkg/bft/blockchain", 10 "tm", 11 amino.GetCallersDirname(), 12 ).WithDependencies( 13 btypes.Package, 14 ).WithTypes( 15 &bcBlockRequestMessage{}, "BlockRequest", 16 &bcBlockResponseMessage{}, "BlockResponse", 17 &bcNoBlockResponseMessage{}, "NoBlockResponse", 18 &bcStatusRequestMessage{}, "StatusRequest", 19 &bcStatusResponseMessage{}, "StatusResponse", 20 ))