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
Geert Weening
f05941fbc4
[FIX] cap IOU Amounts to their max and min value
...
respect rippled's limits
2014-11-05 16:04:02 -08:00
Bo Chen
237c46d5a0
[FIX] fix test and do not set tx_json.Fee in maxFee method
2014-11-05 15:59:57 -08:00
Bo Chen
24587fab9c
[FEATURE] set max fee the submitter of a transaction is willing to pay
2014-11-04 14:13:42 -08:00
Geert Weening
cdf1112666
[FIX] ledgerSelect setting both ledger_index and ledger_hash
2014-10-28 17:33:55 -07:00
Geert Weening
13685d03e1
Merge pull request #195 from ripple/use-ledgerselect
...
Switch account requests to use ledgerSelect rather than ledgerChoose
2014-10-27 16:07:40 -07:00
wltsmrz
278df9025a
Switch account requests to use ledgerSelect rather than ledgerChoose
2014-10-27 15:35:07 -07:00
Geert Weening
cb608406f8
Merge pull request #191 from geertweening/fix/undefined_remote
...
[FIX] transaction without explicit remote
2014-10-27 12:09:59 -07:00
Geert Weening
f4a55d03d3
Merge pull request #192 from geertweening/fix/amount_precision
...
[FIX] confusion between precision and min_precision
2014-10-26 19:21:09 -04:00
Geert Weening
d3b6b8127c
[FIX] transaction without explicit remote
...
remote was instantiated as an object and checks through the class for `this.remote` would pass and cause
unintended behavior
e.g. `.complete()` would view an undefined remote as untrusted and not allow local signing
e.g. calling `_computeFee()` with an undefined remote would crash ripple-lib
2014-10-26 19:09:04 -04:00