2015-05-22 13:53:10 -07:00
|
|
|
package types
|
|
|
|
|
|
|
|
type NameRegEntry struct {
|
2015-05-22 23:05:56 -07:00
|
|
|
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
|
|
|
}
|