JoelKatz
7d8df3dddf
Save validations in a form they can actually be used.
2013-01-31 15:40:41 -08:00
JoelKatz
6d1a3955b4
Some asserts to try to catch a bug where a ledger in the history gets changed.
2013-01-31 00:43:43 -08:00
JoelKatz
50fce0f079
Cosmetic improvements.
2013-01-31 00:28:23 -08:00
JoelKatz
1f3479a87d
Rewrite the TaggedCache code to integrate the map and cache.
...
Benchmarking showed the use of a separate map and cache was expensive.
The 'visitor' code is gone, but nobody used it and it can be replaced if needed.
2013-01-31 00:05:29 -08:00
JoelKatz
687e3c2c11
Don't wait 20 seconds for the first sweep. For tiny nodes, that can be too long.
2013-01-31 00:02:15 -08:00
Stefan Thomas
8660356fd4
Create a ripple-lib NPM package for the JavaScript code.
2013-01-31 06:26:57 +01:00
JoelKatz
b662167683
Small cleanups.
2013-01-30 20:56:11 -08:00
JoelKatz
2ff3583b7d
Cleanup.
2013-01-30 18:55:42 -08:00
JoelKatz
163c4869d6
Remove dead code. Properly handle "too good" and "too bad" offers. Unit test.
2013-01-30 12:56:37 -08:00
JoelKatz
d663037ddc
Report a rate of zero for worthless orders.
2013-01-30 11:29:59 -08:00
JoelKatz
3b338b8825
If we get a ledger from the SQL database, it must be closed.
2013-01-30 10:15:42 -08:00
JoelKatz
7213fb9f21
Fix underflow and overflow handling in the STAmount class. Add unit test.
2013-01-30 10:12:43 -08:00
JoelKatz
7186468706
Make the STAmoun constants available outside the class.
2013-01-30 10:12:23 -08:00
Stefan Thomas
058141948e
Switch to reduced binformat.
2013-01-30 17:59:54 +01:00
Stefan Thomas
84dd5c2728
Add check to prevent negative zero.
...
We want a canonical encoding for zero which is 0x4000000000000000 i.e. "positive
zero". So we want to disallow the alternative encoding 0x0000000000000000 i.e.
"negative zero".
2013-01-30 17:59:54 +01:00
Stefan Thomas
bd71489032
Add binformat and corresponding generator script.
2013-01-30 17:59:54 +01:00
Arthur Britto
3066a895c1
Get rid of ledger_header hack.
2013-01-30 02:10:26 -08:00
Arthur Britto
b83412f3ca
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-30 01:28:17 -08:00
Arthur Britto
a05a2c7181
Make RPC ledger_header work.
2013-01-30 01:28:06 -08:00
Arthur Britto
c57ae2ee1a
JS: Add automatic support to subscribe to transactions.
2013-01-30 01:27:07 -08:00
JoelKatz
f413aa3ef9
Remove "e0".
2013-01-29 16:19:07 -08:00
Arthur Britto
de36536d07
Fix log.
2013-01-29 15:14:33 -08:00
JoelKatz
14297a4ee1
Remove an obsolete dispatch.
2013-01-29 14:29:41 -08:00
JoelKatz
6b4141f583
Cleanups.
2013-01-29 14:28:05 -08:00
jed
1a6eac274f
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-29 11:16:25 -08:00
jed
90e98c4a86
windows
2013-01-29 11:15:49 -08:00
Arthur Britto
441a748ffb
UT: Add a unit test for getQuality.
2013-01-29 11:04:45 -08:00
Arthur Britto
71d9b60b00
Be more correct.
2013-01-29 07:49:29 -08:00
Arthur Britto
c40eb0330e
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-28 21:14:25 -08:00
Arthur Britto
ee65b779f9
UT: New offer test to test for problems seend in the field.
2013-01-28 21:14:14 -08:00
Arthur Britto
28d4a71e76
Fixes for OfferCreate.
2013-01-28 21:13:48 -08:00
Arthur Britto
823e04b148
Fixes for rippling funds.
2013-01-28 21:13:19 -08:00
JoelKatz
faa344c7d0
Dispatch write ahead logging through our job queue. SQL logging improvements.
2013-01-28 14:32:52 -08:00
Arthur Britto
02b9a0b623
Fix applyOffer() calculations and doc.
2013-01-28 12:40:01 -08:00
Arthur Britto
d31d83c125
JS: Don't require leading zeros on float styles.
2013-01-28 11:49:26 -08:00
Arthur Britto
0bcf3db027
UT: Remove reserve tests which were't.
2013-01-28 11:29:08 -08:00
JoelKatz
e48ef29f8c
Dispatch HashedObject background writes through our job queue.
2013-01-28 07:13:05 -08:00
JoelKatz
e9d405302c
Use the new code.
2013-01-28 07:05:49 -08:00
JoelKatz
5686f65063
Add a new helper function.
2013-01-28 07:05:31 -08:00
JoelKatz
0cb1a1d84b
Cleanups and timing adjustments.
2013-01-28 02:32:57 -08:00
JoelKatz
635aa35d49
Tuning change.
2013-01-28 02:07:47 -08:00
JoelKatz
2466eba17b
Use a prepared statement to retrieve.
2013-01-28 01:54:01 -08:00
JoelKatz
d9938fe033
Cleanup blob functions.
2013-01-28 01:33:19 -08:00
JoelKatz
d3ac663c9a
Use slightly cheaper SetHex
2013-01-28 01:14:06 -08:00
JoelKatz
c543b77699
Demote debug.
2013-01-28 01:13:55 -08:00
JoelKatz
9a7ccf777e
Fix a bug that can stall the acquire engine.
2013-01-28 01:13:39 -08:00
JoelKatz
8ec2d1d54d
Cleanup.
2013-01-27 23:42:59 -08:00
JoelKatz
663c4bd8e5
Use the Sqlite3 prepared statement API for an expensive operation on startup.
2013-01-27 23:41:30 -08:00
JoelKatz
d522f04385
Give access to the sqlite3 prepared statement API.
2013-01-27 23:41:15 -08:00
JoelKatz
e8ac00e1a3
Allow tunable node sizes to adjust cache sizes, sweep timing, fetch
...
timing, and so on. Node size defaults to "tiny", which converves
memory and bandwidth.
2013-01-27 13:55:59 -08:00