semi trivial: clarify witness branches in transaction.h serialization #8332

pull dcousens wants to merge 1 commits into bitcoin:master from dcousens:patch-1 changing 1 files +5 −3
  1. dcousens commented at 3:28 AM on July 12, 2016: contributor

    In reading through this, I found it much easier to read/reason about the branches without having to double check the double negation and relevant syntax by just having this more readable variable.

    hasWitness might be misleading, since the witness flag could still be missing. Perhaps supportsWitness or witnessCompatible?

  2. jonasschnelli added the label Refactoring on Jul 12, 2016
  3. jonasschnelli commented at 12:09 PM on July 12, 2016: contributor

    Trivial utACK 744526fec097821a78529386ada81ae844f7183a

  4. NicolasDorier commented at 3:02 PM on July 12, 2016: contributor

    Trivial utACK 744526f, I think supportsWitness may be better though, if you are not too lazy to change it. :p

  5. sipa commented at 5:43 PM on July 12, 2016: member

    utACK after squash. allowWitness is fine by me.

  6. paveljanik commented at 5:46 PM on July 12, 2016: contributor

    fAllowWitness?

  7. dcousens commented at 3:40 AM on July 14, 2016: contributor

    Rebased and squashed w/ fAllowWitness

  8. transaction: clarify witness branches e37b16a75c
  9. jtimon commented at 3:43 PM on July 18, 2016: contributor

    ACK e37b16a (didn't tested but it's obviously correct).

  10. MarcoFalke commented at 3:45 PM on July 18, 2016: member

    utACK e37b16a75c1ff86d515ef3050d2c76432ea71225

  11. laanwj merged this on Jul 28, 2016
  12. laanwj closed this on Jul 28, 2016

  13. laanwj referenced this in commit 806b9e7570 on Jul 28, 2016
  14. dcousens deleted the branch on Jul 28, 2016
  15. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me