2017-01-25 02:18:48 +01:00
|
|
|
// Copyright (c) 2015-2017 The btcsuite developers
|
|
|
|
// Copyright (c) 2015-2017 The Decred developers
|
2015-09-15 20:03:48 +02:00
|
|
|
// Use of this source code is governed by an ISC
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package btcjson
|
|
|
|
|
|
|
|
// SessionResult models the data from the session command.
|
|
|
|
type SessionResult struct {
|
|
|
|
SessionID uint64 `json:"sessionid"`
|
|
|
|
}
|
2017-01-25 02:18:48 +01:00
|
|
|
|
|
|
|
// RescannedBlock contains the hash and all discovered transactions of a single
|
|
|
|
// rescanned block.
|
|
|
|
//
|
|
|
|
// NOTE: This is a btcsuite extension ported from
|
|
|
|
// github.com/decred/dcrd/dcrjson.
|
|
|
|
type RescannedBlock struct {
|
|
|
|
Hash string `json:"hash"`
|
|
|
|
Transactions []string `json:"transactions"`
|
|
|
|
}
|