added signed encoder and used it in LinkBlock for deltas