Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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
So you have to iterate over transactions and collect public keys
David Dashyan
@zzappie
Note that validators are tndermint network validators so their public keys are not those created with generate_keypair() by driver users
Scott Guyton
@kiljoy001
@zzappie thanks!
Ada922
@Ada922

"Join Silvio Micali - Turing award winner and ALGO team for Co-Chains Webinar On 7th April - 8:15 AM EDT. Co-chains are:

i) Private, permissioned with own set of validators built for enterprises
ii) Retain all benefits of ALGO permissionless chain i.e L1 security, high thoroughput, unforkability, L1 assets, smart contracts & swaps
iii) Interoperates public chain with other private chain members
iv) Differ significantly from Cosmos, PolkaDOT, Kadena

Join AMA through --> https://register.gotowebinar.com/register/8331164936233098251 "

Scott Guyton
@kiljoy001
@Ada922 what does this have to do with bigchaindb?
michelescarlato
@michelescarlato

@zzappie

It means that there is no automatic way to keep track of who has a pair of key?

How can an organization be sure that a particular transaction is belonging to a specific person?

Which approach do you suggest in order to keep track of the issued keys?

David Dashyan
@zzappie
@michelescarlato You can query mongodb. I suggest reading bigchaindb/docs/root/source/query.rst you will find link to other resources. At the moment It is up to node operator. I am not 100% sure maybe in some branch there was an effort to expose public keys I haven't heard of
You can make a feature suggestion and we will consider it at some point
aayushm72
@aayushm72
Hi! I'm trying to do the following, CREATE -> TRANSFER -> TRANSFER -> TRANSFER ->.....but the Transfer transactions happen at a later time, how do i get the transaction id of the latest transaction involving that asset?
pdelgadohurtado
@pdelgadohurtado
Hi guys, i wanna know how BigChainDb distribute the information at database-level ? Where i can find information about this...