[Webfunds-devel] recent changes

Ian Grigg iang@systemics.com
Tue, 5 Oct 1999 22:19:48 -0400 (AST)


I've just committed a bunch of recent changes.

  * fixed bug in SmartIssuer so it smartly determines errors...

  * SubAccount is now a base class, doing TimeSync, Register, Mail, only.

  * ValueAccount inherits, and adds Deposit.

  * added an Exception to Plugins, more to follow.

  * All higher layer requests now carry version numbers.  In order
    to add this portably, I have upped the Request version number to
    3, which means, inheriting classes have a version number.  This
    makes the code a bit messy, and also will (in the case of DepositR)
    need to remain messy, as the DR is included in the receipt, and
    thus remains for a long time.

  * Accounts now deal almost exlusively in keys, not certs, the one
    exception being reading old accounts from the store.  This was
    needed because the Cert stuff would generate bad keys when not
    being used as was already coded - I spend a day or two trying to
    find the problem before realising that the certs are just window
    dressing.

  - I couldn't get the certs out of the Certificate requests so easily,
    nor the contracts, of course.  The former could be hacked, but it
    isn't worth the bother, until SOX 3, and the latter awaits OpenPGP.

  * RequestFormatter is dead, I hard coded all the needed instances,
    after optimising out most of it.  That means that EncryptedRequest
    now does it all for you, and you can inherit from that if you need
    to add some request types - which is what I'm doing now.  This is
    a definate improvement as there are no more dodgy reflection errors
    to hassle over.

All of this is predicated in adding my new plugin/wallet,
so some things have to change in order to do that which
WebFunds was really intended for.  As this is the first
real test of the flexibility, there will be some instability
for the next few months no doubt due to this.

I'll not be working on the code for the next 10 days or so,
as I'll be 'reserving' that time elsewhere.

Enjoy!

iang