btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.09k stars 2.31k forks source link

Update standardness rules congruent to Bitcoin Core #2178

Closed ProofOfKeags closed 1 month ago

ProofOfKeags commented 2 months ago

This PR updates a couple of relay policy rules to bring them in line with what Bitcoin Core does. We do two things here,

  1. Make CODESEPARATOR non-standard in non-segwit scripts
  2. Make transactions <65 bytes (excluding the witness) non-standard

References:

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 9180393402

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
txscript/sigvalidate.go 24 25 96.0%
mempool/mempool.go 1 4 25.0%
wire/msgtx.go 7 12 58.33%
<!-- Total: 89 98 90.82% -->
Files with Coverage Reduction New Missed Lines %
connmgr/connmanager.go 1 86.27%
wire/msgtx.go 3 93.98%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 8881487645: 0.04%
Covered Lines: 29493
Relevant Lines: 51827

💛 - Coveralls