github.com/lbryio/lbcd@v0.22.119/btcjson/btcdextresults.go (about) 1 // Copyright (c) 2016-2017 The btcsuite developers 2 // Copyright (c) 2015-2017 The Decred developers 3 // Use of this source code is governed by an ISC 4 // license that can be found in the LICENSE file. 5 6 package btcjson 7 8 // VersionResult models objects included in the version response. In the actual 9 // result, these objects are keyed by the program or API name. 10 // 11 // NOTE: This is a btcsuite extension ported from 12 // github.com/decred/dcrd/dcrjson. 13 type VersionResult struct { 14 VersionString string `json:"versionstring"` 15 Major uint32 `json:"major"` 16 Minor uint32 `json:"minor"` 17 Patch uint32 `json:"patch"` 18 Prerelease string `json:"prerelease"` 19 BuildMetadata string `json:"buildmetadata"` 20 }