Elliot Lee
ecd6347859
Update to lodash 4
...
- Update ripple-lib-transactionparser
2017-09-27 10:25:53 -07:00
Elliot Lee
ab17b19ff0
Update for CircleCI
...
- circle.yml - use node 6
- Fix eslint errors
- Update coveralls and add path to babel
2017-09-27 10:25:08 -07:00
mDuo13
393b2f9d78
Docs: fix broken links
2017-09-01 12:45:03 -07:00
Brad Chase
f175966816
Make http server dev only
2017-05-05 14:59:15 -04:00
Brad Chase
f1f5364d07
Switch to jsonschema
2017-05-03 20:34:24 -04:00
Matthew Fettig
1b8b0c76ac
Merge pull request #757 from ripple/fix-condition
...
Fix escrow condition and fulfillment descriptions
2017-04-13 19:39:27 -07:00
wilsonianb
081fcbfa32
Fix escrow condition and fulfillment descriptions
2017-04-12 15:16:01 -07:00
wilsonianb
19eb88a00e
Add getPaymentChannel
2017-04-07 13:04:21 -07:00
wilsonianb
c8f2967de0
Sign and verify payment channel claim
2017-04-07 13:01:58 -07:00
Ben Sharafian
a574e1158a
Add transactions for payment channels
2017-03-30 21:19:31 -07:00
wilsonianb
016e82ab5d
Simplify EscrowCreate parameters
2017-03-30 19:01:58 -07:00
wilsonianb
9393adf66f
Disallow escrow of IOU
2017-03-30 10:10:00 -07:00
wilsonianb
da36457d5c
Update condition and fulfillment for escrow
...
Calculate escrowFinish fulfillment fee
2017-03-29 10:27:34 -07:00
wilsonianb
15a0ededc8
Replace suspended payments with escrow
2017-03-24 12:35:22 -07:00
wilsonianb
68d7864f93
Rename suspended payment files as escrow
2017-03-24 12:32:17 -07:00
alex.choi
30fa8d658e
Added .json in missing require()
2017-02-15 18:51:49 +08:00
wilsonianb
fd640cd65e
Check SHAMapV2 ledger close flag
2016-12-02 12:25:32 -08:00
wilsonianb
3c9175459d
Fix eslint errors
2016-12-02 08:16:16 -08:00
Chris Clark
acf8f87a88
Merge pull request #727 from clark800/order-seq
...
Add orderToReplace option
2016-08-01 14:34:27 -07:00
Chris Clark
cfac146620
Add orderToReplace option
2016-08-01 14:27:08 -07:00
Matthew Fettig
a96f71b7fd
fix missing deliveredAmount data from getLedger requests
2016-07-19 21:29:50 -07:00
mDuo13
5cdbb71277
[DOC] fix transferRate description
2016-06-16 15:11:08 -07:00
Chris Clark
f74e11bce0
Add support for parsing SetFee and EnableAmendment pseudo-transactions
2016-05-05 15:37:23 -07:00
Ivan Tivonenko
bae190b282
[FIX] remove check for tej class of errors.
2016-04-05 23:50:41 +03:00
Ivan Tivonenko
5da78ce583
[FIX] handle websocket errors in browsers
...
emit not RippledNotInitializedError if server doesn't have any
completed ledgers on connect
2016-03-31 00:46:00 +03:00
Ivan Tivonenko
e17b6f172d
[FIX] on connect return error if server doesn't have validated ledgers
2016-03-24 22:26:33 +02:00
Ivan Tivonenko
69c1ccbb6b
[TASK] emit connected and disconnected events from api
2016-03-23 02:05:07 +02:00
Ivan Tivonenko
499b8c8d8b
[FIX] fix multiple reconnections issue
2016-03-23 01:18:08 +02:00
Chris Clark
dc784d4567
Fix makerExchangeRate for getOrders when rippled provides quality
2016-03-22 13:21:26 -07:00
Alan Cohen
5b20fe573e
FIX: Filtering source_amount pathfind correctly
...
Bug:
```js
api.connect().then(() => {
const pathfind = {
source: {
address: USDCold,
amount: {
currency: 'USD',
value: '1.00' // <<<< Rippled response has "1" not "1.00"
}
},
destination: {
address: EURCold,
amount: {currency: 'EUR'}
}
};
return api.getPaths(pathfind).then(paths => {
console.log('PATHS: \n', JSON.stringify(paths, null, 2));
});
}).catch(console.log);
```
2016-03-21 11:44:55 -07:00
Hovhannes Kuloghlyan
e33e782f9e
[DOC] Fix transaction spelling in getTransaction description
2016-03-09 22:14:09 +04:00
Hovhannes Kuloghlyan
f2b591d1b2
[DOC] Fix transaction responses link in submit() description
2016-03-09 22:07:54 +04:00
Ivan Tivonenko
0dfdd0a601
[FIX] change eslint version to 2.1
2016-02-24 23:08:49 +02:00
Ivan Tivonenko
4acc42e1b6
[FIX] fix connection error handling
...
if connection to server can't be established, reject Promise of `connect()` method caller,
instead of throwing error event on base object.
2016-02-24 23:08:47 +02:00
Chris Clark
8d34428dac
Merge pull request #694 from lumberj/add-deliveredAmount
...
Add deliveredAmount to payment outcome
2016-02-12 11:25:01 -08:00
Alan Cohen
353637a0c0
Add TODO comment for fixing workaround for rippled bug
2016-02-12 10:56:35 -08:00
Alan Cohen
5075441a69
Fix lint error
2016-02-11 13:39:35 -08:00
Alan Cohen
94a852cb8b
Fix typo in common/connection.js
2016-02-11 13:36:12 -08:00
Alan Cohen
06f847c2d0
Fix lint errors
2016-02-10 19:45:51 -08:00
Alan Cohen
0c2f9d0e62
Add deliveredAmount to payment outcome
...
It is impossible to reliably compute the delivered amount from the metadata due
to fixed precision. If the partial payment flag is not set and the transaction
succeeded, the delivered amount should always be considered to be the amount
specified in the transaction.
2016-02-10 17:25:27 -08:00
Ivan Tivonenko
8767fc0068
fixes for minified version test minified version in SauceLabs
2016-02-09 03:08:23 +02:00
Ivan Tivonenko
4f3635eef0
add SauceLabs testing
2016-02-05 07:59:34 +02:00
Ivan Tivonenko
ab9d1936d9
fix reconnect error - in case of connection was unexpectedly closed before it was open,
...
resolve first promise that was returned from call to connect
2016-01-21 18:35:59 +02:00
Ivan Tivonenko
6740eee495
combine with different transaction test
...
test for trying to sign already signed transaction
ignore http server in coverage
2016-01-16 01:12:46 +02:00
Ivan Tivonenko
aa6020e00d
switch from Babel 5 to Babel 6
...
use of isparta for coverage reporting
2016-01-16 01:12:43 +02:00
Alan Cohen
6b8cd6151d
Filter insufficient source funds paths from pathfind results
...
When pathfinding with source amount, we need to filter out paths where source
amount is not equal to the specified source amount. This is due to the behavior
of rippled when specifying a source amount during pathfinding.
Example:
{
"command": "ripple_path_find",
"source_account": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"destination_account": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"destination_amount": {
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"value": -1
},
"send_max": {
"currency": "USD",
"issuer": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"value": "1234567891"
},
"id": 2
}
{
"id": 2,
"result": {
"alternatives": [
{
"destination_amount": {
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"value": "3999889.62127857"
},
"paths_canonical": [],
"paths_computed": [
[
{
"account": "rcsxQxEqU2qquAKp3tBUJy8Z2t19ioQPJ",
"type": 1,
"type_hex": "0000000000000001"
},
{
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"type": 48,
"type_hex": "0000000000000030"
}
]
],
"source_amount": {
"currency": "USD",
"issuer": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"value": "4170759.906037564"
}
}
],
"destination_account": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"destination_amount": {
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"value": "-1"
},
"destination_currencies": [
"EUR",
"XRP"
],
"full_reply": true,
"id": 2,
"source_account": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"status": "success"
},
"status": "success",
"type": "response"
}
2016-01-15 13:38:57 -08:00
Ivan Tivonenko
dc03c6e0ac
fix to work in browser
...
run unit tests and integration tests in PhantomJS
add JUnit reporter to unit test so CircleCI can show results
2016-01-13 07:11:39 +02:00
Ivan Tivonenko
3dd21a7e11
run integration tests using standalone server
2015-12-19 02:04:05 +02:00
Chris Clark
ebfe20defb
Add multisignature support
2015-12-17 11:45:08 -08:00
Chris Clark
588ffa3d5c
Merge pull request #674 from darkdarkdragon/develop-eol
...
add check for windows eol
2015-12-14 12:57:57 -08:00