Open cryptocode opened 5 years ago
@kolya182 out of curiosity, would your Go client deal with both history
being an empty array [] and history
not being present at all in the JSON?
@kolya182 out of curiosity, would your Go client deal with both
history
being an empty array [] andhistory
not being present at all in the JSON?
Empty array is expected for address with 0 transactions, instead history returns different type
. Expecting to have history
property no matter amount of transactions would be ideal.
In V22 flatbuffers' JSON support takes over ptree with RPC 2.0. Migration to the new RPC version will remove this issue.
Migration to the new RPC version will remove this issue.
Is there any ticket where I can check the progress on this?
Reopening as this is being considered in a RPC v2.
@codesoap This can be tracked as part of #2467 and is related to #3348
The current use of Boost ptree in RPC is problematic for several reasons:
Challenges/notes:
This replaces a few related issues.