dione/types/beacon.go
2021-06-10 23:31:44 +03:00

16 lines
290 B
Go

package types
type BeaconEntry struct {
Round uint64
Data []byte
Metadata map[string]interface{}
}
func NewBeaconEntry(round uint64, data []byte, metadata map[string]interface{}) BeaconEntry {
return BeaconEntry{
Round: round,
Data: data,
Metadata: metadata,
}
}