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.
8 // SessionResult models the data from the session command.
9 type SessionResult struct {
10 SessionID uint64 `json:"sessionid"`
13 // RescannedBlock contains the hash and all discovered transactions of a single
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"`