Commit Graph

3542 Commits

Author SHA1 Message Date
Arthur Britto
ddf0a9e78b Handle rounding to zero on small offers. 2013-01-26 21:25:44 -08:00
Arthur Britto
0d9b76c802 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-26 20:30:06 -08:00
Arthur Britto
ea0404b552 Work on applying offers. 2013-01-26 20:29:44 -08:00
Arthur Britto
a210800c3c Improve payment diagnostics. 2013-01-26 20:29:27 -08:00
JoelKatz
ab8389609b Mark a caution in the code. A small cleanup. And dispatch on_close's to the
thread pool rather than handling them with a websocket lock.
2013-01-26 09:41:17 -08:00
JoelKatz
2fe728bf4e Cleanups. 2013-01-25 19:14:53 -08:00
JoelKatz
9f61d9514c Quick and dirty possible fix. 2013-01-25 17:03:44 -08:00
Arthur Britto
af48f287d6 Have PathFinding respect authorized accounts. 2013-01-25 16:26:04 -08:00
Arthur Britto
d5477dc832 Fix applyOffer() to use rate and other stuff. 2013-01-25 14:23:42 -08:00
JoelKatz
a2424396b3 Flash policy server. 2013-01-25 12:25:13 -08:00
JoelKatz
85a17e0d6b Stash the first line in the method so we can get it. 2013-01-25 11:59:24 -08:00
JoelKatz
ef46e76f22 Missing in previous commits. 2013-01-25 11:24:44 -08:00
JoelKatz
3b18c3148b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-25 11:12:47 -08:00
JoelKatz
ef9d76b0fb Missing handler. 2013-01-25 11:11:04 -08:00
JoelKatz
2fb4df3ba3 More de-bastardizing. 2013-01-25 11:08:49 -08:00
Arthur Britto
42f6f76e17 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-25 03:23:22 -08:00
Arthur Britto
01920bdef9 Flag setting for authorized accounts. 2013-01-25 03:20:00 -08:00
JoelKatz
938357b7ae Start cleaning up some of the bastardization. 2013-01-24 21:04:42 -08:00
JoelKatz
c04b76e1ca Fix typos. 2013-01-24 19:23:12 -08:00
JoelKatz
e27b3d1fe9 Return an iterator one past the end of the matched portion,
as async_read_until requires.
2013-01-24 19:22:00 -08:00
JoelKatz
96e2e7497e Auto-TLS support. 2013-01-24 15:53:52 -08:00
JoelKatz
bc07943e79 Moderate bastardization to support auto-TLS. 2013-01-24 15:53:26 -08:00
JoelKatz
ff41c3c5cc Add auto-TLS support. 2013-01-24 15:52:38 -08:00
JoelKatz
089d511972 New auto-detect TLS configuration code. 2013-01-24 15:52:17 -08:00
JoelKatz
c56174c16a Don't invoke callback funcition directly. 2013-01-24 15:51:52 -08:00
JoelKatz
802f357ff1 Tweaks to the AutoSocket code. 2013-01-24 15:25:14 -08:00
JoelKatz
a1a31bceff Cleanups. Support socket swapping. 2013-01-24 15:05:05 -08:00
JoelKatz
848824ded0 Cleanup. 2013-01-24 12:51:17 -08:00
JoelKatz
36766d7eab Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-24 12:51:02 -08:00
JoelKatz
dba8ae2db6 Updates. 2013-01-24 12:50:48 -08:00
Stefan Thomas
851db1ce23 Split Transaction class off into separate file. 2013-01-24 20:40:48 +01:00
Arthur Britto
ec7ce16f68 Fix and improve offer taking and trust setting. 2013-01-23 21:36:37 -08:00
JoelKatz
a6d189e2da Consider accounts that issue offer currencies as affected/mentioned. 2013-01-23 17:50:45 -08:00
JoelKatz
24cac01e47 Rollback. 2013-01-23 16:53:31 -08:00
JoelKatz
9ceae42220 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-23 16:49:11 -08:00
JoelKatz
5cff3cd10e Rollback a change. 2013-01-23 16:48:58 -08:00
Arthur Britto
c52554af5d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-23 16:08:13 -08:00
Arthur Britto
cd7b928ad5 Fix error in OfferCreating taking. 2013-01-23 16:08:03 -08:00
JoelKatz
c9bdcc3cfd Tweaks. 2013-01-23 14:14:28 -08:00
JoelKatz
9aaa3cc2fa Buglet. 2013-01-23 13:50:33 -08:00
JoelKatz
6ae38db4ed Socket with auto-detect SSL on inbound, SSL and non-SSL outbound.
Compiles, but totally untested.
 #	../websocketpp/src/sockets/tls-hybrid.hpp
2013-01-23 13:35:55 -08:00
JoelKatz
e25863207a An assert in NetworkOPs.cpp line 850 was reported. This suggests a mutable
ledger came from the ledger master's "ledger by hash" table. This fixes an
obvious way that this can happen (that seems incredibly rare and requires a
transaction / ledger acquire race with a very narrow window) and adds some
extra asserts to try to catch this earlier.
2013-01-23 10:14:20 -08:00
JoelKatz
122593d0c1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-22 20:43:26 -08:00
JoelKatz
928e7139a3 Part of the flash policy code. 2013-01-22 20:43:10 -08:00
Stefan Thomas
39c857f4d8 Fix logic error in Amount.add which caused results to always be positive. 2013-01-23 00:50:27 +01:00
Arthur Britto
b4bcdc3fb7 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-22 14:06:57 -08:00
Arthur Britto
d15aa24f2a Fix offer create taking with XRP. 2013-01-22 14:06:36 -08:00
Stefan Thomas
2de124d6c0 Expose SJCL so the client doesn't have to include a second copy. 2013-01-22 20:38:44 +01:00
Stefan Thomas
73f5e7d0ba Update SJCL. 2013-01-22 20:38:09 +01:00
Stefan Thomas
c34a1e8f34 Load WebSocket module later.
This one change allows us to load the IE polyfills after the Ripple library.
Otherwise we would have to split up our dependencies into two groups, which
would add a bunch of complexity to the build system that I'd rather avoid.
2013-01-22 20:12:57 +01:00