Commit Graph

75 Commits

Author SHA1 Message Date
JoelKatz
e473ce8424 Support "standalone" mode (-a or --standalone) in which we do not connect
to the network and do not close ledgers. This mode makes it much easier to
test transactions as they are only applied once to the open ledger.
2012-08-14 15:35:30 -07:00
JoelKatz
3dcdc3b94a Fire up the aux thread earlier. 2012-08-14 01:51:17 -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
JoelKatz
d83d8080fd Efficiently save validations. 2012-07-17 03:10:05 -07:00
JoelKatz
d9d1d72556 Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger. 2012-07-16 00:06:00 -07:00
JoelKatz
53594f126f Bugfixes. 2012-07-14 02:14:50 -07:00
JoelKatz
7957efbf48 Typo. 2012-07-14 00:18:14 -07:00
JoelKatz
5a660d1f04 Bugfixes. 2012-07-14 00:17:41 -07:00
JoelKatz
182228b6f9 Infrastructure for continuous ledger close. 2012-06-30 16:58:05 -07:00
Arthur Britto
0bcbb5bd75 Move RPC data_* commands data to db/rpc.db. 2012-06-26 03:39:15 -07:00
JoelKatz
324992b2ad Bugfixes. 2012-06-24 06:31:03 -07:00
JoelKatz
748461ddc2 Make the hashed object write code not block on an SQL write. Make bulk updates efficient. 2012-06-24 04:53:31 -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
f17f4dc305 Halve no-DB startup time. 2012-06-20 02:54:19 -07:00
JoelKatz
a1523fcb06 Fix log chattiness. Add a new configuration parameter "debug_logfile" 2012-06-18 20:05:12 -07:00
Arthur Britto
d6ca0389c9 Make UNL bootstrapping more robust. 2012-06-16 12:18:02 -07:00
Arthur Britto
f774baefeb Change RPC unl_default to unl_load & unl_network and add UNL bootstrapping. 2012-06-16 11:46:17 -07:00
Arthur Britto
a67756703c Get rid of more references to boost trivial. 2012-06-14 09:29:55 -07:00
Arthur Britto
617bd47d07 Get rid of word Family from NewcoinAddress routines. 2012-06-13 23:46:00 -07:00
Arthur Britto
8264fc1d1a Remove references to LOG_TRIVIAL. 2012-06-13 23:35:45 -07:00
Arthur Britto
f000947bc7 Clean up creating seed from string. 2012-06-13 17:50:44 -07:00
Arthur Britto
fff4e87090 Merge branch 'vfixes' 2012-06-13 11:57:08 -07:00
Arthur Britto
e46149819d Remove use of deprecated crypto code. 2012-06-13 11:56:01 -07:00
jed
e6464e2832 more work on your peer list 2012-06-13 09:57:08 -07:00
jed
f7b5753be1 maintain db of peers 2012-06-13 08:20:08 -07:00
Arthur Britto
063d4352ee Implement XDG spec for file layout. 2012-06-11 20:14:35 -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
9739eea860 More sensible name 2012-06-09 18:08:16 -07:00
JoelKatz
ea5ae2a113 Structures for tracking transactions by which accounts they affect. 2012-06-08 18:13:13 -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
JoelKatz
31e70c0cd2 Use new Ledger constructors. 2012-06-03 19:42:30 -07:00
Arthur Britto
f0e3383856 Fix starting number of XNS. 2012-06-02 02:04:46 -07:00
Arthur Britto
545ede1823 Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
	src/SHAMap.cpp
2012-06-01 01:23:19 -07:00
Arthur Britto
e6745d0b3b Add mNonce256 to Application. 2012-06-01 01:16:31 -07:00
JoelKatz
83d8a347ee Make SHAMapNode::ClassInit self-invoking. 2012-05-31 13:35:27 -07:00
JoelKatz
83aa616d13 Remove synched flag, and neww pushLedger function. 2012-05-30 21:25:47 -07:00
Arthur Britto
68c8434a2b Rework RPCServer to go through NetworkOPs. 2012-05-30 00:41:10 -07:00
Arthur Britto
0010656ff8 Remove obsolete Local* code. 2012-05-20 01:52:23 -07:00
Arthur Britto
47b168c390 Merge branch 'pay' 2012-05-19 18:20:14 -07:00
Arthur Britto
5cba2b4497 Less debugging. 2012-05-19 18:17:44 -07:00
JoelKatz
70e9fbb92b Speed up testing. 2012-05-18 21:23:51 -07:00
Arthur Britto
66c02cd078 Change root master passphrase to "masterpassphrase". 2012-05-16 17:14:44 -07:00
JoelKatz
5f3521e0f4 Missing class initialization. 2012-05-15 20:19:19 -07:00
Arthur Britto
04e44960e4 Clean up root account generation. 2012-05-15 00:09:22 -07:00
Arthur Britto
b0fec63582 Remove old claim example code. 2012-05-12 21:57:20 -07:00
Arthur Britto
5ad3eb6d4d Work towards Claim. 2012-05-11 18:29:41 -07:00