Commit Graph

1570 Commits

Author SHA1 Message Date
JoelKatz
f2397856a5 Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding 2013-04-03 12:46:32 -07:00
JoelKatz
e7a41fab8f Restore the original behavior.
We do not want to call RAND_screen because it calls RAND_poll.
Let me know if this breaks anything.
2013-04-02 16:46:28 -07:00
JoelKatz
116c89fad5 Add "round to zero" to subRound/addRound. 2013-04-02 15:07:40 -07:00
JoelKatz
00e2ac8298 Fix a race applying connections to the open ledger. 2013-04-02 13:41:42 -07:00
JoelKatz
24fe80e629 Cleanup. 2013-04-02 13:41:34 -07:00
JoelKatz
335716c1c6 Extra statement constructor. 2013-04-02 13:41:17 -07:00
JoelKatz
2e28179217 Suppress some warnings. 2013-04-02 12:24:05 -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
d0009872c1 Check. 2013-03-31 23:57:03 -07:00
JoelKatz
450fb5c0db Cosmetic. 2013-03-31 23:56:48 -07:00
JoelKatz
f6b9e0ca80 Should return 'false', not throw. 2013-03-31 23:56:37 -07:00
JoelKatz
23183c23bd Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-31 23:56:21 -07:00
JoelKatz
526b4a4a6d Don't permit XRP to be specified as an object. 2013-03-31 23:55:59 -07:00
Arthur Britto
96733c2874 Add trust auto clear. Fixes #28 2013-03-31 16:15:45 -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
ac202c199d If an addition or subtraction has a microscopic amount left, make it zero. 2013-03-31 10:37:08 -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
7ac5f3f34c Don't return canonical paths. It's broken. 2013-03-30 16:59:12 -07:00
Arthur Britto
0dadf53167 Fix pathfinding mis-setting currency on order book out. 2013-03-30 15:49:58 -07:00
Arthur Britto
97d73de168 Require path nodes for offers to specify a currency or issuer change. 2013-03-30 13:46:34 -07:00
Arthur Britto
c67366ea25 Url Encode SMS messages. 2013-03-30 01:00:00 -07:00
Arthur Britto
58b3cc1dd6 Add nexmo SMS support. 2013-03-30 00:34:49 -07:00
JoelKatz
fc435fa75f Correctly account for liquidity in the implied default path. 2013-03-29 20:19:47 -07:00
JoelKatz
6af550800a Explain the issue. 2013-03-29 19:41:15 -07:00
JoelKatz
8215463879 Thread dispatch fixes. (code is commented out) 2013-03-29 18:28:16 -07:00
JoelKatz
4f029e25b6 Temporarily back out the thread migration code until I can figure out if Boost's IO service is broken. 2013-03-29 17:56:03 -07:00
JoelKatz
3bfd62971a Comment out code that breaks a unit test. 2013-03-29 17:37:30 -07:00
JoelKatz
fc04d62bae Temporarily comment out this check. 2013-03-29 17:14:34 -07:00
JoelKatz
1b8be99f89 Log when we skip a non-filling path. 2013-03-29 17:12:45 -07:00
JoelKatz
75dd924f3a Don't spin when an IO+ thread returns to the job queue. 2013-03-29 17:07:42 -07:00
JoelKatz
1de7ef2058 Small tweak. 2013-03-29 16:53:15 -07:00
JoelKatz
e8e927a0fb Last path must provide adequate liquidity. 2013-03-29 16:45:31 -07:00
JoelKatz
159ba3f848 Improve log message. 2013-03-29 16:16:14 -07:00
JoelKatz
89fb28ff1d Missing timeout limit.
#	../../../RippleLedger265050/
2013-03-29 16:15:56 -07:00
JoelKatz
0578034d74 Begin supporting more paths. 2013-03-29 16:15:48 -07:00
JoelKatz
064712b4f0 A more elegant fix. 2013-03-29 16:00:05 -07:00
JoelKatz
351e80b69c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-29 15:52:31 -07:00
JoelKatz
3ba3567165 Fix a bug that can cause a payment not to work if too many cheap "dust" paths clog out the
paths with real liquidity. This is not a great fix, but it's a good fix.
2013-03-29 15:51:41 -07:00
JoelKatz
f96df4d84f Add the IP address to a log message. 2013-03-29 15:48:54 -07:00
jed
62223a7b88 windows 2013-03-29 14:48:51 -07:00
JoelKatz
e29e6fa13a newcoin->ripple 2013-03-29 14:19:35 -07:00
JoelKatz
32c133fe26 Move winsock include to before boost includes. 2013-03-29 14:16:19 -07:00
JoelKatz
f88d6804a3 Cache the JSON of an ALTransaction. 2013-03-29 10:53:34 -07:00
JoelKatz
e5024074c0 Merge branch 'master' of https://github.com/jedmccaleb/NewCoin into new_pathfinding
Conflicts:
	src/cpp/ripple/Application.cpp
	src/cpp/ripple/Pathfinder.cpp

Merge.
2013-03-29 10:27:54 -07:00
JoelKatz
9cbd019874 A small change with big consequences. Allow job queue threads to moonlight as I/O threads. 2013-03-29 10:18:11 -07:00
JoelKatz
3b40a7787d Small tweaks. 2013-03-29 10:17:17 -07:00
JoelKatz
a455d71901 Don't count lock acquire time.
FreeBSD
2013-03-29 10:16:50 -07:00