JoelKatz
7172946b8d
For now, limit to one transaction thread in standalone mode.
2012-12-17 23:56:13 -08:00
JoelKatz
8a1033caad
Second round of removing extraneous copy constructor and destructor calls.
2012-12-17 20:31:26 -08:00
JoelKatz
2a06686b7c
Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
...
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
JoelKatz
961ac4690e
Typo.
2012-12-17 20:05:54 -08:00
JoelKatz
690f2dac6a
Tiny cleanup.
2012-12-17 18:27:46 -08:00
Arthur Britto
20d429cd7b
Fix password rearming.
2012-12-17 18:27:02 -08:00
JoelKatz
33af423a30
Mark a critical FIXME.
2012-12-17 18:19:42 -08:00
JoelKatz
a88f24ca6d
Make it compile.
2012-12-17 18:13:19 -08:00
JoelKatz
a8dfc0332f
Fix breakage.
2012-12-17 18:12:07 -08:00
JoelKatz
038adf2a34
Mark two FIXMEs in code that handles fees wrongly. Work on doing fees correctly.
2012-12-17 18:09:47 -08:00
JoelKatz
159ab7717b
I fixed it for real this time.
2012-12-17 11:56:43 -08:00
JoelKatz
293214155f
One last try.
2012-12-17 11:51:43 -08:00
JoelKatz
e9f9406cf9
Try it again.
2012-12-17 11:48:22 -08:00
JoelKatz
f868fb3d23
Maybe fix the build for Jeff.
2012-12-17 11:41:07 -08:00
JoelKatz
a25a9831f1
Fee tracking both that scales with load and that doesn't (for the reserve). Get fees as json.
...
Locks for the fee manager.
2012-12-17 04:36:58 -08:00
Arthur Britto
0bc4a7b1e2
Fix extraneous offer creation.
2012-12-15 16:48:46 -08:00
Arthur Britto
65bb4a8941
Avoid letting owner counts go bad.
2012-12-15 15:22:54 -08:00
Arthur Britto
6114a0b643
Fix no destination errors.
2012-12-15 13:47:56 -08:00
Arthur Britto
4baa8b3c5d
Add support for offers to allow parties to go into debt. Broken.
2012-12-15 00:06:12 -08:00
Arthur Britto
12a4ce88ec
Add support for incrementally updating owner count.
2012-12-14 21:19:44 -08:00
Arthur Britto
dd8e155226
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-14 16:34:38 -08:00
Arthur Britto
f93dc7a7b4
Fix network state reporting in server and client.
2012-12-14 16:34:11 -08:00
JoelKatz
fa4ff04d06
Broaden the integer multiplication testing.
2012-12-14 16:18:32 -08:00
JoelKatz
534ce8307f
Have to special-case the root node.
2012-12-14 12:07:50 -08:00
JoelKatz
efd9e91c51
Cleanups. Remove some redundant checks.
2012-12-14 10:53:22 -08:00
JoelKatz
0da30fc82e
Avoid some extraneous reference count operations.
2012-12-14 10:10:52 -08:00
JoelKatz
bc3f641373
Track when a node was last accessed.
2012-12-14 09:56:28 -08:00
JoelKatz
a23788de77
Fix a small memory leak.
2012-12-14 08:51:33 -08:00
Arthur Britto
5b60c73489
Look in account for sfOwnerCount.
2012-12-13 17:09:41 -08:00
Arthur Britto
38650ec819
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-13 16:55:50 -08:00
Arthur Britto
df4d2ec149
Check field present for stOwnerCount.
2012-12-13 16:55:37 -08:00
JoelKatz
f8e98694c6
Emergency workaround.
2012-12-13 16:41:28 -08:00
JoelKatz
26915da1a4
Temporary workaround.
2012-12-13 16:36:20 -08:00
Arthur Britto
72d8811ad3
Add and use new owner_reserve.
2012-12-13 15:45:49 -08:00
JoelKatz
092fe4389e
Tiny optimization -- don't find the entry twice.
2012-12-13 12:15:23 -08:00
JoelKatz
ef93881d71
Fix the deadlock. We were destroying the WSConnection while holding the
...
MapLock causing a deadlock between the MapLock and MonitorLock.
2012-12-13 12:09:48 -08:00
JoelKatz
25abc284be
Fix build issues.
2012-12-13 10:34:13 -08:00
JoelKatz
5275d915c9
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-13 00:07:26 -08:00
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
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