Commit Graph

408 Commits

Author SHA1 Message Date
Stefan Thomas
02319f0729 JS: Transaction: Fix multiple "final" events due to race condition. 2013-04-26 08:59:49 +02:00
Stefan Thomas
dbf116900f JS: Re-upgrade SJCL. 2013-04-26 08:59:49 +02:00
Stefan Thomas
d110cd74fc JS: Local signing bugfixes. 2013-04-26 08:59:49 +02:00
Arthur Britto
65e380d6f7 Add no_gateway option to UInt160's to_json(). 2013-04-26 08:59:49 +02:00
Stefan Thomas
49af9f20d9 JS: Added ripple.config.load convenience function. 2013-04-26 08:59:49 +02:00
Arthur Britto
2f0d4f5461 JS: Pass opts in to_human_full(). 2013-04-26 08:59:49 +02:00
Arthur Britto
70d556b4a1 JS: Add to_human_full and support for gateways to addresses. 2013-04-26 08:59:49 +02:00
Stefan Thomas
72448737d6 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-04-26 08:59:49 +02:00
Stefan Thomas
5652ffe340 Create abstract UInt class for UInt160, UInt256, ... 2013-04-26 08:59:49 +02:00
Stefan Thomas
6f34cfa369 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-04-26 08:59:48 +02:00
Stefan Thomas
daada2b298 Move custom SJCL extensions from client over to Ripple library. 2013-04-26 08:59:48 +02:00
Arthur Britto
9e1741123c JS: Make transaction subscription robust. 2013-04-26 08:59:48 +02:00
jed
2257a7c18b still working 2013-04-26 08:59:48 +02:00
Stefan Thomas
242a19e948 Create a ripple-lib NPM package for the JavaScript code. 2013-04-26 08:59:48 +02:00
Stefan Thomas
94503dce0b Switch to reduced binformat. 2013-04-26 08:59:48 +02:00
Stefan Thomas
3687170bb6 Add binformat and corresponding generator script. 2013-04-26 08:59:48 +02:00
Arthur Britto
ca57b3ffe1 JS: Add automatic support to subscribe to transactions. 2013-04-26 08:59:48 +02:00
Arthur Britto
ddd9407170 JS: Don't require leading zeros on float styles. 2013-04-26 08:59:48 +02:00
Arthur Britto
ba41b1b27d UT: Update offer-test for new Transaction split. 2013-04-26 08:59:48 +02:00
Stefan Thomas
957b8eb1a8 Split Transaction class off into separate file. 2013-04-26 08:59:48 +02:00
Stefan Thomas
7bb87a7225 Fix logic error in Amount.add which caused results to always be positive. 2013-04-26 08:59:48 +02:00
Stefan Thomas
e8dda4d558 Add SHA512 to SJCL. 2013-04-26 08:59:48 +02:00
Stefan Thomas
b165c21a06 Enable symmetric encryption dependencies.
These are needed by the client and will soon be needed by ripple.js for message
encryption/decryption.
2013-04-26 08:59:48 +02:00
Stefan Thomas
5fdb70f7d6 Expose SJCL so the client doesn't have to include a second copy. 2013-04-26 08:59:48 +02:00
Stefan Thomas
01e98005bc Update SJCL. 2013-04-26 08:59:48 +02:00
Stefan Thomas
88032c6717 Load WebSocket module later.
This one change allows us to load the IE polyfills after the Ripple library.
Otherwise we would have to split up our dependencies into two groups, which
would add a bunch of complexity to the build system that I'd rather avoid.
2013-04-26 08:59:48 +02:00
Stefan Thomas
88c2062c89 Give more useful console output in IE9. 2013-04-26 08:59:48 +02:00
Stefan Thomas
9ca44e7e6f Update names of states the client considers "online". 2013-04-26 08:59:48 +02:00
Stefan Thomas
81483f47e5 JS: Add account_info RPC method. 2013-04-26 08:59:48 +02:00
Arthur Britto
d76e85bf78 JS: Forward account and transaction publishes. 2013-04-26 08:59:48 +02:00
Arthur Britto
ce4c9a502a UT: Add ledger_close to testutils. 2013-04-26 08:59:48 +02:00
Stefan Thomas
89305e941c Amount.product_human and Amount.ratio_human need to canonicalize. 2013-04-26 08:59:48 +02:00
Stefan Thomas
950310bc45 Add certain database-related files to .gitignore. 2013-04-26 08:59:48 +02:00
jed
e48cef8512 update deploy 2013-04-26 08:59:48 +02:00
jed
c94bc66a1b windows 2013-04-26 08:59:48 +02:00
Arthur Britto
385cae7ca3 UT: More work on detecting standalone server exit. 2013-04-26 08:59:48 +02:00
Arthur Britto
e15c739977 JS Add support for SourceTag and Destination tag. 2013-04-26 08:59:48 +02:00
Arthur Britto
c3a3bc82b5 Work toward subscribe accounts by ledger index. 2013-04-26 08:59:48 +02:00
Arthur Britto
cd87582d19 JS: Fix saving fee info. 2013-04-26 08:59:48 +02:00
Stefan Thomas
e41bd874c6 Fix typo. Uint vs UInt always trips me up. :/ 2013-04-26 08:59:48 +02:00
Stefan Thomas
d1cbd51601 Update upstream SJCL. This version contains our SHA512 contribution.
Preparing to get rid of the client having it's own separate copy of SJCL which
is not all that cool. :/
2013-04-26 08:59:48 +02:00
Stefan Thomas
b45ba65af1 Fix: Grunt/Webpack should compile JS code as a library. 2013-04-26 08:59:48 +02:00
Stefan Thomas
df4ea13553 Fix JS compile output file names. 2013-04-26 08:59:48 +02:00
Stefan Thomas
0f2a69bb6a More robust input type handling for Uint160.from_json(). 2013-04-26 08:59:47 +02:00
Arthur Britto
d38fd1847d Merge tepPARTIAL into tecCLAIMED. 2013-04-26 08:59:47 +02:00
Arthur Britto
e5c6acde7d JS: Restrict UInt160 parse_json to wire format. 2013-04-26 08:59:47 +02:00
Arthur Britto
a574207b40 Improve README. 2013-04-26 08:59:47 +02:00
Arthur Britto
055f129b34 Improve README. 2013-04-26 08:59:47 +02:00
Arthur Britto
6492ca4187 Cosmetic. 2013-04-26 08:59:47 +02:00
Arthur Britto
88a92e6205 JS: Add support for client knowing about connecting to testnet server. 2013-04-26 08:59:47 +02:00