Alan Cohen
525ff9b75e
[BUG] Request.prototype.ledgerSelect can accept ledger_index as String
2015-01-21 08:54:40 -08:00
Alan Cohen
98f40abfc3
[FEATURE] Remote.prototype.requestOffer
...
See: https://ripple.com/build/rippled-apis/#ledger-entry
Rippled request
```js
{
"id": 1,
"command": "ledger_entry",
"type": "offer",
"offer": {"account": "rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M", "seq":5 },
"ledger_index": 10850610
}
```
Response
```js
{
"id": 7,
"status": "success",
"type": "response",
"result": {
"index": "F9DCCD26C770952D216085BF97D7E225F6A8B578ABD066AA92D7D06144B535EE",
"ledger_index": 10850610,
"node": {
"Account": "rEQWVz1qN4DWw5J17s3DgXQzUuVYDSpK6M",
"BookDirectory": "CF8D13399C6ED20BA82740CFA78E928DC8D498255249BA6351038D7EA4C68000",
"BookNode": "0000000000000000",
"Flags": 131072,
"LedgerEntryType": "Offer",
"OwnerNode": "0000000000000000",
"PreviousTxnID": "64FAB660F9F5D9E7183E977701930AD09F372129C56E1685B68A914D8A43CA41",
"PreviousTxnLgrSeq": 10850602,
"Sequence": 5,
"TakerGets": "1000000",
"TakerPays": {
"currency": "USD",
"issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
"value": "100"
},
"index": "F9DCCD26C770952D216085BF97D7E225F6A8B578ABD066AA92D7D06144B535EE"
},
"validated": false
}
}
```
2015-01-20 18:17:33 -08:00
Bo Chen
7cb113fcbc
[TASK] set binary as default for commands that accept the flag
2015-01-20 14:10:22 -08:00
wltsmrz
6cd79e7237
Use TAP reporter
2015-01-14 15:21:48 -08:00
wltsmrz
9b3d62b765
Remove blobvault client
2015-01-14 14:54:55 -08:00
wltsmrz
8af5f9c28e
Add request broadcast/filter
2015-01-14 13:40:54 -08:00
Geert Weening
74b006cb0b
Merge pull request #247 from ripple/binary-account-tx
...
Decrease redundancy in binary account_tx parsing
2015-01-07 11:00:09 -08:00
wltsmrz
0aba638e6e
Decrease redundancy in binary account_tx parsing
2015-01-07 10:53:46 -08:00
Alan Cohen
3ec335f3a6
[BUG] Add function removed in revert 51211bb
...
- Also, add tests
2015-01-07 09:55:12 -08:00
Geert Weening
51211bbba0
Revert "[TASK] Add Transaction.getBalanceChanges, computed from metadata"
...
See the balance change package in [ripple-lib-extensions](https://github.com/ripple/ripple-lib-extensions )
This reverts commit 72387873b4 .
Conflicts:
test/metadata-test.js
2015-01-06 14:42:24 -08:00
wltsmrz
a5d1705930
Merge pull request #236 from ripple/sum-account-offers
...
Fix cumulative account order tracking for native amounts
2014-12-26 21:06:42 -08:00
wltsmrz
bfc0fb6c88
Merge pull request #240 from lumberj/task/add_limit_to_bookoffers
...
[TASK] Allow `limit` option in remote.requestBookOffers
2014-12-24 14:44:15 -08:00
Alan Cohen
d1d4452217
[TASK] Allow limit option in remote.requestBookOffers
2014-12-24 14:24:32 -08:00
wltsmrz
3f61598d6c
Fix metadata account check
2014-12-23 03:22:46 -08:00
wltsmrz
b6b99dde02
Fix cumulative account order tracking for native amounts
2014-12-20 20:43:01 -08:00
Geert Weening
1fd0f4a8fe
Merge pull request #234 from ripple/sum-account-offers
...
Track order funded status based on cumulative account offers
2014-12-19 17:27:38 -08:00
wltsmrz
67d39737a4
Track order funded status based on cumulative account orders
2014-12-19 16:43:37 -08:00
Alan Cohen
34c0677c45
[FEATURE] Add tests and support for ledger for requestBookOffers
2014-12-19 16:35:29 -08:00
Geert Weening
3cb4a64b47
[TEST] fix Meta require
2014-12-19 16:29:29 -08:00
Geert Weening
0db0375a5e
Merge pull request #227 from clark800/feature/balance_changes
...
[TASK] Add balance_change array to transaction response, computed from metadata
2014-12-19 15:14:22 -08:00
Chris Clark
66c2e27711
[TASK] Refactor tests to support testing compiled javascript
2014-12-19 13:17:02 -08:00
Chris Clark
72387873b4
[TASK] Add Transaction.getBalanceChanges, computed from metadata
2014-12-18 16:12:06 -08:00
wltsmrz
2dde114d3d
Add AccountTxnID flag and setter
2014-12-16 13:25:32 -08:00
Geert Weening
1704ac4ae1
[FEATURE] improve memo support
...
- add MemoFormat property for memo
- MemoFormat and MemoType must be valid ASCII
- Memo content is converted on the serialization level
- add parsed_* version of Memo content if the parser understand the format
- support `text` and `json` MemoFormat
[FIX] double serialization overriding Memo contents
The copy made in from_json wasn't a deep copy
2014-12-10 13:07:44 -08:00
Bo Chen
9b22f279bc
[FEATURE] allow per transaction fees to be set
2014-12-10 11:52:16 -08:00
wltsmrz
c5bd4239a4
Cleanup
...
- Deprecate 'save' event
- Add TransactionQueue.getMinLedger(), use this as ledger_index_min
in account_tx request on reconnect
- tx.sign() no longer accepts a callback
- Add various setters and jsdoc to transaction.js
- Normalize setters, e.g. sourceTag() and destinationTag()
- Minor optimization in call to tx.hash() in TransactionManager prior
to submit; allow `serialized` argument to tx.hash() such that the
transaction is not serialized twice
2014-12-10 11:30:45 -08:00
Geert Weening
634e811888
Merge pull request #220 from geertweening/update_sjcl
...
[TASK] update sjcl
2014-12-08 15:21:13 -08:00
Geert Weening
3204998fcb
[TASK] update sjcl
...
- native support for k256
- improved entropy by taking advantage of platform crypto
- remove unnecessary sjcl overrides from sjcl-secp256k1.js
- updated ripple-lib curve instantiations to use k256
- add curve override so c256 points to k256
16dde36fa2
2014-12-08 15:02:24 -08:00
Geert Weening
4bba55d2dc
Revert "[FEATURE] improve memo support"
...
This reverts commit 89adcf4f4e .
2014-12-04 12:54:48 -08:00
wltsmrz
95a2cc18fe
Merge pull request #213 from geertweening/feature/memo_format_type
...
[FEATURE] improve memo support
2014-12-02 00:00:10 -08:00
Geert Weening
89adcf4f4e
[FEATURE] improve memo support
...
- add MemoFormat property for memo
- MemoFormat and MemoType must be valid ASCII
- Memo content is converted on the serialization level
- add parsed_* version of Memo content if the parser understand the format
- support `text` and `json` MemoFormat
2014-12-01 09:48:56 -08:00
wltsmrz
86ed24b94c
Cleanup, normalize offers from book_offers and transaction stream
2014-11-29 15:24:15 -08:00
wltsmrz
e371cc2c3c
Fix to_human precision rounding
2014-11-26 11:32:15 -08:00
wltsmrz
0d7fc0a573
Fix fractional drops in funded taker_pays setter
2014-11-25 21:10:57 -08:00
Geert Weening
d6b1728c23
[TASK] change default max_fee for Remote to 1 XRP
2014-11-18 10:47:28 -08:00
wltsmrz
7a1feaa897
Relocate presubmit emission to immediately before transaction submit
2014-11-13 21:44:20 -08:00
Geert Weening
df763b8765
Merge pull request #205 from ripple/core-build
...
Add core build
2014-11-12 10:51:45 -08:00
Geert Weening
bdbf264771
[FIX] support string '0' being interpreted as XRP
2014-11-11 11:51:12 -08:00
wltsmrz
8f17873da2
Remove server._computeFee(Transaction), require fee units argument
2014-11-11 06:24:34 -08:00
Geert Weening
5a084ea3cc
[TEST] fix broken tests
...
as a result of updating account_info request in account.js
2014-11-07 18:22:05 -08:00
Geert Weening
6f5d1104aa
[TASK] change accountRequest method signature
...
`(type, options, callback)` where the last argument will be considered for callback if it's a function
2014-11-07 17:08:01 -08:00
Geert Weening
29e1423f84
[FEATURE] check for valid ledger when using marker
...
when using a marker on an account request, a valid ledger_index or ledger_hash is required, otherwise the results can't be guaranteed to be reliable
consolidated test values for addresses, indexes and hashes
2014-11-07 11:18:24 -08:00
Geert Weening
e42e67e259
[TASK] consolidate accountRequest and pagingAccountRequest
...
update `requestAccountCurrencies` and `requestAccountInfo`
2014-11-07 09:52:17 -08:00
Geert Weening
9ab77e90fe
Merge pull request #202 from geertweening/feature/paging_account_request
...
[FEATURE] add paging account request
2014-11-06 21:41:44 -08:00
Geert Weening
ae3ed699db
Merge pull request #201 from geertweening/fix/from_human_full_name_native
...
[FIX] from_human 'XRP' with full name
2014-11-06 21:41:30 -08:00
Geert Weening
0c22a9753e
Merge pull request #199 from geertweening/fix/amount_cap
...
[FIX] cap IOU Amounts to their max and min value
2014-11-06 21:41:08 -08:00
Geert Weening
a447f6b723
[TEST] add missing testcases for interest bearing currencies
...
- `get_interest_at` by providing a Date object
- `get_interest_at` for a Currency without interest
2014-11-06 21:38:00 -08:00
Geert Weening
a8ef614b81
[FIX] Currency constructor with Currency object
...
clone the given Currency instance in `parse_json`
2014-11-06 21:36:57 -08:00
Geert Weening
722f4e175d
[FEATURE] add paging account request
...
some requests return results that can be paged through, e.g. `account_lines`
use `limit` and `marker` options to specify results per response and position
change `requestAccountLines` and `requestAccountOffers` to use the `pagingAccountRequest`
2014-11-06 18:40:45 -08:00
Geert Weening
1ad6e5a15f
[FIX] from_human 'XRP' with full name
...
from_human 'XRP - Ripples' should result in native XRP
2014-11-05 16:54:45 -08:00