Commit Graph

30 Commits

Author SHA1 Message Date
JoelKatz
73c5b6addb There's a proper way to workaround the silliness, io_service::work 2012-09-18 13:21:07 -07:00
JoelKatz
d28bb9f771 Ugly workaround for Boost I/O service weirdness. I/O service unconditionally
terminates if it has no work to do and cannot be used to wait around for
'post' calls.
2012-09-18 12:23:14 -07:00
JoelKatz
205f5e4a63 Call to get the auxiliary I/O service 2012-09-14 07:07:44 -07:00
JoelKatz
be17a3866f Fix the race condition bug Jed reported. A time jump on startup could cause
an apparently overly-long (or even negative) ledger interval. The fix is to
start up time synch earlier and to tolerate slight negative ledger intervals.
2012-08-08 14:22:03 -07:00
JoelKatz
6bd7738303 Make time errors a thing of the past. 2012-08-05 00:19:41 -07:00
JoelKatz
ee01b55874 An SNTP client implementation. About 95% complete right now. 2012-08-04 21:33:05 -07:00
Arthur Britto
0bcbb5bd75 Move RPC data_* commands data to db/rpc.db. 2012-06-26 03:39:15 -07:00
JoelKatz
e832639776 Return whether the application is running. 2012-06-25 09:10:17 -07:00
JoelKatz
324992b2ad Bugfixes. 2012-06-24 06:31:03 -07:00
JoelKatz
a4b66042c5 Fix a bug where validations weren't passed to the consensus handler.
Change 'suppress' to 'isNew' to better reflect the meaning of its return value.
2012-06-23 21:54:34 -07:00
JoelKatz
5c41a41e4b Enforce some sanity on the HashedObject code. 2012-06-23 20:16:42 -07:00
Arthur Britto
408fe7400d Integrate websocket door into Application. 2012-06-22 00:29:27 -07:00
JoelKatz
22302319f4 Supression table. 2012-06-18 21:00:48 -07:00
JoelKatz
c3cc457f2d Create a valiadation collection object. 2012-06-18 16:58:38 -07:00
JoelKatz
2d49cacd29 Move all SQL operations on ledger close into the ledger code so we can
accept ledgers without having to participate in the consensus process. We'll
need this when we implement "catch up".

Move AcctTx into the same connection as Txn so they can be part of a single
transaction.

Dispatch ledger accept synchronization functions into a detached thread so it
doesn't stall our I/O engine.
2012-06-09 22:01:31 -07:00
JoelKatz
ea5ae2a113 Structures for tracking transactions by which accounts they affect. 2012-06-08 18:13:13 -07:00
Arthur Britto
e204a7dc3d Add const restrictions. 2012-06-06 01:25:00 -07:00
JoelKatz
27241a9a5c Application-level tagged cache. 2012-06-04 07:17:54 -07:00
JoelKatz
bef64eaad5 Nicer nonce/hash code. 2012-06-04 06:14:23 -07:00
Arthur Britto
e6745d0b3b Add mNonce256 to Application. 2012-06-01 01:16:31 -07:00
Arthur Britto
68c8434a2b Rework RPCServer to go through NetworkOPs. 2012-05-30 00:41:10 -07:00
Arthur Britto
fc50c5edb8 Comment out lots of obsolete LocalAccount stuff. 2012-05-16 15:09:16 -07:00
Arthur Britto
2da5c4cc31 Remove dead code TimingService. 2012-05-09 17:05:28 -07:00
JoelKatz
2bdd06f5cc Pass io_service to NetworkOPs to it can set timers. 2012-05-03 15:45:04 -07:00
Arthur Britto
41ba874199 Remove KnownNodeList completely and remove pugi from build. 2012-04-24 17:07:43 -07:00
Arthur Britto
d03c1bd11d Cosmetic changes. 2012-04-14 19:13:08 -07:00
Arthur Britto
85b5922603 Work toward automated UNL maintenance. 2012-04-13 20:47:34 -07:00
Arthur Britto
98d6065460 Initial support for fetch newcoin.txt via https. 2012-03-29 21:14:57 -07:00
JoelKatz
481923f636 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-03-07 15:27:13 -08:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00