code: func NewRescanCmd(beginBlock string, addresses []string, outPoints []OutPoint, endBlock *string) *RescanCmd {
  	return &RescanCmd{
  		BeginBlock: beginBlock,
  		Addresses:  addresses,
  		OutPoints:  outPoints,
  		EndBlock:   endBlock,
  	}
  }
docs: // NewRescanCmd returns a new instance which can be used to issue a rescan
  // JSON-RPC command.
  //
  // The parameters which are pointers indicate they are optional.  Passing nil
  // for optional parameters will use the default value.
  //
  // NOTE: Deprecated. Use NewRescanBlocksCmd instead.