pull down to refresh

@optimism, I want to know what you think about this; my insecurity is holding me back:

I'm reviewing Add a "tx output spender" index.

I was confused by -whitelist=noban@127.0.0.1 in the tests. When I learned what it's for, I also learned about self.noban_tx_relay = True, which afaict does the same thing. I also noticed that tests usually use self.noban_tx_relay instead of a manual -whitelist. I now consider mentioning this as a nit in my review when I'm done.

But I'm not sure, because it's a nit. In the grand scheme of things, it doesn't matter. Also, the other reviews are about more important things. Nobody else mentioned it. Isn't this nit just distracting, then? Wouldn't it just look like I'm showing off that I know about self.noban_tx_relay? lol

I might only mention it when I also have something more important to mention.

Anyway, I guess my question is: Would you mention this as a nit? Or is this too much of a nit even for a nit?

I'm glad you're here so I can ask you this, but I’m sad I need to ask someone this instead of just making a decision on my own

322 sats \ 2 replies \ @sedited 6h

I mention most of my nits. I think you should in this case too. The test framework option was introduced after the original PR was opened: https://github.com/bitcoin/bitcoin/commit/c985eb854cc86deb747caea5283c17cf51b6a983 , so it should have been picked up during some rebase along the line.

It is very quick to fix and there are other review comments that require action from the author anyway.

reply
101 sats \ 0 replies \ @ek 6h

Thank you for taking the time to reply!!

I didn’t realize the framework option was introduced later. I will definitely mention this nit now.

reply

Thank you for letting us summon you!

reply
224 sats \ 1 reply \ @optimism 11h

Nit: (haha) I think a better person to talk to this about is @sedited as an actual project maintainer - I have zero commits to Bitcoin Core and I intend to keep it that way. There are things I want to remain an independent user of!

Personally, (on any other repo, haha) I'd do this:

  1. Always mention a nit. Review-done-right is the most expensive part of any codebase, so early flagging is good flagging. [1]
  2. Always prefix it with nit:, so that it is clear that it's not a showstopper finding.
  3. Don't be afraid to make a mistake sometimes, as long as you're willing to make them at-most-once.
In the grand scheme of things, it doesn't matter.

Per my above rationale, it absolutely does matter. It helps when reviewing now to see the nit, rather than having to context switch into that code later once more and think about it again. Human minds (at least of code reviewers) aren't that different from LLMs in terms of context resets!

Wouldn't it just look like I'm showing off

Just mention it, don't make a show out of it. Stay humble and spend effort.

I'm glad you're here so I can ask you this

Aww.. I'm glad you're here too <3

  1. especially on Bitcoin Core where every little nit is not just technical debt, but social debt because it is another PR that needs to be reviewed by 10s of people. Catch 'em while they're hot!

reply
101 sats \ 0 replies \ @ek 11h

Thank you! This helped.

reply