Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Makoto Takemiya 武宮誠 (Sora.org - Soramitsu) Won’t ask for keys or passph via telegram
    This is the structure I would recommend
    Andrei Lebedev via telegram
    Did you try support/1.2.x branch?
    sorabot
    @sorabot

    Ali via telegram
    Yes I did. I got : fatal: destination path 'iroha' already exists and is not an empty directory.

    so I deleted iroha (master) folder and I am cloning new one...

    sorabot
    @sorabot
    Ali via telegram
    ali@ali-VirtualBox:~$ nproc
    1
    ali@ali-VirtualBox:~$ cd iroha
    ali@ali-VirtualBox:~/iroha$ cmake --build build --target irohad -- -j<1>
    bash: syntax error near unexpected token `1'
    ?
    sorabot
    @sorabot
    Ali via telegram
    ali@ali-VirtualBox:~/iroha$ cmake --build build --target all -- -j<1>
    bash: syntax error near unexpected token `1'
    ali@ali-VirtualBox:~/iroha$ nproc
    1
    I got this now?
    Andrei Lebedev via telegram
    Where did you get this command from?
    sorabot
    @sorabot
    ♌︎ Leo via telegram
    The parameter -j should be followed by the number of threads e.g. -j2
    sorabot
    @sorabot
    Ali via telegram
    Thanks
    sorabot
    @sorabot
    Ali via telegram
    Hi devs, I tried to build iroha with Docker now ,
    (get output):
    Creating network "iroha0_default"
    Creating volume "iroha0_ccache-data"
    Creating iroha0_postgres_1 ... done
    Creating iroha0_node_1 ... done
    😢 But when I run cmake command to build with the path which mention in docs (..TOOLCHAIN_FILE=/opt/dependencies/scripts/buildsystems/vcpkg.cmake...)
    Ali via telegram
    Hi devs, I tried to build iroha with Docker now ,
    (get output):
    Creating network "iroha0_default"
    Creating volume "iroha0_ccache-data"
    Creating iroha0_postgres_1 ... done
    Creating iroha0_node_1 ... done
    😢 But when I run cmake command to build with the path which mention in docs (..TOOLCHAIN_FILE=/opt/dependencies/scripts/buildsystems/vcpkg.cmake...)
    got error?!
    sorabot
    @sorabot
    Konrad Baechler via telegram
    What's the error? Is the TOOLCHAIN_FILE path available?
    sorabot
    @sorabot
    Ali via telegram
    the folder /opt/dependences not exist , its contact only containerd folder
    sorabot
    @sorabot

    Konrad Baechler via telegram
    OK, building Iroha in a docker container is a great solution. It needs a bit of setup/config though. Personally, I just know one working solution available to build Iroha 1.2.0 in a docker container:

    https://codeberg.org/diva.exchange/iroha/src/branch/develop

    Clone/fork the repo and use ./bin/iroha-bin-build.sh to start your build (depending on your hardware it will take >30 mins). The final binaries are stored within the ./build folder (automatically exported from the docker building container).

    To understand how it works in detail, study the entrypoint_build.sh script (there is also the TOOLCHAIN_FILE problem properly handled).

    Ali via telegram
    Thanks , I will do this approach , I hope it will work with me ☺
    sorabot
    @sorabot
    Ali via telegram
    Could be manks andits branches (Domains) or (Peers) instead of nodes?
    sorabot
    @sorabot

    Ali via telegram
    Please, Can anyone tell me what I have to do after
    1- clone image Iroha by Docker I got this:
    Status: Downloaded newer image for hyperledger/iroha:develop-build
    Creating iroha0_postgres_1 ... done
    Creating iroha0_node_1 ... done

    root@9a56b1462ca1:/opt/iroha#(What I have write here😭)

    sorabot
    @sorabot
    Ali via telegram
    2- In Docs the step after cloning and execute ( bash scripts/run-iroha-dev.sh) is to build by cmake. but isn't clear how to use : (On Docker the path to a toolchain file is /opt/dependencies/scripts/buildsystems/vcpkg.cmake)
    sorabot
    @sorabot
    Ali via telegram
    step 2 get this error:
    Could not find toolchain file:
    /opt/dependencies/scripts/buildsystems/vcpkg.cmake
    Call Stack (most recent call first):
    CMakeLists.txt:12 (PROJECT)
    sorabot
    @sorabot
    Ali via telegram
    Are there an articles or docs explain this ?
    sorabot
    @sorabot
    Sara via telegram
    @iceseer hi! Maybe you could help?
    sorabot
    @sorabot
    Alexander Lednev via telegram
    // build inside docker
    cmake -H. -B/tmp/build -DCMAKE_TOOLCHAIN_FILE=/opt/dependencies/scripts/buildsystems/vcpkg.cmake -DPACKAGE_DEB=ON -DUSE_BURROW=ON -G "Ninja"
    cmake --build /tmp/build --target package
    
    // copy inside docker
    iroha-ci@99d905900466:/opt/iroha$ cp /tmp/build/iroha-0xcbec62b4b128ab32a591fe03da1bd931c2117978-Linux-irohad.deb ./docker/release/iroha.deb
    iroha-ci@99d905900466:/opt/iroha$ cp /tmp/build/iroha-0xcbec62b4b128ab32a591fe03da1bd931c2117978-Linux-iroha_shepherd.deb ./docker/release/iroha_shepherd.deb
    
    // build docker from docker/release directory
    docker build --no-cache -t iceseer/iroha:1.2.0-with-some-changes .
    Sara via telegram
    Hello! I would also suggest to maybe start by running already built Iroha by using a ready docker image to get more familiar with the system and then, if needed, build it manually?
    Sara via telegram
    Here are the instructions on how to start and proceed: https://iroha.readthedocs.io/en/master/getting_started/index.html
    sorabot
    @sorabot
    Ali via telegram
    Thanks for your response, in fact as first stage I did it(with getting_started) and work well and made some transactions , but as second stage which I tried to Build Iroha node as section 5 in docs , I fellow all steps (for build with Linux then with Docker ) but I got errors with libraries and /or dependencies in building level or in testing level
    sorabot
    @sorabot

    Lehn via telegram
    i am creating and assets and domains and i am getting this error:

    Transaction hash = b'1116e3c47d591d921213f4832325716db6ddc2d960a5df14ab7b986af7a184fa', creator = admin@test
    ('STATELESS_VALIDATION_FAILED', 0, 0)

    could anyone please assist me to know what i am not doing right

    Sara via telegram
    Then, with the docker, please try to use the commands that Alexander sent you — they should work
    sorabot
    @sorabot
    Ali via telegram
    Excuse me , I am not familiar with docker so I look for "build inside docker " but do know how do it .
    Second : opt folder content is containerd which is empty
    please can you be more specific and clear how perform this ?
    I am appreciated for your efforts
    Ali via telegram
    Thank you .. but I am not familiar with builds with docker and Lunix
    GeorgePals
    @GeorgePals
    Does an example on how to implement some chaincode that makes use of the private data, for javascript, exist? Something like this, but for Javascript. Thanks!
    sorabot
    @sorabot
    Angela James via telegram
    Hi
    Sara
    @LiraLemur
    @GeorgePals Hi! I think you might be talking about HL Fabric?..
    GeorgePals
    @GeorgePals

    @GeorgePals Hi! I think you might be talking about HL Fabric?..

    Yes Sara! Uh, sorry, thought that "private data" existed in Iroha as well, that's why I asked here. (Well, also 'cause you're the most active chat in here =) )

    Sara
    @LiraLemur
    @GeorgePals I see) well, in Iroha all the nodes are the same but you can have different user roles with different permissions on accessing the data
    GeorgePals
    @GeorgePals
    Didn't know that Fabric and Iroha are that much different. Well, this is interesting. Thank you Sara.
    sorabot
    @sorabot
    Lehn via telegram
    speaking of user roles, is there a super-user role in iroha?
    sorabot
    @sorabot
    ♌︎ Leo via telegram
    Root
    baziorek
    @baziorek

    I see chat synchronization problem - my questions from rocket chats are not synchronised:(.


    My question:

    What is suggested number of nodes per 1000 users (with 6 transactions per hour each). What is minimum secure number? I know that the more the better, but the more nodes the slower it takes for transactions. So how many nodes do You suggest?

    sorabot
    @sorabot
    Lehn via telegram
    how do i use this Leo?

    Lehn via telegram
    I am getting this error when setting up iroha:

    Status: Downloaded newer image for hyperledger/iroha:latest
    key=node0
    /opt/iroha_data
    WARNING: IROHA_POSTGRES_HOST is not defined.
    Do not wait for Postgres to become ready. Iroha may fail to start up
    [2021-01-22 09:54:33.092403300][I][Init]: Irohad version: latest
    [2021-01-22 09:54:33.092494800][I][Init]: config initialized
    [2021-01-22 09:54:33.097299100][W][Init]: Using deprecated database connection string!
    [2021-01-22 09:54:33.098193200][I][Irohad]: created
    WARNING: hash indexes are not WAL-logged and their use is discouraged
    [2021-01-22 09:54:34.984561100][I][Irohad/Storage]: Start storage creation
    [2021-01-22 09:54:34.984643500][I][Irohad/Storage]: block store created
    [2021-01-22 09:54:34.986510500][I][Irohad]: [Init] => storage
    [2021-01-22 09:54:34.993758000][E][Init]: Failed to parse genesis block.

    I am not sure why it is not parsing the genesis block. This is the script i am using:

    docker run --name iroha -p 50051:50051 -v D:\git\EduChain\iroha\example:/opt/iroha_data -v blockstore:/tmp/block_store -e POSTGRES_HOST='some-postgres' -e POSTGRES_PORT='5432' -e POSTGRES_PASSWORD='mysecretpassword' -e POSTGRES_USER='postgres' -e KEY='node0' --network=iroha-network hyperledger/iroha:latest

    i will appreciate any assistance please

    baziorek
    @baziorek
    @Lehn: Check if You have file genesis.block in directory D:\git\EduChain\iroha\example. If You have check tool for json validation: https://jsononline.net/json-validator
    baziorek
    @baziorek
    • check the file with json validator
    sorabot
    @sorabot
    Lehn via telegram
    Thank you
    sorabot
    @sorabot
    Chelsea mira Paul via telegram
    Hi everyone
    mleinadm
    @mleinadm
    How can i wipe out all the blockchain data. It appears docker system prune -a is not only removing the images, containers, network and volume - and previous domains, accounts, etc still remain and are available after a re-install
    sorabot
    @sorabot

    Lehn via telegram
    I am trying to query all domain or account names.

    Could you kindly be having a script on how to achieve this (python), e.g,

    1. all domain names
    2. all accounts in a particular domain