Re: [bitcoin-dev] BIP147 minor error

2016-03-22 Thread Sergio Demian Lerner via bitcoin-dev
ts.linuxfoundation.org] *On Behalf Of *Sergio > Demian Lerner via bitcoin-dev > *Sent:* Monday, 21 March, 2016 10:51 > *To:* bitcoin-dev > *Subject:* [bitcoin-dev] BIP147 minor error > > > > The BIP147 reads: > > *Sigop cost* is defined. The cost of a sigop in traditiona

Re: [bitcoin-dev] BIP147 minor error

2016-03-22 Thread jl2012--- via bitcoin-dev
To: bitcoin-dev Subject: [bitcoin-dev] BIP147 minor error The BIP147 reads: Sigop cost is defined. The cost of a sigop in traditional script is 4, while the cost of a sigop in witness program is 1. The new rule is total sigop cost ≤ 80,000. But the code implements: if (nSigOps + (nWitSig

[bitcoin-dev] BIP147 minor error

2016-03-21 Thread Sergio Demian Lerner via bitcoin-dev
The BIP147 reads: *Sigop cost* is defined. The cost of a sigop in traditional script is 4, while the cost of a sigop in witness program is 1. The new rule is total *sigop cost* ≤ 80,000. But the code implements: if (nSigOps + (nWitSigOps + 3) / 4 > MAX_BLOCK_SIGOPS) ... error Which is not