by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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
kishor Garkal
@kishorgarkal
@zzappie okay
michelescarlato
@michelescarlato
TASK [Assert ansible version] ***********************************************************************************************************************************************
ok: [192.168.100.200] => {
    "changed": false, 
    "msg": "All assertions passed"
}
ok: [192.168.100.201] => {
    "changed": false, 
    "msg": "All assertions passed"
}
ok: [192.168.100.202] => {
    "changed": false, 
    "msg": "All assertions passed"
}
ok: [192.168.100.203] => {
    "changed": false, 
    "msg": "All assertions passed"
}
ok: [192.168.100.204] => {
    "changed": false, 
    "msg": "All assertions passed"
}

TASK [preconfig : Users setup] **********************************************************************************************************************************************
changed: [192.168.100.204]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.200]
changed: [192.168.100.203]

TASK [preconfig : Update apt] ***********************************************************************************************************************************************
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.203]
changed: [192.168.100.201]
changed: [192.168.100.200]

TASK [preconfig : Install build requirements] *******************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.204]
ok: [192.168.100.201]
ok: [192.168.100.203]
ok: [192.168.100.202]

TASK [preconfig : Use the trusted NTP] **************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.204]
changed: [192.168.100.203]

TASK [preconfig : restart ntp] **********************************************************************************************************************************************
changed: [192.168.100.204]
changed: [192.168.100.203]
changed: [192.168.100.202]
changed: [192.168.100.201]
changed: [192.168.100.200]

TASK [mongodb : Add Mongo key] **********************************************************************************************************************************************
[WARNING]: Consider using the get_url or uri module rather than running 'wget'.  If you need to use command because get_url or uri is insufficient you can add 'warn: false'
to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.202]
changed: [192.168.100.204]

TASK [mongodb : Add ppa] ****************************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.202]
changed: [192.168.100.204]

TASK [mongodb : Update apt] *************************************************************************************************************************************************
[WARNING]: The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure
it does not change.

ok: [192.168.100.204]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.200]
ok: [192.168.100.203]

TASK [mongodb : Install mongodb] ********************************************************************************************************************************************
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.204]

TASK [python : Install python] **********************************************************************************************************************************************
ok: [192.168.100.204]
ok: [192.168.100.203]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.200]
TASK [python : Configure python for bigchaindb user] ************************************************************************************************************************
[WARNING]: Consider using 'become', 'become_method', and 'become_user' rather than running sudo

changed: [192.168.100.201]
changed: [192.168.100.200]
changed: [192.168.100.202]
changed: [192.168.100.203]
changed: [192.168.100.204]

TASK [tendermint : Configure tendermint user] *******************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.202]
changed: [192.168.100.203]
changed: [192.168.100.201]
changed: [192.168.100.204]

TASK [tendermint : Update apt] **********************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.204]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]

TASK [tendermint : Install go] **********************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.204]
ok: [192.168.100.203]
ok: [192.168.100.201]
ok: [192.168.100.202]

TASK [tendermint : Initialize tendermint] ***********************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [tendermint : Place systemd unit file] *********************************************************************************************************************************
ok: [192.168.100.202]
ok: [192.168.100.201]
ok: [192.168.100.204]
ok: [192.168.100.200]
ok: [192.168.100.203]

TASK [bigchaindb : Create BigchainDB environment] ***************************************************************************************************************************
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]

TASK [bigchaindb : Apply v2.0.0b9 fixes] ************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [bigchaindb : Install Bigchaindb] **************************************************************************************************************************************
changed: [192.168.100.201]
changed: [192.168.100.204]
changed: [192.168.100.200]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [bigchaindb : Apply v2.0.0b9 fixes step 2.] ****************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [bigchaindb : Bigchaindb configuration] ********************************************************************************************************************************
changed: [192.168.100.202]
changed: [192.168.100.203]
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.204]

TASK [bigchaindb : Configure log folder] ************************************************************************************************************************************
[WARNING]: Consider using the file module with state=directory rather than running 'mkdir'.  If you need to use command because file is insufficient you can add 'warn:
false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.204]
changed: [192.168.100.203]
TASK [bigchaindb : Place systemd unit file] *********************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.203]
ok: [192.168.100.202]
ok: [192.168.100.204]

TASK [nginx : Update apt] ***************************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Install nginx] ************************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Download bigchaindb nginx config.] ****************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Install ssl requirements] *************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Create cert directory] ****************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Generate certificate] *****************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Populate ssl directory] ***************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Edit nginx.conf] **********************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [postconfig : Connect nodes] *******************************************************************************************************************************************
included: /root/bigchaindb-node-ansible/roles/postconfig/tasks/network.yml for 192.168.100.200, 192.168.100.201, 192.168.100.202, 192.168.100.203, 192.168.100.204
TASK [postconfig : clear tendermint] ****************************************************************************************************************************************
[WARNING]: Consider using the file module with state=absent rather than running 'rm'.  If you need to use command because file is insufficient you can add 'warn: false' to
this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Register genesis time] ***********************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.202]
changed: [192.168.100.204]

TASK [postconfig : Register chain id] ***************************************************************************************************************************************
changed: [192.168.100.201]
changed: [192.168.100.200]
changed: [192.168.100.202]
changed: [192.168.100.204]
changed: [192.168.100.203]

TASK [postconfig : Set chain id custom] *************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.204]

TASK [postconfig : Register validator json string] **************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.204]
changed: [192.168.100.202]

TASK [postconfig : Set validator power] *************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.204]

