sublimator
007c2e7e5c
Fix typo
2014-03-08 23:37:25 +07:00
wltsmrz
a188ae6ace
Cleanup
2014-03-07 13:31:37 -08:00
wltsmrz
c0db5e251a
Add transaction.lastLedger, whitelist type_hex path property
2014-03-07 11:55:46 -08:00
wltsmrz
bc427204c6
Cleanup
2014-03-07 11:54:02 -08:00
wltsmrz
976de00242
Update remote init test
2014-03-03 15:27:38 -08:00
wltsmrz
a098b0cf02
Fix trace validation
2014-03-03 15:08:38 -08:00
wltsmrz
70d28fc15e
Fix remote storage validation
2014-03-03 13:20:47 -08:00
wltsmrz
815eed427f
Validate remote configuration. Fixes #58
2014-03-03 13:10:56 -08:00
wltsmrz
55e74671a7
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-03-03 12:09:16 -08:00
wltsmrz
47db68ff45
Use lru-cache API
2014-03-03 11:55:57 -08:00
Nicholas Dudfield
e227a541e7
Set VER_ACCOUNT_ID on address returned by keypair
...
Just a decent default, client code can still set_version before base58 encoding.
2014-03-03 11:09:15 +07:00
wltsmrz
7a88165e16
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-02-28 16:27:24 -08:00
wltsmrz
5ed148af75
Persistent transactions interface (Gateway REST API)
2014-02-28 16:27:09 -08:00
Stefan Thomas
1329de5344
Log: Cleanup some unused code.
2014-02-27 23:39:28 -08:00
Stefan Thomas
a003d261ea
Log: New logging system.
...
Right now, all I've done is move the logging function from utils to its own
file. I've also refactored it and created some classes.
Next step would be to somehow get rid of the trace setting. The Remote class
should have nothing to do with logging settings. Perhaps we can keep the setting
for backwards compatibility only, but the main way to turn logging on/off or
filter logging messages should be through the Log class.
2014-02-27 23:38:45 -08:00
wltsmrz
37065123e5
Catch max fee exceeded on fee adjust
2014-02-27 15:13:15 -08:00
wltsmrz
44dd0ca4a3
Merge pull request #60 from sublimator/develop
...
Proposed fix for #51 and #57
2014-02-27 12:14:16 -08:00
wltsmrz
15304237d1
Don't automatically resubmit tefMAX_LEDGER, maintain transaction state, add transaction.iff(fn, callback) to be executed on each submission
2014-02-26 17:31:59 -08:00
Nicholas Dudfield
acfc1bbb8c
Proposed fix for #51 and #57
2014-02-26 13:57:48 +07:00
wltsmrz
75a732e0ad
Bump submitIndex on resubmit
2014-02-24 13:43:20 -08:00
wltsmrz
8fcb694f1d
Fix account requests with object argument
2014-02-20 15:48:12 -08:00
wltsmrz
ef758b17b1
Bump LRU cache max size to 100
2014-02-20 14:23:17 -08:00
wltsmrz
b9646c51b8
Automatically resubmit on tefMAX_LEDGER
2014-02-19 16:08:15 -08:00
wltsmrz
c3ceba1f05
Cleanup
2014-02-19 14:06:55 -08:00
wltsmrz
573b38cc19
Add lru-cache dependency; make remote._received_tx an lru-cache with specified max length
2014-02-19 13:00:38 -08:00
wltsmrz
5ca5c73c34
Clear caches when queue empties
2014-02-19 12:21:55 -08:00
wltsmrz
5a15c5b1d5
Set LastLedgerSequence to current_ledger_index + 8 on outgoing transactions
2014-02-19 11:10:05 -08:00
wltsmrz
c60097f8c5
Change optional ping interval units to seconds
2014-02-18 16:41:24 -08:00
wltsmrz
7f13a71252
Use account_tx outbound filter, only query account_tx if the pending queue is non-empty
2014-02-18 16:33:31 -08:00
wltsmrz
f27be38ca9
Add automatic ping option
2014-02-10 13:25:20 -08:00
Stefan Thomas
aed6b7754e
Amount: Support passing demurrage currencies to Amount#parse_human.
...
If a reference date is provided as an option, the method will apply the
demurrage/interest rate compounded to that date.
2014-02-09 23:07:04 -08:00
Stefan Thomas
0772ffb6ed
Currency: Behavior change for to_json for demurrage currencies.
...
Currency#to_json should output a format that can be successfully converted back
to a Currency object via from_json. So for demurrage currencies it should output
the full hex currency code.
Currency#to_human on the other hand should always print something a human will
understand. For demurrage currencies we'll print the three-letter code for now.
2014-02-09 23:07:04 -08:00
Vahe Hovhannisyan
37e6d95cbc
Index: Add UInt256, change UInt160 and Seed paths.
2014-02-07 15:49:09 -08:00
Vahe Hovhannisyan
644b611b9b
Transaction: Comment fix.
2014-02-07 14:21:59 -08:00
sublimator
b21be326fe
SLE TODO for binformat
2014-02-05 23:15:00 +07:00
Stefan Thomas
3d9cea62ff
Add new fields to binformat.
2014-02-04 22:21:43 -08:00
Stefan Thomas
a15da9ade1
Remove redundant information in binformat.js.
2014-02-04 21:38:25 -08:00
Stefan Thomas
a07b76a28c
Move field type maps to binformat.js.
2014-02-04 21:38:20 -08:00
Stefan Thomas
372c508911
Improve error message for unknown field
2014-02-04 15:40:50 -08:00
Stefan Thomas
257e9da563
Fix reference to Transaction#parseJson.
2014-02-04 15:40:10 -08:00
Stefan Thomas
cdfb7989b0
Better error message for unknown fields.
2014-02-03 18:11:04 -08:00
Nicholas Dudfield
b01c15847c
Fix binary serialization of Vector256
2014-02-01 11:02:10 +07:00
Nicholas Dudfield
23528293e0
Fix binary parsing of Vector256
2014-02-01 10:46:04 +07:00
wltsmrz
215a3f1669
Interface for storing external pending transaction queue
2014-01-28 15:03:16 -08:00
Stefan Thomas
f678f47155
Amount: Full demurrage support.
2014-01-25 11:31:56 -08:00
Stefan Thomas
fa07601a2a
UInt: Add UInt#_update for creating subclasses that have dependent state.
2014-01-25 11:30:58 -08:00
Stefan Thomas
014514a4da
Add a utility function for converting back from JS time to Ripple epoch.
2014-01-25 00:18:57 -08:00
Stefan Thomas
9f76907f51
Currency: Add support for complex currencies. (UInt160)
...
This patch might regress the performance of the Currency class and by extension
the Amount class. Since Amount is on a lot of hot paths in the client we should
make sure this isn't a major problem.
As for compatibility, this patch is a major change, but it should maintain the
public interface very well, which the exception of some strange edge cases (e.g.
Currency.from_json(1337)), which weren't well-defined before anyway. Any code
that accesses _value directly (shame on you!) will need to be fixed. There
aren't any such references in ripple-client or the rippled test suite, so I
think we're looking pretty good.
2014-01-24 05:24:46 -08:00
Michael Elsdörfer
c95d976e84
Fix signingHash calls; make rsign output pre-sign hash.
2014-01-19 16:04:38 +01:00
sublimator
2396a53b03
Make order book subscription work
2014-01-19 15:58:23 +07:00