by

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
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
kishor Garkal
@kishorgarkal
Hi, I am looking for iOS library for BigchainDb for iOS Application development ? is there any library available like Java,Nodejs,C# for Swift ,Objective C ?
kishor Garkal
@kishorgarkal
We are looking forward to develope new iOS app using bigchaindb library which will work similar to java library which is available on this bigchaindb official site https://www.bigchaindb.com/developers/getstarted/
kishor Garkal
@kishorgarkal
@zzappie
Scott Guyton
@kiljoy001
@kishorgarkal there are some community libraries for C#. There isn't a swift or objective C version that I know off
kishor Garkal
@kishorgarkal
@kiljoy001 is there any way to develope same feature library in objective c or in swift I am intrested to work on this if I got developer/community support for this development....I will try to implement this in swift ! I have tried Java and C library to use in Swift project but there are some more changes required in C and Java library to use in that Swift file due to lack of knowledge in bigchaindb library I am unable to proceed further in Java and C............Can Anyone help me in this scenario ????
Scott Guyton
@kiljoy001
Well, I think it's possible - I think a lot of the calls with the driver are actually based on mongodb, so you can look at the existing code base and re-implement it in your language of choice. It will be no small feat though.
kishor Garkal
@kishorgarkal
Okay @kiljoy001 ! I will try to build ! May Be I required support from you/community/team.I am here when ever I get problem In Swift library development....Thanks ....I will go through with library again....
or also tell me if @kiljoy001 anyone from bigchaindb team is allready developing this library....or in process
Scott Guyton
@kiljoy001
I don't know, I haven't heard anything about it. However, if you are set on building a mobile app, and need IOS, you might want to think about xamarin - you can build a cross platform app with it in C# and there is already a C# driver avaliable, so you don't have to re-invent the wheel, so to speak.
kishor Garkal
@kishorgarkal
@kiljoy001 we allready finalise development in native ios and native android only so finding solutions for the same now
Scott Guyton
@kiljoy001
Ah, no worries. Just thought I'd suggest it, since I knew about it.
kishor Garkal
@kishorgarkal
@kiljoy001 Thank you man...I hope you all are safe in COVID-19 pandemic...Stay home stay safe
Scott Guyton
@kiljoy001
Thanks, you too
michelescarlato
@michelescarlato

@eternalflow and @zzappie
I got the same error of eternaflow.

Essentially I am not able to run more than 4 nodes.
I was trying to run the ansbile script using 10 nodes, but most of the time only 3 nodes are able to sync.

this is a screenshot when I tried with 5 nodes
image.png