New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return Weight in the TxIn/TxOut weight() methods #1970
Return Weight in the TxIn/TxOut weight() methods #1970
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 40c37ad
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 40c37ad
I had put in this same PR a few months ago: Here is why it wasn't merged then:
Has there been a change of opinion about this or was it only @Kixunil that had these objections? Seems so since it was merged. |
I think it was a combination of us forgetting about Kix's opposition (I remembered there being some controversy about using cc @tcharding I wonder if we should put a 1-week delay (or even 2 weeks) on API changes, even if they have multiple ACKs? |
I didn't see #1831 and when I noticed that those methods returned a usize I thought it was an oversight. I should have checked better, sorry. It's ok for me to revert this one if you prefer, |
I also thought it was an oversight :) Anyway, I still don't fully understand why it should be usize really. |
Personally I don't think But it is a process failure that we had an open issue with a PR, and then merged another PR in parallel which did substantially the same thing, so I'd like to avoid that in future. |
Lets have two weeks.
FWIW I just reviewed the code changes and they seemed sane, I have never been personally burned by the weight addition stuff @Kixunil put forward so I'm not surprised I did not remember it. Going forward, neither the |
Oh and props to @yancyribbens for noticing this fly past. |
Personally I like when changes I make get merged and reviewed quick. That way that don't become stale. Part of the miss here is in my opinion the shift in who is reviewing. |
No description provided.