refactoring transactions even more. realizing i need the transaction values in a sorted set to at some point implement efficient ranges. imported an old treap package and making it gob encodeable.