github.com/palcoin-project/palcd@v1.0.0/btcjson/chainsvrwsresults.go (about) 1 // Copyright (c) 2015-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 // SessionResult models the data from the session command. 9 type SessionResult struct { 10 SessionID uint64 `json:"sessionid"` 11 } 12 13 // RescannedBlock contains the hash and all discovered transactions of a single 14 // rescanned block. 15 // 16 // NOTE: This is a btcsuite extension ported from 17 // github.com/decred/dcrd/dcrjson. 18 type RescannedBlock struct { 19 Hash string `json:"hash"` 20 Transactions []string `json:"transactions"` 21 }