Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLedgerReplicationRespIsNil = errors.New("ledger replication response is nil") ErrLedgerResponseBlocksIsNil = errors.New("ledger response blocks is nil") ErrLedgerReplicationReqIsNil = errors.New("ledger replication requests is nil") ErrInvalidSystemIdentifier = errors.New("invalid system identifier") ErrNodeIdentifierIsMissing = errors.New("node identifier is missing") )
Functions ¶
This section is empty.
Types ¶
type LedgerReplicationRequest ¶
type LedgerReplicationRequest struct { SystemIdentifier []byte NodeIdentifier string BeginBlockNumber uint64 EndBlockNumber uint64 // contains filtered or unexported fields }
func (*LedgerReplicationRequest) IsValid ¶ added in v0.2.0
func (r *LedgerReplicationRequest) IsValid() error
type LedgerReplicationResponse ¶
type LedgerReplicationResponse struct { Status Status Message string Blocks []*types.Block // contains filtered or unexported fields }
func (*LedgerReplicationResponse) IsValid ¶ added in v0.2.0
func (r *LedgerReplicationResponse) IsValid() error
func (*LedgerReplicationResponse) Pretty ¶ added in v0.1.2
func (r *LedgerReplicationResponse) Pretty() string
Click to show internal directories.
Click to hide internal directories.