Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random lost of notice of broadcast result #490

Open
pluswave opened this issue Nov 20, 2017 · 2 comments
Open

Random lost of notice of broadcast result #490

pluswave opened this issue Nov 20, 2017 · 2 comments

Comments

@pluswave
Copy link

pluswave commented Nov 20, 2017

In some rare case, notice of broadcast (broadcast_transaction_with_callbac
k) result never happens.Here is the rpc log in the server:

2017-11-17T02:11:33                th_a:?           operator() ] "server": server msg->get_payload(): {"method":"call","params":[3,"broadcast_transaction_with_callbac
k",[5505,{"ref_block_num":34565,"ref_block_prefix":1675912594,"expiration":"2017-11-17T02:11:46","operations":[[0,{"fee":{"amount":"1648","asset_id":"1.3.113"},"from"
:"1.2.422474","to":"1.2.435909","amount":{"amount":"488119500","asset_id":"1.3.113"},"memo":{"from":"BTS85A5m2zXwi4HQTYvAcjpYqqBYzCJg1C4RK3pZk32gmahdwEh4L","to":"BTS7
9zrzGbRxqxa3DHt4wNqWKs44vwL4nypjmUV9cKzyLByNEuaCw","nonce":"386786480697584","message":"b10b23bc9e38f85f72445a0ad3d5ff88e7807566a22c39df1a338648ff034390"},"extensions
":[]}]],"extensions":[],"signatures":["200b1f635d4ac854c809d63587af9c841f30f752e45cc5ede8685a802603597a86695e706def8c6966b35ba0b2905d6f16eaceee46109b8971644d80cab47d4
a1e"]}]],"id":5505}                       websocket.cpp:201
2017-11-17T02:11:33                th_a:?         send_message ] message: {"id":5505,"jsonrpc":"2.0","result":null}                     websocket.cpp:161

I can't find a related 5505 notice in the log file.

more info: the broadcast failed in the end, but the client (bitsharesjs /bitsharesjs-ws) never know this because of lost notification.

@abitmore
Copy link
Member

steemit/steem@0fb4057 is related.

@abitmore
Copy link
Member

Actually, should check steemit/steem#592, however, the code is a bit old, I'm not sure if it will work without additional issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants