monero-java icon indicating copy to clipboard operation
monero-java copied to clipboard

Implement remaining binary calls in MoneroDaemonRpc.java

Open woodser opened this issue 5 years ago • 0 comments

The Java client to daemon RPC already supports a number of binary calls. For example, getBlocksByHeight() uses the binary RPC call get_blocks_by_height.bin.

This issue requests support for the remaining binary calls in MoneroDaemonRpc.java. Their implementation should follow the patterns of the already implemented binary calls, but may require additional processing like de-serializing some of the response fields which are also binary.

Last checked, these were the remaining binary calls to be implemented in MoneroDaemonRpc.java. This list was generated from the failures of running TestMoneroDaemonRpc.java as a JUnit test and from the unimplemented methods in MoneroDaemonRpc.java.

  • getBlocksById()
  • getBlockIds() (get_hashes.bin)
  • getTxPoolIds() (get_transaction_pool_hashes.bin)
  • getTxPoolBacklog() (get_txpool_backlog)
  • getOutputs()
  • getOutputDistribution() (response distribution field is binary)

woodser avatar Aug 16 '19 12:08 woodser