Commit Graph

87 Commits

Author SHA1 Message Date
Arthur Britto
22c22bd734 WS: Add support ledger_entry to return a ripple_state. 2012-09-27 13:36:04 -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
7ef8001505 Audit all construction cases, fix broken ones. 2012-09-24 14:36:48 -07:00
JoelKatz
3c5ea7020f Start of STAmount issuer fixes. 2012-09-24 14:30:24 -07:00
Arthur Britto
7a479d6035 Fixes for rippling through an offer. 2012-09-06 21:32:07 -07:00
Arthur Britto
1c963cc1a0 Merge branch 'master' into ripple 2012-09-04 16:16:13 -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
cf450106c4 Require issuer when specifying currency when creating STAmount. 2012-08-25 14:49:45 -07:00
Arthur Britto
e4b8d874e7 Encode issuer in STAmount. Breaking protocol and db version change. 2012-08-23 14:55:03 -07:00
Arthur Britto
58644fc806 Fix transaction engine sense of ripple balances. 2012-08-20 16:23:23 -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
Arthur Britto
f2902ca014 Make json full text for STAccount more legible. 2012-08-17 17:08:23 -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
Arthur Britto
101ce61953 Cosmetic. 2012-07-20 14:25:10 -07:00
Arthur Britto
a61cf78299 Better handling of full values for amounts. 2012-07-20 14:16:34 -07:00
Arthur Britto
71e499a421 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 19:12:33 -07:00
Arthur Britto
7236eed852 Fixes for applyOffer. 2012-07-18 19:12:27 -07:00
JoelKatz
ab61b7ca46 Let's test divide too, while we're at it. 2012-07-18 17:47:15 -07:00
Arthur Britto
1714695d9b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-18 17:40:24 -07:00
Arthur Britto
d62c6a974e Add logging for offer create. 2012-07-18 17:40:21 -07:00
JoelKatz
ccc799e404 Fix a bug Arthur reported. 2012-07-18 17:37:30 -07:00
Arthur Britto
d0db6e4476 Rework caching of SLEs during transaction processing. 2012-07-18 14:49:50 -07:00
jed
0f554c1c59 compile on windows 2012-07-16 15:36:54 -07:00
jed
dcc7025b41 . 2012-07-16 15:12:45 -07:00
jed
6e06f205ba Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-07-14 20:54:25 -07:00
jed
5e401c3f4e . 2012-07-14 20:54:12 -07:00
Arthur Britto
f6fcef9101 Misc fixes. 2012-07-14 15:57:09 -07:00
Arthur Britto
a3fb732e24 Rework offer amount calculation. 2012-07-13 15:28:58 -07:00
Arthur Britto
8ae768d2a7 Add hack to show currency in Json for STAmount. 2012-07-10 21:38:41 -07:00
Arthur Britto
0c4b739010 Fix RPC decimal parsing. 2012-07-10 21:20:09 -07:00
Arthur Britto
3462ab0f07 Work towards ripple and offers. 2012-07-09 17:38:03 -07:00
JoelKatz
682df84505 Cleanup, remove FIXMEs. 2012-06-23 19:32:19 -07:00
JoelKatz
f91ab9d011 Cleanups. Add unit test for STAmount::getRate. 2012-06-22 03:31:05 -07:00
jed
1549ef4d9b allow you to send large amounts from RPC 2012-06-20 08:38:36 -07:00
jed
6559655218 compile on windows 2012-06-05 14:06:21 -07:00
Arthur Britto
96face502c Add unit tests for STAmount::setValue. 2012-06-03 01:54:51 -07:00
JoelKatz
d25c97f7d5 STAmount::setValue(const STAmount &) 2012-06-01 20:32:42 -07:00
Arthur Britto
dad9568f4f Work toward big endian 2012-05-31 01:51:58 -07:00
Arthur Britto
21d9140e4e Work toward working directories. 2012-05-30 23:18:57 -07:00
JoelKatz
01f16914ce Cleanups. 2012-05-28 23:49:43 -07:00
JoelKatz
51816f1e56 Simplifications. 2012-05-27 20:09:49 -07:00
JoelKatz
02fd3e2f7a Signed get/set functions for native currency values. 2012-05-27 18:29:55 -07:00
JoelKatz
959fa8e298 Avoid the getValue confusion. Use getNValue for native, getMantissa otherwise 2012-05-27 18:23:33 -07:00
Arthur Britto
eab7a2d93a Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
2012-05-27 17:56:45 -07:00
Arthur Britto
561e87c050 Use ^ for decimal in RPC syntax for XNS. 2012-05-27 17:42:10 -07:00
JoelKatz
64f903f21d Finish the rewrite. 2012-05-27 16:40:25 -07:00
JoelKatz
d67f06d456 More work on the new amount class. 2012-05-27 16:10:08 -07:00
JoelKatz
47fefdc26c About half of the rework to support signed floating point amounts. 2012-05-27 15:54:38 -07:00