Transaction filtering

**Not Ready**

Needs tests