monero-project / monero-site

https://getmonero.org
BSD 3-Clause "New" or "Revised" License
275 stars 384 forks source link

devguides wallet/daemon rpc missing params #2253

Open plowsof opened 7 months ago

plowsof commented 7 months ago

https://github.com/monero-project/monero/issues/9186#issuecomment-1973003427

I went through the RPC docs a ~year ago and updated pretty much everything.

For reference, here what I found out of date in the core RPC:

  • get_connections lacked in his response field connections the fields address_type, rpc_credits_per_hash and rpc_port
  • get_version lacked in his response the fields current_height and hard_forks array (as well as its underlying object)
  • get_output_distribution lacked in his parameters the field binary (for disabling epee encoding) and compress (for disabling compression)

There are also methods like sync_info that did not contain in their outputs the top_hash, credits or untrusted fields.

SyntheticBird45 commented 7 months ago

address_type: 0 = invalid, 1 = ipv4 and 2 = ipv6. compress = ignored if binary is set to false