- 03 Feb, 2017 1 commit
-
-
manish authored
https://jira.hyperledger.org/browse/FAB-2022 This changes introduced by this CR - Moves the block storage code from package core/ledger/blkstorage to common/ledger/blkstorage - Splits the ledger_interface.go so as to move common interfaces and data type to common/ledger package - Moves some of the util functions to common/ledger package - Moves core/ledger/ordererledger package to orderer/ledger/fsledger orderer folks can futher rename/refactor this as seems suitable to them Change-Id: I759e16f00dc2ec9bb62196121083cf48eae76948 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 27 Jan, 2017 1 commit
-
-
denyeart authored
QSCC GetTransactionByID should return a Transaction Envelope, not a Transaction. The Envelope contains the signature and Payload, which contains the transaction header and Transaction. Clients will want the transaction header information when retrieving the transaction. They may also want the signature to verify that the transaction hasn't changed since the time they submitted it. The return type will change from Transaction proto to Envelope proto. Change-Id: I1de238035c3b6cd00abb3ed8506c54566ee0f2b0 Signed-off-by:
denyeart <enyeart@us.ibm.com>
-
- 17 Jan, 2017 1 commit
-
-
manish authored
https://jira.hyperledger.org/browse/FAB-1664 This changeset: - Renames package ledger/util/db to ledger/util/leveldbhelper - Implements a leveldb provider (that enables using same leveldb instance as a multiple logical dbs) in util package for being able to reuse across statedb, index, and later for historydb - Implements a provider as a single point of invocation for managing multiple block storage - Uses a single leveldb instance for block storage index - Makes the structures other than providers as private to their respective packages Change-Id: I5f0b3b9aa8ef3ac1ccdce4f3c6fa6d842b5318c1 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 13 Dec, 2016 1 commit
-
-
Mari Wade authored
Add a new ledger blockstorage index for History that will map (blocknum,trannum) to the file storage location for this block transaction This index will be used for the API GetTransactionsForKey() for (chaincode1,key1). It will do a key range query on chaincode1~key1 to pick up all chaincode1~key1 records. Results will indicate the set of (blocknum,trannum) transactions that updated this key. Change-Id: I81da09e5526d7e2966634c78a03d34011d514442 Signed-off-by:
Mari Wade <mariwade@us.ibm.com>
-
- 10 Dec, 2016 1 commit
-
-
denyeart authored
Passing math.MaxUint64 to GetBlockByNumber() will return the last block. Change-Id: I110271ee6159544f7da216d2337271ea2aac23ff Signed-off-by:
denyeart <enyeart@us.ibm.com>
-
- 01 Dec, 2016 1 commit
-
-
manish authored
https://jira.hyperledger.org/browse/FAB-1201 Change-Id: I34f7f56887c25dae712188a50e8bdcd13ae619d2 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 27 Nov, 2016 1 commit
-
-
Srinivasan Muralidharan authored
NOTE - Removing of old proto.Transaction is the cause for the large change set. It affects chaincode framework and all users of the framework such as endorser, system chaincodes, unit tests etc. Transaction2 is renamed to Transaction. Response2 is renamed to Response. Message2 is renamed to Message. The changes are fully described in https://jira.hyperledger.org/browse/FAB-1198 Summary ======= . Remove old Transaction and rename Transaction2 . Cleanup of Chaincode protobuf message . Add TxID for SDK and higher layers to optionally set (currently errors if not set) ChaincodeMessage removes QUERY and QUERY_CHAINCODE enums. Shim interface does not enforce Query or QueryChaincode. chaincode_example02 and 05 implement Query function via the Invoke implementation. The "noop" system chaincode is removed . it was using Transaction which is not an endorser artifact any longer . there are many system chaincodes to that thoroughly test sys chaincode functions Change-Id: Ib77b7e5a6756eac47e888309816076580ae505e7 Signed-off-by:
Srinivasan Muralidharan <muralisr@us.ibm.com>
-
- 11 Nov, 2016 1 commit
-
-
Srinivasan Muralidharan authored
https://jira.hyperledger.org/browse/FAB-1035 Just a reorg of the files in keeping with creation of "common" and "orderer" package files with corresponding import changes. A final cleanup of removing unused messages and renaming "2" suffixed protos needs to be done as a final cleanup Change-Id: I81cfa970ca5b4ff668dd70247117bd4e34548ad5 Signed-off-by:
Srinivasan Muralidharan <muralisr@us.ibm.com>
-
- 28 Oct, 2016 1 commit
-
-
manish authored
Raw ledger provides basic functionality for storing and retrieving blocks. This is intended to be used by an orderer service https://jira.hyperledger.org/browse/FAB-56 Change-Id: I3fb733f5be53b6f630c20554ba4e362540b8f55a Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 26 Oct, 2016 1 commit
-
-
Srinivasan Muralidharan authored
FAB-853 Ledger is removed from . core/peer/peer.go . core/rest/api.go Ledger package itself is removed. "ledgernext" is replaced with "ledger". Change-Id: Ie7dfbd9bf94afa0031aef759fc46929e4fb3b400 Signed-off-by:
Srinivasan Muralidharan <muralisr@us.ibm.com>
-
- 15 Sep, 2016 1 commit
-
-
manish authored
This includes structure of the new code conforming to new architecture and a basic working implementation. Change-Id: I885e122c0001ff82301cd1448a7ddad80db931b0 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 25 Aug, 2016 1 commit
-
-
Gregory Haskins authored
This patch introduces a more robust versioning mechanism, summarized as follows: 1) The top-level makefile defines $PROJECT_VERSION which is intended to be consumed throughout (though some places are left for a future patch) 2) The variable is expected to use Semantic Versioning with X.Y.Z for releases, and X.Y.Z-SNAPSHOT for intermediate development builds. 3) We bake the $PROJECT_VERSION into the binaries (peer and membersrvc) at compile time and remove the yaml configuration that attempted to provide competing versioning. 4) We tag our docker images (except for baseimage, that will be addressed later) with :$(ARCH)-$(PROJECT_VERSION), suitable for unambiguous long term hosting on something like dockerhub. 5) We add support for dynamically parsing yaml-based Dockerfile definitions to support variable subsitution. This allows the yaml to set a Dockerfile definition with something like "FROM foo:$(ARCH)-$(PROJECT_VERSION)" and the variables will resolve at runtime based on the context it runs under. This is all as a first step in supporting a more reasonable release mechanism in general, and a docker-based release mechanism in particular. Change-Id: Ic6df02be4046ca5dbb256f26658a4c393da55c0f Signed-off-by:
Greg Haskins <gregory.haskins@gmail.com>
-
- 26 Jul, 2016 1 commit
-
-
Christopher Ferris authored
Copied from commit sha 346f9fb448140e931fed73b46f528de6dacbc0d0 to Gerrit. Verified that all DCO signoff received or IBM contribution. Change-Id: I812a2f48382a3cd37e153cd056d0ea94b7f416a0 Signed-off-by:
Christopher Ferris <chrisfer@us.ibm.com>
-