Ivan Tivonenko
|
0fefb2bd2c
|
do not pack lodash inside browser version
|
2016-01-16 01:12:48 +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 |
|
Ivan Tivonenko
|
691e4dd114
|
add check for windows eol on commit
removes windows eols from some files
|
2015-12-14 22:15:30 +02:00 |
|
Chris Clark
|
cce55b9361
|
Fix error on ledger subscription message without validated_ledgers
|
2015-12-14 11:07:58 -08:00 |
|
Chris Clark
|
9cd72595f0
|
BREAKING CHANGE: Change error event format and fix crash due to error event on websocket
|
2015-12-09 12:56:45 -08:00 |
|
Chris Clark
|
ad1d3e135f
|
Merge pull request #663 from darkdarkdragon/develop-http-server
http server example
|
2015-12-09 11:15:52 -08:00 |
|
Ivan Tivonenko
|
76866ab901
|
http server example
allows to use both positional and named parameters
|
2015-12-09 21:00:47 +02:00 |
|
Chris Clark
|
99d08065e4
|
BREAKING CHANGE: Fix types of XRP values in getServerInfo response
|
2015-12-07 16:47:56 -08:00 |
|
Chris Clark
|
e1d9de7b1f
|
Fix DeliverMin value when specifying minAmount
|
2015-12-04 15:18:03 -08:00 |
|
Chris Clark
|
86ff315ef2
|
Fix parsing of quality for getTrustlines
|
2015-12-04 13:40:59 -08:00 |
|
Chris Clark
|
82613e7e8b
|
Allow setting maxLedgerVersion to null to specify no maximum
|
2015-11-30 15:52:36 -08:00 |
|
Ivan Tivonenko
|
ddf8fe5b1a
|
add unit tests for RippleAPIBroadcast
|
2015-11-25 05:58:48 +02:00 |
|
Chris Clark
|
7061e9afe4
|
BREAKING CHANGE: "servers" parameter changed to single "server" and added a new broadcast wrapper class for multiple servers
|
2015-11-24 16:47:12 -08: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 |
|
Chris Clark
|
a271b9e816
|
Merge pull request #641 from clark800/ledger-event
BREAKING CHANGE: Rename "ledgerClosed" event to "ledger" and convert drops amounts to XRP
|
2015-11-20 11:30:35 -08:00 |
|
Chris Clark
|
8a3d4a64db
|
BREAKING CHANGE: Rename "ledgerClosed" event to "ledger" and convert drops amounts to XRP
|
2015-11-20 11:23:19 -08:00 |
|
Alan Cohen
|
7514213918
|
Fix: Specify send_max when pathfinding with a source amount
When specifying a fixed sending amount during a pathfind request, the source
amount is specified as a `send_max` field. This fixes a bug where the amount was
specified as `source_amount`. Leading to strange pathfinding behavior.
Example bad behavior (rippled pathfind request/response):
```
{
"command": "ripple_path_find",
"source_account": "rM21sWyMAJY1oqzgnweDatURxGMurBs7Kf",
"destination_account": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"destination_amount": {
"currency": "EUR",
"issuer": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"value": -1
},
"source_amount": {
"currency": "USD",
"issuer": "rM21sWyMAJY1oqzgnweDatURxGMurBs7Kf",
"value": "9.9"
},
"id": 2
}
{
"id": 2,
"result": {
"alternatives": [
{
"destination_amount": {
"currency": "EUR",
"issuer": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"value": "147520.7583553951"
},
"paths_canonical": [],
"paths_computed": [
[
{
"account": "r9HqF3wexBb1vtu2DfZKiFuyy3HoTAwUnH",
"type": 1,
"type_hex": "0000000000000001"
},
{
"currency": "EUR",
"issuer": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"type": 48,
"type_hex": "0000000000000030"
}
]
],
"source_amount": {
"currency": "USD",
"issuer": "rM21sWyMAJY1oqzgnweDatURxGMurBs7Kf",
"value": "160510.6025237665"
}
}
],
"destination_account": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"destination_currencies": [
"EUR",
"XRP"
],
"ledger_current_index": 2771044,
"validated": false
},
"status": "success",
"type": "response"
}
```
https://ripple.com/build/rippled-apis/#ripple-path-find
|
2015-11-20 10:44:21 -08:00 |
|
Chris Clark
|
4f90bbd931
|
Add resultCode and resultMessage to submit failure RippledError
|
2015-11-17 17:33:36 -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
|
83a85a4549
|
Remove walletLocator and walletSize from settings
|
2015-11-16 13:07:25 -08:00 |
|
Chris Clark
|
420413268d
|
Rename server info response fields
|
2015-11-16 13:07:25 -08:00 |
|
Chris Clark
|
c1bf1fd211
|
Rename "paymentSequence" to "suspensionSequence" in suspended payments
|
2015-11-16 13:07:25 -08:00 |
|
Chris Clark
|
9af20f9176
|
Simplify "submit" response
|
2015-11-16 13:07:22 -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
|
e267e4131b
|
Merge pull request #625 from clark800/json-schemas
Organize JSON schemas for documentation generation
|
2015-11-06 12:50:10 -08:00 |
|
Chris Clark
|
782adc6a1a
|
Organize JSON schemas for documentation generation
|
2015-11-06 11:57:33 -08:00 |
|
Chris Clark
|
dce8b2d61a
|
Merge pull request #624 from clark800/misc
Better error message when using methods that require a connection when servers are not provided
|
2015-11-03 11:05:21 -08:00 |
|
Chris Clark
|
8074baa3b5
|
Better error message when using methods that require a connection when servers are not provided
|
2015-11-02 14:50:38 -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
|
c7b021c7be
|
Fix and reorganize schemas and switch to ajv validator
|
2015-10-30 14:28:50 -07:00 |
|
Chris Clark
|
2aa1695b74
|
Delete obsolete files and update LICENSE file
|
2015-10-30 14:25:33 -07:00 |
|
Chris Clark
|
665f5f9664
|
Add support for order expiration
|
2015-10-29 17:25:52 -07:00 |
|
Chris Clark
|
6c2fad508a
|
Expose computeLedgerHash and prevent access to non-validated ledgers
|
2015-10-28 15:39:43 -07:00 |
|
Chris Clark
|
c238596a81
|
Emit Connection errors on RippleAPI, remove unused exports, use ripple-hashes in sign
|
2015-10-28 11:33:51 -07:00 |
|
Chris Clark
|
87dac75919
|
Cleanup error classes
|
2015-10-27 17:14:23 -07:00 |
|
Chris Clark
|
97747deed9
|
Delete core, move "api" directory up to "src", and remove unused dependencies
|
2015-10-27 12:37:07 -07:00 |
|
Chris Clark
|
29c933e31b
|
Merge pull request #612 from clark800/delete-core
BREAKING CHANGE: Remove dependency of src/api on src/core, removes multiserver support
|
2015-10-27 11:54:29 -07:00 |
|
Chris Clark
|
cd5eedff84
|
Rename toTimestamp/fromTimestamp
|
2015-10-26 17:46:57 -07:00 |
|
Chris Clark
|
1a99a2fddb
|
BREAKING CHANGE: Remove dependency of src/api on src/core, removes multiserver support
|
2015-10-26 16:28:43 -07:00 |
|