JoelKatz
3a30c0da29
Fee change bugfixes.
2013-04-23 12:03:39 -07:00
JoelKatz
a9a0ef0fae
Finish fee change logic.
2013-04-23 12:03:33 -07:00
JoelKatz
0278244e0d
Complete the log rotate even if we can't rename the existing log file.
2013-04-23 12:02:40 -07:00
JoelKatz
5576316194
Transactor for change/fee.
...
Conflicts:
src/cpp/ripple/ChangeTransactor.h
2013-04-23 11:59:37 -07:00
JoelKatz
7e2bf8e522
Change/Fee transactor.
...
Conflicts:
src/cpp/ripple/LedgerEntrySet.h
2013-04-23 11:58:51 -07:00
JoelKatz
5cccc4f75d
Missing from previous commits.
2013-04-23 11:53:05 -07:00
JoelKatz
132d0c3dce
Fee space was wrong.
2013-04-23 11:39:40 -07:00
JoelKatz
1303d488b2
All reserve votees in validations.
2013-04-23 08:37:07 -07:00
JoelKatz
0643f8635b
Don't make a fetch pack if load is too high.
2013-04-23 06:59:47 -07:00
JoelKatz
0cc465a812
Remove log.
2013-04-23 06:53:31 -07:00
JoelKatz
ff2717ef57
Bump to version 3.7.16.2
2013-04-23 06:51:24 -07:00
JoelKatz
4e51df525e
Include more information in fetch packs.
2013-04-23 06:50:55 -07:00
JoelKatz
06eb2ab872
Fix for c++03
2013-04-22 20:44:06 -07:00
JoelKatz
38d54dcdc6
Make this work on C++03 as well.
2013-04-22 19:51:31 -07:00
JoelKatz
455595891b
Merge code to advertise and generate fetch packs.
2013-04-22 14:18:45 -07:00
JoelKatz
a6ce832ed3
Make it compile.
2013-04-22 12:58:50 -07:00
JoelKatz
4c480419e9
Basic stuff needed to start merging.
2013-04-22 12:54:17 -07:00
JoelKatz
eb6cc06c35
Remove bogus seq.
2013-04-22 12:47:44 -07:00
JoelKatz
0a9f26975d
Protocol version check was busted.
2013-04-22 07:35:43 -07:00
JoelKatz
06741fd2a7
Fix a bug that can cause us to fail to realize we're in sync.
2013-04-21 16:34:30 -07:00
JoelKatz
b573b1915b
Map sync bugfix - wrong hash caused 'fullBelow' optimization to fail.
2013-04-21 12:49:27 -07:00
JoelKatz
bad215d607
Cache the hashes of nodes known to be full below.
...
Remove the TNByID entries for those nodes in state trees.
This reduces the memory and I/O neded during ledger fetching and prevents
ledger fetching from crushing other caches.
2013-04-19 15:00:36 -07:00
JoelKatz
0ff8190ea8
Sorry, I broke the unit tests.
2013-04-19 02:04:38 -07:00
JoelKatz
67021f5db9
Fix a rare race condition.
2013-04-19 00:17:39 -07:00
JoelKatz
f5643cd308
Fix bogus error reporting.
2013-04-18 20:21:20 -07:00
JoelKatz
6e9f1255e4
Hanging locks.
2013-04-18 20:15:17 -07:00
JoelKatz
57c5eb8c5c
Don't hold sqlite locks across invocations.
2013-04-18 20:15:09 -07:00
JoelKatz
47ddbfb333
Move background hashed object writes to their own DB connection.
2013-04-18 19:01:48 -07:00
JoelKatz
2f6c1025e4
No reason to setup checkpointing on hash node db. All writes
...
come from a lazy writing thread.
2013-04-18 16:28:02 -07:00
JoelKatz
d6df59010b
Small WAL cleanup.
2013-04-18 16:27:57 -07:00
JoelKatz
d9db560d9f
Don't let WAL files grow without bound.
2013-04-18 16:27:50 -07:00
JoelKatz
395a36a47f
Remove an assert that can false trigger.
2013-04-17 15:48:57 -07:00
JoelKatz
b2fdee7bb9
Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock.
2013-04-17 13:12:30 -07:00
JoelKatz
a8fa6c595a
The next part of the reserve/fee change code.
2013-04-17 08:37:25 -07:00
Arthur Britto
805862f719
Fix calcNodeRipple to use correct rate.
2013-04-17 02:28:07 -07:00
JoelKatz
eb957cc662
Simplify and improve the WAL code.
2013-04-17 00:06:37 -07:00
JoelKatz
ee393aef36
Stop processing on dead connections ASAP
2013-04-16 20:48:22 -07:00
JoelKatz
c15de1db76
Aggregate client load into a queue. This will prevent large numbers of commands
...
from a single client from flooding the job queue.
2013-04-16 20:48:17 -07:00
JoelKatz
11306ff061
Tiny cleanup.
2013-04-16 20:48:00 -07:00
JoelKatz
531dad6cfc
Merge fixes.
2013-04-16 12:01:25 -07:00
JoelKatz
71c15310d9
Small fix.
2013-04-16 11:57:02 -07:00
JoelKatz
09e4f6a4fe
Merge fixes.
2013-04-16 11:53:50 -07:00
JoelKatz
644d97a332
Add a getLedgerNext that takes into account changes in the LES.
...
Conflicts:
src/cpp/ripple/RippleCalc.cpp
2013-04-16 11:45:04 -07:00
JoelKatz
aa984592ca
Avoid assert.
2013-04-16 11:43:37 -07:00
JoelKatz
61efda89a5
This keeps the two timing schemes compatible.
2013-04-15 14:38:49 -07:00
JoelKatz
9feb97e530
Timing change to avoid allowing a server to race ahead of the
...
majority of validators. Enforce minimum ledger open time which
is extended if there are too few validations.
2013-04-15 14:38:44 -07:00
JoelKatz
a68acc92bc
Merge branch 'master' of github.com:jedmccaleb/NewCoin into cherry
2013-04-15 07:15:21 -07:00
JoelKatz
a12d2648fc
Don't send a zero amount.
2013-04-15 05:44:35 -07:00
JoelKatz
fe2b838d49
Make the code match the comment.
2013-04-14 04:38:46 -07:00
JoelKatz
f30ce4171a
Don't count forced issuer nodes after exchanges because we didn't have to find them.
...
Drop the default maximum path length to four because exchanges to non-XRP aren't overcounted.
2013-04-14 04:37:32 -07:00