Skip to content

Commit

Permalink
Add block_header_version based on mimblewimble/grin-wallet#126
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinlesceller committed May 30, 2019
1 parent ed6f1f9 commit d1388fc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions libwallet/slate.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,17 @@ type Slate struct {

// VersionCompatInfo is the versioning and compatibility info about this slate
type VersionCompatInfo struct {
/// The current version of the slate format
// The current version of the slate format
Version uint16 `json:"version"`
/// Original version this slate was converted from
// Original version this slate was converted from
OrigVersion uint16 `json:"orig_version"`
// The grin block header version this slate is intended for
BlockHeaderVersion uint16 `json:"block_header_version"`
}

// ParticipantMessages is an helper just to facilitate serialization
type ParticipantMessages struct {
/// included messages
// included messages
Messages []ParticipantMessageData `json:"messages"`
}

Expand Down

0 comments on commit d1388fc

Please sign in to comment.