<div dir="ltr"><div><div>I noticed that the <a href="https://github.com/bitcoin/bips/blob/959fecc15bdad070afa63455468b1dba54655fa6/bip-0134.mediawiki" target="_blank">the latest BIP 134</a> now supports SIGHASH_SINGLE and friends.  However, this support seems to reintroduce some quadratic hashing behavior because it <a href="https://github.com/zander/bitcoinclassic/blob/9c688c6d3866890f16a36aaea453e8bdd43c1266/src/script/interpreter.cpp#L1186" target="_blank">calls </a><span class="m_4115989833037037540gmail-m_-6187962426531096253m_-301435513863200495gmail-pl-c1"><a href="https://github.com/bitcoinclassic/bitcoinclassic/blob/9c688c6d3866890f16a36aaea453e8bdd43c1266/src/script/interpreter.cpp#L1186" target="_blank">SerializePartialTransactionv4 per non-SIGHASH_ALL input</a></span>. 
 In particular, if each input in a transaction has one SIGHASH_SINGLE CHECKSIG operation then 
the total amount of hashing done for the transaction will be quadratic 
in the number of inputs.  While amount of hashing is not as severe 
as with the SIGHASH_ALL case, the amount of hashing done is still 
non-linear.</div></div></div>