Commit Graph

3696 Commits

Author SHA1 Message Date
JoelKatz
efd9e91c51 Cleanups. Remove some redundant checks. 2012-12-14 10:53:22 -08:00
JoelKatz
0da30fc82e Avoid some extraneous reference count operations. 2012-12-14 10:10:52 -08:00
JoelKatz
bc3f641373 Track when a node was last accessed. 2012-12-14 09:56:28 -08:00
JoelKatz
f5e70fdcf3 Make sure the socket doesn't go away while we're shutting it down asynchronously. 2012-12-14 09:55:52 -08:00
JoelKatz
a23788de77 Fix a small memory leak. 2012-12-14 08:51:33 -08:00
JoelKatz
0cf761b5b1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-13 17:16:18 -08:00
JoelKatz
b4175d73ea Fix the shutdown deadlock and a few other problems. Don't wait for SSL shutdown in the websocketpp strand. 2012-12-13 17:15:41 -08:00
Arthur Britto
5b60c73489 Look in account for sfOwnerCount. 2012-12-13 17:09:41 -08:00
Arthur Britto
38650ec819 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-13 16:55:50 -08:00
Arthur Britto
df4d2ec149 Check field present for stOwnerCount. 2012-12-13 16:55:37 -08:00
JoelKatz
f8e98694c6 Emergency workaround. 2012-12-13 16:41:28 -08:00
Arthur Britto
345d8013ca Merge branch 'master' into reserve 2012-12-13 16:41:03 -08:00
JoelKatz
26915da1a4 Temporary workaround. 2012-12-13 16:36:20 -08:00
JoelKatz
e65c390423 Allow larger amounts in normal notation. 2012-12-13 15:56:39 -08:00
Arthur Britto
72d8811ad3 Add and use new owner_reserve. 2012-12-13 15:45:49 -08:00
JoelKatz
7810cffd18 Sync to C++ code logic. One test fails, I'm tracking it down now. 2012-12-13 15:42:41 -08:00
JoelKatz
092fe4389e Tiny optimization -- don't find the entry twice. 2012-12-13 12:15:23 -08:00
JoelKatz
4a809a5d1c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-13 12:10:31 -08:00
JoelKatz
ef93881d71 Fix the deadlock. We were destroying the WSConnection while holding the
MapLock causing a deadlock between the MapLock and MonitorLock.
2012-12-13 12:09:48 -08:00
Stefan Thomas
269abd0131 Fix infinite loop when using a zero amount in a multiplication. 2012-12-13 11:28:45 -08:00
JoelKatz
25abc284be Fix build issues. 2012-12-13 10:34:13 -08:00
JoelKatz
5275d915c9 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-13 00:07:26 -08:00
JoelKatz
48f5f25076 This gets as many of the "nice to get right" cases exactly right as possible
without failing any of the critical cases.
2012-12-13 00:06:37 -08:00
JoelKatz
924e6e95b0 Extra logging. 2012-12-12 23:54:57 -08:00
Arthur Britto
68327ab27f UT: Fixes for reserves. 2012-12-12 23:08:18 -08:00
Arthur Britto
6d3c82ab7b Merge branch 'reserve' 2012-12-12 21:55:25 -08:00
Arthur Britto
f1735c5cdf Move from account create fee to reserve XRP. 2012-12-12 21:54:56 -08:00
JoelKatz
93e4e4780a Try native*non-native too. 2012-12-12 21:53:13 -08:00
JoelKatz
d7fcb5c7ba Fix a native*native bug. Add a test to make sure integer multiplications give exact results. 2012-12-12 21:50:07 -08:00
JoelKatz
7724b18aeb Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-12 21:17:32 -08:00
JoelKatz
caf6be04b4 Fix the two bugs that are causing us the most pain. If we encounter an error while processing or handling
a connection, don't destroy the endpoint.
2012-12-12 21:17:00 -08:00
Stefan Thomas
55a595a880 "Fix" multiply by disabling rounding - doesn't seem to produce correct results. 2012-12-12 20:56:55 -08:00
Stefan Thomas
d3c4e704c4 Add tests for Amount#multiply. 2012-12-12 20:56:06 -08:00
Stefan Thomas
9e8a25ddb2 Fix semantic errors in Amount#multiply. 2012-12-12 20:52:45 -08:00
Stefan Thomas
038b9f3e2a Add product_human, fix ratio_human. 2012-12-12 19:37:23 -08:00
Arthur Britto
02897d37f6 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-12 19:09:21 -08:00
Arthur Britto
be5087a9de Embed our own private copy of websocketpp. 2012-12-12 19:07:03 -08:00
Arthur Britto
7ec2e5cc3e Remove submodule websocketpp. 2012-12-12 19:02:02 -08:00
Stefan Thomas
0d5f2d0012 Add ratio_human. 2012-12-12 17:39:25 -08:00
Arthur Britto
bc376f7645 JS: Do not retry as much to connect. 2012-12-12 16:20:13 -08:00
Arthur Britto
8f1d89cba4 UT: Loosen order of results for offer test. 2012-12-12 15:42:32 -08:00
Arthur Britto
a15f82863d UT: Fix send balance check. 2012-12-12 15:42:09 -08:00
Arthur Britto
895a176611 Make pathfinder return best quality paths. 2012-12-12 15:41:47 -08:00
JoelKatz
dd95a4b25e Fix this to match. 2012-12-11 22:57:19 -08:00
JoelKatz
f27d435bb3 Fix rounding for the last time. It's [(10X+5)(10Y+5)]/100 -- this passes
every test I can imagine. (Tests added.)
2012-12-11 22:56:25 -08:00
Arthur Britto
23790ccaae UT: Fix test setup. 2012-12-11 21:26:07 -08:00
Arthur Britto
4752c9ff4e UT: Fix payment test. 2012-12-11 21:23:56 -08:00
Arthur Britto
33d6508237 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-11 19:48:06 -08:00
Arthur Britto
8c6419e65b Work in progress on pathfind. 2012-12-11 19:47:53 -08:00
JoelKatz
cc592256a1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-11 18:42:33 -08:00