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
wltsmrz
bc1f9f8a28
Fix account root request ledger argument #121
2014-10-26 15:39:17 -07:00
Geert Weening
7708c64576
[FIX] confusion between precision and min_precision
...
`precision` expresses precision within the provided value and won't expand it if the max expression of the value is smaller
`min_precision` will expand the value if the max expression of the value is smaller
2014-10-23 17:59:53 -07:00
Geert Weening
4be209e286
[FIX] amount precision bugs
...
- leading 0's for fraction part disappearing
- first decimal lower than 5 wouldn't result in dropping the decimal
2014-10-21 13:22:42 -07:00
Geert Weening
033257b03b
[FIX] Amount.to_human() precision slicing instead of rounding
2014-10-16 13:54:42 -07:00
Geert Weening
947ec3edc2
[FEATURE] add flag to show or hide interest in to_human/to_json
...
The show_interest flag will default to true for interest bearing currencies and false for currencies without interest
2014-10-09 14:31:02 -07:00
Geert Weening
bb76530e4b
Merge pull request #179 from geertweening/develop
...
[FEATURE] make maxLoops in seed.get_key() optional
2014-10-09 09:32:17 -07:00
Matthew Fettig
4c594f8964
[FIX] vault client: URI decode attestation token
2014-10-08 18:17:30 -07:00
Matthew Fettig
778ccd4805
[TASK] vault client: tests for attestation routes and full summary
2014-10-06 18:03:52 -07:00
Matthew Fettig
dce15bc579
[TASK] vault client: add parameters to attest
2014-10-03 17:17:08 -07:00
Geert Weening
23e473b688
[FEATURE] make maxLoops in seed.get_key optional
...
default to 1 or the index of the requested account +1
2014-10-02 17:26:01 -07:00
wltsmrz
2cd434e861
Fix orderbook reset on reconnect
2014-09-17 13:42:24 -07:00
wltsmrz
8ef7481858
Allow mixed letters and numbers in currencies
2014-09-17 13:39:49 -07:00
Edward Hennis
02b5d14d0f
[BUG] Fix Amount.to_human_full()
...
* Amount.is_native is a function, but was referenced as a bool.
* Duplicate to_text_full tests to test to_human_full.
2014-09-12 10:52:46 -04:00
wltsmrz
0120044c96
Fix undefined fee states when connecting to a rippled that is syncing
2014-09-11 23:44:21 -07:00
Nicholas Dudfield
b4564a86b4
Fix #160 , Seed.parse_json of hex
2014-09-06 10:45:26 +07:00
wltsmrz
8f7cdc6e4f
Prevent setting LastLedgerSequence of NaN. Fixes a potential ambiguous serialization error
2014-09-04 19:50:56 -07:00
Stefan Thomas
a3668defa8
[TASK] Add a constant for the maximum number representable as a Ripple value.
2014-09-04 09:27:36 -07:00
Stefan Thomas
9800fd8f11
[TEST] Previous test cases were using the functionality being tested.
...
The previous version of these tests was using `get_address` just like the code being tested. It's better to check if the code in question has actually been able to correctly find the public key (which means it also found the correct private key.)
2014-08-25 15:25:07 -07:00
Matthew Fettig
dbddc314a6
[CHORE] vault client: get 2fa HMAC instead of ECDSA
2014-08-25 10:45:43 -07:00