Vinnie Falco
72769c5c40
Plug backends into NodeStore
2013-07-10 14:23:23 -07:00
JoelKatz
c288c4cd25
Fix a bug that can destroy metadata. If we find destroyed
...
metadata, fix it.
2013-07-09 09:38:50 -07:00
Vinnie Falco
259c81499b
Simplify Application shared singleton
2013-07-01 09:32:09 -07:00
Vinnie Falco
b52bbccd8a
Streamline Log with print() and out()
2013-07-01 09:32:09 -07:00
Vinnie Falco
c35c52ff08
Fix platform and debug macros
2013-07-01 09:32:08 -07:00
Vinnie Falco
0deaeb1000
Cleanly destroy Application on exit
2013-07-01 09:32:06 -07:00
Vinnie Falco
905b920e99
Split unit tests to separate files
2013-06-27 10:37:01 -07:00
Vinnie Falco
2abec05b5b
Replace InstanceCounter with CountedObject
2013-06-19 16:23:03 -07:00
Vinnie Falco
00a7cbf610
Update copyright notice and 80 column separators
2013-06-15 18:20:59 -07:00
Vinnie Falco
8aab3645cb
Tidy up TxFormat and create TxFormats, TxFlags
2013-06-15 18:20:58 -07:00
Vinnie Falco
521e812fc4
Reformatting using AStyle
2013-06-14 08:45:13 -07:00
Vinnie Falco
b664f906c0
Tidy up
2013-06-12 18:21:57 -07:00
JoelKatz
d1af075b29
Reduce (ab)use of exceptions.
2013-06-11 16:59:09 -07:00
Vinnie Falco
3273625f61
Split up InfoSub and tidy up various files
2013-06-09 11:26:18 -07:00
Vinnie Falco
b51edb58fc
Replace std::vector<unsigned char> with Blob
2013-06-07 15:24:39 -07:00
Vinnie Falco
4d1bf35236
Move PackedMessage to ripple_data
2013-06-06 21:43:44 -07:00
JoelKatz
69a904133f
Block operation if a feature we don't support is enabled in the ledger.
2013-05-30 14:30:06 -07:00
JoelKatz
a38e80eb6b
Function to get list of features supported by ledger.
2013-05-30 13:44:18 -07:00
JoelKatz
fdea361dd7
Add 'visitAccountItems' function.
2013-05-30 13:07:53 -07:00
JoelKatz
aef0a84e07
Don't use getAccountState as a quick way to check if an account
...
exists in a ledger. It's much heavier than needed.
2013-05-30 11:48:13 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
5615bd230d
Strip includes from module sources and move them into unity .cpp file
2013-05-27 13:14:06 -07:00
Vinnie Falco
a5ab694e48
Switch over more files to use the new Log functions
2013-05-27 13:14:04 -07:00
Vinnie Falco
8c880d9275
Update Ledger to use WriteLog
2013-05-27 13:14:04 -07:00
JoelKatz
5674f388ed
Ledgers fetched by SQL are immutable.
2013-05-23 11:08:31 -07:00
JoelKatz
379875ae47
Hash is not valid if transaction is added to ledger.
2013-05-16 00:57:56 -07:00
JoelKatz
232e93f214
Merge branch 'faster_clientops' into develop
...
Conflicts:
src/cpp/ripple/LedgerEntrySet.cpp
2013-05-14 16:02:10 -07:00
JoelKatz
6a84a95979
Accept ledgers more efficiently by avoiding allocate/allocate/copy/copy/free cycles.
2013-05-14 11:49:33 -07:00
JoelKatz
d87c602c8c
Log reduction.
2013-05-14 11:04:32 -07:00
JoelKatz
41b70c76da
If we detect a missing node in a ledger we're supposed to have full,
...
re-acquire that ledger to fill the hole.
2013-05-08 15:55:52 -07:00
JoelKatz
46c1488484
Buglets found by static code inspection, including a whopper in divRound.
2013-04-27 00:35:16 -07:00
JoelKatz
8a368204c1
Last part of the fetch pack code.
2013-04-22 06:56:11 -07:00
JoelKatz
8ed0d107fd
Allow administrators to submit transactions that don't meet the local load fee.
2013-04-15 17:14:20 -07:00
JoelKatz
d73995e695
An optimization. Faster GetHex for exact strings.
2013-04-01 21:01:06 -07:00
JoelKatz
78d1a93e69
Reusing prepared statements is slower.
2013-04-01 20:24:01 -07:00
JoelKatz
5cc9314d03
Add a framework for detecting databases that need updating.
...
Put transaction from account_tx command in transaction application sequence.
CAUTION: This modifies your databases and will cause a delay on your next startup.
2013-04-01 19:03:28 -07:00
JoelKatz
bd4e00e391
On some platforms, make_shared can only count to 9.
2013-03-31 15:39:38 -07:00
JoelKatz
2f943126e6
Must pass by reference.
2013-03-31 15:36:34 -07:00
JoelKatz
fbe8823439
Don't blow up if we have a ledger in the ledger DB but not its root map node in the node DB.
2013-03-30 19:53:34 -07:00
JoelKatz
433a336269
Change some fields in the way estimated close times are presented in JSON.
2013-03-22 08:09:48 -07:00
JoelKatz
ce1e1a5bca
Don't let fetches squeeze memory on tiny and small builds.
2013-03-20 00:02:52 -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
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
5f35afc645
This makes more sense.
2013-03-15 02:38:47 -07:00
JoelKatz
64b2a50e8b
Temporarily disable dropCache.
2013-03-15 02:25:59 -07:00
JoelKatz
4322403987
Fix unrouted log.
2013-03-15 02:22:54 -07:00
JoelKatz
2248d92a33
Wrap all peer socket accesses in a strand. This is needed to prevent a fatal
...
race condition in composed intermediary functions.
A few ledger acquire cleanups.
2013-03-12 16:53:30 -07:00
JoelKatz
c85fc7ef64
Bug that crashed client machine.
2013-03-12 15:57:25 -07:00
JoelKatz
dd387b840a
Fix count
2013-03-12 15:29:56 -07:00