Repository navigation
Note that the prioritizetransaction dummy value is deprecated, and has no meaning - #10488
Conversation
There was a problem hiding this comment.
This breaks the API compatibility...
There was a problem hiding this comment.
I dont think we care for position-independant arguments? They're still super new and I would be highly surprised if anyone is prioritizing by priority in 0.14, where its highly unsupported and disabled by default?
0ebbd8a to
9944584
Compare
jnewbery
left a comment
There was a problem hiding this comment.
tested ACK 99445847d43da86724aa49ef193f57c63a97f17b . A couple of documentation suggestions inline.
There was a problem hiding this comment.
adjustment thereof sounds a little tortured to me. How about The second argument must be set to 0.0
(simpler English and specifies precisely what the argument should be set to)
There was a problem hiding this comment.
Suggest you add a note that the second (dummy) argument is deprecated and may be removed in a future version. Clients should change to calling this RPC with named fee_delta argument if possible for forward compatibility.
9944584 to
2266dcb
Compare
|
Needs rebase if still relevant |
2266dcb to
f81d5fd
Compare
|
Rebased. |
There was a problem hiding this comment.
Using named arguments, "first argument" may be confusing. Also suggest the recommendation should be null, not 0.
There was a problem hiding this comment.
This breaks the API compatibility. IMO leave it alone here, and just update the help.
There was a problem hiding this comment.
Compatibility is already broken, as we require priority_delta==0
The "priority" field should be appropriately marked as a "dummy" value and noted that it is deprecated and will likely be removed.
f81d5fd to
40796e1
Compare
ryanofsky
left a comment
There was a problem hiding this comment.
utACK 40796e1.
Maybe rename PR to something like "Improve documentation for prioritisetransaction" since this isn't really about restoring API compatibility anymore.
Also, if you wanted to update the release notes here to mention the priority_delta->dummy rename, and requirement to pass 0 or null, that would be good.
|
Mentioned the release notes at #9889, updated PR title. |
|
utACK 40796e1 |
|
utACK 40796e1 |
This is an alternative version of #10252, explaining that the first value is "dummy" instead of adding more references to priority now that we've removed it.