1. 24 Oct, 2016 1 commit
    • Srinivasan Muralidharan's avatar
      FAB-631 WIP - pared down peer for next arch work · 9eb99b3f
      Srinivasan Muralidharan authored
      
      
      Following skeletal end to end flow work, this submit
      takes the next steps for Endorser/Committer
        . converts chaincode and endorser to ledgernext
        . removes consensus package
        . chaincode unit tests use ledgernext
        . panics if ledger.GetLedger is called so we
          can catch codepaths that still use that. These
          are mainly core/api and core/peer
        . removes unit tests from core/api and core/ledger
          (to avoid GetLedger calls there)
        . created a minimal core/peernext. core/peer is
          still there for comparison but is not used
      
      Change-Id: I2627e0000e960e1aa66d27ff5ec60a38c4bb7eea
      Signed-off-by: default avatarSrinivasan Muralidharan <muralisr@us.ibm.com>
      9eb99b3f
  2. 23 Oct, 2016 1 commit
  3. 03 Oct, 2016 1 commit
  4. 19 Sep, 2016 2 commits
    • Gregory Haskins's avatar
      Use ccenv docker image rather than baseimage · 79b70e41
      Gregory Haskins authored
      
      
      We want baseimage to only be used as a mechanism to assist
      the build, not referenced at runtime.  Therefore, we
      convert most instances of "baseimage" to use "ccenv"
      (chaincode environment) since this is what they really want
      anyway.
      
      Note 1: A few instances (such as the UTXO example) did not have
      an obvious solution so I left those to be sorted out by
      the respective subsystem owners.
      
      Note 2: The GOLANG chaincode type is currently a little suboptimal
      in that the fabric-ccenv image loads the full fabric.git src
      at build time and then the runtime re-injects it.  In the future
      the build will only inject the golang shim and the runtime will
      only inject the chaincode.  For now, this is somewhat inefficient
      but ultimately still results in correct behavior.
      
      Change-Id: I7f025bfff147fcca0f29f1656c7f63adc7a17173
      Signed-off-by: default avatarGreg Haskins <gregory.haskins@gmail.com>
      79b70e41
    • Gregory Haskins's avatar
      Remove defunct peer.Dockerfile from *test.yaml · fb6f59ba
      Gregory Haskins authored
      
      
      This doesn't seem to be used any more, and we want to
      prepare for cleaning up references to baseimage later
      in the series.
      
      Change-Id: If68586b8b30c2d81a27be37cfd7d002300403d79
      Signed-off-by: default avatarGregory Haskins <gregory.haskins@gmail.com>
      fb6f59ba
  5. 25 Aug, 2016 1 commit
    • grapebaba's avatar
      Fix typo · 7db34517
      grapebaba authored
      
      
      As currently txId not use uuid, fix some typo to be consistent.
      Also fix some comments.
      
      Change-Id: Id6fb88aed3da7409f834ea38f5f485cc1f194092
      Signed-off-by: default avatargrapebaba <281165273@qq.com>
      7db34517
  6. 24 Aug, 2016 1 commit
  7. 23 Aug, 2016 2 commits
  8. 22 Aug, 2016 1 commit
    • grapebaba's avatar
      Change blockchainIndexer interface · 55027049
      grapebaba authored
      
      
      It would be cleaner to have a single interface method createIndexes(...)
      and let the two implementations (Sync and Async) deal with the inherent differences
      in implementation than require that the caller choose the correct method.
      
      Change-Id: Ia040c5aeee2c5fdd1b05cc6f7729931aa6d7d548
      Signed-off-by: default avatargrapebaba <281165273@qq.com>
      55027049
  9. 10 Aug, 2016 2 commits
  10. 08 Aug, 2016 1 commit
    • Gabor Hosszu's avatar
      Use SHA256 TXID instead of UUID · c950903f
      Gabor Hosszu authored
      
      
      This squashed changeset does the following:
       - It renames UUID to TXID in the code (Go/Java), in tests,
         in proto files, in all chaincode related files
       - It uses all the arguments of the chaincode to
         generate the TXID
      
      Change-Id: Iae6f1fb45c12c2652d9ad18451e75ea1f91fe9a3
      Signed-off-by: default avatarGabor Hosszu <gabor@digitalasset.com>
      c950903f
  11. 04 Aug, 2016 1 commit
  12. 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
  13. 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
  14. 31 Jul, 2016 1 commit
    • Christopher Ferris's avatar
      reassign port numbers to 7050-7-60 range · dad7a9d3
      Christopher Ferris authored
      reassign port numbers to 7050-7060 range to avoid conflicts with
      Windows port usage (5000). Fixes #2283
      https://github.com/hyperledger/fabric/issues/2283
      
      
      
      Port assignments as follows:
      7050 REST
      7051 peer gRPC
      7052 peer CLI
      7053 peer events
      7054 eCAP
      7055 eCAA
      7056 tCAP
      7057 tCAA
      7058 tlsCAP
      7059 tlsCAA
      
      NOTE: when this PR lands, it will require people to rebuild their Vagrant
      development environment(s), so we will want to make an announcement.
      
      Also @bcbrock recommended that we eventually seek a block of ports from IANA.
      We should hold off on that until we sort out Consensus next.
      
      Change-Id: I1e54d45589e155a69a2a779b1dac447d5473cf03
      Signed-off-by: default avatarChristopher Ferris <chrisfer@us.ibm.com>
      dad7a9d3
  15. 26 Jul, 2016 1 commit