Namrata
b4a30d49d8
Support removing a signer list ( #1021 )
...
* Make weights an optional field
* Fix #971
2019-07-30 16:48:30 -07:00
Elliot Lee
067bc48d4e
Add prepareTransaction() ( #898 )
...
* Export iso8601ToRippleTime(), txFlags, convertStringToHex()
* Fix a bug that caused fees exceeding 999 to throw an error
e.g. '1,000' would not be recognized as a valid number.
To use 6 decimal places, toFixed should be used instead of toFormat.
2018-07-26 12:24:29 -07:00
Rome Reginelli
47a139fdff
Fix text/plain MIMETYPE in examples with memos ( #914 )
2018-07-03 17:18:46 -07:00
Brandon Wilson
4e30b9b2fa
Require threshold and weights in signers settings ( #909 )
...
Fixes #908
2018-07-02 16:27:03 -07:00
Elliot Lee
1aa9feda71
Allow specifying amounts in drops ( #892 )
...
* Accept "drops" in lieu of "XRP"
* Export xrpToDrops() and dropsToXrp()
* Throw our own validation errors instead of BigNumber Errors
2018-05-21 13:19:18 -07:00
Elliot Lee
facc513a52
Add support for Checks ( #853 )
...
- See https://github.com/ripple/rippled/pull/2245
* Add support for depositAuth flag
* Upgrade ripple-binary-codec to 0.1.13
2018-03-01 21:42:46 -08:00
mDuo13
d22828b222
[Docs] Improve escrow creation example to have ExecuteAfter date
2017-12-18 10:23:54 -08:00
wilsonianb
8ed5f764fa
Add missing condition or fulfillment test
2017-11-06 13:49:38 -06: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
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
Matthew Fettig
7a14300409
update ripple-binary-codec to version 0.1.8
2017-03-24 10:40:19 -07:00
Chris Clark
cfac146620
Add orderToReplace option
2016-08-01 14:27:08 -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
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
Chris Clark
ebfe20defb
Add multisignature support
2015-12-17 11:45:08 -08:00
Ivan Tivonenko
691e4dd114
add check for windows eol on commit
...
removes windows eols from some files
2015-12-14 22:15:30 +02:00
Ivan Tivonenko
c9704137b7
fix handling memos in prepareSettings
...
boost coverage back to 99.88%
move connection tests to separate file
group test fixtures into namespaces
2015-11-25 02:10:54 +02:00
Ivan Tivonenko
995606b1e6
boost coverage to almost 100%
2015-11-23 17:06:55 -08:00
Chris Clark
7f33d8a71e
BREAKING CHANGE: prepareOrderCancellation now takes orderCancellation specification instead of sequence
2015-11-23 12:45:44 -08:00
Ivan Tivonenko
f146ea05c7
add test case for get transaction of types
...
suspendedPaymentExecution, suspendedPaymentCancellation, suspendedPaymentCreation
2015-11-17 23:43:01 +02:00
Chris Clark
2422b9a30b
Update README for RippleAPI
2015-11-17 11:30:26 -08:00
Chris Clark
c1bf1fd211
Rename "paymentSequence" to "suspensionSequence" in suspended payments
2015-11-16 13:07:25 -08:00
Chris Clark
230a80852a
Remove "closed" from getLedger response
2015-11-16 11:44:15 -08:00
Chris Clark
ed8f1e4111
Support removing RegularKey
2015-11-16 10:24:02 -08:00
Chris Clark
5a8e4be9df
Add descriptions to JSON schemas and organize for documentation generation
2015-11-13 15:05:53 -08:00
Chris Clark
6cc8c5a0f4
BREAKING CHANGE: Specify ledger close time and suspended payment timestamps in ISO 8601 format
2015-11-02 12:34:50 -08:00
Chris Clark
2aa1695b74
Delete obsolete files and update LICENSE file
2015-10-30 14:25:33 -07:00