Skip to content
  • Jason Yellick's avatar
    [FAB-2027] Proto style fixes · cdecb52c
    Jason Yellick authored
    https://jira.hyperledger.org/browse/FAB-2027
    
    Per https://jira.hyperledger.org/browse/FAB-2026
    
     the proto style in
    fabric is inconsistent and violates accepted proto style guidelines.
    
    This CR makes the non-golang code invasive proto changes to conform with
    the style guide.
    
    In particular, protoc converts lower_underscore_separated to
    LowerUnderscoreSeparated which means that most of our existing fields
    can be normalized to the official proto style with no code changes.
    
    This does not fix fields which contained upper case abbreviations
    particularly fields ending in 'ID' like txID which must become tx_id and
    will be translated to TxId.
    
    This does not fix the enum fields which by proto style should be
    UPPER_CASE as this will also require code changes.
    
    Change-Id: Id32d6caba43be9e1c6b1f638be284071bf52f0fd
    Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
    cdecb52c