Sara via telegram
That's one thing.
Another is the general way batches are made:
1) txs - transactions - can be made by different users, that's definitely not an issue
2) you create unsigned transactions by different users
3) add them batchmeta (basically making them a batch)
4) sign them with the respective signatures of the creator users - transaction by Alice with Alice's key, Bob's transaction with Bob's key etc
5) send the signed transactions together to listTorii
That's the general concept
baziorek via telegram
True, he has two Approves for PR: hyperledger/iroha#1300 from two members from Iroha Core Team, so should he correct something more in the PR, or it can be merged?
His work, according to the project description: https://wiki.hyperledger.org/display/INTERN/Extend+HL+Iroha+queries+with+optional+arguments is to extend:
After merging the PR it looks like his work for Iroha 1 Core would be finished (his work was to extend GetAccountTransactions
, GetAccountAssetTransactions
and GetPendingTransactions
for Postgres and RocksDB. The remaining parts would be to merge PR to Iroha client libraries: python, java, nodeJS, iOS
CC: @liralemur
baziorek via telegram
True, he has two Approves for PR: hyperledger/iroha#1300 from two members from Iroha Core Team, so should he correct something more in the PR, or it can be merged?
His work, according to the project description: https://wiki.hyperledger.org/display/INTERN/Extend+HL+Iroha+queries+with+optional+arguments is to extend:
GetAccountTransactions
2.GetAccountAssetTransactions
`1 and 2 was already merged for Postgres, and it looks like Iroha Core Team used the code for RocksDB, so it done. The last missing part for Iroha Core Code is the PR #1300, which is already approved. So after merging the only missing parts would be to merge PRs for Iroha client libraries: python, java, nodeJS, iOS (PRs for python, nodeJS and ready to merge).
After that he would finish entire internship project, so the question for Iroha 2 team - should be something connected with the internship project (filtering transactions by time range) added to Iroha 2?
CC: @liralemur
Sara via telegram
Hello Gregorz and Piotr!
It's great that you are ready to work on something else! It's night in Europe now but in the morning I'll ping Iroha 2 team members here (if they won't check the chat before that) and I'm sure we will find something interesting for you to tackle!
About merge - I'd wait for Ivan's approval (I don't feel comfortable tagging him at night too, but I will in the morning) as he's I think the ruler of merges these days as we've been having some CI issues.
Juan Pablo Ramirez via telegram
Hello, I finally manage not only to compile but to run cli and irohad, I will share a readme later, facing the fact that there is many changes that are not documented such as database creation externally, among others.
Finally following certain gitter conversations I found the broken links to migration tools, and continuing to browse I found iroha-state-migration-tool repository and manage to create the desire database.
Now, after that, this error keeps appearing :
irohad: ../irohad/ametsuchi/impl/mutable_storage_impl.cpp:152: virtual iroha::expected::Result<iroha::ametsuchi::MutableStorage::CommitResult, std::__cxx11::basic_string<char> > iroha::ametsuchi::MutableStorageImpl::commit(iroha::ametsuchi::BlockStorage&) &&: Assertion `ledgerstate' failed.
[1] 181078 abort (core dumped) ./irohad --config irohad-config.json --genesis_block genesis.block node0
when I run:
./irohad --config irohad-config.json --genesis_block genesis.block --keypair_name node0 --drop_state
with this genesis.block
{
"blockV1": {
"payload": {
"transactions": [{
"payload": {
"reducedPayload": {
"commands": [{
"createRole": {
"roleName": "admin",
"permissions": ["can_add_peer", "can_add_signatory", "can_create_account", "can_create_domain", "can_get_all_acc_ast", "can_get_all_acc_ast_txs", "can_get_all_acc_detail", "can_get_all_acc_txs", "can_get_all_accounts", "can_get_all_engine_receipts", "can_get_all_signatories", "can_get_all_txs", "can_get_blocks", "can_get_roles", "can_read_assets", "can_remove_signatory", "can_set_quorum"]
}
}, {
"createRole": {
"roleName": "user",
"permissions": ["can_add_signatory", "can_get_my_acc_ast", "can_get_my_acc_ast_txs", "can_get_my_acc_detail", "can_get_my_acc_txs", "can_get_my_account", "can_get_my_engine_receipts", "can_get_my_signatories", "can_get_my_txs", "can_grant_can_add_my_signatory", "can_grant_can_remove_my_signatory", "can_grant_can_set_my_account_detail", "can_grant_can_set_my_quorum", "can_grant_can_transfer_my_assets", "can_receive", "can_remove_signatory", "can_set_quorum", "can_transfer"]
}
}, {
"createRole": {
"roleName": "money_creator",
"permissions": ["can_add_asset_qty", "can_create_asset", "can_receive", "can_transfer"]
}
}, {
"createDomain": {
"domainId": "dustnet",
"defaultRole": "user"
}
}, {
"createAsset": {
"assetName": "coinOne",
"domainId": "dustnet",
"precision": 4
}
}, {
"createAccount": {
"accountName": "admin",
"domainId": "dustnet",
"publicKey": "d5c6565a5d46f510bce88222c828b844b67f25171a81c811fb08bdd3b2df0b62"
}
}, {
"createAccount": {
"accountName": "jramirez",
"domainId": "dustnet",
"publicKey": "048ad435aa570df48420350b178c54c886bb9f7a417c2f8bcfa177401670b34d"
}
}, {
"appendRole": {
"accountId": "admin@dustnet.co",
"roleName": "admin"
}
}, {
"appendRole": {
"accountId": "admin@dustnet.co",
"roleName": "money_creator"
}
}],
"quorum": 1
}
}
}],
"txNumber": 1,
"height": "1",
"prevBlockHash": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
}
}
}
and this configuration file
Juan Pablo Ramirez via telegram
{
"block_store_path" : "/tmp/block_store/",
"torii_port" : 50051,
"internal_port" : 10001,
"pg_opt" : "host=localhost port=5432 user=postgres password=mysecretpassword",
"max_proposal_size" : 10,
"proposal_delay" : 5000,
"vote_delay" : 5000,
"mst_enable" : false,
"mst_expiration_time" : 1440,
"max_rounds_delay": 3000,
"stale_stream_max_rounds": 2
}
Can someone help me to undestand why irohad is core dumping?
Kuvaldini via telegram
WARN: wrote from head. There could be mistakes. Concept is right.
docker cp build/bin/irohad
to host and then to other containder (which does not build tools) and it should work.
Kuvaldini via telegram
And finally. Why to build yourself.
docker run ghcr.io/hyperleder/iroha
Sara forwarded from Hyperledger Iroha news via telegram
🖖🏻 Hello there! Just a reminder about our community meeting (which will be in ~75 minutes)
We will hear general project updates and see an internship presentation!
One of this year's interns will present the great work they've completed.
See you at 1PM CET: https://zoom.us/my/hyperledger.community.3
Password: 475869