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
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
michelescarlato
@michelescarlato
these are the screenshots when I tried to run 10 nodes
image.png
image.png
image.png
this last screenshot is related to the file/root/ .tendermint/config/config.toml, which is generated after the execution of /home/tendermint/tendermint init
michelescarlato
@michelescarlato
do you think it is possible that there is the need to change some parameter which is avoiding to run topologies with more than 3 or 4 nodes ?
Ada922
@Ada922

I have been following this blockchain project called Algorand and they have just announced a really interesting program for developers.

You can become a developer ambassador and receive grants to help you build something on their network. If you have been on the fence about blockchain, I think this is a pretty cool opportunity to explore and get some rewards during quarantine :).

Highlights of the program:

i) Dev Grants: Right to apply for $35 Million Algorand Dev Grants

ii) DevAms Rewards: ($1000-$2000+) per mo for creating Tutorials and Coding Solutions

iii) Exclusive Algorand Developer Portal: with JavaScript, Python, Java, Golang Tutorials, Full scale blockchain tools & Templates

iv) Network: directly with Algorand's Engineering team and developers from across 50+ countries

v) Take part in free coding webinars, training sessions and community hackathons

vi) Join Algorand Official Forum and Discord

Check it out! https://community.algorand.org/ambassadors

David Dashyan
@zzappie
Hi @michelescarlato! I only ran it for 4 nodes networks. I don't think this is the case... This is kind of strange because error occurs before you run tendermint. You just creating config files on each node. Then contents are fed back to ansible that runs script to aggregate results and push again to the nodes.
@michelescarlato are you sure it is located in /root/.tendermint? Because it supposed to be in /home/tendermint/.tendermint
David Dashyan
@zzappie
@kishorgarkal Hi! Nope we have not planned to develop a Swift driver. I don't think we have experienced iOS developers around actually but you are welcome to ask any question here. Report back, share your progress
kishor Garkal
@kishorgarkal
@zzappie can you share me proper development documentation which used for java driver ? you have that documentation ???
David Dashyan
@zzappie
@kishorgarkal noo :) Check out the readme file. Otherwise inspect python driver docs
Here is the tools docs index
http://docs.bigchaindb.com/projects/server/en/latest/drivers-clients/index.html?highlight=java#drivers-tools