Merge pull request #1 from andre-takenet/master

Checking loop optimization
Including signature changes and support for max and min history sizes as clearing transactions