测试网络转账问题



  • ./programs/cli_wallet/cli_wallet -s ws://106.14.180.117:28090 --enable-rpc-log -r 0.0.0.0:8092 --data-dir=testnet_node2 --chain-id c2af30ef9340ff81fd61654295e98a1ff04b23189748f86727d0b26b40bb0ff4

    接入106.14.180.117后
    import_key
    然后转账报错

    unlocked >>> transfer2 aprite-test-gxs dev "11.22222" "1.3.1" memotest true
    transfer2 aprite-test-gxs dev "11.22222" "1.3.1" memotest true
    10 assert_exception: Assert Exception
    invalid asset * price
    {"asset":{"amount":1179,"asset_id":"1.3.0"},"price":{"base":{"amount":100000,"asset_id":"1.3.1"},"quote":{"amount":100000,"asset_id":"1.3.1"}}}
    th_a asset.cpp:93 operator*

    {"from":"aprite-test-gxs","to":"dev","amount":"11.22222","asset_symbol":"1.3.1","memo":"memotest","broadcast":true}
    th_a  wallet.cpp:2966 transfer


  • 目前社区还没拉我
    想问一下怎么通过txId获得交易信息
    还遇到新建节点问题
    ./programs/witness_node/witness_node --data-dir=testnet_node --rpc-endpoint="0.0.0.0:28090" --p2p-endpoint="0.0.0.0:9999" --seed-nodes='["106.14.180.117:6789"]' --genesis-json genesis.json --log-file &

    又停留
    unlocked >>> info
    info
    {
    "head_block_num": 6721884,
    "head_block_id": "0066915c4d14ac14e4bdc25ff95966a1f29d3518",
    "head_block_age": "43 days old",
    "next_maintenance_time": "43 days ago",
    "chain_id": "c2af30ef9340ff81fd61654295e98a1ff04b23189748f86727d0b26b40bb0ff4",
    "participation": "100.00000000000000000",
    "active_witnesses": [
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.5",
    "1.6.6",
    "1.6.7",
    "1.6.8",
    "1.6.9",
    "1.6.10",
    "1.6.14",
    "1.6.15"
    ],
    "active_committee_members": [
    "1.5.0",
    "1.5.1",
    "1.5.7",
    "1.5.10",
    "1.5.4",
    "1.5.5",
    "1.5.2",
    "1.5.6",
    "1.5.8",
    "1.5.3",
    "1.5.9"
    ]
    }

    witness.log无异常
    是否需要的是时间
    最后一条记录是半小时前
    2018-09-27T08:00:32 th_a:invoke handle_block handle_block ] Got block: #6660000 time: 2018-08-13T09:56:42 latency: 3881030267 ms from: init8 irreversible: 6659990 (-10) application.cpp:487
    2018-09-27T08:00:36 th_a:invoke handle_block handle_block ] Got block: #6670000 time: 2018-08-13T18:24:21 latency: 3850575833 ms from: init4 irreversible: 6669990 (-10) application.cpp:487
    2018-09-27T08:00:41 th_a:invoke handle_block handle_block ] Got block: #6680000 time: 2018-08-14T02:52:00 latency: 3820121709 ms from: init8 irreversible: 6679992 (-8) application.cpp:487
    2018-09-27T08:00:46 th_a:invoke handle_block handle_block ] Got block: #6690000 time: 2018-08-14T11:19:30 latency: 3789676891 ms from: init6 irreversible: 6689992 (-8) application.cpp:487
    2018-09-27T08:00:52 th_a:invoke handle_block handle_block ] Got block: #6700000 time: 2018-08-14T19:47:09 latency: 3759223215 ms from: init8 irreversible: 6699992 (-8) application.cpp:487
    2018-09-27T08:00:56 th_a:invoke handle_block handle_block ] Got block: #6710000 time: 2018-08-15T04:14:48 latency: 3728768831 ms from: init2 irreversible: 6709992 (-8) application.cpp:487
    2018-09-27T08:01:01 th_a:invoke handle_block handle_block ] Got block: #6720000 time: 2018-08-15T12:42:27 latency: 3698314316 ms from: init8 irreversible: 6719992 (-8) application.cpp:487



  • @aprite

    麻烦你提供一下witness_node程序的版本?

    另外,我在另一个帖子里回复过你:
    https://forum.gxb.io/topic/1287/管理员-测试网络对接申请/4



  • @albert
    about
    {
    "client_version": "v1.0.180703-96-gfb82a65",
    "graphene_revision": "fb82a65cdd38eeb4643e9c08b3aba08329b25d5d",
    "graphene_revision_age": "76 days ago",
    "fc_revision": "564c2f8c5391677aad28292fe8a1056044f71d26",
    "fc_revision_age": "13 weeks ago",
    "compile_date": "compiled on Jul 14 2018 at 15:23:25",
    "boost_version": "1.67",
    "openssl_version": "OpenSSL 1.0.1f 6 Jan 2014",
    "build": "linux 64-bit"
    }
    我看到了 也检查了版本



  • 查看程序版本

    root@iZuf6hgcl7tib8ubkczy4nZ:~/opt/gxb# ./programs/cli_wallet/cli_wallet -v
    Version: testnet-1.0.180911-24-gff78aa3
    SHA: ff78aa366733ae90a6c47306d0f8bb895580a136
    Timestamp: 16 days ago
    SSL: OpenSSL 1.0.1f 6 Jan 2014
    Boost: 1.67
    Websocket++: 0.7.0
    root@iZuf6hgcl7tib8ubkczy4nZ:~/opt/gxb# 
    root@iZuf6hgcl7tib8ubkczy4nZ:~/opt/gxb# ./programs/witness_node/witness_node -v
    Version: testnet-1.0.180911-24-gff78aa3
    SHA: ff78aa366733ae90a6c47306d0f8bb895580a136
    Timestamp: 16 days ago
    SSL: OpenSSL 1.0.1f 6 Jan 2014
    Boost: 1.67
    Websocket++: 0.7.0
    


  • 结贴:
    都是因为版本问题
    使用Version: testnet-1.0.180926-8-g4cc6301
    连接测试网络


Log in to reply
 

Looks like your connection to GXChain Community was lost, please wait while we try to reconnect.