haskoin / haskoin-core

Haskoin Core is a Bitcoin and Bitcoin Cash library
MIT License
522 stars 94 forks source link

Implement BIP65 checks for SPV #199

Closed plaprade closed 6 years ago

tphyahoo commented 8 years ago

Is anyone working on this?

If not I may begin. At least I could gather test vectors from other implementations.

(I may have immediate use for this.)

tphyahoo commented 8 years ago

Is this task merely what is described at

https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki#SPV_Clients

?

That is, just that spv clients should reject nVersion < 4 now, since bip65 has been in enforcement for some time now. (Or specifically to reject < 4 if 950 out of 1000 preceding blocks have nVersion >= 4)

jprupp commented 8 years ago

Go ahead.

jprupp commented 6 years ago

Old wallet is being deprecated. Perhaps this will be relevant for the new node code. I'll close for now.