MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / payloadHash

Function payloadHash

pkg/gatewayserver/io/io.go:905–909  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

903}
904
905func payloadHash(b []byte) uint64 {
906 h := fnv.New64a()
907 _, _ = h.Write(b)
908 return h.Sum64()
909}
910
911func uplinkMessageFromProto(pb *ttnpb.UplinkMessage, phy *band.Band) *uplinkMessage {
912 drIdx, _, _ := phy.FindUplinkDataRate(pb.GetSettings().GetDataRate())

Callers 1

uplinkMessageFromProtoFunction · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected