Commit Graph

5325 Commits

Author SHA1 Message Date
JoelKatz
eabcd18d78 Reject objects with duplicate keys. 2013-04-28 12:26:48 -07:00
Arthur Britto
d8e42a0ae7 Change temDST_TAG_NEEDED to tefDST_TAG_NEEDED. 2013-04-28 12:25:59 -07:00
Arthur Britto
8489e3322a Have RPC account_info recognize bitcoin addresses. 2013-04-28 12:22:41 -07:00
Arthur Britto
285733c699 Cache RippleAddress validity. 2013-04-28 12:22:22 -07:00
JoelKatz
741eff1b2f Buglets found by static code inspection, including a whopper in divRound.
Conflicts:
	src/cpp/ripple/NetworkOPs.cpp
2013-04-28 12:19:07 -07:00
JoelKatz
9da36e4936 We should accept our own amounts. 2013-04-28 12:13:28 -07:00
JoelKatz
c3f6d047ab Better consensus timing logging. 2013-04-27 02:08:20 -07:00
JoelKatz
8e6df542c0 Some things missed in the merge. 2013-04-26 19:00:57 -07:00
Arthur Britto
d89347edbd Add support for DisallowXRP. 2013-04-26 18:59:26 -07:00
Arthur Britto
447bd27310 Add tfSell support for OfferCreate.
Conflicts:
	src/cpp/ripple/Amount.cpp
2013-04-26 18:59:04 -07:00
Arthur Britto
1e3b02841b Have OfferCreate require positive funds.
Conflicts:
	src/cpp/ripple/Amount.cpp
2013-04-26 12:21:52 -07:00
JoelKatz
cc04847961 Merge fixes. 2013-04-26 00:47:35 -07:00
JoelKatz
09b6c7cc61 I/O reduction. Rewrite SHAMap::addKnownNode 2013-04-25 11:14:24 -07:00
JoelKatz
a8a0ff4c13 Fix 'getStr' to not crash on a non-existent column. 2013-04-25 09:10:07 -07:00
JoelKatz
61f455ec58 We log the wrong ledger hash 2013-04-24 09:40:13 -07:00
JoelKatz
45b5884d55 Change default fee vote to 50/12.5 2013-04-24 08:50:19 -07:00
JoelKatz
a7b679e2d0 Final cleanups. 2013-04-24 08:29:08 -07:00
JoelKatz
b0519df150 Manual merges. 2013-04-23 12:16:42 -07:00
Arthur Britto
1b8eaa5394 Offer rounding improvements. 2013-04-23 12:09:08 -07:00
Arthur Britto
55a8f63862 Make RPC account_lines support specify the peer account. 2013-04-23 12:07:02 -07:00
Arthur Britto
ed9eb85463 Augment book_offers with quality. 2013-04-23 12:06:11 -07:00
JoelKatz
fffc8604ee Coerce round to zero was broken due to a bad sign. 2013-04-23 12:05:08 -07:00
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