OmniLayer / omnicore

OmniCore staging tree
http://www.omnilayer.org/
MIT License
756 stars 230 forks source link

Can't find USDT property - Property identifier does not exist #942

Open PRINIQ-Kelvin opened 5 years ago

PRINIQ-Kelvin commented 5 years ago

I've generate address in thru omnicored, and did transfer USDT to the address. But I still couldn't get the balance thru RPC API.

omni.conf

server=1 rpcuser=xxx rpcpassword=yyy rpcallowip=0.0.0.0/0 port=8333 rpcport=8332 txindex=1 datacarriersize=80 logtimestamps=1 omnidebug=tally omnidebug=packets omnidebug=pending

background run command

./omnicored -conf="./omni.conf" -datadir="/mnt/omni"

RPC API - omni_getinfo

{ "result": { "omnicoreversion_int": 40000000, "omnicoreversion": "0.4.0", "mastercoreversion": "0.4.0", "bitcoincoreversion": "0.13.2", "block": 304578, "blocktime": 1402103172, "blocktransactions": 2, "totaltrades": 0, "totaltransactions": 11024, "alerts": [] }, "error": null, "id": 1 }

RPC API - getaddressesbyaccount "abc"

{ "result": [ ... "1HJh8DP4hYgagUMfbUhkLJK7YtRdLQXL8", ... ], "error": null, "id": 1 }

RPC API - omni_getallbalancesforaddress "1HJh8DP4hYgagUMfbUhkLJK7YtRdLQXL8" Check the address balance but return address not found, but I can found the address thru getaddressesbyaccount

{ "result": null, "error": { "code": -8, "message": "Address not found" }, "id": 1 }

RPC API - omni_listproperties USDT not in the list

{ "result": [ { "propertyid": 1, "name": "Omni", ... }, { "propertyid": 2, "name": "Test Omni", ... }, { "propertyid": 3, ... }, { "propertyid": 4, ... }, { "propertyid": 5, ... }, { "propertyid": 6, ... }, { "propertyid": 7, ... }, { "propertyid": 2147483651, ... }, { "propertyid": 2147483652, ... }, { "propertyid": 2147483653, ... }, ... ], "error": null, "id": 1 }

RPC API - omni_getproperty 31

{ "result": null, "error": { "code": -8, "message": "Property identifier does not exist" }, "id": 1 }

Can please guide me on problem below:-

dexX7 commented 5 years ago

Hello,

can you please post the result of getinfo and omni_getinfo? I assume your client is not fully synchronized.

PRINIQ-Kelvin commented 5 years ago

Hello,

can you please post the result of getinfo and omni_getinfo? I assume your client is not fully synchronized.

thanks @dexX7, below are the results as your request

getinfo

{ "result": { "version": 130200, "protocolversion": 70015, "walletversion": 130000, "balance": 0, "blocks": 304578, "timeoffset": -20, "connections": 8, "proxy": "", "difficulty": 11756551916.90395, "testnet": false, "keypoololdest": 1556611952, "keypoolsize": 100, "paytxfee": 0, "relayfee": 0.00001, "errors": "" }, "error": null, "id": 1 }

omni_getinfo

{ "result": { "omnicoreversion_int": 40000000, "omnicoreversion": "0.4.0", "mastercoreversion": "0.4.0", "bitcoincoreversion": "0.13.2", "block": 304578, "blocktime": 1402103172, "blocktransactions": 2, "totaltrades": 0, "totaltransactions": 11024, "alerts": [] }, "error": null, "id": 1 }