code: func (r Record) EncodeRLP(w io.Writer) error {
  	if r.signature == nil {
  		return errEncodeUnsigned
  	}
  	_, err := w.Write(r.raw)
  	return err
  }
docs: // EncodeRLP implements rlp.Encoder. Encoding fails if
  // the record is unsigned.