// CommitAcknowledgement returns the hash of commitment bytes
funcCommitAcknowledgement(data[]byte)[]byte{
returntmhash.Sum(data)
}
var_exported.PacketI=Packet{}
// Packet defines a type that carries data across different chains through IBC
typePacketstruct{
Data[]byte`json:"data" yaml:"data"`// Actual opaque bytes transferred directly to the application module
Sequenceuint64`json:"sequence" yaml:"sequence"`// number corresponds to the order of sends and receives, where a Packet with an earlier sequence number must be sent and received before a Packet with a later sequence number.
SourcePortstring`json:"source_port" yaml:"source_port"`// identifies the port on the sending chain.
SourceChannelstring`json:"source_channel" yaml:"source_channel"`// identifies the channel end on the sending chain.
DestinationPortstring`json:"destination_port" yaml:"destination_port"`// identifies the port on the receiving chain.
DestinationChannelstring`json:"destination_channel" yaml:"destination_channel"`// identifies the channel end on the receiving chain.
TimeoutHeightuint64`json:"timeout_height" yaml:"timeout_height"`// block height after which the packet times out