func (h *HeartbeatUpdate) Sign(key *ecdsa.PrivateKey) { h.Signature = libytc.SignMap(nil, h.String(), key) }
func (k *SpaceUpdate) Sign(key *ecdsa.PrivateKey) { k.Signature = libytc.SignMap(k.Signature, k.String(), key) return }
func (t *TransferUpdate) Sign(key *ecdsa.PrivateKey) { t.Signature = libytc.SignMap(nil, t.String(), key) return }
func (l *LocationUpdate) Sign(key *ecdsa.PrivateKey) { l.Signature = libytc.SignMap(nil, l.String(), key) return }