decred / dcrd

Decred daemon in Go (golang).
https://decred.org
ISC License
731 stars 288 forks source link

[release-v2.0] multi: Use backported mixing updates. #3317

Closed davecgh closed 3 months ago

davecgh commented 3 months ago

This updates the 2.0 release branch to use the latest versions of the dcrjson/v4, rpc/jsonrpc/types/v4, and mixing modules which include some minor improvements to the pairing process and the addition of a new RPC method named getmixmessage to obtain mixing messages from the mixpool. It also backports the relevant RPC server code to implement the new method.

In particular, the following updated module version is used:

Note that it also cherry picks all of the commits included in updates to the dcrjson/v4, rpc/jsonrpc/types/v4, and mixing modules to ensure they are also included in the release branch even though it is not strictly necessary since go.mod has been updated to require the new releases and thus will pull in the new code. However, from past experience, not having code backported to modules available in the release branch too leads to headaches for devs building from source in their local workspace with overrides such as those in go.work.