Commit Graph

871 Commits

Author SHA1 Message Date
JoelKatz
faa344c7d0 Dispatch write ahead logging through our job queue. SQL logging improvements. 2013-01-28 14:32:52 -08:00
JoelKatz
e48ef29f8c Dispatch HashedObject background writes through our job queue. 2013-01-28 07:13:05 -08:00
JoelKatz
e9d405302c Use the new code. 2013-01-28 07:05:49 -08:00
JoelKatz
5686f65063 Add a new helper function. 2013-01-28 07:05:31 -08:00
JoelKatz
0cb1a1d84b Cleanups and timing adjustments. 2013-01-28 02:32:57 -08:00
JoelKatz
635aa35d49 Tuning change. 2013-01-28 02:07:47 -08:00
JoelKatz
2466eba17b Use a prepared statement to retrieve. 2013-01-28 01:54:01 -08:00
JoelKatz
d9938fe033 Cleanup blob functions. 2013-01-28 01:33:19 -08:00
JoelKatz
d3ac663c9a Use slightly cheaper SetHex 2013-01-28 01:14:06 -08:00
JoelKatz
c543b77699 Demote debug. 2013-01-28 01:13:55 -08:00
JoelKatz
9a7ccf777e Fix a bug that can stall the acquire engine. 2013-01-28 01:13:39 -08:00
JoelKatz
8ec2d1d54d Cleanup. 2013-01-27 23:42:59 -08:00
JoelKatz
663c4bd8e5 Use the Sqlite3 prepared statement API for an expensive operation on startup. 2013-01-27 23:41:30 -08:00
JoelKatz
d522f04385 Give access to the sqlite3 prepared statement API. 2013-01-27 23:41:15 -08:00
JoelKatz
e8ac00e1a3 Allow tunable node sizes to adjust cache sizes, sweep timing, fetch
timing, and so on. Node size defaults to "tiny", which converves
memory and bandwidth.
2013-01-27 13:55:59 -08:00
JoelKatz
bdd5d4af9f Add 'dropCache' function to remove extraneous nodes from memory. 2013-01-27 13:55:06 -08:00
JoelKatz
43cc001eb9 Missing handlers. 2013-01-27 13:50:02 -08:00
Arthur Britto
26a3cebf2e Don't let offer taker spend savings. 2013-01-27 11:52:02 -08:00
Arthur Britto
1cbe6be1bd Be more cautious with rounding in applyOffer. 2013-01-27 11:51:17 -08:00
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
dba8ae2db6 Updates. 2013-01-24 12:50:48 -08: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