Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
RPC pending - sort by amount #1748
Per request of @bbedward . This PR serves to add a
I decided to use
===== Wiki entry update =====
Boolean, false by default. Additionally sorts the blocks by their amounts in descending order.
To note: can still add the "sorting" option without breaking the RPC, simply by maintaining the same behavior when "threshold" is not given.
As such, this PR could be split in 2: one that adds the sorting option, and one that breaks the RPC to increase consistency. Let me know if this would be the preferred way to go about it.
Makes sense @SergiySW , i think i achieved something more sensible now.
In summary, RPC not broken and "sorting" added. Also added tests.