Commit Graph

1289 Commits

Author SHA1 Message Date
JoelKatz
48f5f25076 This gets as many of the "nice to get right" cases exactly right as possible
without failing any of the critical cases.
2012-12-13 00:06:37 -08:00
JoelKatz
924e6e95b0 Extra logging. 2012-12-12 23:54:57 -08:00
Arthur Britto
6d3c82ab7b Merge branch 'reserve' 2012-12-12 21:55:25 -08:00
Arthur Britto
f1735c5cdf Move from account create fee to reserve XRP. 2012-12-12 21:54:56 -08:00
JoelKatz
93e4e4780a Try native*non-native too. 2012-12-12 21:53:13 -08:00
JoelKatz
d7fcb5c7ba Fix a native*native bug. Add a test to make sure integer multiplications give exact results. 2012-12-12 21:50:07 -08:00
JoelKatz
caf6be04b4 Fix the two bugs that are causing us the most pain. If we encounter an error while processing or handling
a connection, don't destroy the endpoint.
2012-12-12 21:17:00 -08:00
Arthur Britto
be5087a9de Embed our own private copy of websocketpp. 2012-12-12 19:07:03 -08:00
Arthur Britto
7ec2e5cc3e Remove submodule websocketpp. 2012-12-12 19:02:02 -08:00
Arthur Britto
895a176611 Make pathfinder return best quality paths. 2012-12-12 15:41:47 -08:00
JoelKatz
f27d435bb3 Fix rounding for the last time. It's [(10X+5)(10Y+5)]/100 -- this passes
every test I can imagine. (Tests added.)
2012-12-11 22:56:25 -08:00
Arthur Britto
4752c9ff4e UT: Fix payment test. 2012-12-11 21:23:56 -08:00
Arthur Britto
33d6508237 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-11 19:48:06 -08:00
Arthur Britto
8c6419e65b Work in progress on pathfind. 2012-12-11 19:47:53 -08:00
JoelKatz
cc592256a1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-11 18:42:33 -08:00
JoelKatz
bb77dc2bc0 Cleanup. 2012-12-11 18:42:17 -08:00
jed
94e2affb93 lower account create fee. 2012-12-11 18:24:58 -08:00
JoelKatz
3d66e30e7e Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-11 15:48:17 -08:00
Arthur Britto
eac6fe88c1 Add support for multiple path finding and path length limiting. 2012-12-11 15:31:55 -08:00
JoelKatz
8faa25e9ff Restore [(10X+3)(10Y+3)]/100 rounding. Arthur, please double check. 2012-12-11 15:12:21 -08:00
Arthur Britto
a1915bd899 Omit default paths from pathfinder results. 2012-12-11 14:03:32 -08:00
JoelKatz
42e3453073 Our new rounding actually does nothing. So let's not round. 2012-12-11 00:17:11 -08:00
JoelKatz
d705bde28a Cleanup. 2012-12-11 00:09:33 -08:00
JoelKatz
ddcf87cdb6 Tiny optimization. 2012-12-10 22:05:23 -08:00
JoelKatz
8f0089fc01 Bugfix. 2012-12-10 17:39:48 -08:00
JoelKatz
dd00d886a0 Use less funky rounding. Tiny optimization. 2012-12-10 17:36:48 -08:00
JoelKatz
16c8bebf44 Workaround websocketpp's bad exception logic. 2012-12-10 14:27:43 -08:00
Stefan Thomas
52fc3af69b Fix segfault on start. 2012-12-10 13:47:42 -08:00
jed
eea2739f53 add seq to offer json 2012-12-10 12:05:50 -08:00
JoelKatz
35ec825d8c Tie the peer code into the new load management code. 2012-12-10 06:27:52 -08:00
JoelKatz
5cbc8f0018 Put this code in the repository for discussion. The goal is to make a simple
way to create a tree of parameters that can have compile-time defaults,
configuration file overrides, command line overrides, and run-time get/set
functionality without having to write any additional code for each
parameter.
2012-12-09 21:41:16 -08:00
JoelKatz
b1dd6c2523 Load types. 2012-12-09 20:37:57 -08:00
JoelKatz
92ffca7f42 Get rid of this, merging with LoadManager. 2012-12-09 20:28:08 -08:00
JoelKatz
4ed1b4f267 Dispatch all websocket commands to our pool. This should fix the deadlocks. 2012-12-08 19:54:32 -08:00
JoelKatz
66021ab284 Don't lose the thread head when a threaded node (like an offer or contract) is deleted. 2012-12-08 19:12:29 -08:00
JoelKatz
62611771ac Remove redunant check. 2012-12-08 18:59:56 -08:00
JoelKatz
cbeacc5a30 Stray space. 2012-12-08 11:21:07 -08:00
JoelKatz
bdfa1d03f8 Fix a metadata corrupting bug. You can't use std::sort on a boost ptr_vector. 2012-12-08 11:15:37 -08:00
JoelKatz
78f6294832 Don't create a new context for each connection. 2012-12-08 10:42:25 -08:00
JoelKatz
502df2f1dd Close the file. 2012-12-08 10:39:48 -08:00
Arthur Britto
e03ed39fca Some pathfinding fixes. 2012-12-07 17:47:29 -08:00
Arthur Britto
bfce6b4ec1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-07 15:22:34 -08:00
Arthur Britto
2701f25052 Be more strict with payment build_path flag. 2012-12-07 15:22:24 -08:00
JoelKatz
54ee3904e2 Be more flexible in the way we accept certificate chains. 2012-12-07 14:29:39 -08:00
JoelKatz
0ace657d81 Error checking. 2012-12-07 10:45:21 -08:00
Arthur Britto
0f9cdb1c8b Remove support for RPC style calls over websocket. 2012-12-06 20:22:02 -08:00
Arthur Britto
8ad9d62641 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-06 20:16:19 -08:00
Arthur Britto
56e85db815 Fixes for ripple_path_find. 2012-12-06 20:16:12 -08:00
JoelKatz
670763d321 Need working ways to specify the key, cert, and chain. 2012-12-06 19:19:53 -08:00
JoelKatz
dbb70e2bf9 Stop whichever endpoint is running. 2012-12-06 19:14:58 -08:00