Skip to content

Commit

Permalink
docs: Add getmixmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick authored and davecgh committed May 24, 2024
1 parent 012d508 commit 85bca62
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/json_rpc_api.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ the method name for further details such as parameter and return information.
|N
|Returns a JSON object containing mining-related information.
|-
|[[#getmixmessage|getmixmessage]]
|Y
|Returns a mix message and its message type by its hash if it is accepted by and currently in the mixpool.
|-
|[[#getmixpairrequests|getmixpairrequests]]
|Y
|Returns the current set of mixing pair request messages from the mixpool. WARNING: This is experimental and will very likely be removed in the next version. Do not use!
Expand Down Expand Up @@ -1504,6 +1508,30 @@ of the best block.

----

====getmixmessage====
{|
!Method
|getmixmessage
|-
!Parameters
|
# <code>hash</code>: <code>(string, required)</code> The hash of the message being queried.
|-
!Description
|
: Returns a mix message and its message type by its hash if it is accepted by and currently in the mixpool.
|-
!Returns
|<code>(json object)</code>
: <code>type</code>: <code>(string)</code> The message command type
: <code>message</code>: <code>(string)</code> The message serialized as hex.
|-
!Example Return
|<code>{"type":"mixpairreq","message":"a1d1d8c6ffc20a51ad9a5aa093c31bdeb06a0f627af95..."}</code>
|}

----

====getmixpairrequests====
{|
!Method
Expand Down

0 comments on commit 85bca62

Please sign in to comment.