Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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.
It's would be great if anyone can give me some advices to solve this issue
Scott Guyton
@kiljoy001
@Zaynsysu I'm not 100% sure of this, but the search I think is built on mongodb's search so It might not be searching for unicode? I'm not sure.
David Dashyan
@zzappie
@kiljoy001 go segfault wow. I'll look into It.
Scott Guyton
@kiljoy001
@zzappie yeah it's weird. I thought go had GC...?
David Dashyan
@zzappie
@kiljoy001 It has an option to run unsafe code afaik.
Scott Guyton
@kiljoy001
does anyone know where I can find the node-bigchaindb-ansible script ?
michelescarlato
@michelescarlato

@zzappie thanks for your answer. Do you know where in mongodb private and public keys are stored ?

I am trying to understand how to implement my way to do private data management, in a demonstrator (for a conference paper).

My question is, is there any "list" of public keys accessible in mongoDB?
Is there anyway to query them, or to access these values having root privileges for accessing the database ?

michelescarlato
@michelescarlato

BigChainDB_ETIS_use_case.odt

I created that file,
so please refer to this version

David Dashyan
@zzappie
David Dashyan
@zzappie
Hi @michelescarlato. Unfortunately there is no public_key collection in mongodb. You can look at /bigchaindb/bigchaindb/backend/localmongodb/query.py for a quick reference. there are 'transactions', 'assets', 'metadata', 'blocks', 'utxos', 'validators', 'elections', 'pre_commit', 'abci_chains', collections