Commit Graph

116 Commits

Author SHA1 Message Date
JoelKatz
b6653732b0 New serializer work.
Rework add/addRaw/addData per discussion with Arthur.
New STObject add/deserialize code.
STArray add/deserialize code.
Allow arrays of normal fields.
Other small fixes.
2012-09-27 15:43:29 -07:00
JoelKatz
a40120b6c9 Cleanups and fixes. 2012-09-27 14:11:10 -07:00
JoelKatz
c10ff5bac9 More serialization rework. 2012-09-26 14:22:04 -07:00
JoelKatz
fbb0baaca0 Cleanups. 2012-09-26 00:28:58 -07:00
JoelKatz
e0587a44b8 More work on new serializer code. 2012-09-25 22:47:59 -07:00
JoelKatz
2446db0bbe More serialization work. 2012-09-25 19:27:09 -07:00
JoelKatz
c757d363af Parts of the new serialization code. Does not compile yet. 2012-09-25 16:48:24 -07:00
JoelKatz
6c17c0270b Remove dead code.
Use the protocol file to generate the STI_* constants.
2012-09-24 23:25:27 -07:00
JoelKatz
9432d35f14 You don't need to customize operator=(const&) since the base class does it for you. 2012-09-24 14:45:44 -07:00
JoelKatz
3c5ea7020f Start of STAmount issuer fixes. 2012-09-24 14:30:24 -07:00
JoelKatz
a4070de73e Some work on the new binary formats that doesn't break current code. 2012-09-24 13:04:24 -07:00
Arthur Britto
b7f3baee15 Split up TransactionEngine, part 1. 2012-09-09 19:54:46 -07:00
JoelKatz
390e628f10 Cmall cleanups and fixes. 2012-09-07 15:06:25 -07:00
Arthur Britto
1c963cc1a0 Merge branch 'master' into ripple 2012-09-04 16:16:13 -07:00
Arthur Britto
dda279e5a6 Remove remaining support for redeem and issue flags. 2012-09-03 14:37:00 -07:00
Arthur Britto
61831eaa3c Obsolete redeem and issue flag support from ripple paths. 2012-09-03 13:57:01 -07:00
JoelKatz
9977463122 You no longer need .getFullText() on an operator<< to an ostream.
There's like 25 of them in TransactionEngine.cpp that can be removed when convenient
2012-09-03 02:30:17 -07:00
Arthur Britto
1024af54b6 Modify RPC and transactions to use quality flags for ripple. 2012-09-02 21:32:52 -07:00
Arthur Britto
60653a5108 Add STAmount divide and multiply shortcuts. 2012-09-01 17:24:12 -07:00
Arthur Britto
cf450106c4 Require issuer when specifying currency when creating STAmount. 2012-08-25 14:49:45 -07:00
Arthur Britto
acb4502a04 Work toward rippling through offers. 2012-08-23 13:26:53 -07:00
Arthur Britto
a99f814c20 Allow qualities to be specified as a float for RPC. 2012-08-20 13:19:43 -07:00
Arthur Britto
2522c4625f Fixes for paths. 2012-08-20 12:37:36 -07:00
jed
336a1c27fc Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/LedgerNode.cpp
2012-08-20 09:42:15 -07:00
jed
5484205b26 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/RippleLines.cpp
2012-08-20 09:40:40 -07:00
JoelKatz
aa1f923306 A better fix so that every type doesn't have to have its own operator=.
This fixes it in one place and allows many such helpers to be removed.
2012-08-19 22:47:59 -07:00
JoelKatz
6f5eb015bf Fix the bug causing 'Paths' not to have a name. The implicit 'operator='
function obliterated the name.
2012-08-19 22:41:30 -07:00
Arthur Britto
64b3afad28 Fixes for quality. 2012-08-18 13:16:58 -07:00
jed
3208f2c15e Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-17 21:36:14 -07:00
jed
ffbd719508 . 2012-08-17 21:35:56 -07:00
Arthur Britto
99d1451c29 Fixes for direct ripple with quality to work. 2012-08-17 17:11:13 -07:00
Arthur Britto
872314f933 Remove more Account from AccountStateNode and LedgerEntrySet revision. 2012-08-14 17:17:28 -07:00
Arthur Britto
9e41cac0da Add RPC ripple command and improve wallet_propose. 2012-08-13 17:05:35 -07:00
Arthur Britto
2f3f51b0ee Merge branch 'master' into ripple
Conflicts:
	src/LedgerEntrySet.cpp
2012-08-10 13:15:34 -07:00
JoelKatz
d477172f65 Cleanups and whitespace fixes. 2012-08-09 19:20:53 -07:00
JoelKatz
1aa15c62e1 Implement STAmount::getRate. 2012-08-09 16:03:00 -07:00
JoelKatz
9fc4f469b8 Add STAmount::isNonZero 2012-08-08 01:35:34 -07:00
Arthur Britto
1a6a6231cc Add path expansion to transaction engine. 2012-08-03 14:57:52 -07:00
Arthur Britto
42bd29c212 Work towards ripple. 2012-08-02 19:16:24 -07:00
JoelKatz
68677270bf Revert inadvertant commit. 2012-08-01 14:43:19 -07:00
Arthur Britto
db8775729f Merge branch 'master' into ripple 2012-08-01 14:34:24 -07:00
JoelKatz
a17ca0cd4a Fix the crash bug. 2012-08-01 14:19:13 -07:00
Arthur Britto
794fe66008 Work towards ripple. 2012-08-01 12:44:22 -07:00
Arthur Britto
fde853d388 Revise STPathSet. 2012-07-28 17:35:51 -07:00
Arthur Britto
18c8045ba6 Make STPathSet BOOST_FOREACH compatible. 2012-07-27 14:06:45 -07:00
Arthur Britto
aababa680f Add ripple quality in and out. 2012-07-24 15:02:09 -07:00
Arthur Britto
a61cf78299 Better handling of full values for amounts. 2012-07-20 14:16:34 -07:00
Arthur Britto
d62c6a974e Add logging for offer create. 2012-07-18 17:40:21 -07:00
Arthur Britto
d0db6e4476 Rework caching of SLEs during transaction processing. 2012-07-18 14:49:50 -07:00
Arthur Britto
a3fb732e24 Rework offer amount calculation. 2012-07-13 15:28:58 -07:00