Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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...
Ivan Kotelnikov
@eternalflow
image.png
@zzappie
I was hacking around bigchaindb-node-ansible
it almost works for me now, but still falls on "postconfig" step
This strange error always shows up for subset of nodes and I can't figure out why
michelescarlato
@michelescarlato
@eternalflow can you post the network.yml for those nodes ?
David Dashyan
@zzappie
@aayushm72 You can use bigchaindb server query api for that. There is last_tx option just for this purpose
@pdelgadohurtado What do you mean by distribute at database-level? Every node has it's local database, but all communication is done via Tendermint. Here is a nice picture --
David Dashyan
@zzappie
@pdelgadohurtado /bigchaindb/bigchaindb/backend/README.md - you may find this one useful.
David Dashyan
@zzappie
@eternalflow Hey. This is indeed strange. This error means that one of these commands didn't work as expected:
- name: Register genesis time
  shell: |
    cat /home/{{ tendermint_user }}/.tendermint/config/genesis.json | jq .genesis_time
  register: genesis_time
  become: yes

- name: Register chain id
  shell: |
    cat /home/{{ tendermint_user }}/.tendermint/config/genesis.json | jq .chain_id
  register: chain_id
  become: yes
@eternalflow I suggest trying to print out genesis_time and chain_id values to see whats going on -- see https://docs.ansible.com/ansible/latest/modules/debug_module.html
David Dashyan
@zzappie
@eternalflow or just comment out some steps and ssh into machine causing problems and see whether tendermint binary is in place and what are results of "tendermint init"
Scott Guyton
@kiljoy001
@zzappie would it be correct to commit data onchain and then when a client retrives / queries data it is checking the mongodb instance for it?
David Dashyan
@zzappie
@kiljoy001 I duno :) You mean could there be a situation when data is already on-chain but not yet present in mongo?
Scott Guyton
@kiljoy001
@zzappie yeah, that's basically what I was wondering
James Rolfe
@Jnrolfe
Screen Shot 2020-04-13 at 00.26.00.png
Hi everyone. I am new to BigchainDB and am having trouble setting up a local dev node. I followed the steps here: https://docs.bigchaindb.com/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.html after cloning the master the branch of the repo here: https://github.com/bigchaindb/bigchaindb . Whenever I spin up the containers (using docker-compose) I get the following error from the bigchaindb container which then causes the tendermint container to fail after retries. Any help would be appreciated. Thanks!
David Dashyan
@zzappie
@Jnrolfe Hi! Oooh bad. This affects all bighchaindb installations right now. It caused by recent gevent API update. Ill make an update ready today. Right now you can fix the bigchaindb-abci gevent dependency to "gevent==1.3.7" in setup.py
David Dashyan
@zzappie
@kiljoy001 If you check out the /bigchaindb/bigchaindb/core.py there is a 'commit' method that us used to commits a block to the Tendermint. There you'll find that transactions are stored in Mongodb self.bigchaindb.store_bulk_transactions(self.block_transactions) just before they are committed
@kiljoy001 BTW checkout the /bigchaindb/docs/server/source/events/websocket-event-stream-api.rst
David Dashyan
@zzappie
@Jnrolfe The fix is now in bigchaindb-abci-update branch.
James Rolfe
@Jnrolfe
@zzappie Thanks!
Jürgen Eckel
@eckelj
@zzappie /all I just reviewed and deployed the packages that fix the gevent issue mentioned by @zzappie BigchainDB comes now in version 2.2.1