Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Scott Guyton
@kiljoy001
will each observertory have it's own private key ?
michelescarlato
@michelescarlato
Yes, that 's the logic
Scott Guyton
@kiljoy001
ok, that's fine - it's all about the key and the assets tied to it
so basically what you need to do is to figure out how to get a list of all assets per a key
michelescarlato
@michelescarlato

anyway, your answer explain the logic to adopt, but regarding the implementation of a demonstrator still I don't see it.

Until now I am using mongodb to query the results, do you have any idea if I can decrypt data directly viewing the results on mongodb ?

Which method will you use to retrieve the data?
Scott Guyton
@kiljoy001
well for me, I would use the driver. Let me see
Ok,
here is what I would do
Scott Guyton
@kiljoy001
I would create a name entry as name value pair in the asset. This will allow you to search by name of the observertory. You can still keep the values encrypted but you will still need a way to retrieve the data once it's added. Also, another way would be to record the transaction id and store that in conventional database but I think that's less than ideal.
Thus far I've just been using the python driver for searching for data, and it seems the javascript driver has a somewhat identical way of doing the same
I couldn't see a built in way to search for your assets via your own key. If there is a dev here can they answer this? I think it's a basic function that should be included in the driver or at least an example of how to do it would be nice.
michelescarlato
@michelescarlato

Ok, probably adding as a metadata the name of the observatory, can be a good technique, and I will encrypt the asset.

BUT, do you have any idea on how to decrypt all the data, and eventually how to organize them ?
I mean, once I have access to all the transaction that are related to the metadata "observatory Sardinia", which are the following steps ?

Scott Guyton
@kiljoy001
hm
Scott Guyton
@kiljoy001
I would use this: https://github.com/openpgpjs/openpgpjs/
and the the Encrypt and decrypt String data with PGP keys example. The pgp keys would be used for the encrypt / decrpyt of the data. I don't think that bigchaindb has a encrypt/decrypt for data baked in
michelescarlato
@michelescarlato
so do you think I cannot use the same pair private/public that I created for a specific user with bigchaindb ?
Scott Guyton
@kiljoy001
I don't see it in the docs, I would assume it's not a feature.
michelescarlato
@michelescarlato
Ok Scott ... thank you.
Do you know if there is a way to talk with a Dev to ask directly this question ?
Scott Guyton
@kiljoy001
I do not. But try emailing contact@ipdb.global someone might answer
they really need to get some devs up in here though
Ivan Kotelnikov
@eternalflow
hi
Is there a working 4-node docker deployment script ?
(for bdb2.0+tendermint v0.31.5)
Ivan Kotelnikov
@eternalflow
@kiljoy001
i want to test consensus and mechanism of extending validators list locally
michelescarlato
@michelescarlato
Guys, I have a big question, anyone knows if the CRAB model is functioning also in version 2 ?
SrdjanStevanetic
@SrdjanStevanetic
Hi all, could anyone share some information regarding this question: How many nodes can participate in a BigchainDB PBFT network before the transaction rate is reduced – and, what is the network traffic that is produced in these networks? As far as I understood the performance is mostly determined by the Tendermint nodes performance, right? Thanks a lot.
fanjianhang
@fanjianhang
@eternalflow hmm, as far as i know, there is not a 4-nodes docker deployment script from officail docs, but you could try k8s.
Ivan Kotelnikov
@eternalflow
@fanjianhang actually there is. it is called stack.sh, but I can't make it work
Scott Guyton
@kiljoy001
I was able to get four nodes to run using the instructions, I can't confirm about the data being replicated on each node yet.
Scott Guyton
@kiljoy001
image.png
Ivan Kotelnikov
@eternalflow
@kiljoy001 I got exactly the same result. And the thing here is that docker ps -a will show you 4 more tendermint containers immediately stopped with an error (docker logs <container short hash> will show some error log)
I was not able make them up for some days, that’s why I’m here :)
Scott Guyton
@kiljoy001
well, I'm in the same place you are. When I get a chance, i'll dig into it. Doing some programing test so I can get a job
Ivan Kotelnikov
@eternalflow
I will give it another try and deploy 4 nodes on different servers by hand. Hope it will work then. Because 1 node (mongo, bdb, tendermint) is running and all is ok
@kiljoy001 wow, what is the company with such a handy test?
Scott Guyton
@kiljoy001
it's some contrackt with M$
fanjianhang
@fanjianhang
@eternalflow i thought you want to deploy 4 nodes in different servers, and you just try it now, if you success, just share with me, thank you
David Dashyan
@zzappie
Hi @michelescarlato! Just got your mail before catching up here. Private data management is very requested feature we are definitely going to implement at some point. In addition to @kiljoy001 there is also possibility to store transaction data hashes in asset and global identifier pointing to some storage that you have authenticate to gain access.
@eternalflow there is bigchaindb-node-ansible script. You can use it to bring up the network with arbitrary number of nodes given you have ssh and root access to them
Scott Guyton
@kiljoy001
@zzappie are you a dev on the bigchaindb project?
David Dashyan
@zzappie
@kiljoy001 I am. But not part of bigchaindb gmbh team tho.
Scott Guyton
@kiljoy001
@zzappie is there a clear and definative set of instructions to get a quorum (4) of nodes running ? I and a few others have been trying the stack.sh script, but after the setup, it shows that tendermint is down. So far it seems this is the main roadblock for a lot of folks
David Dashyan
@zzappie
@kiljoy001 Could you point me to exact error? I'd suggest using node-bigchaindb-ansible script for testing at the moment it. It is quick and dirty but straightforward and it works. there is ipdb-guix repo for unified production+development+testing+ci deployments that will just work (c) and easy to use on any linux distro. It is not complete yet.
Scott Guyton
@kiljoy001
image.png
@zzappie
the error is above - some sort of segfault
Zaynsysu
@Zaynsysu
hello. is there anybody who found the searchAssets (JavaScript API) doesn't support non-English text?
I use it to search Chinese text, but it doesn't work. I got no return result.