Commit Graph

8 Commits

Author SHA1 Message Date
JoelKatz
a6d189e2da Consider accounts that issue offer currencies as affected/mentioned. 2013-01-23 17:50:45 -08:00
JoelKatz
8da284705f Fix 'getAffectedAccount' -- logic was totally wrong.
You can't get this from the transaction because which accounts a transaction
affects depends on things like which offers it winds up taking. And you
can't build it with the metadata because you don't always build the metadata
locally -- consider fetching a ledger after a network split. The only
rational way to do this is to build the affected account vector from the
metadata.
2013-01-17 10:46:12 -08:00
Arthur Britto
8877501e5b Remove db->escape in favor of sqlEscape. 2013-01-06 02:08:54 -08:00
Arthur Britto
511587da5d Sign based on --testnet. 2013-01-02 22:55:47 -08:00
JoelKatz
25de434252 Add the limit amount issuer to the list of affected accounts. 2012-12-03 18:08:07 -08:00
JoelKatz
a38e7fd496 Metadata versions of the transaction SQL helper functions. 2012-11-29 09:50:34 -08:00
JoelKatz
d339eb8cad Fix unit tests. 2012-11-12 22:58:29 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00