package json

import "go.dedis.ch/dela/core/ordering/cosipbft/authority/json"

Index

Types

type Address

type Address []byte

Address is a JSON message for an address.

type ChangeSet

type ChangeSet struct {
	Remove     []uint
	Addresses  [][]byte
	PublicKeys []json.RawMessage
}

ChangeSet is a JSON message of the change set of an authority.

type Player

type Player struct {
	Address   []byte
	PublicKey json.RawMessage
}

Player is a JSON message that contains the address and the public key of a new participant.

type Roster

type Roster []Player

Roster is a JSON message for a authority.

Source Files

json.go

Version
v0.1.0 (latest)
Published
Apr 10, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
1 month ago

Tools for package owners.