JoelKatz
98754ee962
Round XRP less aggressively.
2013-03-20 18:28:19 -07:00
JoelKatz
c961ae5815
Ensure stable order in account tx responses.
2013-03-20 16:53:39 -07:00
JoelKatz
9ff59c93f8
Fix bogus comment and race condition in ledger fetch code.
2013-03-20 09:31:03 -07:00
JoelKatz
371d52cc9e
Move LCT code to the right file.
...
Be smarter in the consensus set filter code.
2013-03-20 09:22:30 -07:00
JoelKatz
d8a384467a
Break out some ConsensusTransSetSF functions so I can work on them.
2013-03-20 08:58:19 -07:00
JoelKatz
72f291edd1
Better logging of connections to cluster peers.
2013-03-20 08:54:39 -07:00
JoelKatz
6e9a1f09b5
Break TransacionAcquire into its own implementation file.
2013-03-20 08:54:17 -07:00
JoelKatz
b829e84c01
Bump version.
2013-03-20 07:07:17 -07:00
JoelKatz
92fd82b38e
Don't relaunch the unit tests.
2013-03-20 06:46:13 -07:00
JoelKatz
017594950b
Use a thunk to name the aux thread.
2013-03-20 06:44:00 -07:00
JoelKatz
03e7a0ce40
Cosmetic.
2013-03-20 06:37:00 -07:00
JoelKatz
c24c3a315b
cosmetic.
2013-03-20 06:34:29 -07:00
JoelKatz
c5429032ed
Process monitors itself, restarts if it faults, preserves logs
...
and cores. Rate-limiting for safety.
2013-03-20 06:33:29 -07:00
JoelKatz
0e34de512e
I like parentheses.
2013-03-20 05:51:59 -07:00
JoelKatz
56fea329dc
Cosmetic
2013-03-20 05:51:51 -07:00
JoelKatz
9be2e62691
Off by one in previous patch.
2013-03-20 05:42:46 -07:00
JoelKatz
9ceb380cb8
Make debug easier by naming threads.
2013-03-20 05:41:08 -07:00
JoelKatz
f3400d88fc
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-20 02:01:54 -07:00
JoelKatz
d8e3cb1217
Log when we attempt a connection.
2013-03-20 02:01:33 -07:00
JoelKatz
8dc9b7bc64
Log IP address on peer disconnection.
2013-03-20 02:00:40 -07:00
Arthur Britto
af8418c89c
#27 Error rippling without auth.
2013-03-20 01:50:22 -07:00
JoelKatz
bd5c67328f
Ledger hashes are 64 characters long.
2013-03-20 01:34:52 -07:00
Arthur Britto
babaa6f726
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-20 01:21:57 -07:00
Arthur Britto
83e347c839
#27 Error creating offer without auth.
2013-03-20 01:21:41 -07:00
JoelKatz
9fbbee318d
Tweak the sqlite cache sizing.
2013-03-20 01:13:07 -07:00
JoelKatz
ce1e1a5bca
Don't let fetches squeeze memory on tiny and small builds.
2013-03-20 00:02:52 -07:00
JoelKatz
e75b3b3e3a
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-19 23:05:07 -07:00
JoelKatz
5494bc3158
Enlarge the SQLite database cache intelligently.
2013-03-19 23:04:47 -07:00
Arthur Britto
9c0310280b
RPC account_info support specifying ledger.
2013-03-19 21:15:08 -07:00
JoelKatz
5bc7e36df5
Fix the fix.
2013-03-18 21:22:54 -07:00
JoelKatz
1fdf27ca72
Fix bug that causes ledger synching take much more CPU and memory than it should.
2013-03-18 21:18:07 -07:00
JoelKatz
42c7ec7965
Make sure we maintain cluster connections.
2013-03-18 18:07:03 -07:00
JoelKatz
7a6a199df4
Take advantage of perfect forwarding in a few more places.
2013-03-18 03:10:54 -07:00
JoelKatz
125c5273a6
Dispatch transaction from job queue, not I/O service. Mark a FIXME where we don't do this.
2013-03-18 03:10:20 -07:00
JoelKatz
00913f838f
Fix the 'getAccountHash() == mAccountStateMap->getHash()' bug.
...
'getNeededHashes' can do the wrong thing (report no needed hashes when we
need them all) if we have a ledger's root node but not the root node of the
tree we're querying.
2013-03-17 22:04:34 -07:00
JoelKatz
9edfd51430
Reduce some log severities.
2013-03-17 21:24:56 -07:00
JoelKatz
6bc474c461
tryLocal should only check the hash database.
2013-03-17 17:30:35 -07:00
JoelKatz
1994ed96dd
Try to catch the acquire ledger bug earlier.
2013-03-17 16:51:44 -07:00
JoelKatz
74bf47c73d
Defer acquire timeouts if ledger data is backing up.
2013-03-16 18:30:26 -07:00
JoelKatz
a12c72f422
Be more careful not to tamper with an acquired ledger/map after
...
it has completed.
2013-03-16 18:22:35 -07:00
JoelKatz
47ffc5ff12
Some extra debug logging.
2013-03-16 16:41:13 -07:00
JoelKatz
b9456c8fd7
Except when interacting with boost, use std::function and std::bind
...
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00
JoelKatz
606dff758c
Support compiling with C++11 rules. Compile C++11 by default.
...
This gives us some significant performance boosts when containers and binds.
2013-03-16 02:38:05 -07:00
JoelKatz
2c7bbc0ea8
Preprocessor fix.
2013-03-16 01:57:59 -07:00
JoelKatz
9db1711d38
Preprocessor likes spaces between some tokens.
2013-03-16 01:55:57 -07:00
JoelKatz
986cce6335
Fix case sensitive header issues.
2013-03-16 01:09:34 -07:00
JoelKatz
51320d8746
Whitespace fix.
2013-03-16 01:08:55 -07:00
JoelKatz
e310b49353
Fix parsing of split headers.
2013-03-16 00:21:44 -07:00
JoelKatz
f222544048
Do the same thing for timer entry.
2013-03-15 22:50:26 -07:00
JoelKatz
e392366c63
Get ledger acquire work off the main thread and out of the master lock.
...
Prioritize ledger acquire work appripriately. This should help prevent the
server from becoming overly sluggish while acquiring ledgers. Still todo:
Finish all pending receive operations before sending out any data requests.
2013-03-15 22:34:55 -07:00