Chris Clark
715c648d52
Move to new ripple-keypairs API
2015-09-23 14:30:56 -07:00
Alan Cohen
27d2e6e519
Merge pull request #557 from clark800/ledger-close
...
Add ledgerClosed event
2015-09-21 15:33:44 -07:00
Chris Clark
7ee368965c
Add ledgerClosed event
2015-09-21 14:38:51 -07:00
Chris Clark
60c604fbe6
Merge pull request #536 from sentientwaffle/dj/suspay
...
suspended payments
2015-09-18 10:58:10 -07:00
sentientwaffle
b134081293
Add SuspendedPayment{Create,Finish,Cancel}
...
* Add SusPay core tests
* Rename SusPay -> SuspendedPayment (code review)
* Rename cancelAfter -> allowCancelAfter
* Rename suspendedPayment{Finish,Execution}
2015-09-18 10:51:34 -07:00
Alan Cohen
0c9aea454e
RippleAPI: Add data property to error object
2015-09-17 16:05:43 -07:00
Alan Cohen
778f59b4fd
Merge pull request #535 from clark800/submit-error
...
Return promise error if submit result is an immediate failure
2015-09-16 17:53:35 -07:00
Alan Cohen
60f2419b5c
Add PendingLedgerVersionError
...
MissingLedgerHistoryError - no minLedgerVersion or maxLedgerVersion
There is a ledger gap, but a range should be provided to narrow down the range
of the gap.
MissingLedgerHistoryError
When requesting a tx, if maxLedgerVersion and minLedgerVersion provided, this
means there is a ledger gap in the provided range.
PendingLedgerVersionError:
If maxLedgerVersion provided, check if ledger is ahead of the server's last
validated ledger.
2015-09-16 15:57:55 -07:00
Chris Clark
80494ad813
Return promise error if submit result is an immediate failure
2015-09-16 15:56:24 -07:00
Alan Cohen
3c608de5bb
Do not return non-validated transaction from RippleAPI#getTransaction
2015-09-16 12:19:20 -07:00
wltsmrz
c6c2dcc6c0
Merge pull request #533 from clark800/webpack-net-fix
...
Fix browser build
2015-09-11 13:15:58 -07:00
Chris Clark
b88e9370c6
Return instructions in prepare responses
2015-08-28 14:11:02 -07:00
Chris Clark
e343f3beb8
Remove usage of fs module because it does not work in browser
2015-08-28 11:53:45 -07:00
Chris Clark
15c0e6db19
Remove computeLedgerHash and isValidAddress from API
2015-08-26 17:19:09 -07:00
Ivan Tivonenko
513632299f
Add schema for RippleAPI constructor options
2015-08-24 21:29:50 +03:00
Alan Cohen
1ccbaf6776
Fix: Emit error events and return error on pathfind
2015-08-21 14:24:13 -07:00
Ivan Tivonenko
23653f67f0
Allow to specify server url without explicit port number
2015-08-21 06:39:48 +03:00
Chris Clark
39c48d631c
Merge pull request #513 from darkdarkdragon/develop-parse-trustline-fix
...
fix parseTrustline for case when no QualityIn or QualityOut are set i…
2015-08-19 11:20:32 -07:00
Ivan Tivonenko
a55d26a726
fix parseTrustline for case when no QualityIn or QualityOut are set in transaction
2015-08-19 21:17:50 +03:00
Ivan Tivonenko
0e97f269ab
in isValidAddress check that address starting with 'r'
...
because UInt160 considers valid hex values
2015-08-19 05:26:08 +03:00
Chris Clark
d8e95a3c3b
Rename generateWallet to generateAddress
2015-08-18 17:44:10 -07:00
Chris Clark
f57c89c6e9
Add isValidAddress
2015-08-18 14:46:11 -07:00
Chris Clark
1f54b3a0cf
Rename ledger "account" to "state"
2015-08-17 18:41:22 -07:00
Chris Clark
2f8655dc23
Add getLedger method, remove getLedgerHeader method
2015-08-17 18:39:34 -07:00
Chris Clark
f077a563c4
Merge pull request #498 from clark800/compute-ledger-hash
...
Add computeLedgerHash method
2015-08-14 14:43:57 -07:00
Chris Clark
92fbc61f47
Add computeLedgerHash method
2015-08-14 14:25:56 -07:00
Nicholas Dudfield
5837aa23ea
Remove sjcl-extended/ripple-wallet-generator. Use hash.js & sjcl-codec.
2015-08-14 09:31:49 +07:00
Chris Clark
728595dc96
Add getLedgerHeader method
2015-08-12 17:37:13 -07:00
Nicholas Dudfield
3263629ebe
Use ripple-keypairs and ripple-address-codec
2015-08-12 12:54:30 +07:00
Chris Clark
194b73c293
Test compiled code in dist/npm on CI server
2015-08-06 14:59:48 -07:00
Geert Weening
0cc4c704f8
Merge pull request #482 from clark800/deprecate
...
Deprecate core
2015-08-06 11:35:12 -07:00
Chris Clark
600fd34d30
Fix prepareTrustline with no quality setting
2015-08-05 15:42:48 -07:00
Chris Clark
fb8dc44ec1
Deprecate core
2015-08-04 16:57:39 -07:00
Chris Clark
bbd51a03b6
Convert API to promises
2015-08-03 17:22:17 -07:00
Chris Clark
b8624bc55f
Add unit test for offline prepare and sign
2015-07-30 18:19:52 -07:00
Ivan Tivonenko
03640efef5
change snake_case to camelCase in responses from api.submit and api.getServerInfo and add schema for it
2015-07-30 03:10:10 +03:00
Ivan Tivonenko
63e3b71eb5
cover api/common/errors.js with tests
2015-07-29 21:15:28 +03:00
Ivan Tivonenko
823ef738fe
cover api/common/utils.js with tests
2015-07-29 17:40:59 +03:00
Ivan Tivonenko
0977ef0ec2
cover api/common/validate.js with tests
2015-07-29 17:15:34 +03:00
Ivan Tivonenko
cecf3f3d22
cover api/ledger/parse/utils.js with tests
2015-07-29 16:42:23 +03:00
Ivan Tivonenko
472fbce23a
cover api/ledger/parse/trustline.js with tests
2015-07-29 15:46:15 +03:00
Ivan Tivonenko
0b09e53479
cover api/common/schema-validator.js with tests
2015-07-29 03:22:17 +03:00
Chris Clark
528d8bf25d
Merge pull request #457 from darkdarkdragon/develop-sign-with-regular-key
...
allow to sign transaction in api.sign using regular key
2015-07-28 15:53:37 -07:00
Ivan Tivonenko
03a2109e24
allow to sign transaction in api.sign using regular key
...
make Seed.parse_json try different input types instead
of stopping on first failing
2015-07-29 01:49:25 +03:00
Ivan Tivonenko
ea063d0c95
cover api/ledger/parse/settings.js with tests
2015-07-28 22:21:25 +03:00
Ivan Tivonenko
2c52e4aa69
more unit tests coverage
2015-07-28 02:24:27 +03:00
Ivan Tivonenko
6e180439d1
cover api/ledger/transaction.js with unit tests
2015-07-28 02:17:38 +03:00
Ivan Tivonenko
068bda0c95
cover api/ledger/transactions.js with unit tests
2015-07-28 02:16:28 +03:00
Chris Clark
0c02b92717
Add response schemas and small fixes
2015-07-27 14:20:09 -07:00
Chris Clark
00342c4239
Merge pull request #446 from darkdarkdragon/develop-RLJS-370-8
...
Increase tests coverage
2015-07-23 16:47:42 -07:00