|
CouchDB filter and pagination with views and lists
#couchdb
#database
#fabric
Hi everyone. We are trying to build an application in HL Fabric with CouchDB and Golang, and it has grown a bit too much, and now we have many data types where we need to make join equivalents in the
Hi everyone. We are trying to build an application in HL Fabric with CouchDB and Golang, and it has grown a bit too much, and now we have many data types where we need to make join equivalents in the
|
By
milton.sesarego@...
· #9825
·
|
|
How to perform a "JOIN" using couchdb
#couchdb
#database
FYI: we are working with the GO SDK, and we have a struct with idCategory (integer) and another structure with the idCategory and its value. I need to "join" the result. Maybe the solution is not rela
FYI: we are working with the GO SDK, and we have a struct with idCategory (integer) and another structure with the idCategory and its value. I need to "join" the result. Maybe the solution is not rela
|
By
...
· #9802
·
|
|
How to perform a "JOIN" using couchdb
#couchdb
#database
Hi. My name is Rodrigo and I am starting with HF (v2.2). Can someone point me a link about how to perform a JOIN (the equivalent map-reduce) using couchdb? I need a doc, an example, something (I googl
Hi. My name is Rodrigo and I am starting with HF (v2.2). Can someone point me a link about how to perform a JOIN (the equivalent map-reduce) using couchdb? I need a doc, an example, something (I googl
|
By
...
· #9801
·
|
|
#fabric #database #couchdb #fabric-chaincode #hyperledger-fabric
#fabric
#database
#couchdb
#fabric-chaincode
#hyperledger-fabric
The second version of the chaincode would have to support both the old and new data. There are various approaches possible: You could attempt to unmarshal the JSON using new data structure, and if it
The second version of the chaincode would have to support both the old and new data. There are various approaches possible: You could attempt to unmarshal the JSON using new data structure, and if it
|
By
David Enyeart
· #8775
·
|
|
#fabric #database #couchdb #fabric-chaincode #hyperledger-fabric
#fabric
#database
#couchdb
#fabric-chaincode
#hyperledger-fabric
I've a query on how we need to deal with data structure changes in chaincode. Lets say, you have deployed the chaincode in production and lot of data stored in ledger and world state db(Couchdb). If y
I've a query on how we need to deal with data structure changes in chaincode. Lets say, you have deployed the chaincode in production and lot of data stored in ledger and world state db(Couchdb). If y
|
By
keerthycbe@...
· #8773
·
|
|
How to verify that a state in the couchdb matches a transaction in the blockchain?
#fabric-sdk-node
#database
#fabric-questions
Thanks Matthew! I didn't know decoding it was so easy. By any chance, do you know how to get a block and decode it via APIs instead of CLI?
Thanks Matthew! I didn't know decoding it was so easy. By any chance, do you know how to get a block and decode it via APIs instead of CLI?
|
By
stpcmferiwbtnundnx@...
· #8669
·
|
|
How to verify that a state in the couchdb matches a transaction in the blockchain?
#fabric-sdk-node
#database
#fabric-questions
Thanks David! Will probably do your first pair of suggestions as it is the easiest to do for now. I'll be looking forward to the new snapshot feature though.
Thanks David! Will probably do your first pair of suggestions as it is the easiest to do for now. I'll be looking forward to the new snapshot feature though.
|
By
stpcmferiwbtnundnx@...
· #8668
·
|
|
How to verify that a state in the couchdb matches a transaction in the blockchain?
#fabric-sdk-node
#database
#fabric-questions
It is recommended to use endorsement policy > 1 to ensure that multiple peers are in agreement for each transaction. Similarly you can query multiple peers if the state is in doubt. This will protect
It is recommended to use endorsement policy > 1 to ensure that multiple peers are in agreement for each transaction. Similarly you can query multiple peers if the state is in doubt. This will protect
|
By
David Enyeart
· #8466
·
|
|
How to verify that a state in the couchdb matches a transaction in the blockchain?
#fabric-sdk-node
#database
#fabric-questions
The value is base64 encoded, not encrypted. The value is represented as bytes and base64 is how bytes are represented in JSON. Your value is decoded as: {"class":"aipay.payment","key":"\"0004_workstat
The value is base64 encoded, not encrypted. The value is represented as bytes and base64 is how bytes are represented in JSON. Your value is decoded as: {"class":"aipay.payment","key":"\"0004_workstat
|
By
Matthew Sykes
· #8464
·
|
|
How to verify that a state in the couchdb matches a transaction in the blockchain?
#fabric-sdk-node
#database
#fabric-questions
In case of disputes, we need to provide assurance to our client that items in the couchdb are not manipulated and thus backed by transactions in the blockchain, which is secure and trusted by both par
In case of disputes, we need to provide assurance to our client that items in the couchdb are not manipulated and thus backed by transactions in the blockchain, which is secure and trusted by both par
|
By
stpcmferiwbtnundnx@...
· #8461
·
|
|
Peers with different heights
#fabric
#database
#consensus
In addition to CORE_PEER_GOSSIP_EXTERNALENDPOINT for exposing the peer endpoints to other orgs, make sure you understand how anchor peers are configured to bootstap the cross-org communication: https:
In addition to CORE_PEER_GOSSIP_EXTERNALENDPOINT for exposing the peer endpoints to other orgs, make sure you understand how anchor peers are configured to bootstap the cross-org communication: https:
|
By
David Enyeart
· #7154
·
|
|
Peers with different heights
#fabric
#database
#consensus
Hi Dave, You are right and thank you for sending the lines of the default behaviour. After some investigations, I think I'm missing CORE_PEER_GOSSIP_EXTERNALENDPOINT. I have CORE_PEER_GOSSIP_BOOTSTRAP
Hi Dave, You are right and thank you for sending the lines of the default behaviour. After some investigations, I think I'm missing CORE_PEER_GOSSIP_EXTERNALENDPOINT. I have CORE_PEER_GOSSIP_BOOTSTRAP
|
By
Joao Antunes
· #7151
·
|
|
Peers with different heights
#fabric
#database
#consensus
'peer node reset' should only be used if you suspect your peer's data is corrupted - it resets all channels to genesis block so that peer can re-pull/re-process blocks, but wouldn't change block disse
'peer node reset' should only be used if you suspect your peer's data is corrupted - it resets all channels to genesis block so that peer can re-pull/re-process blocks, but wouldn't change block disse
|
By
David Enyeart
· #7150
·
|
|
Peers with different heights
#fabric
#database
#consensus
Another note regarding this: Currently org2 is way more active in terms of gossip. Org1 is really "inactive". Org1 logs: 2019-11-07 12:51:40.979 UTC [gossip.discovery] periodicalSendAlive -> DEBU 1ae6
Another note regarding this: Currently org2 is way more active in terms of gossip. Org1 is really "inactive". Org1 logs: 2019-11-07 12:51:40.979 UTC [gossip.discovery] periodicalSendAlive -> DEBU 1ae6
|
By
Joao Antunes
· #7146
·
|
|
Peers with different heights
#fabric
#database
#consensus
Hi, Just making a small update. I received another answer that suggested to do a peer node reset: Took a backup of peer docker container Took a backup of respective couchdb's data Stopped the chaincod
Hi, Just making a small update. I received another answer that suggested to do a peer node reset: Took a backup of peer docker container Took a backup of respective couchdb's data Stopped the chaincod
|
By
Joao Antunes
· #7145
·
|
|
Peers with different heights
#fabric
#database
#consensus
Meant to say "Restart the two peers in org1"... Dave Enyeart "David Enyeart" ---11/06/2019 08:07:14 PM---Often times issues like this are related to gossip misconfiguration. Restart the two peers in o
Meant to say "Restart the two peers in org1"... Dave Enyeart "David Enyeart" ---11/06/2019 08:07:14 PM---Often times issues like this are related to gossip misconfiguration. Restart the two peers in o
|
By
David Enyeart
· #7138
·
|
|
Peers with different heights
#fabric
#database
#consensus
Often times issues like this are related to gossip misconfiguration. Restart the two peers in org2 and then look at the peer logs. You should see some messages like this if everything is working well:
Often times issues like this are related to gossip misconfiguration. Restart the two peers in org2 and then look at the peer logs. You should see some messages like this if everything is working well:
|
By
David Enyeart
· #7137
·
|
|
Peers with different heights
#fabric
#database
#consensus
Hi to all, Currently, in my setup, I have 2 organizations with 2 peers each. Also have 2 Orderers, one per each organization, and a CA per Organization too. They have a Kafkas and Zookeepers consensus
Hi to all, Currently, in my setup, I have 2 organizations with 2 peers each. Also have 2 Orderers, one per each organization, and a CA per Organization too. They have a Kafkas and Zookeepers consensus
|
By
Joao Antunes
· #7129
·
|
|
How to configure Fabric CA with MySQL or PostgreSQL?
#fabric-ca
#ssl
#database
From the error, I assume you are trying to connect to MySQL over TLS. Looks like MySQL auto-generated a server certificate with a Common Name or SAN of "MySQL_Server_8.0.17_Auto_Generated_Server_Certi
From the error, I assume you are trying to connect to MySQL over TLS. Looks like MySQL auto-generated a server certificate with a Common Name or SAN of "MySQL_Server_8.0.17_Auto_Generated_Server_Certi
|
By
...
· #6958
·
|
|
How to configure Fabric CA with MySQL or PostgreSQL?
#fabric-ca
#ssl
#database
Hey, I was trying to configure Fabric-CA with mysql and PostgreSQL for using LDAP. I'm not able to initialize the db due to some ssl certificate issue. And when I start my fabric-ca-server then these
Hey, I was trying to configure Fabric-CA with mysql and PostgreSQL for using LDAP. I'm not able to initialize the db due to some ssl certificate issue. And when I start my fabric-ca-server then these
|
By
trinayanbhatt1@...
· #6956
·
|