1. 15 Sep, 2016 1 commit
  2. 14 Sep, 2016 1 commit
  3. 12 Sep, 2016 1 commit
  4. 08 Sep, 2016 1 commit
  5. 01 Sep, 2016 1 commit
  6. 31 Aug, 2016 1 commit
  7. 23 Aug, 2016 2 commits
  8. 22 Aug, 2016 3 commits
  9. 20 Aug, 2016 1 commit
  10. 19 Aug, 2016 2 commits
  11. 16 Aug, 2016 1 commit
    • Brad Gorman's avatar
      GitHub Issue #2119 - chaincode unittesting · 23afd056
      Brad Gorman authored
      
      
      Replaced ChaincodeStub with ChaincodeStubInterface to allow
      unit testing of chaincode. MockStub added to emulate a real
      chaincode without the storage or network requirements.
      Unit test examples for chaincode_example02 to 05.
      
      I have another changeset to address tables and certificates.
      
      Change-Id: I37d6115781436e080a70d5c48c1128ee01fef3ba
      Signed-off-by: default avatarBradley Gorman <bgorman@au1.ibm.com>
      23afd056
  12. 12 Aug, 2016 1 commit
    • Gabor Hosszu's avatar
      Fix failing utils unit test · d9596b4c
      Gabor Hosszu authored
      
      
      This commit fixes a test:
      - fixes function names (no UUID but TxID)
      - a SHA256 hash is 256 long, not 36 like the old
        UUID was
      - fixes datatype in function that generates ID
        using custom algorithm
      
      Change-Id: I63e096c41034278be5aa8651de3b4352ee7b378c
      Signed-off-by: default avatarGabor Hosszu <gabor@digitalasset.com>
      d9596b4c
  13. 11 Aug, 2016 1 commit
  14. 10 Aug, 2016 3 commits
  15. 08 Aug, 2016 3 commits
  16. 06 Aug, 2016 2 commits
  17. 04 Aug, 2016 1 commit
  18. 03 Aug, 2016 1 commit
    • Srinivasan Muralidharan's avatar
      re-enable sending of chaincode events · 6daedfd6
      Srinivasan Muralidharan authored
      
      
      Chaincode events were originally stored in TransactionResults
      in NonHashData(see fabric.proto). TransactionResults was removed as
      part of removing error transactions from ledger which broke
      sending of chaincode events. This is fixed in the patch which
      stores chaincode events directly in NonHashData. Sample is also
      enhanced.
      
      Change-Id: Ifee8facb2e4760e878f15716af0e48346536c476
      Signed-off-by: default avatarSrinivasan Muralidharan <muralisr@us.ibm.com>
      6daedfd6
  19. 02 Aug, 2016 1 commit
    • sheehan's avatar
      Recompile proto files. · 967b72c1
      sheehan authored
      
      
      The proto build script was broken with the introduction of Java chaincode.
      PR #2162 resolved this and simplified the script.
      Due to the script simplification, there were a few changes in the .pb.go
      files after they were recompiled.
      It was also necessary to change the package name of dah.proto
      to avoid compile errors after compiling with the updated script.
      
      Change-Id: Ie009c0b790db859e356645dd204082641ee7eab5
      Signed-off-by: default avatarSheehan Anderson <sheehan@us.ibm.com>
      967b72c1
  20. 01 Aug, 2016 1 commit
    • grapebaba's avatar
      Refactor db package · 9544025c
      grapebaba authored
      
      
      Currently db will open when GetDBHandle method is invoked first time,
      so GetDBHandle method needs to use mutex.
      This patch makes db open and close in its lifecycle methods Start and
      Stop, invokes Start only when peer starts and invokes Stop when peer
      stops.
      After that, methods in db do not need to support concurrency.
      
      Change-Id: Id8612f2a846c5d626bd42c5cd4ae482076f6a975
      Signed-off-by: default avatargrapebaba <281165273@qq.com>
      9544025c
  21. 31 Jul, 2016 2 commits
  22. 30 Jul, 2016 1 commit
  23. 28 Jul, 2016 1 commit
  24. 26 Jul, 2016 1 commit