Skip to content

Releases: Akachain/akc-go-sdk

Release v1.0.11

08 Dec 09:23
Compare
Choose a tag to compare

Fix go module problems

23 Dec 11:23
e196b30
Compare
Choose a tag to compare
Merge pull request #33 from Akachain/release-1.0.8

Release 1.0.8

Rework dbHandle

23 Dec 09:24
47a1c20
Compare
Choose a tag to compare

This release complete the rework job of util/dbHandle.

  • We changed from using Hyperledger Fabric couchdb util to statecouchdb.VersionedDB to correctly mimic how a peer perform endorse a transaction.

  • We change all DB write action to VersionedDB.ApplyUpdates to mimic the transaction batch write process to stateDB

hot fix dependency

25 Oct 08:46
Compare
Choose a tag to compare
hot fix dependency Pre-release
Pre-release

Fix dependency for v1.0.8

Add UpdateExistingData

25 Oct 08:45
Compare
Choose a tag to compare
Pre-release

Problem

The current Changeinfo function in daoHandle uses InsertTableRow requiring the engine to perform a GetState before PutState. In some case, we have already performed GetState before (e.g. to check a user balance before deducing his balance). Thus, the current Changeinfo creates an extra GetState to the state database.

Update

We add other functions in utils: UpdateExistingData and UpdateTableRow so that the engine performs PutState directly without checking the state again.

unit test for partial key query

21 Aug 03:01
Compare
Choose a tag to compare

Add unit test supports for those 2 functions:

  • GetStateByPartialCompositeKey
  • GetStateByPartialCompositeKeyWithPagination

Hot fix akcQueryIterator

15 Aug 09:10
Compare
Choose a tag to compare

Add Close() function for AkcQueryIterator

Change MockStubExtend query behavior

15 Aug 02:59
Compare
Choose a tag to compare

We change MockStubExtend query behavior to query directly from couchdb.
Previously the mock object stores key-value data in an array, which is not consistent with the real Fabric behavior.

Add delete state in couchdb

01 Aug 09:45
Compare
Choose a tag to compare
v1.0.6

Add delete state

Add support for customized couchdb connection string

01 Aug 04:31
Compare
Choose a tag to compare

Previous version only supports localhost couchdb,
we add a new function to support external databases as well