TASK [postconfig : Register node id] ****************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Init variables] ******************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.204]
TASK [postconfig : Compile multi-host arguents] *****************************************************************************************************************************
ok: [192.168.100.200] => (item=192.168.100.200)
ok: [192.168.100.200] => (item=192.168.100.201)
ok: [192.168.100.201] => (item=192.168.100.200)
ok: [192.168.100.201] => (item=192.168.100.201)
ok: [192.168.100.200] => (item=192.168.100.202)
ok: [192.168.100.202] => (item=192.168.100.200)
ok: [192.168.100.202] => (item=192.168.100.201)
ok: [192.168.100.203] => (item=192.168.100.200)
ok: [192.168.100.201] => (item=192.168.100.202)
ok: [192.168.100.203] => (item=192.168.100.201)
ok: [192.168.100.204] => (item=192.168.100.200)
ok: [192.168.100.200] => (item=192.168.100.203)
ok: [192.168.100.202] => (item=192.168.100.202)
ok: [192.168.100.201] => (item=192.168.100.203)
ok: [192.168.100.204] => (item=192.168.100.201)
ok: [192.168.100.203] => (item=192.168.100.202)
ok: [192.168.100.200] => (item=192.168.100.204)
ok: [192.168.100.202] => (item=192.168.100.203)
ok: [192.168.100.201] => (item=192.168.100.204)
ok: [192.168.100.204] => (item=192.168.100.202)
ok: [192.168.100.203] => (item=192.168.100.203)
ok: [192.168.100.202] => (item=192.168.100.204)
ok: [192.168.100.204] => (item=192.168.100.203)
ok: [192.168.100.203] => (item=192.168.100.204)
ok: [192.168.100.204] => (item=192.168.100.204)

TASK [postconfig : Compile global arguments based on host 0] ****************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
fatal: [192.168.100.204]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'unicode object' has no attribute 'stdout'\n\nThe error appears to be in '/root/bigchaindb-node-ansible/roles/postconfig/tasks/network.yml': line 55, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Compile global arguments based on host 0\n  ^ here\n"}

TASK [postconfig : script] **************************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Enable services] *****************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Restart services] ****************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.202]

TASK [postconfig : Enable nginx] ********************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]

PLAY RECAP ******************************************************************************************************************************************************************
192.168.100.200            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.201            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.202            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.203            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.204            : ok=32   changed=18   unreachable=0    failed=1    skipped=10   rescued=0    ignored=0   

Runtime: 0:2:36 (hh:mm:ss)
root@bigchaindb_clone32_series_Ansible:~/scripts#
michelescarlato
@michelescarlato

@zzappie I tried with only 5 nodes.

Same result.

Is there any reason why Ansible is functioning only with 4 nodes?

Do you think it is possible to run Ansible script with more than 4 nodes ?

I am doing experiments, and I need to collect results related to the throughput in terms of number of transactions per seconds .

I don't think that testing a consensus protocol with only 4 nodes, can be an approach good enough.

Abbas Ogaji
@abbasogaji
hey guys how should i manage user credentials (private keys specifically)?
aayushm72
@aayushm72
Does BigchainDB implement any tamper resistance? If someone was to change the data of a node through mongodb directly, is BigchainDB able to detect that and trigger a sync?
Scott Guyton
@kiljoy001
@abbasogaji they are created client side and should stay that way. You will at the very least need to encrypt them in some way if you have to store them locally. Ideally you'd want some HSM or something like that.
David Dashyan
@zzappie
@michelescarlato Hi. It is definitely possible. You just need to find out what is causing the problem. See there is a error message there saying where the error has occurred. Based on that I assume that there is something wrong has happened during registering genesis time. Because this is the only variable we are accessing stdout of. Hence you need to manually check out what is happening at this stage:
- name: Register genesis time shell: | cat /home/{{ tendermint_user }}/.tendermint/config/genesis.json | jq .genesis_time register: genesis_time become: yes
zzappie @zzappie don't know whats wrong with indents btw
David Dashyan
@zzappie
You can do so by going to /install.yml/ and commenting out unnecessary roles. Then comment out things after task at which the error occurs, running the playbook and then connecting to the problematic node and looking at stodout of the command above.
aayushm72
@aayushm72

Does BigchainDB implement any tamper resistance? If someone was to change the data of a node through mongodb directly, is BigchainDB able to detect that and trigger a sync?

can someone please answer this for me?

Ada922
@Ada922

Tomorrow Algorand is hosting a live webinar on implementing the world’s first CBDC. I have submitted a few questions and will be attending. This is a great way to spend your quarantine :)

Register and submit questions here: https://register.gotowebinar.com/register/5273854108710515471

1640design
@1640design
I am new to the blockchain world and would like to know if there is a way to build a gateway between a blockchain database and a relational database?
akkolwalkar
@akkolwalkar
are bigchaindb and ipdp separate things?
how to use bigchaindb with ethereum smart contracts? I have seen that some examples of the bigchaindb github have been deprecated
Conor Coxxx
@Conor_Coxxx_twitter
Anyone available to help me build a database?
Oswaldo Neto
@oswaldocostaneto
@Conor_Coxxx_twitter localhost or cloud?
akkolwalkar
@akkolwalkar
which companies are using bigchain db and how are they using it?
akkolwalkar
@akkolwalkar
can anyone explain me who are service providers of bigchaindb? Isn't bigchaindb free and opensource?
akkolwalkar
@akkolwalkar
can we work on encrypted data with bigchaindb?