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...
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
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😭)
// 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 .
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
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?
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
genesis.block
in directory D:\git\EduChain\iroha\example
. If You have check tool for json validation: https://jsononline.net/json-validator
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,