JoelKatz
6f50404013
Log unexpected sqlite3 errors.
2013-02-03 11:29:37 -08:00
Arthur Britto
4fa726f2d3
Add no_gateway option to UInt160's to_json().
2013-02-02 13:11:54 -08:00
Stefan Thomas
39ba2613d9
JS: Added ripple.config.load convenience function.
2013-02-02 14:05:49 +01:00
Arthur Britto
4e526c78e6
JS: Pass opts in to_human_full().
2013-02-02 02:46:42 -08:00
Arthur Britto
cec8b12a49
JS: Add to_human_full and support for gateways to addresses.
2013-02-02 01:32:00 -08:00
Arthur Britto
bee86c9b6f
Get rid of extra/broken async_read.
2013-02-01 19:34:06 -08:00
Arthur Britto
4258e15b58
Merge branch 'autoclient'
2013-02-01 19:30:36 -08:00
Arthur Britto
1b9bf68877
Have RPCSub use new callRPC.
2013-02-01 19:25:01 -08:00
Arthur Britto
c25f480cb8
Fixes for https client over AutoSocket.
2013-02-01 19:02:08 -08:00
Arthur Britto
628a1bdd5f
Merge branch 'master' into autoclient
...
Conflicts:
src/cpp/ripple/AutoSocket.h
2013-02-01 19:01:10 -08:00
JoelKatz
b9642f0e9e
One more.
2013-02-01 18:18:57 -08:00
JoelKatz
7e6e164513
Missing scope.
2013-02-01 18:10:58 -08:00
Arthur Britto
c834ce4e06
More work toward http/https client merge.
2013-02-01 18:10:53 -08:00
JoelKatz
1012833991
Additional override.
2013-02-01 18:09:21 -08:00
Arthur Britto
e53e27cfa6
Always provided extended RPC ledger_header info.
2013-02-01 17:06:36 -08:00
JoelKatz
402f7539d4
Rounding, w/ unit test.
2013-02-01 16:47:08 -08:00
JoelKatz
9781c10736
Fix some cases where ledger flags are incorrectly set.
2013-02-01 16:11:32 -08:00
JoelKatz
db7e69164b
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-01 15:37:02 -08:00
JoelKatz
6f619835e2
Regular expressions are very Zen.
...
It always matches something, even if that something is nothing. Nothing is a form of something.
2013-02-01 15:36:07 -08:00
Stefan Thomas
6820c6823d
Add transaction signing basics.
...
Most fields aren't supported yet and there aren't any nice external APIs, but my
test script successfully serializes and signs an XRP Payment, so this seems like
a good time to make a commit.
2013-02-01 22:44:04 +01:00
Stefan Thomas
54f4edf5ef
Create abstract UInt class for UInt160, UInt256, ...
2013-02-01 22:44:04 +01:00
Stefan Thomas
eeb9598b12
Add debugging parameter to sign and submit RPC calls.
2013-02-01 22:44:04 +01:00
Stefan Thomas
24dac24d29
Refactor JavaScript library.
...
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-02-01 22:44:04 +01:00
Stefan Thomas
37cc88ccf2
Move custom SJCL extensions from client over to Ripple library.
2013-02-01 22:44:04 +01:00
Arthur Britto
44a2327fbe
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-01 13:34:14 -08:00
Arthur Britto
bfbb7633ec
JS: Make transaction subscription robust.
2013-02-01 13:28:27 -08:00
JoelKatz
bbc9ec1931
Use regexes to parse cluster entries.
2013-02-01 11:52:45 -08:00
JoelKatz
3d3304ff1b
Assign friendly names to trusted nodes.
2013-01-31 16:10:27 -08:00
JoelKatz
7d8df3dddf
Save validations in a form they can actually be used.
2013-01-31 15:40:41 -08:00
Arthur Britto
fb1cd25f28
More work toward http/https client unification.
2013-01-31 13:07:37 -08:00
Arthur Britto
48cf9df7a6
Revised PUBLIC_BYTES_MAX to 33 bytes.
2013-01-31 13:06:20 -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
Arthur Britto
2f0721f80f
Work toward http/https client unification.
2013-01-30 15:17:01 -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