1. 03 Oct, 2017 1 commit
  2. 02 Oct, 2017 5 commits
  3. 01 Oct, 2017 5 commits
  4. 30 Sep, 2017 18 commits
  5. 29 Sep, 2017 11 commits
    • Yacov Manevich's avatar
      af6193c0
    • David Enyeart's avatar
      [FAB-6355] Fix GetPrivateData() error on CouchDB · 41714c2a
      David Enyeart authored
      
      
      The problem was that the retrieve of the public
      hash from couch state db fails due to a URL
      encoding issue of a plus sign in the hashed key.
      
      Keys were already URL encoded using golang URL
      encoding, but the encoding skips plus signs in
      the path component.  CouchDB unencodes the plus
      sign as a space.
      
      The fix is to explicitly URL encode plus character
      when interacting with CouchDB.
      
      Also add unit test to verify the fix and test
      all other URL special characters.
      
      Also clarified the error message received when
      private version does not match public hash.
      
      Change-Id: I9b99d3446542e9eae0196158270205d3ea09db9f
      Signed-off-by: default avatarDavid Enyeart <enyeart@us.ibm.com>
      41714c2a
    • Kostas Christidis's avatar
    • Gari Singh's avatar
      Merge "[FAB-5842] Serviceability for MSP" · ae5efd5c
      Gari Singh authored
      ae5efd5c
    • Gari Singh's avatar
      7fa0e0b2
    • Gari Singh's avatar
      FAB-6351 Fix orderer version command · f9a1ef75
      Gari Singh authored
      
      
      The orderer version command is currently
      not working correctly when the orderer is
      built via make release.  Turns out that
      the metadata flags were not being properly
      set when running `make release`.
      `make orderer` works as expected.
      
      Change-Id: I1960c5461f23770ed8e0f80929447b60b7456912
      Signed-off-by: default avatarGari Singh <gari.r.singh@gmail.com>
      f9a1ef75
    • yacovm's avatar
      [FAB-6354] Properly log x509 certs - take II · 8a4c1f4d
      yacovm authored
      https://gerrit.hyperledger.org/r/#/c/12439/7/msp/identities.go removed
      the fix of https://gerrit.hyperledger.org/r/#/c/12321/
      
      
      
      Now the bccsp msp once again logs certificates as:
      ^F^H*�H�=^D^C^B0s1^K0   ^F^CU^D^F^S^BUS1^S0^Q^F^CU^D^H^S
      California1^V0^T^F^CU^D^G^S^MSan Francisco1^Y0^W^F^CU^D
      ^S^Porg2.example.com1^\0^Z^F^CU^D^C^S^Sca.org2.example.com0^^^W^M1709291944
      California1^V0^T^F^CU^D^G^S^MSan Francisco1^_0^]^F^CU^D^C^S^Vpeer1.org2.example.com
      0Y0^S^F^G*�H�=^B^A^F^H*�H�=^C^A^G^CB^@^D���|^@^Va&y^\+~��^T�
      ������P'WOJ�^S�n��^\��Vd�T�^F^C�[ITkY�B.z�D��P����\�M0K0^N^F^C
      ^F^H*�H�=^D^C^B0s1^K0   ^F^CU^D^F^S^BUS1^S0^Q^F^CU^D^H^S
      
      After the fix it logs:
      -----BEGIN CERTIFICATE-----
      MIICGjCCAcCgAwIBAgIRAMvPRMUfBLYtm3vd0BCAEDIwCgYIKoZIzj0EAwIwczEL
      MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
      cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
      Lm9yZzIuZXhhbXBsZS5jb20wHhcNMTcwOTI5MTk1MjEzWhcNMjcwOTI3MTk1MjEz
      WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
      U2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjEub3JnMi5leGFtcGxlLmNvbTBZ
      MBMGByqGSM49AgEGCCqGSM49AwEHA0IABEZH+FfZIFKFgy2JIxfQN537Mtduir3c
      K14yqfBrwNpwxNTYbCwwLbLHBNSVajEdliXzO6IV4+NLuRkBg6oRJ1OjTTBLMA4G
      A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIFaaXIo4XU88
      3LTPkTd/k4skqUCnV4fgB4FQnTI46QmrMAoGCCqGSM49BAMCA0gAMEUCIQCrUGYo
      qkabQJrE1v+f6QTr8AMpoqdmuGeLXKBSYkhNrAIgMnKivxRi8/Z1mNj5c3jtkMCB
      HhIqitq/80+9d7+nRVM=
      -----END CERTIFICATE-----
      
      Change-Id: Ic98fde5eed802afe6c29bbcbd6b489612eddf795
      Signed-off-by: default avataryacovm <yacovm@il.ibm.com>
      8a4c1f4d
    • Amjad Nawaz's avatar
      [FAB-6349] The DEV mode setup requires update · 28f3ea52
      Amjad Nawaz authored
      URL at http://hyperledger-fabric.readthedocs.io/en/latest/
      
      
      peer-chaincode-devmode.html?highlight=dev-mode
      The port mentioned under starting chaincode is mentioned as 7051
      Infact it should be 7052. Once done all my test cases were fine.
      
      Fix Issue # FAB-6349
      
      Change-Id: I8b35134d7dd0ccd32be472bf3f78d0c37cdc1469
      Signed-off-by: default avatarAmjad Nawaz <amjadnz@gmail.com>
      28f3ea52
    • Will Lahti's avatar
      [FAB-5568] Add filtered block event · e2f285c3
      Will Lahti authored
      
      
      This CR adds a new FilteredBlock event, which is currently
      sent whenever a Block event is sent. This FilteredBlock contains
      minimal information about the block and the transactions it contains.
      
      Change-Id: Ia416184451f9073bd855b3a4f5811bd3332b9928
      Signed-off-by: default avatarWill Lahti <wtlahti@us.ibm.com>
      e2f285c3
    • Keith Smith's avatar
      a9457673
    • yacovm's avatar
      [FAB-6350] DeliverService CI failure: serve < register · e11591eb
      yacovm authored
      
      
      The orderer service mock in the deliver service package tries to
      register a gRPC server after serve might be called.
      
      This is forbidden in the latest gRPC version.
      
      the error is:
      
      17:39:38 unit-tests_1  | 2017-09-29 17:39:38.437 UTC [grpc] Fatalf -> CRIT 06a grpc: Server.RegisterService after Server.Serve for "orderer.AtomicBroadcast"
      17:39:38 unit-tests_1  | FAIL	github.com/hyperledger/fabric/core/deliverservice	7.090s
      17:39:38 unit-tests_1  | error: exit status 1
      17:39:38 unit-tests_1  | panic: EOF
      
      Change-Id: I04b2ccc25ba6978ad3848571030515f051f71622
      Signed-off-by: default avataryacovm <yacovm@il.ibm.com>
      e11591eb