chainsvrwsresults.go raw

   1  package btcjson
   2  
   3  // SessionResult models the data from the session command.
   4  type SessionResult struct {
   5  	SessionID uint64 `json:"sessionid"`
   6  }
   7  
   8  // RescannedBlock contains the hash and all discovered transactions of a single rescanned block.
   9  //
  10  // NOTE: This is a btcsuite extension ported from github.com/decred/dcrd/dcrjson.
  11  type RescannedBlock struct {
  12  	Hash         string   `json:"hash"`
  13  	Transactions []string `json:"transactions"`
  14  }
  15