[Bitcoin-development] BIP - Hash Locked Transaction

Jorge Timón jtimon at monetize.io
Sat Apr 26 11:11:37 UTC 2014


Does it make sense to implement a generic Policy interface (abstract
class) which StandardPolicy extends?

Maybe you can then implement a WhitelistPolicy,
ReplacebyFeeStandardPolicy, ReplacebyFeeWhitelistPolicy...

This would make it simpler for miners to implement their own policies
in general.
The following functions (maybe more) could become methods of Policy:

script IsStandard
main IsStandardTx
main AcceptToMemoryPool




More information about the bitcoin-dev mailing list