timmattison / brick-rope

GNU General Public License v2.0
0 stars 1 forks source link

Create proper factory for opcodes #6

Closed timmattison closed 10 years ago

timmattison commented 10 years ago

The current opcodes are tightly coupled to the Bitcoin code. There needs to be a factory that lets us wire up opcode implementations in the module so new implementations can be tested.

timmattison commented 10 years ago

This looks like it'll require creating lots of interfaces. A ton of boilerplate work I don't want to do but I think it is a necessary evil.

timmattison commented 10 years ago

Did this in #27. It is a bit nicer than a ton of interfaces and uses a multibinder. For now I think this is OK.