tendermint/types/names.go

14 lines
402 B
Go
Raw Normal View History

2015-05-22 13:53:10 -07:00
package types
type NameRegEntry struct {
Name string `json:"name"` // registered name for the entry
Owner []byte `json:"owner"` // address that created the entry
Data string `json:"data"` // binary encoded byte array
Expires uint64 `json:"expires"` // block at which this entry expires
}
func (entry *NameRegEntry) Copy() *NameRegEntry {
entryCopy := *entry
return &entryCopy
2015-05-22 13:53:10 -07:00
}