public static boolean computeUpdate ( String channelId , Configtx . Config original , Configtx . Config update , Configtx . ConfigUpdate . Builder configUpdateBuilder ) { Configtx . ConfigGroup . Builder readSetBuilder = Configtx . ConfigGroup . newBuilder ( ) ; Configtx . ConfigGroup . Builder writeSetBuilder = Configtx . ConfigGroup . newBuilder ( ) ; if ( computeGroupUpdate ( original . getChannelGroup ( ) , update . getChannelGroup ( ) , readSetBuilder , writeSetBuilder ) ) { configUpdateBuilder . setReadSet ( readSetBuilder . build ( ) ) . setWriteSet ( writeSetBuilder . build ( ) ) . setChannelId ( channelId ) ; return true ; } return false ; }
not an api