Skip to content

Instantly share code, notes, and snippets.

View truongnmt's full-sized avatar
🎯
Rails, Auth, Blockchain, Deep Learning

Truong Nguyen truongnmt

🎯
Rails, Auth, Blockchain, Deep Learning
View GitHub Profile
[2018-08-21 07:50:43.717059602][th:10][info] MAIN start
[2018-08-21 07:50:43.717964315][th:10][info] MAIN config initialized
[2018-08-21 07:50:43.719128659][th:10][info] IROHAD created
[2018-08-21 07:50:43.719790942][th:10][info] StorageImpl:initConnection Start storage creation
[2018-08-21 07:50:43.720593741][th:10][info] StorageImpl:initConnection block store created
NOTICE: relation "role" already exists, skipping
NOTICE: relation "domain" already exists, skipping
NOTICE: relation "signatory" already exists, skipping
NOTICE: relation "account" already exists, skipping
NOTICE: relation "account_has_signatory" already exists, skipping
@truongnmt
truongnmt / gist:4edba629b5345e591de3e56e9ba692e0
Created August 21, 2018 08:20
iroha-cli log on 13.70.0.131
Welcome to Iroha-Cli.
Choose what to do:
1. New transaction (tx)
2. New query (qry)
3. New transaction status request (st)
> : 1
Forming a new transactions, choose command to add:
1. Detach role from account (detach)
2. Add new role to account (apnd_role)
3. Create new role (crt_role)
@truongnmt
truongnmt / gist:92e64e137f1350f1f7579021777093ab
Last active August 23, 2018 07:31
Iroha Android building log
This file has been truncated, but you can view the full file.
2018-08-23 10:40:06 (486 KB/s) - ‘boost_1_66_0.tar.gz’ saved [101669839/101669839]
+ tar xf ./boost_1_66_0.tar.gz
+ cp -R ./boost_1_66_0/boost /home/nguyen.manh.truong/iroha-master/shared_model/packages/android/iroha/dependencies/include
+ git clone https://github.com/google/protobuf
Cloning into 'protobuf'...
remote: Counting objects: 55279, done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 55279 (delta 12), reused 26 (delta 1), pack-reused 55160
Receiving objects: 100% (55279/55279), 47.35 MiB | 1.29 MiB/s, done.
[2018-08-23 14:39:12.609160178][th:13][info] MAIN start
[2018-08-23 14:39:12.609875587][th:13][info] MAIN config initialized
[2018-08-23 14:39:12.610805598][th:13][info] IROHAD created
[2018-08-23 14:39:12.611338304][th:13][info] StorageImpl:initConnection Start storage creation
[2018-08-23 14:39:12.611855610][th:13][info] StorageImpl:initConnection block store created
[2018-08-23 14:39:12.889419885][th:13][info] IROHAD [Init] => storage
[2018-08-23 14:39:12.891654912][th:13][info] StorageImpl drop db
[2018-08-23 14:39:12.895131853][th:13][info] PostgresOrderingServicePersistentState Drop storage
NOTICE: table "ordering_service_state" does not exist, skipping
[2018-08-23 14:39:12.910449234][th:13][info] PostgresOrderingServicePersistentState Drop storage
[2018-08-23 14:39:28.402388030][th:29][info] MAIN start
[2018-08-23 14:39:28.403078335][th:29][info] MAIN config initialized
[2018-08-23 14:39:28.403948942][th:29][info] IROHAD created
[2018-08-23 14:39:28.404384345][th:29][info] StorageImpl:initConnection Start storage creation
[2018-08-23 14:39:28.404942949][th:29][info] StorageImpl:initConnection block store created
NOTICE: relation "role" already exists, skipping
NOTICE: relation "domain" already exists, skipping
NOTICE: relation "signatory" already exists, skipping
NOTICE: relation "account" already exists, skipping
NOTICE: relation "account_has_signatory" already exists, skipping
@truongnmt
truongnmt / gist:c9f9fbdf4d88eb51bfb674e89091cbb7
Created August 23, 2018 14:59
13.78.38.212 Iroha-cli log
Choose what to do:
1. New transaction (tx)
2. New query (qry)
3. New transaction status request (st)
> : 1
Forming a new transactions, choose command to add:
1. Detach role from account (detach)
2. Add new role to account (apnd_role)
3. Create new role (crt_role)
4. Set account key/value detail (set_acc_kv)
```
Forming a new transactions, choose command to add:[172/249]
1. Detach role from account (detach)
2. Add new role to account (apnd_role)
3. Create new role (crt_role)
4. Set account key/value detail (set_acc_kv)
5. Transfer Assets (tran_ast)
6. Grant permission over your account (grant_perm)
7. Subtract Assets Quantity from Account (sub_ast_qty)
8. Set Account Quorum (set_qrm)
: 13a87b4ba9c6002c4455562c88aff06dc513077d870f01e892[1/422$
f61de8f from unknown peer 21514ba2cd7a96e3424d28a99646c14954ac5e2a2d7cfed24a389aebb552e1ac
[2018-08-28 02:16:19.309550345][th:21][info] ProposalStora$e Vote [13a87b4ba9c6002c4455562c88aff06dc513077d870f01e892$7d2391f61de8f, 13a87b4ba9c6002c4455562c88aff06dc513077d870$01e89297d2391f61de8f] looks valid
[2018-08-28 02:16:19.310275972][th:21][info] YacBlockStora$e Vote (13a87b4ba9c6002c4455562c88aff06dc513077d870f01e892$7d2391f61de8f, 13a87b4ba9c6002c4455562c88aff06dc513077d870$01e89297d2391f61de8f) inserted
[2018-08-28 02:16:19.310890495][th:21][info] YacBlockStora$e Votes in storage [1/2]
[2018-08-28 02:16:19.312032939][th:18][info] IROHAD ~~~~~~$~~| PROPOSAL ^_^ |~~~~~~~~~
[2018-08-28 02:16:19.312830169][th:18][info] TxProcessor o$ proposal stateless success: 13c5fe504618ba3c0682c43acc227$7ad7b1924cead06bf412834692dd044b78
[2018-08-28 02:16:19.406881927][th:21][info] YacNetwork Re$eive vote 2c5bdd41aef022c244c5ec5a168c868b4801214ad4c362ea$
a72b53fe905
@truongnmt
truongnmt / gist:5aa57706cf8ba9657b5c51f0b4765313
Created September 6, 2018 09:59
genesis.block from dev
root@3eee62012d74:/opt/iroha_data# cat genesis.block
{
"payload":{
"transactions":[
{
"payload":{
"reducedPayload":{
"commands":[
{
"addPeer":{
@truongnmt
truongnmt / gist:5ba974321c29251827861404626b434a
Created September 6, 2018 09:59
genesis.block from dev
root@3eee62012d74:/opt/iroha_data# cat genesis.block
{
"payload":{
"transactions":[
{
"payload":{
"reducedPayload":{
"commands":[
{
"addPeer":{