Chris Clark
3caed3c761
Bump version to 0.16.0
2015-12-09 13:17:04 -08:00
Chris Clark
ce1c55427a
Merge pull request #668 from clark800/fix-ws-error
...
BREAKING CHANGE: Change error event format and fix crash due to error event on websocket
2015-12-09 13:06:45 -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
20b647dfbf
Merge pull request #667 from clark800/fix-server-info
...
BREAKING CHANGE: Fix types of XRP values in getServerInfo response
2015-12-07 17:03:09 -08:00
Chris Clark
99d08065e4
BREAKING CHANGE: Fix types of XRP values in getServerInfo response
2015-12-07 16:47:56 -08:00
Chris Clark
261fba3d21
Merge pull request #666 from clark800/fix-deliver-min
...
Fix DeliverMin value when specifying minAmount
2015-12-04 15:35:30 -08:00
Chris Clark
e1d9de7b1f
Fix DeliverMin value when specifying minAmount
2015-12-04 15:18:03 -08:00
Chris Clark
391b2f3622
Merge pull request #665 from clark800/fix-quality
...
Fix parsing of quality for getTrustlines
2015-12-04 13:55:46 -08:00
Chris Clark
86ff315ef2
Fix parsing of quality for getTrustlines
2015-12-04 13:40:59 -08:00
Chris Clark
8d8a850864
Merge pull request #662 from lumberj/doc-fix
...
getFee returns a string not float
2015-12-02 13:32:11 -08:00
Alan Cohen
7bf2da6014
getFee returns a string not float
...
> api.connect().then(() => api.getFee().then(fee => console.log(typeof fee)));
> string
2015-12-02 13:17:35 -08:00
Chris Clark
7eae3ce709
Merge pull request #661 from clark800/client-cert
...
Add support for client certificates
2015-11-30 16:48:52 -08:00
Chris Clark
5f5e48e414
Add support for client certificates
2015-11-30 16:26:27 -08:00
Chris Clark
4f6a37f7b1
Merge pull request #660 from clark800/null-max
...
Allow setting maxLedgerVersion to null to specify no maximum
2015-11-30 16:13:41 -08:00
Chris Clark
82613e7e8b
Allow setting maxLedgerVersion to null to specify no maximum
2015-11-30 15:52:36 -08:00
Chris Clark
588aa382a1
Merge pull request #659 from clark800/doc-fixes
...
Fix generateAddress docs and add error event listener to boilerplate
2015-11-30 15:32:02 -08:00
Chris Clark
809d981987
Fix generateAddress docs and add error event listener to boilerplate
2015-11-30 15:16:37 -08:00
Chris Clark
cfc21fde8c
Bump version to 0.15.2
2015-11-25 13:13:53 -08:00
Geert Weening
5c06ef547b
Merge pull request #658 from clark800/fix-proxy-auth
...
Fix support for proxy credentials in proxy URL and fix error when the…
2015-11-25 13:11:42 -08:00
Chris Clark
0990ad4a6f
Fix support for proxy credentials in proxy URL and fix error when there are more than 10 outstanding requests
2015-11-25 12:53:50 -08:00
Chris Clark
d8f967d2b8
Bump version to 0.15.1
2015-11-25 11:46:33 -08:00
Geert Weening
fe1c3e7130
Merge pull request #657 from clark800/fix-polyfill
...
Fix babel-polyfill require
2015-11-25 11:38:52 -08:00
Chris Clark
062148674c
Fix babel-polyfill require
2015-11-25 11:31:32 -08:00
Chris Clark
11320693fd
Merge pull request #656 from clark800/fix-samples
...
Fix samples
2015-11-25 11:08:39 -08:00
Chris Clark
7af7eaccb4
Merge pull request #655 from darkdarkdragon/develop-RLJS-549-3
...
add unit tests for RippleAPIBroadcast
2015-11-25 11:04:55 -08:00
Chris Clark
5d5cf868a2
Fix samples
2015-11-25 10:26:30 -08:00
Ivan Tivonenko
ddf8fe5b1a
add unit tests for RippleAPIBroadcast
2015-11-25 05:58:48 +02:00
Chris Clark
dc24f6afe0
Bump version to 0.15.0
2015-11-24 17:53:53 -08:00
Chris Clark
f7dac6ab25
Merge pull request #654 from clark800/mDuo13-docs-patch-3
...
Docs: SusPay warnings, offline mode, and other tweaks
2015-11-24 17:49:01 -08:00
mDuo13
4b4fc36ebd
Docs: SusPay warnings, offline mode, and other tweaks
2015-11-24 17:37:52 -08:00
Chris Clark
7626ea5ed8
Merge pull request #653 from clark800/multi
...
BREAKING CHANGE: "servers" parameter changed to single "server" and a…
2015-11-24 17:08:58 -08: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
Chris Clark
a124635c2c
Merge pull request #652 from darkdarkdragon/develop-RLJS-549-2
...
fix handling memos in prepareSettings
2015-11-24 16:33:43 -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
Chris Clark
ab8d75d3cc
Merge pull request #650 from clark800/cancel-doc-fix
...
Fix prepareOrderCancellation documentation
2015-11-24 14:32:24 -08:00
Chris Clark
5e720891f5
Fix prepareOrderCancellation documentation
2015-11-23 18:24:19 -08:00
Chris Clark
27ed1aadd5
Bump version to 0.14.0
2015-11-23 17:36:16 -08:00
Chris Clark
001f203983
Merge pull request #648 from clark800/memos
...
Allow memos on all transaction types
2015-11-23 17:25:09 -08:00
Chris Clark
515047d2dc
Merge pull request #649 from clark800/darkdarkdragon-develop-RLJS-549
...
boost coverage to almost 100%
2015-11-23 17:24:46 -08:00
Ivan Tivonenko
995606b1e6
boost coverage to almost 100%
2015-11-23 17:06:55 -08:00
Chris Clark
b5081344da
Allow memos on all transaction types
2015-11-23 14:12:32 -08:00
Chris Clark
4f86691fb8
Merge pull request #647 from clark800/cancellation-spec
...
BREAKING CHANGE: prepareOrderCancellation now takes orderCancellation specification instead of sequence
2015-11-23 13:14:00 -08:00
Chris Clark
45aca016d4
Merge pull request #646 from clark800/api-options-doc
...
Add documentation for RippleAPI options
2015-11-23 12:47:43 -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
af620755c5
Fix trace option
2015-11-23 12:01:28 -08:00
Chris Clark
a76b554cad
Add documentation for RippleAPI options
2015-11-23 12:01:28 -08:00
Chris Clark
ef1e9e1b70
Merge pull request #644 from mDuo13/patch-1
...
Docs: more on basic types, tx types
2015-11-23 10:23:38 -08:00
mDuo13
fdbac63f46
Docs: more on basic types, tx types
2015-11-20 18:49:03 -08:00
Chris Clark
377f1dbfa1
Merge pull request #643 from clark800/proxy-auth
...
Fix proxy support and add support for proxy authorization
2015-11-20 16:32:53 -08:00
Chris Clark
14b840f3fe
Fix proxy support and add support for proxy authorization
2015-11-20 15:23:56 -08:00
Chris Clark
beb1cc0cde
Merge pull request #642 from mDuo13/patch-1
...
Doc introduction changes
2015-11-20 14:30:05 -08:00
Rome Reginelli
ef2515507d
Docs: revised introductory material
2015-11-20 14:15:40 -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
9cd8beb778
Bump version to 0.13.2
2015-11-20 10:54:01 -08:00
Chris Clark
aaa165a0f3
Merge pull request #640 from lumberj/fix-pathfind
...
Fix: Specify send_max when pathfinding with a source amount
2015-11-20 10:48:39 -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
Alan Cohen
849ba999cb
Bump version to 0.13.1
2015-11-19 18:00:22 -08:00
Chris Clark
10eb08095a
Merge pull request #639 from lumberj/babel-polyfill
...
Add babel-polyfill
2015-11-19 17:46:54 -08:00
Chris Clark
23eb4c90fd
Merge pull request #636 from clark800/events-doc
...
Add documentation for API events
2015-11-19 17:45:00 -08:00
Alan Cohen
12e5765c64
Bump version on ripple-hashes
2015-11-19 17:42:54 -08:00
Alan Cohen
8a53abc32f
Add babel-polyfill
...
» node
> ripple = require('ripple-lib')
Error: Cannot find module 'babel-core/polyfill'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/alan/Projects/ripple-connect/node_modules/ripple-lib/dist/npm/index.js:23:3)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
2015-11-19 17:31:52 -08:00
Chris Clark
25d1ac0c5f
Add documentation for API events
2015-11-19 15:40:35 -08:00
Chris Clark
f534bafb79
Merge branch 'develop'
2015-11-19 12:48:08 -08:00
Alan Cohen
f5fa1e6c2a
Merge pull request #635 from clark800/docs
...
Bump version to 0.13.0
2015-11-19 12:34:42 -08:00
Chris Clark
60842540cb
Bump version to 0.13.0
2015-11-19 12:26:24 -08:00
Chris Clark
0fb04cdcb4
Merge pull request #634 from clark800/docs
...
Add table of contents to docs
2015-11-19 11:29:43 -08:00
Chris Clark
5fb8d9214f
Add table of contents to docs
2015-11-19 11:19:35 -08:00
Chris Clark
f7f2de291f
Merge pull request #633 from clark800/docs
...
Add documentation and documentation testing
2015-11-18 17:51:36 -08:00
Chris Clark
0c27a13a00
Fix ci.sh error detection
2015-11-18 16:54:13 -08:00
Chris Clark
02a887776f
Add documentation and documentation testing
2015-11-18 16:54:10 -08:00
Alan Cohen
f8c885c0a9
Bump version to 0.13.0-rc16
2015-11-18 14:43:50 -08:00
Chris Clark
327ee2b8dd
Merge pull request #632 from clark800/error-message
...
Add resultCode and resultMessage to submit failure RippledError
2015-11-17 17:46:00 -08:00
Chris Clark
4f90bbd931
Add resultCode and resultMessage to submit failure RippledError
2015-11-17 17:33:36 -08:00
Chris Clark
f196304a56
Merge pull request #630 from darkdarkdragon/develop-RLJS-540
...
add test case for get transaction of types
2015-11-17 16:27:57 -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
a602d4d73d
Merge pull request #631 from clark800/fix-todos
...
Fix TODOs in schemas and update README for RippleAPI
2015-11-17 13:02:59 -08:00
Chris Clark
2422b9a30b
Update README for RippleAPI
2015-11-17 11:30:26 -08:00
Chris Clark
ef72c9fe02
Fix TODOs in schemas
2015-11-16 16:59:27 -08:00
Chris Clark
ee12a214d3
Merge pull request #629 from clark800/remove-closed
...
Miscellaneous cleanup
2015-11-16 14:17:55 -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
ff9474b2f9
Merge pull request #628 from clark800/remove-regular-key
...
Support removing RegularKey
2015-11-16 10:58:49 -08:00
Chris Clark
ed8f1e4111
Support removing RegularKey
2015-11-16 10:24:02 -08:00
Chris Clark
c7eb625ac0
Merge pull request #627 from clark800/docprep
...
Add descriptions to JSON schemas and organize for documentation generation
2015-11-13 16:22:48 -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
c104a51458
Merge pull request #623 from clark800/ledgerclose
...
BREAKING CHANGE: Specify ledger close time and suspended payment timestamps in ISO 8601 format
2015-11-02 14:17:14 -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
Geert Weening
90c928205a
Merge pull request #621 from clark800/schemas
...
Fix and reorganize schemas and switch to ajv validator
2015-11-02 21:34:01 +01:00
Geert Weening
7c1831ef38
Merge pull request #622 from clark800/fix-samples
...
Fix samples
2015-11-02 20:08:27 +01:00
Chris Clark
f722514ecf
Fix samples
2015-10-30 15:22:42 -07: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
7bc242bcd0
Merge pull request #620 from clark800/expiration
...
Add support for order expiration
2015-10-29 17:59:49 -07:00
Chris Clark
665f5f9664
Add support for order expiration
2015-10-29 17:25:52 -07:00
sublimator
36806e4724
Merge pull request #619 from clark800/current-error
...
Expose computeLedgerHash and prevent access to non-validated ledgers
2015-10-29 11:29:59 +07:00
Chris Clark
6c2fad508a
Expose computeLedgerHash and prevent access to non-validated ledgers
2015-10-28 15:39:43 -07:00
Chris Clark
252b99db18
Merge pull request #618 from clark800/cleanup
...
Emit Connection errors on RippleAPI, remove unused exports, use ripple-hashes in sign
2015-10-28 12:39:50 -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
85c1a3cc42
Merge pull request #615 from clark800/cleanup-errors
...
Cleanup error classes
2015-10-28 10:08:11 -07:00
sublimator
b6e8dc4c8d
Merge pull request #616 from clark800/proxy
...
Add proxy and authorization support to Connection class
2015-10-28 13:24:07 +07:00
Chris Clark
ba95514d8d
Add proxy and authorization support to Connection class
2015-10-27 17:41:46 -07:00
Chris Clark
87dac75919
Cleanup error classes
2015-10-27 17:14:23 -07:00
Chris Clark
37178eeb0b
Merge pull request #614 from clark800/api-class
...
Delete core
2015-10-27 13:27:15 -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
88b1c7e6eb
Convert RippleAPI to ES6 class
2015-10-27 12:13:45 -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
b224d4d1c4
Use Promise.resolve
2015-10-27 10:49:59 -07:00
Chris Clark
6db2a72eb8
Use Promise.resolve
2015-10-27 10:39:18 -07:00
Chris Clark
cd5eedff84
Rename toTimestamp/fromTimestamp
2015-10-26 17:46:57 -07:00
Chris Clark
75a427ab27
Avoid catching listener exceptions in Connection class
2015-10-26 17:39:21 -07:00
Chris Clark
ae439afaa4
Remove unnecessary server_info request
2015-10-26 17:29:32 -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
sublimator
c867f2a29a
Merge pull request #603 from wltsmrz/add-basic-auth
...
Add basic auth
2015-10-24 10:18:56 +07:00
Chris Clark
ce65d83cc3
Merge pull request #610 from darkdarkdragon/develop-RLJS-534
...
fix error in remote.createPathFind
2015-10-23 14:28:31 -07:00
Chris Clark
38dc1c29d6
Merge pull request #611 from darkdarkdragon/develop-RLJS-535
...
add timeout logic to Remote.getLedgerSequence
2015-10-23 14:28:12 -07:00
Ivan Tivonenko
eeb62ff85e
add timeout logic to Remote.getLedgerSequence
2015-10-24 00:20:06 +03:00
Ivan Tivonenko
1dca40c1c9
fix error in remote.createPathFind
...
add toString method on RippleError
2015-10-24 00:03:53 +03:00
Chris Clark
7e1f2b99b1
Merge pull request #609 from clark800/ripple-path-find
...
Switch back to ripple_path_find
2015-10-23 13:32:59 -07:00
wltsmrz
f65b673451
Add basic auth
2015-10-22 23:03:48 -07:00
Chris Clark
391a9fd260
Switch back to ripple_path_find
2015-10-22 17:51:16 -07:00
Chris Clark
9a759e7ef1
Merge pull request #608 from clark800/decouple-remote
...
BREAKING CHANGE: getFee returns promise, express fee in XRP in instru…
2015-10-22 16:37:24 -07:00
Chris Clark
3de0030d07
Add ledger version range checking to Connection class
2015-10-22 14:34:44 -07:00
Chris Clark
cd17d6940f
BREAKING CHANGE: getFee returns promise, express fee in XRP in instructions response, use rawRequest to start decoupling Remote from API
2015-10-22 14:34:42 -07:00
Chris Clark
5aa212471c
Merge pull request #606 from clark800/decouple-transaction
...
Decouple core.Transaction from API
2015-10-22 11:16:29 -07:00
Chris Clark
c324682ca3
Decouple core.Transaction from API
2015-10-21 11:48:40 -07:00
Chris Clark
33565d8b96
Merge pull request #604 from shekenahglory/develop
...
rename metaData to meta
2015-10-21 11:13:35 -07:00
Matthew Fettig
aeb56dee17
rename metaData to meta on getLedger
2015-10-21 10:00:07 -07:00
Chris Clark
98422e4153
Merge pull request #605 from clark800/replace-transaction
...
Set FullyCanoncialSig flag and fix integration tests
2015-10-20 15:51:44 -07:00
Chris Clark
2c7ce4a107
Run integration tests in CI
2015-10-20 15:49:06 -07:00
Chris Clark
3fbde86548
Set FullyCanoncialSig flag and fix integration tests
2015-10-20 15:49:03 -07:00
Chris Clark
01ecd197ce
Merge pull request #601 from clark800/replace-core
...
Add Connection class
2015-10-20 10:38:00 -07:00
Chris Clark
15eb4c290a
Add Connection class
2015-10-19 17:32:45 -07:00
wltsmrz
5fa20dc1f7
Merge pull request #593 from clark800/remove-rsign
...
Remove rsign.js
2015-10-19 13:45:52 -07:00
Alan Cohen
3df64091dd
Bump version to 0.13.0-rc15
2015-10-19 08:51:44 -07:00
Chris Clark
de5d9335d1
Merge pull request #598 from clark800/remove-currency
...
Remove Currency class
2015-10-16 11:51:20 -07:00
Chris Clark
88a65f08d8
Merge pull request #596 from darkdarkdragon/develop-RLJS-520
...
getBalances fixes:
2015-10-16 10:54:16 -07:00
Chris Clark
a505354363
Remove bin scripts
2015-10-16 10:52:11 -07:00
Chris Clark
837f7e6e9b
Remove Currency class
2015-10-16 10:48:09 -07:00
Ivan Tivonenko
4faa857330
getBalances fixes:
...
obey limit, do not return XRP if currency or issuer specified
2015-10-16 20:46:52 +03:00
Alan Cohen
9c7b0cb889
Merge '0.13.0-rc11.1' into develop
...
Bump version to 0.13.0-rc11.1
Add proxy support to schema
2015-10-15 18:28:27 -07:00
Alan Cohen
a11abcc016
Bump version to 0.13.0-rc11.1
2015-10-15 18:22:20 -07:00
Alan Cohen
dd693fdc5f
Add proxy support to schema
2015-10-15 18:14:22 -07:00
Chris Clark
5ac2576fcf
Merge pull request #597 from clark800/remove-ieee754
...
Remove demurrage
2015-10-15 12:18:21 -07:00
Chris Clark
512817a2db
Remove demurrage
2015-10-15 11:56:39 -07:00
Chris Clark
1f8c8d88fa
Merge pull request #595 from clark800/ripple-hashes
...
Use ripple-hashes
2015-10-15 10:51:06 -07:00
Chris Clark
044ed53935
Merge pull request #582 from darkdarkdragon/develop-flow-annotate-4
...
add more flow annotations to RippleApi
2015-10-15 10:32:32 -07:00
Ivan Tivonenko
d47bb2749a
add more flow annotations to RippleApi
2015-10-15 03:51:45 +03:00
Chris Clark
0dc000839b
Use ripple-hashes
2015-10-14 15:48:40 -07:00
Chris Clark
462e440d5b
Merge pull request #594 from clark800/hex-sign
...
Update ripple-keypairs
2015-10-14 14:12:23 -07:00
Chris Clark
1891fe0afd
Update ripple-keypairs
2015-10-14 13:24:13 -07:00
Geert Weening
8cec60c4b0
Merge pull request #592 from clark800/remote-serial
...
Delete serialization code
2015-10-14 11:28:11 -07:00
Chris Clark
7419244b39
Delete serialization code
2015-10-13 18:24:21 -07:00
Chris Clark
eb9a48d2d6
Merge pull request #589 from wltsmrz/multisign-update
...
Fix Transaction.complete() for multisigned transactions
2015-10-13 16:18:01 -07:00
Chris Clark
e44d36b4af
Merge pull request #591 from clark800/ledger-hashes
...
Decouple ledger.js and serialization code
2015-10-13 16:15:40 -07:00
Chris Clark
9a5d05f198
Decouple ledger.js and serialization code
2015-10-13 14:51:04 -07:00
Chris Clark
d7a20a5d53
Merge pull request #588 from darkdarkdragon/develop-broadcast-fix
...
fix Request.broadcast logic
2015-10-13 14:06:31 -07:00
Ivan Tivonenko
b56680e24e
fix Request.broadcast logic
...
Add default timeout to Request.broadcas
Add default timeout to Remote.createPathFind
Handle 'slowDown' error in many places
2015-10-13 22:40:02 +03:00
Chris Clark
886e80ff6d
Merge pull request #590 from FrRichard/patch-4
...
Update REFERENCE.md
2015-10-13 10:51:57 -07:00
FrRichard
142187b024
Update REFERENCE.md
...
Changed the way you are setting the request callback.
Previous documentation didn't work, ie, the callback was never called (probably old way to set the callback).
2015-10-10 19:52:55 +02:00
wltsmrz
72f3237aba
Fix Transaction.complete() for multisigned transactions
2015-10-09 10:50:54 -07:00
Chris Clark
a2406ac163
Merge pull request #587 from clark800/serialize-quality
...
Use ripple-binary-codec
2015-10-08 15:51:15 -07:00
Chris Clark
91a64137fe
BREAKING CHANGE: Use ripple-binary-codec
2015-10-08 15:48:23 -07:00
Geert Weening
57ecbc58f8
bump version to 0.13.0-rc14
2015-10-07 11:42:08 -07:00
Geert Weening
ea4d1007b8
Merge branch 'release' into develop
2015-10-07 11:17:36 -07:00
Geert Weening
16bc7b986b
Bump version to 0.13.0-rc13
2015-10-07 11:14:39 -07:00
Geert Weening
115f95fa96
update release notes
2015-10-07 11:14:01 -07:00
Chris Clark
b77b76ebb5
Merge pull request #586 from darkdarkdragon/develop-log-fix
...
get back lost argument in debug logger
2015-10-07 10:20:01 -07:00
Ivan Tivonenko
f516298a84
get back lost argument in debug logger
2015-10-07 11:43:17 +03:00
Chris Clark
edb31a0c9c
Merge pull request #584 from darkdarkdragon/develop-RLJS-521
...
Add Remote.closeCurrentPathFind function, so current pathfind can be …
2015-10-06 18:40:25 -07:00
Ivan Tivonenko
e99010f363
Add Remote.closeCurrentPathFind function, so current pathfind can be properly closed,
...
so new can be created without adding to queue
2015-10-07 04:10:13 +03:00
Chris Clark
fa865f8409
Merge pull request #580 from FrRichard/patch-1
...
Update REFERENCE.md
2015-10-06 17:43:47 -07:00
FrRichard
40b613b7a2
Update REFERENCE.md
...
Update REFERENCE.md
Update REFERENCE.md
2015-10-07 02:29:17 +02:00
Chris Clark
786c371acd
Merge pull request #585 from shekenahglory/master
...
fix orderbook subscription bug
2015-10-06 16:24:48 -07:00
Matthew Fettig
c4920f474d
fix orderbook subscription bug
2015-10-06 15:56:10 -07:00
Chris Clark
a79b010572
Merge pull request #576 from shekenahglory/develop
...
allow offers request on orderbook subscribe when disconnected
2015-10-06 14:09:25 -07:00
Matthew Fettig
7404795dc6
fix bugs in orderbook subscription
2015-10-06 13:59:21 -07:00
Chris Clark
47a9fb5803
Merge pull request #583 from clark800/fix-merge-error
...
Fix merge error
2015-10-06 12:54:41 -07:00
Chris Clark
701d4c5722
Fix merge error
2015-10-06 12:47:26 -07:00
Chris Clark
d8d6f945ec
Merge pull request #581 from clark800/binary-codec
...
Decouple UInt from non-serialization code
2015-10-05 16:39:17 -07:00
Geert Weening
a6821bb8ab
Fix bower version regex
2015-10-05 15:58:49 -07:00
Geert Weening
ed40eec711
Bump version to 0.13.0-rc12
2015-10-05 15:38:20 -07:00
Chris Clark
2f163c3b6e
Decouple UInt from non-serialization code
2015-10-05 15:27:43 -07:00
Geert Weening
43488c55f1
Update release notes
2015-10-05 15:07:31 -07:00
Geert Weening
2f727b553c
Merge branch 'develop' into release
2015-10-05 15:04:18 -07:00
Chris Clark
29c37aa6da
Merge pull request #579 from wltsmrz/balance-sheet
...
Balance sheet
2015-10-05 13:41:24 -07:00
wltsmrz
64baef431d
Use amount schema
2015-10-05 13:37:55 -07:00
Chris Clark
634fe5683a
Merge pull request #577 from darkdarkdragon/develop-reconnect-2
...
remove Request resubmit logic
2015-10-05 13:28:47 -07:00
Ivan Tivonenko
225ca3f852
BREAKING CHANGE: removed 'timeout' method of Request
...
added default timeout to Request - will emit 'timeout' event
and RippleError('tejTimeout') to callback
2015-10-05 23:22:32 +03:00
wltsmrz
ff2ac6c3cd
Format balancesheet schema
2015-10-05 13:09:04 -07:00
wltsmrz
607777f2a3
Lint
2015-10-05 12:30:41 -07:00
wltsmrz
78eeb40322
Change rippled test fixture name
2015-10-05 12:23:22 -07:00
wltsmrz
772f79ae21
Update schema
2015-10-05 12:16:25 -07:00
wltsmrz
806a4e823f
Add getBalanceSheet() to RippleAPI
2015-10-02 17:30:13 -07:00
wltsmrz
323e402e0c
Add requestGatewayBalances() to core
2015-10-02 17:30:04 -07:00
Chris Clark
9ebb59580d
Merge pull request #575 from clark800/get-paths-source-amount
...
Support source.amount in getPaths and destination.minAmount in preparePayment
2015-10-02 13:30:04 -07:00
wltsmrz
bafab6eb18
Merge pull request #574 from clark800/fix-ratio-human
...
Fix bug in Amount.ratio_human
2015-10-01 15:18:20 -07:00
Chris Clark
35acbb62c3
Support source.amount in getPaths and destination.minAmount in preparePayment
2015-10-01 14:55:11 -07:00
Chris Clark
4676ade4ee
Fix bug in Amount.ratio_human
2015-10-01 11:58:09 -07:00
Geert Weening
61afca2337
bump to 0.12.9
2015-09-30 16:05:29 -07:00
Geert Weening
47251bd38b
update release notes
2015-09-30 15:44:38 -07:00
wltsmrz
8edc3b1f36
Merge pull request #572 from darkdarkdragon/develop-request-once
...
throw error if Request.request called more than once
2015-09-30 12:00:06 -07:00
Chris Clark
8acfb1a537
Merge pull request #546 from darkdarkdragon/develop-async
...
make Remote.getLedgerSequence asynchronous
2015-09-30 11:18:49 -07:00
Ivan Tivonenko
ac78171099
make orderbook use Remote.getLedgerSequenceSync
...
fix some variables naming in src/api
2015-09-30 07:46:30 +03:00
Ivan Tivonenko
d573c5746b
refactor getLedgerVersionHelper
2015-09-30 07:07:46 +03:00
Ivan Tivonenko
51e8f9a87a
make Remote.getLedgerSequence asynchronous
2015-09-30 07:05:39 +03:00
Ivan Tivonenko
bfe590d96d
copy message from Error instance into RippleError
2015-09-30 06:34:58 +03:00
Ivan Tivonenko
60e2d10775
throw error if Request.request called more than once
2015-09-30 06:29:07 +03:00
Chris Clark
2f432cef62
Merge pull request #571 from clark800/fix-pathfind-queue
...
Fix pathfind queuing and add unit test
2015-09-29 15:22:38 -07:00
Chris Clark
5217b66396
Fix pathfind queuing and add unit test
2015-09-29 12:54:23 -07:00
Chris Clark
b8bb191d24
Merge pull request #566 from clark800/refactor
...
Decouple UInt160 from account.js and amount.js
2015-09-28 14:15:50 -07:00
Chris Clark
8070a52dc7
Merge pull request #568 from ripple/revert-max-ledger
...
Revert "Set default maxLedgerVersion to last closed ledger when reque…
2015-09-28 13:27:57 -07:00
wltsmrz
3205f3cf8c
Merge pull request #570 from darkdarkdragon/develop-before-once
...
make sure that 'before' event emitted from Request only once
2015-09-28 12:06:15 -07:00
Alan Cohen
e0cdd610dd
Set default max ledger to -1 when requesting account_tx
...
-1 means up to the most recent available _validated_ ledger for ledger_index_max
account_tx operates only on valided ledgers
2015-09-28 10:35:33 -07:00
Ivan Tivonenko
ed3b04ed6f
make sure that 'before' event emitted from Request only once
2015-09-28 03:00:59 +03:00
Alan Cohen
62a2d2ae39
Revert "Set default maxLedgerVersion to last closed ledger when requesting account_tx"
...
This reverts commit 90b53002aa .
account_tx operates against validated ledgers only
2015-09-25 20:18:36 -07:00
Geert Weening
e2c853e40d
Bump version to 0.13.0-rc11
2015-09-25 17:05:22 -07:00
Geert Weening
b9b5a71869
Update release notes
2015-09-25 17:01:58 -07:00
Geert Weening
87fdbc932f
Merge pull request #567 from clark800/fix-crash
...
Fix crash due to rippled slowDown error
2015-09-25 16:59:42 -07:00
Chris Clark
84838b2e9f
Fix crash due to rippled slowDown error
2015-09-25 16:41:37 -07:00
Chris Clark
c2ca37a790
Fix lint errors in meta.js and serializedtypes.js
2015-09-25 12:42:13 -07:00
Chris Clark
c6805b9f0d
Decouple UInt160 from amount.js
2015-09-25 12:42:13 -07:00
Chris Clark
b1dbdc03dd
Decouple UInt160 from account.js
2015-09-25 12:42:10 -07:00
Chris Clark
88a3f3d43b
Merge pull request #565 from clark800/value
...
Use ripple-lib-value package and update ripple-lib-transactionparser dependency
2015-09-25 12:39:03 -07:00
Chris Clark
5f8dcd71a5
Merge pull request #564 from darkdarkdragon/develop-master-merge-2
...
Merge branch 'master' into develop
2015-09-24 13:58:11 -07:00
Ivan Tivonenko
45db95da79
put back UInt160 in AutobridgeCalculator
...
fix lint issues
2015-09-24 23:49:32 +03:00
Chris Clark
c79b12b27f
Use ripple-lib-value package and update ripple-lib-transactionparser dependency
2015-09-24 12:32:15 -07:00
Chris Clark
135da6108d
Merge pull request #563 from clark800/keypairs
...
Move to new ripple-keypairs API
2015-09-24 11:53:20 -07:00
Ivan Tivonenko
0d6dda579f
Merge branch 'master' into develop
2015-09-24 20:04:18 +03:00
Chris Clark
e641a347db
Merge pull request #561 from darkdarkdragon/master-performance-2
...
more OrderBook performance optimizations
2015-09-23 17:14:44 -07:00
Ivan Tivonenko
3e17d91edf
more OrderBook performance optimizations
...
OrderBook: emit 'model' event only after last transaction in closed ledger
run AutobridgeCalculator only once in a ledger
2015-09-24 02:50:48 +03:00
Chris Clark
715c648d52
Move to new ripple-keypairs API
2015-09-23 14:30:56 -07:00
Geert Weening
d0ebed9822
bump version to 0.12.8
2015-09-23 11:51:42 -07:00
Geert Weening
a3775f18ba
update release notes
2015-09-23 11:51:29 -07:00
wltsmrz
7b5d6e9fc5
Merge pull request #562 from wltsmrz/add-reconnect-test
...
Add test for Server automatic reconnection
2015-09-22 21:52:11 -07:00
wltsmrz
368ac0b9e0
Merge pull request #560 from wltsmrz/fix-connect-when-already-connected
...
Always call Remote.connect() callback
2015-09-22 21:51:30 -07:00
wltsmrz
0448696bd8
Merge pull request #552 from wltsmrz/update-multisigning
...
Autofill LastLedgerSequence for multisigned transactions
2015-09-22 21:50:53 -07:00
wltsmrz
deb75ed0d7
Add test for Server automatic reconnection
2015-09-22 19:48:25 -07:00
Geert Weening
fcc9bacb4e
bump version to 0.13.0-rc10
2015-09-22 18:33:48 -07:00
wltsmrz
9a5e8fd2ba
Merge pull request #558 from clark800/wss
...
Add pattern for servers option
2015-09-22 18:25:17 -07:00
wltsmrz
1c023c4377
Always call Remote.connect() callback
...
Fixes non-resolving Promise in RippleAPI.connect()
2015-09-22 18:22:28 -07:00
Chris Clark
c213b98329
Add pattern for servers option
2015-09-21 17:34:39 -07:00
Alan Cohen
27d2e6e519
Merge pull request #557 from clark800/ledger-close
...
Add ledgerClosed event
2015-09-21 15:33:44 -07:00
Chris Clark
7ee368965c
Add ledgerClosed event
2015-09-21 14:38:51 -07:00
Alan Cohen
d8b5b825b3
Update verison to 0.13.0-rc9
2015-09-21 10:48:03 -07:00
wltsmrz
de67570230
Autofill LastLedgerSequence for multisigned transactions
2015-09-21 10:26:00 -07:00
Chris Clark
60c604fbe6
Merge pull request #536 from sentientwaffle/dj/suspay
...
suspended payments
2015-09-18 10:58:10 -07:00
sentientwaffle
2f6d25ed01
lint
2015-09-18 10:52:00 -07:00
sentientwaffle
b134081293
Add SuspendedPayment{Create,Finish,Cancel}
...
* Add SusPay core tests
* Rename SusPay -> SuspendedPayment (code review)
* Rename cancelAfter -> allowCancelAfter
* Rename suspendedPayment{Finish,Execution}
2015-09-18 10:51:34 -07:00
Chris Clark
a0528d7f9c
Merge pull request #553 from darkdarkdragon/develop-master-merge
...
Merge OrderBook optimizations from master to develop
2015-09-18 10:41:22 -07:00
Alan Cohen
348335ddf0
Merge pull request #556 from clark800/tel-fix
...
Remove "tel" errors from submit's immediate failure category
2015-09-17 17:20:42 -07:00
Ivan Tivonenko
01752e5486
fix eslint errors
2015-09-18 03:15:09 +03:00
Chris Clark
3e758e1b86
Remove "tel" errors from submit's immediate failure category
2015-09-17 17:06:12 -07:00
Chris Clark
fb0b30a9a7
Merge pull request #555 from lumberj/add-data-to-error
...
RippleAPI: Add data property to error object
2015-09-17 16:29:12 -07:00
Alan Cohen
0c9aea454e
RippleAPI: Add data property to error object
2015-09-17 16:05:43 -07:00
Geert Weening
f282585c3f
Bump version to 0.12.7
...
bump dependencies and regenerate shrinkwrap
2015-09-17 10:30:23 -07:00
Geert Weening
ae5ff31c96
Update release notes
2015-09-17 10:20:52 -07:00
Ivan Tivonenko
20fa8bc953
optimize AutobridgeCalculator and Amount for speed
2015-09-17 19:06:47 +03:00
Alan Cohen
778f59b4fd
Merge pull request #535 from clark800/submit-error
...
Return promise error if submit result is an immediate failure
2015-09-16 17:53:35 -07:00
Chris Clark
49623cb4dd
Merge pull request #550 from lumberj/max-ledger-sequence
...
Set default maxLedgerVersion to last closed ledger when requesting ac…
2015-09-16 17:11:11 -07:00
Alan Cohen
90b53002aa
Set default maxLedgerVersion to last closed ledger when requesting account_tx
2015-09-16 16:45:25 -07:00
Alan Cohen
93c12af305
Merge pull request #548 from lumberj/check-disjoint
...
Add PendingLedgerVersionError
2015-09-16 16:29:46 -07:00
Alan Cohen
60f2419b5c
Add PendingLedgerVersionError
...
MissingLedgerHistoryError - no minLedgerVersion or maxLedgerVersion
There is a ledger gap, but a range should be provided to narrow down the range
of the gap.
MissingLedgerHistoryError
When requesting a tx, if maxLedgerVersion and minLedgerVersion provided, this
means there is a ledger gap in the provided range.
PendingLedgerVersionError:
If maxLedgerVersion provided, check if ledger is ahead of the server's last
validated ledger.
2015-09-16 15:57:55 -07:00
Chris Clark
80494ad813
Return promise error if submit result is an immediate failure
2015-09-16 15:56:24 -07:00
Alan Cohen
b43c4a7ad4
Merge pull request #549 from lumberj/validated-tx
...
Do not return non-validated transaction from RippleAPI#getTransaction
2015-09-16 12:29:23 -07:00
Alan Cohen
3c608de5bb
Do not return non-validated transaction from RippleAPI#getTransaction
2015-09-16 12:19:20 -07:00
Chris Clark
fe5bc1d215
Merge pull request #538 from darkdarkdragon/develop-negative-error
...
shows event that leads to "Offer total cannot be negative" error
2015-09-16 10:26:19 -07:00
Ivan Tivonenko
580bf9a755
shows event that leads to "Offer total cannot be negative" error
2015-09-16 09:57:51 +03:00
Ivan Tivonenko
c7df5df163
make tests pass
2015-09-15 09:14:12 +03:00
Ivan Tivonenko
a08c52af55
Merge branch 'master' into develop-master-merge
2015-09-15 06:29:26 +03:00
Chris Clark
e11db0f0f3
Merge pull request #547 from vhpoet/develop
...
Remote: Add LowFreeze, HighFreeze flags
2015-09-14 16:59:20 -07:00
Vahe Hovhannisyan
c6e0582729
Remote: Add LowFreeze, HighFreeze flags
2015-09-14 16:57:13 -07:00
wltsmrz
6e98629f9b
Merge pull request #543 from darkdarkdragon/develop-reconnect
...
resend request in case server was disconnected after request was sent
2015-09-13 02:14:22 -07:00
sublimator
2243760442
Merge pull request #541 from wltsmrz/add-tecOVERSIZE
...
Add tecOVERSIZE transaction result
2015-09-13 16:11:26 +07:00
wltsmrz
91dd6877aa
Add tecOVERSIZE transaction result
2015-09-13 02:07:53 -07:00
sublimator
e73bcd8fc1
Merge pull request #545 from wltsmrz/add-multisign
...
Add multisign helpers
2015-09-13 15:10:19 +07:00
wltsmrz
7e886b3260
Add multisign helpers
2015-09-13 00:59:27 -07:00
Ivan Tivonenko
5c9451d3ed
allow Request.request(callback)
2015-09-12 22:18:52 +03:00
wltsmrz
c6c2dcc6c0
Merge pull request #533 from clark800/webpack-net-fix
...
Fix browser build
2015-09-11 13:15:58 -07:00
wltsmrz
0bdd37090e
Merge pull request #537 from darkdarkdragon/master-performance
...
Optimize performance (for 0.12 master branch)
2015-09-10 17:04:16 -07:00
Ivan Tivonenko
c745faaaf0
optimize baseconverter , OrderBook and AutobridgeCalculator for speed
2015-09-11 02:34:48 +03:00
Alan Cohen
9ad03ca873
Bump version to 0.13.0-rc8
2015-09-09 13:22:18 -07:00
wltsmrz
138914384e
Merge pull request #531 from clark800/fix-pathfind-queue
...
Fix queueing of pathfind requests
2015-09-09 13:09:34 -07:00
Ivan Tivonenko
77068667e4
move reconnect logic from Request.callback to Request.request
2015-09-09 21:16:10 +03:00
Ivan Tivonenko
c57cef4a21
resend request in case server was disconnected after request was sent
2015-09-09 02:22:02 +03:00
Alan Cohen
50acc4c708
Merge pull request #542 from lumberj/fix-destination_currencies
...
Fix: Check for destination_currencies property
2015-09-08 16:04:54 -07:00
Alan Cohen
b5f8ba4817
Fix: Check for destination_currencies property
...
Example stack:
TypeError: Cannot read property 'join' of undefined
at formatResponse
(ripple-lib/dist/npm/api/ledger/pathfind.js:75:187)
2015-09-08 16:02:23 -07:00
Alan Cohen
a53249ccd7
Bump version to 0.13.-rc7
2015-09-03 14:04:07 -07:00
Ivan Tivonenko
0c62fa2112
remove Firefox warning about prototype overwrite
2015-09-01 01:34:59 +03:00
Ivan Tivonenko
806547dd15
fix Amount compare bug
...
return 0 if values not comparable
2015-09-01 01:29:37 +03:00
Chris Clark
fb1669b2b3
Merge pull request #534 from clark800/prepare
...
Return instructions in prepare responses
2015-08-28 15:31:59 -07:00
Chris Clark
0cda15f2b5
Update is-my-json-valid depedency to fix webpack issue
2015-08-28 14:18:02 -07:00
Chris Clark
b88e9370c6
Return instructions in prepare responses
2015-08-28 14:11:02 -07:00
Chris Clark
e343f3beb8
Remove usage of fs module because it does not work in browser
2015-08-28 11:53:45 -07:00
Chris Clark
a13bfae714
Merge pull request #528 from mDuo13/min_value_abs
...
remove redundant abs from MIN_IOU_VALUE
2015-08-27 14:27:33 -07:00
mDuo13
877c6bbb2a
amount min/max - more tests
2015-08-27 14:06:47 -07:00
Chris Clark
30d5134394
Fix require failure in browser code due to proxy library
2015-08-27 11:57:15 -07:00
Chris Clark
fae5c74487
Merge pull request #530 from clark800/remove-methods
...
Remove computeLedgerHash and isValidAddress from API
2015-08-26 17:57:15 -07:00
Chris Clark
255332ea2e
Fix queueing of pathfind requests
2015-08-26 17:38:11 -07:00
Chris Clark
15c0e6db19
Remove computeLedgerHash and isValidAddress from API
2015-08-26 17:19:09 -07:00
mDuo13
2b600a1e4e
more amount minimum abs test fixes
2015-08-26 12:26:47 -07:00
mDuo13
297fb2483d
fix test for amount min
2015-08-25 17:38:32 -07:00
mDuo13
5049822415
remove redundant abs from MIN_IOU_VALUE
2015-08-25 17:14:33 -07:00
Chris Clark
e3787e0f4f
Merge pull request #527 from clark800/fix-getpaths
...
Use maxAmount in getPaths results so they can be passed to preparePayment
2015-08-25 15:18:21 -07:00
Chris Clark
683199044b
Use maxAmount in getPaths results so they can be passed to preparePayment
2015-08-25 15:14:06 -07:00
sublimator
4f3c3e9f66
Merge pull request #524 from wltsmrz/deprecate-positional-api
...
Deprecate positional request constructor API
2015-08-25 20:52:59 +07:00
wltsmrz
fc0240c06b
Deprecate positional request constructor API
2015-08-25 06:42:47 -07:00
sublimator
6bfa284bac
Merge pull request #526 from sublimator/update-legacy-support
...
Update legacy-support & JSDoc comments
2015-08-25 20:18:06 +07:00
Nicholas Dudfield
dfee9bc578
Update legacy-support & JSDoc comments
2015-08-25 20:14:14 +07:00
Chris Clark
0838a0e865
Merge pull request #525 from clark800/test-compiled
...
Fix testing of compiled library
2015-08-24 17:57:50 -07:00
Chris Clark
5f61d80e2d
Fix bugs in compiled library
2015-08-24 17:38:30 -07:00
Chris Clark
c4fa4c237c
Compile test cases to run tests without using Babel
2015-08-24 16:58:50 -07:00
Geert Weening
44d00d5ef4
Bump version to 0.13.0-rc6
2015-08-24 14:24:48 -07:00
Geert Weening
d4d3efcb65
Update releas notes
2015-08-24 14:24:40 -07:00
Geert Weening
f23e105240
Merge branch 'develop' into release
2015-08-24 13:47:00 -07:00
Chris Clark
5a396a7060
Merge pull request #517 from darkdarkdragon/develop-RLJS-463
...
Add schema for RippleAPI constructor options
2015-08-24 11:39:21 -07:00
Ivan Tivonenko
513632299f
Add schema for RippleAPI constructor options
2015-08-24 21:29:50 +03:00
Chris Clark
0d40558f1e
Merge pull request #522 from clark800/srcActNotFound-pathfind
...
Fix: Emit error events and return error on pathfind
2015-08-21 14:26:19 -07:00
Alan Cohen
1ccbaf6776
Fix: Emit error events and return error on pathfind
2015-08-21 14:24:13 -07:00
sublimator
ba6c703163
Merge pull request #518 from darkdarkdragon/develop-RLJS-467
...
Allow to specify server url without explicit port number
2015-08-21 20:41:25 +07:00
sublimator
3b9eb02bbb
Merge pull request #520 from sublimator/ledger-select
...
Update ledgerSelect to throw if ledger arg is unrecognized
2015-08-21 17:34:35 +07:00
Nicholas Dudfield
bca7382015
Update ledgerSelect to throw if ledger arg is unrecognized
2015-08-21 15:31:14 +07:00
wltsmrz
67672bd389
Merge pull request #519 from sublimator/hackz
...
Move positional args wrappers into legacy-support module
2015-08-21 14:19:50 +07:00
Nicholas Dudfield
232017d9a2
Move positional args wrappers into legacy-support module
2015-08-21 14:06:32 +07:00
Ivan Tivonenko
23653f67f0
Allow to specify server url without explicit port number
2015-08-21 06:39:48 +03:00
Chris Clark
e3b688d1dd
Merge pull request #516 from darkdarkdragon/develop-server-info-schema-fix
...
fix get-server-info.json schema
2015-08-20 17:40:03 -07:00
Ivan Tivonenko
a94b21ca3c
fix get-server-info.json schema
2015-08-21 03:36:04 +03:00
Geert Weening
9c9be3e6e4
Bump version to 0.13.0-rc5
2015-08-20 13:46:11 -07:00
Chris Clark
062561686e
Update release notes
2015-08-20 11:49:04 -07:00
Geert Weening
761682c206
Merge branch 'develop' into release
2015-08-20 10:18:22 -07:00
Chris Clark
39c48d631c
Merge pull request #513 from darkdarkdragon/develop-parse-trustline-fix
...
fix parseTrustline for case when no QualityIn or QualityOut are set i…
2015-08-19 11:20:32 -07:00
Ivan Tivonenko
a55d26a726
fix parseTrustline for case when no QualityIn or QualityOut are set in transaction
2015-08-19 21:17:50 +03:00
Chris Clark
597ae157b3
Merge pull request #515 from darkdarkdragon/develop-isvalidaddress-fix
...
in isValidAddress check that address starting with 'r'
2015-08-19 10:56:40 -07:00
wltsmrz
c1c7458914
Merge pull request #514 from sublimator/eslint-1.2.0
...
Update eslint to 1.2.0
2015-08-19 16:28:14 +07:00
Ivan Tivonenko
0e97f269ab
in isValidAddress check that address starting with 'r'
...
because UInt160 considers valid hex values
2015-08-19 05:26:08 +03:00
Nicholas Dudfield
bbe4cd63a1
Update eslint to 1.2.0
2015-08-19 08:41:35 +07:00
Chris Clark
2515d17a85
Merge pull request #509 from clark800/generate-address
...
Rename generateWallet to generateAddress
2015-08-18 18:11:22 -07:00
Chris Clark
d8e95a3c3b
Rename generateWallet to generateAddress
2015-08-18 17:44:10 -07:00
Chris Clark
98f6bed8c9
Merge pull request #511 from darkdarkdragon/develop-filter-fix
...
fix transactionFilter
2015-08-18 17:21:17 -07:00
Ivan Tivonenko
bd000c2662
fix transactionFilter
2015-08-19 03:15:10 +03:00
Chris Clark
a46141111a
Merge pull request #512 from clark800/validate-address
...
Add isValidAddress
2015-08-18 14:48:44 -07:00
Chris Clark
f57c89c6e9
Add isValidAddress
2015-08-18 14:46:11 -07:00
Chris Clark
6d4cac948d
Merge pull request #504 from clark800/get-ledger
...
Add getLedger method, remove getLedgerHeader method
2015-08-18 10:01:22 -07:00
Chris Clark
1f54b3a0cf
Rename ledger "account" to "state"
2015-08-17 18:41:22 -07:00
Chris Clark
2f8655dc23
Add getLedger method, remove getLedgerHeader method
2015-08-17 18:39:34 -07:00
sublimator
d624923cd8
Merge pull request #510 from clark800/underscore-fixes
...
Fix snake case method calls
2015-08-18 07:33:56 +07:00
Chris Clark
2180c076dd
Fix snake case method calls
2015-08-17 17:28:16 -07:00
Chris Clark
0dbdf0a21a
Merge pull request #503 from darkdarkdragon/develop-RLJS-444-01
...
annotate api functions with types
2015-08-17 14:34:12 -07:00
Ivan Tivonenko
5cb63a258c
annotate api functions with types
2015-08-17 20:51:03 +03:00
Chris Clark
39ac6caaef
Merge pull request #506 from sublimator/uint-scraggles
...
Remove UInt#from_bn
2015-08-17 10:04:18 -07:00
Chris Clark
de4ef8b2b4
Merge pull request #505 from sublimator/reserve
...
[WIP] Fix reserve calculation
2015-08-17 10:01:10 -07:00
Nicholas Dudfield
99cba09a4a
Remove UInt#from_bn
2015-08-16 21:31:46 +07:00
Nicholas Dudfield
300967f0f3
[WIP] Fix lint issues
2015-08-15 18:15:36 +07:00
Nicholas Dudfield
52879febb9
[WIP] Fix reserve calculation
2015-08-15 18:11:43 +07:00
Chris Clark
f077a563c4
Merge pull request #498 from clark800/compute-ledger-hash
...
Add computeLedgerHash method
2015-08-14 14:43:57 -07:00
Chris Clark
92fbc61f47
Add computeLedgerHash method
2015-08-14 14:25:56 -07:00
Chris Clark
5ac1bcc414
Merge pull request #502 from sublimator/hash.js
...
Remove sjcl-extended/ripple-wallet-generator. Use hash.js & sjcl-codec.
2015-08-14 11:14:33 -07:00
Nicholas Dudfield
5837aa23ea
Remove sjcl-extended/ripple-wallet-generator. Use hash.js & sjcl-codec.
2015-08-14 09:31:49 +07:00
Chris Clark
8c431b4ec3
Merge pull request #499 from clark800/validated-ledger
...
Get validated ledger in getSettings and getAccountInfo
2015-08-13 13:20:55 -07:00
sublimator
25086a7944
Merge pull request #501 from sublimator/bn.js
...
Replace sjcl.bn with bn.js
2015-08-14 01:38:13 +07:00
Nicholas Dudfield
b0889b4afe
Replace sjcl.bn with bn.js
2015-08-14 01:33:59 +07:00
wltsmrz
ed971bc41c
Merge pull request #500 from clark800/get-ledger-header
...
Add getLedgerHeader method
2015-08-13 07:57:45 +07:00
Chris Clark
728595dc96
Add getLedgerHeader method
2015-08-12 17:37:13 -07:00
Chris Clark
7fc6adb776
Get validated ledger in getSettings and getAccountInfo
2015-08-12 15:58:47 -07:00
Chris Clark
002102ce62
Merge pull request #494 from clark800/streaming-pathfinding
...
Use streaming pathfinding: rippled path_find instead of ripple_path_find
2015-08-12 13:14:13 -07:00
Chris Clark
bf9da80d46
Fix lint errors in remote.js and pathfind.js
2015-08-12 12:34:12 -07:00
Chris Clark
dda9994869
Use streaming pathfinding: rippled path_find instead of ripple_path_find
2015-08-12 12:34:08 -07:00
sublimator
4c76ad159e
Merge pull request #495 from sublimator/ripple-keypairs
...
Use ripple-keypairs and ripple-address-codec
2015-08-12 13:01:56 +07:00
Nicholas Dudfield
f76a8daca8
Update babel, eslint & co
2015-08-12 12:54:33 +07:00
Nicholas Dudfield
3263629ebe
Use ripple-keypairs and ripple-address-codec
2015-08-12 12:54:30 +07:00
Chris Clark
fcbe7d3c98
Merge pull request #493 from clark800/max-amount-2
...
Rename source.amount to source.maxAmount
2015-08-10 14:29:47 -07:00
Chris Clark
a6662ccdff
Rename source.amount to source.maxAmount
2015-08-10 14:15:30 -07:00
Chris Clark
854fe85151
Check for duplicate schema titles
2015-08-10 11:35:41 -07:00
Geert Weening
2b2fdf1b11
Bump version to 0.13.0-rc4
2015-08-07 15:32:21 -07:00
Geert Weening
cbe44d6a96
Update release notes
2015-08-07 15:32:21 -07:00
Geert Weening
420346faea
Bump version to 0.13.0-rc3
2015-08-07 15:32:20 -07:00
Geert Weening
6220162852
Update release notes
2015-08-07 15:32:20 -07:00
Geert Weening
37198bde66
Bump version to 0.13.0-rc4
2015-08-07 15:31:56 -07:00
Geert Weening
281c056f6c
Update release notes
2015-08-07 15:31:24 -07:00
Geert Weening
49a513cd07
Merge branch 'release' into develop
2015-08-07 14:47:26 -07:00
Alan Cohen
7a95aabbf4
Merge pull request #491 from lumberj/empty-paths
...
Don't set empty paths
2015-08-07 10:35:41 -07:00
Alan Cohen
83874ec096
Don't set empty paths
...
"The Paths field must not be an empty array, nor an array whose members are all
empty arrays."
https://ripple.com/build/transactions/#paths
Fix test file lint errors
2015-08-07 10:26:45 -07:00
Chris Clark
9270d0a33d
Merge pull request #490 from clark800/test-dist
...
Clean up package.json
2015-08-06 15:30:09 -07:00
Chris Clark
30295efdb4
Clean up package.json
2015-08-06 15:09:49 -07:00
Chris Clark
f1342c1456
Merge pull request #489 from clark800/test-compiled
...
Test compiled code in dist/npm on CI server
2015-08-06 15:02:56 -07:00
Chris Clark
194b73c293
Test compiled code in dist/npm on CI server
2015-08-06 14:59:48 -07:00
Chris Clark
89e5f79bbb
Merge pull request #487 from clark800/orderbook-changes
...
Switch to direction/quantity/totalPrice for orderbookChanges
2015-08-06 14:53:18 -07:00
Chris Clark
82d7ce7ac2
Switch to direction/quantity/totalPrice for orderbookChanges
2015-08-06 12:27:03 -07:00
Geert Weening
0cc4c704f8
Merge pull request #482 from clark800/deprecate
...
Deprecate core
2015-08-06 11:35:12 -07:00
Chris Clark
dde762a1d6
Merge pull request #483 from clark800/fix-prepare-trustline
...
Fix prepareTrustline with no quality setting
2015-08-06 10:40:34 -07:00
Chris Clark
1c86e246c7
Merge pull request #484 from darkdarkdragon/develop-schema-fix
...
small adjustment.json schema fix
2015-08-05 16:31:27 -07:00
Ivan Tivonenko
2d173c8e69
small adjustment.json schema fix
2015-08-06 02:25:59 +03:00
Chris Clark
600fd34d30
Fix prepareTrustline with no quality setting
2015-08-05 15:42:48 -07:00
Geert Weening
4cb9cf801c
Bump version to 0.13.0-rc3
2015-08-04 17:20:25 -07:00
Geert Weening
50fb8789b4
Update release notes
2015-08-04 17:06:57 -07:00
Chris Clark
fb8dc44ec1
Deprecate core
2015-08-04 16:57:39 -07:00
Geert Weening
0781caa8bc
Merge pull request #481 from clark800/pathfind-fix
...
Add test case for createPathFind and convert snake case function calls to camel case
2015-08-04 16:57:18 -07:00
Chris Clark
2cdb23f0dd
Fix lint errors in pathfind.js
2015-08-04 15:51:52 -07:00
Chris Clark
8e536c00b9
Add test case for createPathFind and convert snake case function calls to camel case
2015-08-04 15:51:18 -07:00
Geert Weening
8ff154cc2d
Merge pull request #480 from clark800/promise-docs
...
Update RippleAPI documentation for promises
2015-08-04 15:29:08 -07:00
Chris Clark
daaae6e01e
Update RippleAPI documentation for promises
2015-08-04 14:53:46 -07:00
Chris Clark
a64a4e697a
Merge pull request #478 from clark800/promises
...
Convert API to promises
2015-08-04 11:32:52 -07:00
wltsmrz
3f51d8cc12
Merge pull request #479 from wltsmrz/fix-validated-ledgers-single-ledger
...
Fix RangeSet for validated_ledger as single ledger
2015-08-05 00:48:48 +07:00
wltsmrz
9f9e76f8b9
Fix RangeSet for validated_ledger as single ledger
2015-08-04 10:45:29 -07:00
sublimator
5b51db158d
Merge pull request #476 from clark800/badge
...
Replace Travis badge with CircleCI badge
2015-08-04 07:44:59 +07:00
Chris Clark
a4d1509448
Replace Travis badge with CircleCI badge
2015-08-03 17:39:01 -07:00
Chris Clark
bbd51a03b6
Convert API to promises
2015-08-03 17:22:17 -07:00
sublimator
b55b82b2fd
Merge pull request #474 from shekenahglory/develop
...
add 'DeliveredAmount' as optional metadata field
2015-08-01 06:30:36 +07:00
Matthew Fettig
fdb0f101bd
add 'DeliveredAmount' as optional metadata field
2015-07-31 16:21:18 -07:00
Chris Clark
0afca5633d
Merge pull request #473 from clark800/remove-slippage
...
Remove slippage parameter
2015-07-31 11:06:32 -07:00
Chris Clark
7c0d9a7172
Remove slippage parameter
2015-07-31 10:43:39 -07:00
sublimator
f6b7e27c67
Merge pull request #472 from clark800/offline
...
Add unit test for offline prepare and sign
2015-07-31 08:47:29 +07:00
Chris Clark
b8624bc55f
Add unit test for offline prepare and sign
2015-07-30 18:19:52 -07:00
sublimator
2eec30756d
Merge pull request #471 from clark800/no-xrp-paths
...
Don't set paths for XRP to XRP payment
2015-07-31 06:46:12 +07:00
sublimator
6b44ce8973
Merge pull request #458 from clark800/fix-pathfind
...
Fix counterparty logic in pathfind parsing
2015-07-31 06:26:58 +07:00
Chris Clark
ed0b501716
Don't set paths for XRP to XRP payment
2015-07-30 13:43:44 -07:00
Geert Weening
0fd391af72
bump version to 0.13.0.rc2
2015-07-30 12:18:48 -07:00
Chris Clark
fe9c1ada88
Fix counterparty logic in pathfind parsing
2015-07-30 11:55:52 -07:00
Alan Cohen
4c1f4ef58c
Merge pull request #470 from clark800/remove-asyncify
...
Remove simple-asyncify dependency
2015-07-30 11:47:03 -07:00
Chris Clark
10afc770ff
Remove simple-asyncify dependency
2015-07-30 11:38:46 -07:00
Alan Cohen
8543e60f86
Merge pull request #469 from lumberj/update-flow
...
Update Flow to 0.14
2015-07-30 11:09:57 -07:00
Alan Cohen
116d7e0f29
Update Flow to 0.14
...
Fixes issue with fs.readFileSync return type
See: https://github.com/facebook/flow/issues/416
https://github.com/facebook/flow/compare/v0.13.1...v0.14.0
2015-07-30 10:06:53 -07:00
Chris Clark
68adaec55b
Merge pull request #467 from darkdarkdragon/develop-RLJS-440
...
change snake_case to camelCase in responses from api.submit and api.g…
2015-07-29 17:31:36 -07:00
Ivan Tivonenko
03640efef5
change snake_case to camelCase in responses from api.submit and api.getServerInfo and add schema for it
2015-07-30 03:10:10 +03:00
Alan Cohen
c6f450842e
Merge pull request #466 from lumberj/continue-flowing
...
Typecheck remaining files in src/api
2015-07-29 16:03:15 -07:00
Alan Cohen
e583eb4592
Typecheck remaining files in src/api
2015-07-29 15:59:07 -07:00
Chris Clark
7fffbe0c64
Merge pull request #465 from darkdarkdragon/develop-RLJS-370-12
...
more unit tests coverage
2015-07-29 11:22:06 -07:00
Ivan Tivonenko
63e3b71eb5
cover api/common/errors.js with tests
2015-07-29 21:15:28 +03:00
Ivan Tivonenko
823ef738fe
cover api/common/utils.js with tests
2015-07-29 17:40:59 +03:00
Ivan Tivonenko
0977ef0ec2
cover api/common/validate.js with tests
2015-07-29 17:15:34 +03:00
Ivan Tivonenko
cecf3f3d22
cover api/ledger/parse/utils.js with tests
2015-07-29 16:42:23 +03:00
Ivan Tivonenko
472fbce23a
cover api/ledger/parse/trustline.js with tests
2015-07-29 15:46:15 +03:00
sublimator
e44aea1767
Merge pull request #464 from wltsmrz/add-delivermin
...
Add DeliverMin setter
2015-07-29 14:52:56 +07:00
wltsmrz
d682d90d86
Add DeliverMin setter
2015-07-29 00:25:27 -07:00
Chris Clark
141aa17dfc
Merge pull request #463 from darkdarkdragon/develop-RLJS-370-11
...
cover api/common/schema-validator.js with tests
2015-07-28 17:40:48 -07:00
Ivan Tivonenko
0b09e53479
cover api/common/schema-validator.js with tests
2015-07-29 03:22:17 +03:00
Chris Clark
528d8bf25d
Merge pull request #457 from darkdarkdragon/develop-sign-with-regular-key
...
allow to sign transaction in api.sign using regular key
2015-07-28 15:53:37 -07:00
Ivan Tivonenko
03a2109e24
allow to sign transaction in api.sign using regular key
...
make Seed.parse_json try different input types instead
of stopping on first failing
2015-07-29 01:49:25 +03:00
Chris Clark
b38b9bced6
Merge pull request #462 from darkdarkdragon/develop-RLJS-370-10
...
cover api/ledger/parse/settings.js with tests
2015-07-28 14:05:04 -07:00
Ivan Tivonenko
ea063d0c95
cover api/ledger/parse/settings.js with tests
2015-07-28 22:21:25 +03:00
Chris Clark
7f93929014
Merge pull request #461 from lumberj/update-parser
...
Update ripple-lib-transactionparser to 0.4
2015-07-28 11:23:06 -07:00
Alan Cohen
4cd10ecb87
Update ripple-lib-transactionparser to 0.4
2015-07-28 09:55:01 -07:00
sublimator
6ef30debd2
Merge pull request #459 from wltsmrz/fix-transaction-constructor
...
Fix transaction construction for SetRegularKey transactions
2015-07-28 14:50:58 +07:00
wltsmrz
4766bace4e
Fix transaction construction for SetRegularKey transactions
2015-07-28 00:47:30 -07:00
sublimator
261500a3a4
Merge pull request #460 from wltsmrz/fix-transaction-sequencing
...
Fix transaction sequencing
2015-07-28 14:37:32 +07:00
wltsmrz
fae22b7023
Fix transaction sequencing
2015-07-27 23:17:05 -07:00
Chris Clark
4568b39997
Merge pull request #450 from clark800/api-names
...
Rename API parameters
2015-07-27 17:06:14 -07:00
Chris Clark
4a218cacfa
Merge pull request #449 from clark800/numbers
...
Express trustline quality and account transferRate as floats
2015-07-27 17:02:35 -07:00
Chris Clark
34a4dd3077
Express transferRate as a float
2015-07-27 16:59:58 -07:00
Chris Clark
a383bd7e52
Express trustline quality as a float
2015-07-27 16:56:46 -07:00
Chris Clark
e76e693bdb
Merge pull request #452 from darkdarkdragon/develop-RLJS-370-9-1
...
Increase tests coverage even more
2015-07-27 16:35:59 -07:00
Ivan Tivonenko
2c52e4aa69
more unit tests coverage
2015-07-28 02:24:27 +03:00
Ivan Tivonenko
13dee36e93
propagate message from remote error to RippledNetworkError
2015-07-28 02:17:40 +03:00
Ivan Tivonenko
6e180439d1
cover api/ledger/transaction.js with unit tests
2015-07-28 02:17:38 +03:00
Ivan Tivonenko
e8d0c1ae95
make api.getTransaction return NotFound error in case of transaction not found
...
instead of core.RippleError
2015-07-28 02:16:30 +03:00
Ivan Tivonenko
068bda0c95
cover api/ledger/transactions.js with unit tests
2015-07-28 02:16:28 +03:00
Ivan Tivonenko
ab694381d5
fix some api functions to work with parsed version of transaction
2015-07-28 02:13:54 +03:00
Chris Clark
dc2a6c75cf
Merge pull request #456 from clark800/docs
...
Update api.html doc
2015-07-27 14:57:13 -07:00
Chris Clark
98dbba8f27
Add api.html doc
2015-07-27 14:54:15 -07:00
Chris Clark
9a1b80d77a
Merge pull request #451 from clark800/sample
...
Add sample API usage for getting balances and making a payment
2015-07-27 14:46:59 -07:00
Chris Clark
a655be30d6
Merge pull request #455 from clark800/doc
...
Add api.html
2015-07-27 14:46:50 -07:00
Chris Clark
e5aabc3072
Add api.html
2015-07-27 14:42:29 -07:00
Chris Clark
2cd32d58ad
Merge pull request #454 from clark800/response-schemas
...
Add response schemas and small fixes
2015-07-27 14:22:55 -07:00
Chris Clark
0c02b92717
Add response schemas and small fixes
2015-07-27 14:20:09 -07:00
Geert Weening
c58a077a2f
Merge branch 'release' into develop
2015-07-24 15:39:50 -07:00
Geert Weening
6e7dc9d7d3
Merge branch 'master' into release
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-07-24 15:39:00 -07:00
Geert Weening
572c945274
Bump version to 0.12.6
2015-07-24 15:32:07 -07:00
Geert Weening
c605efab61
Update release notes
2015-07-24 15:31:59 -07:00
wltsmrz
2695f4302a
Merge pull request #436 from wltsmrz/fix-orderbook-notification
...
Fix orderbook notification while disconnected
2015-07-25 06:25:31 +08:00
Chris Clark
a17011243e
Fix webpack require failure due to "./" notation
2015-07-24 15:24:40 -07:00
Geert Weening
9a533ab807
Merge branch 'develop' into release
2015-07-24 15:22:35 -07:00
wltsmrz
a037952493
Fix orderbook notification while disconnected
2015-07-24 15:22:21 -07:00
Geert Weening
dc96795a02
Merge pull request #453 from clark800/webpack-fix
...
Fix webpack require failure due to "./" notation
2015-07-24 15:03:44 -07:00
Chris Clark
8d9746d7b1
Fix webpack require failure due to "./" notation
2015-07-24 14:59:25 -07:00
Chris Clark
00342c4239
Merge pull request #446 from darkdarkdragon/develop-RLJS-370-8
...
Increase tests coverage
2015-07-23 16:47:42 -07:00
Chris Clark
e48df2c1fd
Add sample API usage for getting balances and making a payment
2015-07-23 15:51:15 -07:00
Ivan Tivonenko
6ade0f6554
cover api/ledger/pathfind.js with tests
2015-07-24 01:34:54 +03:00
Ivan Tivonenko
a88157bb92
change pathfind scheme so destination can be specified without counterparty
2015-07-24 01:34:51 +03:00
Ivan Tivonenko
00f318284f
cover api/transaction/utils.js with tests
2015-07-24 01:34:49 +03:00
Chris Clark
2e12dc6d53
Merge pull request #445 from darkdarkdragon/develop-RLJS-370-7
...
fix settings.json schema to allow empty stings to
2015-07-23 15:27:50 -07:00
Chris Clark
34435d4d05
Rename API parameters
2015-07-23 14:24:11 -07:00
Ivan Tivonenko
a99452b773
fix settings.json schema to allow null to
...
'walletSize', 'transferRate', 'emailHash' and
'walletLocator' fields so they
can be cleared
cover api/transaction/settings.js with tests
2015-07-23 23:29:00 +03:00
Geert Weening
a05cb39ab0
Merge pull request #447 from geertweening/develop
...
Remove `src/js`
2015-07-23 11:12:21 -07:00
Geert Weening
0c69f7f10e
Remove src/js
2015-07-23 11:06:12 -07:00
Geert Weening
8d50034265
Bump version to 0.13.0-rc1
2015-07-22 12:02:15 -07:00
Geert Weening
64f451e904
Merge branch 'release' into develop
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-07-22 11:59:36 -07:00
Geert Weening
b1b47d7d91
Bump version to 0.12.5
2015-07-22 11:53:13 -07:00
Geert Weening
a93c580c92
Bump version to 0.12.5-rc3
2015-07-22 11:49:08 -07:00
Geert Weening
030e2786d1
Update release notes
2015-07-22 11:48:34 -07:00
Geert Weening
56bbe1d437
Update shrinkwrap
2015-07-22 11:42:34 -07:00
Ivan Tivonenko
1fff5ea6dc
[FIX] fix AutobridgeCalculator (RT-3445)
...
pass issuers to AutobridgeCalculator so
it can create offers with right issuers
2015-07-22 11:28:10 -07:00
Ivan Tivonenko
ad9956375f
[FIX] change var to let and const
2015-07-22 11:28:00 -07:00
Chris Clark
4787e5d29a
Merge pull request #444 from darkdarkdragon/develop-RLJS-370-6
...
cover api/transaction/order.js with tests
2015-07-21 18:26:36 -07:00
Ivan Tivonenko
194f76d57f
cover api/transaction/order.js with tests
2015-07-22 04:18:35 +03:00
Chris Clark
d2ee5cb0bc
Merge pull request #443 from darkdarkdragon/develop-RLJS-370-5
...
cover src/api/transaction/payment.js with unit tests
2015-07-21 17:50:05 -07:00
Ivan Tivonenko
040298db2c
cover src/api/transaction/payment.js with unit tests
2015-07-22 03:29:30 +03:00
Chris Clark
b4e6d4b98c
Merge pull request #442 from reedrosenbluth/proxy
...
check if proxy option is undefined, not if it exists
2015-07-21 17:11:42 -07:00
Reed Rosenbluth
a2b31e2677
check if proxy option is undefined, not if it exists
2015-07-21 17:01:02 -07:00
Chris Clark
e997c44a18
Merge pull request #440 from darkdarkdragon/develop-RLJS-370-4
...
increase test coverage of Account object
2015-07-21 11:37:53 -07:00
Alan Cohen
b27011fb38
Merge pull request #441 from lumberj/add-flow-to-api
...
Add flow to api
2015-07-21 11:22:47 -07:00
Alan Cohen
b477eb238b
Add flow-bin to dev dependencies and ignore it in flowconfig
...
Add flow to api/server/server.js
Add flow check to src/api: index, accountinfo, balances, orderbook..
orders, settings, transaction, transactions
Add flow typecheck to api/ledger/pathfind
Use eslint plugin flowtype to allow flow type annotations
Babel-eslint emits errors when using the type keyword. This plugin works
around the issue by stripping flow annotations before linting.
Source: https://www.npmjs.com/package/eslint-plugin-flowtype
Add flow to ledger/parse/account-order, trustline, orderbook-order
2015-07-21 10:59:49 -07:00
Ivan Tivonenko
02bc256225
increase test coverage of Account object
2015-07-21 09:19:25 +03:00
sublimator
9f7293127c
Merge pull request #439 from clark800/cleanup
...
Cleanup
2015-07-21 10:38:57 +07:00
sublimator
61a0ea7eac
Merge pull request #437 from clark800/naming
...
Rename "incoming"/"outgoing" to "initiated"
2015-07-21 10:37:40 +07:00
sublimator
51ef93e23b
Merge pull request #435 from clark800/consistency
...
Don't show flags that are set to false
2015-07-21 09:06:05 +07:00
Chris Clark
ab11220e27
Merge pull request #438 from reedrosenbluth/proxy
...
Proxy Support
2015-07-20 18:22:59 -07:00
Reed Rosenbluth
b23d588747
disable eslint for lines 538 - 548
2015-07-20 18:18:45 -07:00
Reed Rosenbluth
a71dc28523
updated shrinkwrap
2015-07-20 18:02:42 -07:00
Reed Rosenbluth
2de0e13ec5
proxy support
2015-07-20 17:39:46 -07:00
Chris Clark
d0c922ed13
Require uppercase hex for currency codes
2015-07-20 17:34:03 -07:00
Chris Clark
8c82ebec79
Use "core" instead of "utils.core"
2015-07-20 17:33:19 -07:00
Chris Clark
ddd83d10fa
Don't show flags that are set to false
2015-07-20 16:52:43 -07:00
Chris Clark
031375e701
Rename "incoming"/"outgoing" to "initiated"
2015-07-20 14:59:59 -07:00
sublimator
4bc285313c
Merge pull request #434 from clark800/fixes
...
Simplify getServerInfo response
2015-07-21 01:21:16 +07:00
Chris Clark
f42dd69b53
Simplify getServerInfo response
2015-07-20 11:15:54 -07:00
sublimator
1dae06fdd8
Merge pull request #433 from clark800/mock-fixtures
...
Organize rippled mock fixtures
2015-07-20 14:26:17 +07:00
Chris Clark
ff29247b9e
Organize rippled mock fixtures
2015-07-17 15:36:37 -07:00
Chris Clark
d9eca203ed
Merge pull request #431 from darkdarkdragon/develop-RLJS-370-2
...
test parseTrustline in getTransaction
2015-07-17 14:22:40 -07:00
Chris Clark
4a85182a79
Merge pull request #432 from darkdarkdragon/develop-RLJS-370-3
...
testing - add memo field into payment transaction so parsePaymentMemo…
2015-07-17 14:21:46 -07:00
Ivan Tivonenko
055d275f0a
test parseTrustline in getTransaction
2015-07-18 00:18:35 +03:00
Ivan Tivonenko
eb7bbe5715
testing - add memo field into payment transaction so parsePaymentMemos from parsePayment is tested
2015-07-18 00:13:31 +03:00
Chris Clark
8d5752883f
Merge pull request #430 from clark800/fixtures
...
Organize fixtures
2015-07-16 15:29:59 -07:00
Chris Clark
2b5f356de8
Organize fixtures
2015-07-16 15:02:27 -07:00
Chris Clark
c9610900fd
Merge pull request #429 from darkdarkdragon/develop-RLJS-370-1
...
add test for getting order and order cancellation transations
2015-07-16 13:31:15 -07:00
Ivan Tivonenko
79b1a65a7b
add test for getting order and order cancellation transations
2015-07-16 23:08:57 +03:00
Chris Clark
df21b9453f
Merge pull request #428 from darkdarkdragon/develop-fix-transaction-parse
...
fix attachTransactionDate in getTransaction
2015-07-16 10:25:42 -07:00
Ivan Tivonenko
22257bdd2b
fix attachTransactionDate in getTransaction
2015-07-16 05:23:56 +03:00
sublimator
aa3767b180
Merge pull request #427 from clark800/account-info
...
Add getAccountInfo method and move sequence field in response
2015-07-16 09:48:02 +08:00
Chris Clark
c073c2b7de
Add getAccountInfo method and unit test
2015-07-15 17:13:14 -07:00
Chris Clark
529a55efb0
Remove sequence from AccountFields
2015-07-15 15:49:05 -07:00
Chris Clark
c36567e062
Merge pull request #426 from clark800/cleanup
...
Fix hash128 schema
2015-07-15 15:19:02 -07:00
Chris Clark
f7873f3b41
Fix hash128 schema
2015-07-15 15:15:31 -07:00
Chris Clark
6b54f1c1eb
Merge pull request #423 from clark800/cleanup
...
Cleanup RippleAPI
2015-07-15 15:06:52 -07:00
Chris Clark
1fb1bc7404
Cleanup RippleAPI
2015-07-15 14:55:24 -07:00
Chris Clark
aa646a3acf
Merge pull request #421 from clark800/bugfix
...
Fix parsing of settings transactions
2015-07-15 14:54:25 -07:00
Chris Clark
18ac8a9d03
Fix parsing of settings transactions
2015-07-15 14:43:04 -07:00
Chris Clark
7c357c5d52
Merge pull request #424 from clark800/disable-resubmit
...
Disable automatic transaction resubmission for RippleAPI
2015-07-15 14:24:18 -07:00
Chris Clark
816db9e0dc
Merge pull request #425 from clark800/tx-hash
...
Add transaction id to response of getTransaction and getTransactions
2015-07-15 14:22:08 -07:00
Chris Clark
fa9e1de4df
Add transaction id to response of getTransaction and getTransactions
2015-07-15 13:57:00 -07:00
Chris Clark
137d947606
Disable automatic transaction resubmission for RippleAPI
2015-07-15 13:45:27 -07:00
sublimator
77a05c1881
2000
2015-07-15 19:49:39 +08:00
sublimator
ab13e3fe18
Merge pull request #422 from darentuzi/patch-1
...
Ternary operator syntax fix
2015-07-15 19:47:22 +08:00
darentuzi
fc4b085026
Ternary operator syntax fix
...
let to const and syntax update
2015-07-15 14:44:41 +03:00
Chris Clark
67e8f6ab65
Merge pull request #420 from darkdarkdragon/develop-RLJS-408
...
Test all methods of RippleApi in integration-test
2015-07-14 17:21:37 -07:00
Ivan Tivonenko
792b30c8b5
Test all methods of RippleApi in integration-test
2015-07-15 03:17:39 +03:00
sublimator
3407aadfb8
Merge pull request #418 from clark800/ledger-gaps
...
Refine ledger gap detection to reduce false positives
2015-07-15 07:21:09 +08:00
sublimator
29e59ebfd2
Merge pull request #419 from clark800/set-regular-key
...
Add support for regularKey in prepareSettings
2015-07-14 15:29:46 +08:00
Chris Clark
286a684963
Add support for regularKey in prepareSettings
2015-07-13 16:46:57 -07:00
Chris Clark
3ef586d2d3
Refine ledger gap detection to reduce false positives
2015-07-13 15:57:50 -07:00
sublimator
5889037a71
Merge pull request #414 from clark800/merge-orderbook
...
Merge flipped orderbook in getOrderbook
2015-07-14 06:54:54 +08:00
sublimator
5e3f3969f5
Merge pull request #403 from clark800/no-limit
...
Get all results when limit is not specified
2015-07-14 06:52:20 +08:00
Chris Clark
eecf45918b
Merge pull request #415 from darkdarkdragon/develop-RLJS-404
...
Port integration tests from ripple-rest
2015-07-13 15:50:54 -07:00
Chris Clark
6d91e6e6b2
Merge pull request #417 from darkdarkdragon/develop-fix-gettransaction-missing-history
...
throw MissingLedgerHistoryError in getTransaction only when ledgers a…
2015-07-13 15:43:06 -07:00
Ivan Tivonenko
7808f87060
Throw MissingLedgerHistoryError in getTransaction only when ledgers are missing prior to the last closed ledger.
2015-07-14 01:25:07 +03:00
Ivan Tivonenko
6c48b22eea
Port integration tests from ripple-rest
2015-07-14 01:10:42 +03:00
Chris Clark
7344f1178b
Merge flipped orderbook in getOrderbook
2015-07-13 14:09:33 -07:00
Chris Clark
5a6a3ce6e0
Merge pull request #413 from darkdarkdragon/develop-fix-gettransaction
...
[FIX] fix getTransaction
2015-07-13 11:06:59 -07:00
Chris Clark
f3a54bf02a
Get all results when limit is not specified
2015-07-13 10:30:51 -07:00
Ivan Tivonenko
766dc5d0ce
[FIX] fix getTransaction
...
Do not try to parse transaction if there was error
Throw NotFoundError instead of ApiError in case of ledger_index not defined.
2015-07-11 15:30:41 +03:00
wltsmrz
f8f196903a
Merge pull request #406 from wltsmrz/add-resubmission-switch
...
Add switch to disable transaction resubmission
2015-07-11 02:22:30 +08:00
sublimator
337c41fe10
Merge pull request #400 from clark800/refactor
...
Refactor to make quality adjustment for XRP more clear
2015-07-11 01:48:35 +08:00
Chris Clark
fb8eefd00d
Refactor to make quality adjustment for XRP more clear
2015-07-10 10:24:52 -07:00
wltsmrz
3082b959f6
Add switch to disable transaction resubmission
...
* Add Transaction.setResumittable(Boolean)
* Add Transaction.isResumittable() -> Boolean
* Add automatic_resubmission (Boolean) config option to Remote
2015-07-10 09:53:31 -07:00
wltsmrz
487371737c
Merge pull request #408 from wilsonianb/subscribe-vals
...
Handle validations subscription messages
2015-07-11 00:51:36 +08:00
Chris Clark
14ccc9359d
Merge pull request #410 from clark800/range-check
...
Check for ledger gaps in getTransactions
2015-07-09 15:19:33 -07:00
Chris Clark
665b76271c
Merge pull request #411 from clark800/get-paths
...
Rename getPathFind to getPaths
2015-07-09 15:15:49 -07:00
Chris Clark
11ca00bb45
Check for ledger gaps in getTransactions
2015-07-09 15:14:59 -07:00
Chris Clark
046d397dfb
Rename getPathFind to getPaths
2015-07-09 15:12:45 -07:00
wilsonianb
58cc01b6d3
Handle validations subscription messages
2015-07-09 15:08:39 -07:00
Chris Clark
6a3eb7b9b9
Merge pull request #409 from clark800/counterparty
...
Add counterparty option to getTransactions
2015-07-09 14:59:10 -07:00
Chris Clark
935a463d3b
Merge pull request #407 from clark800/rangeset
...
Add support for efficient range checking to RangeSet
2015-07-09 13:57:47 -07:00
Chris Clark
f2f4173d7b
Add support for efficient range checking to RangeSet
2015-07-09 13:51:27 -07:00
Chris Clark
941aaf6d8b
Add counterparty option to getTransactions
2015-07-09 13:46:12 -07:00
Chris Clark
1068b68568
Merge pull request #404 from clark800/options-schemas
...
Add schemas for options for each ledger request
2015-07-08 16:59:50 -07:00
Chris Clark
e76b9a9051
Add schemas for options for each ledger request
2015-07-08 16:49:47 -07:00
Chris Clark
410ac117f6
Merge pull request #402 from clark800/get-ledger-version
...
Add ledgerVersion option to getSettings
2015-07-08 16:23:45 -07:00
Chris Clark
fa89c4dee8
Add ledgerVersion option to getSettings
2015-07-08 14:48:29 -07:00
Chris Clark
a464ca2368
Merge pull request #401 from clark800/get-ledger-version
...
Add getLedgerVersion and unit test
2015-07-08 14:21:16 -07:00
Chris Clark
befd89c3d7
Add getLedgerVersion and unit test
2015-07-08 14:05:25 -07:00
Chris Clark
49640cf282
Merge pull request #384 from mwshortt/IOU-suffix-removal
...
Decouple the Amount class from math performed on values
2015-07-08 12:14:05 -07:00
Madeline Shortt
2ac4549712
Rename IOUValue.js and XRPValue.js to lowercase and other fixes
2015-07-08 11:49:15 -07:00
Madeline Shortt
6bffe06c3b
Change this._value to be an instance of IOU or XRP Value
2015-07-08 11:49:14 -07:00
Madeline Shortt
13e9ad45f9
Remove BigNumber completely from Amount and small changes
2015-07-08 11:49:13 -07:00
Madeline Shortt
193fcc9014
Create separate Value classes to decouple currency math and the Amount class
2015-07-08 10:25:45 -07:00
Madeline Shortt
30529b7a04
Remove IOU_SUFFIX from orderbookutils.js and clean up serializedtypes.js
2015-07-08 10:25:45 -07:00
sublimator
38b254e7f0
Merge pull request #399 from clark800/rename
...
Rename getAccountTransactions to getTransactions
2015-07-08 09:08:16 +07:00
sublimator
c4b98d2139
Merge pull request #398 from clark800/orders
...
Add makerExchangeRate (quality) to orders, and maker to account orders
2015-07-08 08:55:41 +07:00
Chris Clark
1309b58592
Add makerExchangeRate (quality) to orders, and maker to account orders
2015-07-07 18:28:37 -07:00
Chris Clark
9b9d2dc32b
Rename getAccountTransactions to getTransactions
2015-07-07 17:52:28 -07:00
Chris Clark
73020fb8ae
Merge pull request #397 from lukeburns/develop
...
Added issuer to payment example in guide
2015-07-07 14:00:02 -07:00
sublimator
8221db833f
Merge pull request #391 from clark800/get-pathfind
...
Convert getPathFind and add unit test
2015-07-07 13:16:16 +07:00
Chris Clark
09b10d3f2c
Convert getPathFind and add unit test
2015-07-06 16:11:23 -07:00
Luke Burns
c31798c7f8
changed currency to USD in submit payment example
2015-07-03 00:43:46 -04:00
Luke Burns
064c5e9e50
added issuer to submit payment example
2015-07-02 23:21:19 -04:00
Chris Clark
077a53475d
Merge pull request #392 from clark800/server
...
Convert server methods, add unit tests, and cleanup
2015-07-02 11:23:29 -07:00
Chris Clark
32ca23a00b
Convert server methods, add unit tests, and cleanup
2015-07-02 11:17:06 -07:00
Chris Clark
1a7cdd7d04
Merge pull request #396 from sublimator/eslint-update
...
Use parser: babel-eslint which supports facebook flow
2015-07-02 10:13:43 -07:00
Nicholas Dudfield
85befa467b
Use parser: babel-eslint which supports facebook flow
2015-07-02 18:30:11 +07:00
wltsmrz
9b956e57ac
Merge pull request #394 from sublimator/eslint-update
...
Update eslint
2015-07-02 18:56:40 +08:00
sublimator
93c0c49002
Merge pull request #390 from wltsmrz/refactor-api-deprecation
...
Refactor API deprecation, fix request constructors with positional args
2015-07-02 17:51:28 +07:00
wltsmrz
44954621e0
Refactor API deprecation, fix request constructors with positional args
2015-07-02 03:46:55 -07:00
Nicholas Dudfield
96e5d484da
Update eslint
2015-07-02 17:44:38 +07:00
sublimator
4efe0b920e
Merge pull request #388 from clark800/get-orderbook
...
Convert getOrderBook and add unit test
2015-07-01 12:43:00 +07:00
Chris Clark
d158cc7fc1
Fix other indentation problems
2015-06-30 16:53:48 -07:00
Chris Clark
034cd4eaf6
Fix indentation
2015-06-30 16:36:14 -07:00
Chris Clark
d5f3d90486
Add flipped orderbook to getOrderBook response
2015-06-30 15:43:30 -07:00
Chris Clark
99e076b7dd
Sort orderbook orders by price
2015-06-30 15:21:28 -07:00
Chris Clark
8f9aec83f2
Fix counterparty/issuer bug
2015-06-30 13:02:42 -07:00
Chris Clark
87a8745a64
Fix unit tests
2015-06-30 12:52:21 -07:00
Chris Clark
2ab51d7a8a
Revert remote.js
2015-06-30 12:12:21 -07:00
Chris Clark
3e0f43e44e
Convert getOrderBook and add unit test
2015-06-26 16:27:34 -07:00
Chris Clark
6a763fab18
Merge pull request #385 from clark800/get-orders
...
Convert getOrders and add unit test
2015-06-26 10:46:41 -07:00
Chris Clark
3fe6726789
Merge pull request #386 from sublimator/rm-message
...
Remove message.js
2015-06-26 10:30:04 -07:00
Nicholas Dudfield
5b4deabd90
Remove message.js
2015-06-26 15:33:26 +07:00
Chris Clark
84bc7dd4aa
Convert getOrders and add unit test
2015-06-25 14:21:39 -07:00
Chris Clark
3960b4e11f
Merge pull request #383 from clark800/remove
...
Add unit test for generateWallet and reorganize API files
2015-06-25 11:43:39 -07:00
Chris Clark
141215fc38
Add unit test for getSettings
2015-06-25 11:23:56 -07:00
Chris Clark
2446e2f6da
Add unit test for generateWallet and reorganize API files
2015-06-24 18:03:03 -07:00
Chris Clark
81a9bc0739
Merge pull request #382 from clark800/notifications
...
Merge notifications functionality into getAccountTransactions
2015-06-24 16:44:53 -07:00
Chris Clark
64e86f403e
Merge notifications functionality into getAccountTransactions
2015-06-24 16:14:28 -07:00
Chris Clark
77f1351e5b
Merge pull request #381 from clark800/balances
...
Update getBalances to use getTrustlines
2015-06-24 12:53:58 -07:00
Chris Clark
47a87f3a92
Update getBalances to use getTrustlines
2015-06-24 12:38:13 -07:00
Chris Clark
d2df75dc25
Merge pull request #380 from clark800/trustlines
...
Add getTrustlines and unit test
2015-06-24 11:36:34 -07:00
Chris Clark
d92fbfb7aa
Add getTrustlines and unit test
2015-06-24 11:17:46 -07:00
wltsmrz
1b3be55711
Merge pull request #378 from sublimator/signing-data
...
Add Transaction.signingData
2015-06-23 20:58:21 +08:00
Nicholas Dudfield
8d98e443c5
Add Transaction.signingData()
2015-06-23 19:52:41 +07:00
Nicholas Dudfield
46121edd62
Remove global install for CI dependencies:
...
* Add them to package.json
* Fixes weird error with missing `esprima-fb`
2015-06-23 19:47:05 +07:00
sublimator
1a32536ac8
Merge pull request #355 from ripple/validate-uint-hex-input
...
Validate UInt* hex input
2015-06-22 13:59:17 +07:00
Chris Clark
85bf6891f9
Merge pull request #374 from clark800/empty-strings
...
Remove empty counterparties in XRP amounts
2015-06-18 17:39:18 -07:00
Chris Clark
1ccca1c4ec
Remove empty counterparties in XRP amounts
2015-06-18 17:36:45 -07:00
Geert Weening
22cd70e53f
Merge pull request #373 from clark800/get-acct-tx
...
Convert getAccountTransactions
2015-06-18 17:29:38 -07:00
Chris Clark
d8aad1444e
Merge pull request #375 from clark800/flow-check
...
Use "flow check" to prevent "out of retries" errors
2015-06-18 15:12:56 -07:00
Chris Clark
621dfd9ca5
Use "flow check" to prevent "out of retries" errors
2015-06-18 15:10:16 -07:00
wltsmrz
2ad6a1a77e
Validate UInt hex input
2015-06-18 13:50:11 -07:00
Chris Clark
8f37438a08
Convert getAccountTransactions
2015-06-17 18:04:24 -07:00
Chris Clark
ff6ac0333c
Merge pull request #369 from clark800/parse-tx
...
Rewrite transaction parser and add unit test for getTransaction
2015-06-16 16:55:15 -07:00
Chris Clark
1b936d2aa2
Rewrite transaction parser and add unit test for getTransaction
2015-06-16 16:24:21 -07:00
sublimator
df0cff969c
Merge pull request #372 from clark800/license
...
Add license to package.json
2015-06-16 18:33:49 +07:00
Chris Clark
46e2598499
Add license to package.json
2015-06-15 17:28:38 -07:00
Chris Clark
0b32378ab5
Merge pull request #364 from clark800/submit-test
...
Add unit test for submit
2015-06-15 14:39:19 -07:00
Chris Clark
bf25eb350f
Display git log in travis output
2015-06-15 14:32:21 -07:00
Chris Clark
97cea2ce4d
Add unit test for submit
2015-06-12 16:54:38 -07:00
Chris Clark
82ed402b16
Merge pull request #370 from clark800/fix-perf-test
...
Fix perf test
2015-06-12 16:28:24 -07:00
Chris Clark
ca7b69a2a0
Fix perf test
2015-06-12 16:22:05 -07:00
Chris Clark
d9c61a9431
Merge pull request #366 from darkdarkdragon/develop-RT-3462
...
[FIX] emit empty offers list (RT-3462)
2015-06-10 11:38:25 -07:00
Ivan Tivonenko
3b636ce2d1
[FIX] emit empty offers list (RT-3462)
...
For autobridged order books, emit 'model' event,
even if offers is empty, to indicate that
orderbook is loaded
2015-06-10 21:10:18 +03:00
wltsmrz
2196352335
Merge pull request #363 from clark800/parallel
...
Parallelize CircleCI tests
2015-06-10 05:06:11 +08:00
Chris Clark
823d7048ba
Parallelize CircleCI tests
2015-06-09 13:13:13 -07:00
Chris Clark
d066e1145d
Merge pull request #361 from clark800/prepare-trustline
...
Add unit tests for prepareTrustline, prepareOrderCancellation, and sign
2015-06-09 13:12:24 -07:00
Chris Clark
fb7021abcc
Add unit tests for prepareTrustline, prepareOrderCancellation, and sign
2015-06-09 11:30:51 -07:00
Chris Clark
9c14fb2379
Merge pull request #360 from clark800/prepare-order
...
Add unit test for prepareOrder and fix bugs
2015-06-08 14:36:13 -07:00
Chris Clark
a114bf42c4
Add unit test for prepareOrder and fix bugs
2015-06-08 14:11:35 -07:00
Chris Clark
87b6c09de3
Merge pull request #358 from clark800/flow-type
...
Add flow type checking
2015-06-08 14:08:07 -07:00
Chris Clark
f1c95112bd
Add circle.yml file
2015-06-08 14:00:08 -07:00
Chris Clark
76d8c8b061
Add flow type checking
2015-06-08 14:00:08 -07:00
Chris Clark
7cbcb9a220
Merge pull request #359 from darkdarkdragon/develop-RT-3445
...
[FIX] fix AutobridgeCalculator (RT-3445)
2015-06-08 11:08:44 -07:00
Ivan Tivonenko
4433ac57bd
[FIX] change var to let and const
2015-06-08 20:38:22 +03:00
Ivan Tivonenko
5379da4874
[FIX] fix AutobridgeCalculator (RT-3445)
...
pass issuers to AutobridgeCalculator so
it can create offers with right issuers
2015-06-07 01:35:49 +03:00
Chris Clark
d488ce55b3
Merge pull request #357 from clark800/v2-schemas
...
Update schemas, use schemas for validation, and switch to is-my-json-valid
2015-06-05 15:25:32 -07:00
Chris Clark
908e306f04
Update schemas, use schemas for validation, and switch to is-my-json-valid
2015-06-05 14:58:23 -07:00
Chris Clark
62b5953abe
Merge pull request #356 from sublimator/remove-sjcl-custom
...
Remove sjcl-custom in favor of sjcl-extended module in separate repo
2015-06-04 11:50:10 -07:00
Nicholas Dudfield
35ae968d9f
Remove sjcl-custom in favor of sjcl-extended module in separate repo
2015-06-04 16:19:31 +07:00
Chris Clark
22dc39b920
Merge pull request #354 from clark800/v2
...
Move ripple-rest/api into src/api, exposing RippleAPI
2015-05-29 11:12:39 -07:00
Chris Clark
278331cc4a
Move ripple-rest/api into src/api, exposing RippleAPI
2015-05-29 10:49:14 -07:00
wltsmrz
16e3541a10
Merge pull request #353 from clark800/develop
...
Fix bug in trace message for updateOwnerOffersFundedAmount
2015-05-28 13:54:43 -07:00
Chris Clark
7d7970d318
Fix bug in trace message for updateOwnerOffersFundedAmount
2015-05-27 11:56:27 -07:00
wltsmrz
f4fa10b9c0
Merge pull request #351 from clark800/sjcl-update
...
Update sjcl and delete custom ripemd160 and montgomery
2015-05-26 15:05:46 -07:00
Chris Clark
e68096bd27
Fix lint errors in sjcl-ecdsa-recoverablepublickey.js
2015-05-26 14:42:30 -07:00
Chris Clark
50cda426eb
Update sjcl and delete custom ripemd160, montgomery, and jacobi
2015-05-26 14:42:18 -07:00
Chris Clark
1038421428
Merge pull request #350 from fhinkel/develop
...
Add missing semicolon in example
2015-05-26 13:56:44 -07:00
Franziska Hinkelmann
a5046ab086
Add missing semicolon in example
2015-05-24 11:40:43 +02:00
Geert Weening
ebbec1954e
Merge pull request #348 from clark800/fix-orderbook-crash
...
Prevent crash when listening for "model" events on the OrderBook clas…
2015-05-21 12:07:47 -07:00
Chris Clark
4021018931
Fix lint errors in orderbook.js
2015-05-21 10:07:24 -07:00
Chris Clark
5824c3cb7c
Prevent crash when listening for "model" events on the OrderBook class and an issuer creates an order with one of their issues
2015-05-21 09:53:55 -07:00
Geert Weening
45a1b9471e
Merge pull request #328 from ripple/fix-remote-error-log
...
Fix error logging on Remote for object-type messages
2015-05-21 09:07:48 -07:00
wltsmrz
70bc819665
Lint
2015-05-21 04:17:11 -07:00
sublimator
e05f3e9b9c
Merge pull request #343 from ripple/fix-serializedobject-append
...
Fix serializedobject append for excessively large bytes length
2015-05-21 10:35:20 +07:00
wltsmrz
e93f1ab6f4
Fix serializedobject append for excessively large bytes length
2015-05-20 20:18:17 -07:00
wltsmrz
0878a8ecf0
Fix error logging on Remote
...
* JSON messages are now parsed in server.js
* Remote._handleMessage expects all messages to be objects rather
than objects or strings
* Invalid responses from the server will now result in a log
message that is not entirely vague
* Added Log.setEngine/getEngine. Use Log.setEngine(Log.engines.none)
to silence logging
2015-05-20 20:08:32 -07:00
sublimator
6ea07139dc
Merge pull request #349 from ripple/check-unknown-serialization-fields
...
Check unknown serialization fields
2015-05-21 09:14:17 +07:00
wltsmrz
55fca2d7d5
Lint
2015-05-20 18:47:05 -07:00
wltsmrz
8596dcef21
Check unknown serialization fields
2015-05-20 18:09:02 -07:00
Geert Weening
bca84d5508
Merge pull request #338 from ripple/fix-tx-summary
...
Fix transaction summary for transactions that fail format validation
2015-05-20 16:11:27 -07:00
wltsmrz
65f7485497
Lint
2015-05-20 05:00:08 -07:00
wltsmrz
457b02c781
Merge pull request #345 from sublimator/es6-lints
...
Fix eslint issues
2015-05-20 04:40:43 -07:00
Nicholas Dudfield
c8e0fa85f3
Fix eslint issues.
2015-05-20 16:04:04 +07:00
wltsmrz
5e714f6143
Fix transaction summary for transactions that fail with remoteError
2015-05-15 22:41:29 -07:00
Chris Clark
4ecbf31898
Merge pull request #344 from clark800/babel
...
Setup babel transpiler
2015-05-15 16:59:32 -07:00
Chris Clark
ea24bf0415
Fix lint errors
2015-05-15 16:45:24 -07:00
Chris Clark
171f8349cb
Fix requires in bin directory
2015-05-15 16:34:50 -07:00
Chris Clark
398f8d001f
Set up babel transpiler
2015-05-14 16:07:47 -07:00
Chris Clark
e66978fb48
Merge pull request #342 from clark800/remove-cpp
...
Remove src/cpp and clean up files
2015-05-13 17:13:44 -07:00
Chris Clark
c57d528db7
Fix lint errors in remote-test.js
2015-05-13 16:37:46 -07:00
Chris Clark
0c47310063
Prevent lint checking of moved files
2015-05-13 15:21:20 -07:00
Chris Clark
cb4f6e37a8
Remove src/cpp and clean up files
2015-05-13 15:03:32 -07:00
Geert Weening
ab943f36c3
Merge pull request #337 from clark800/sjcl_npm
...
Use sjcl npm module, delete sjcl code
2015-05-12 16:14:59 -07:00
Chris Clark
de7fc78ef0
Remove lint errors in sjcl-custom
2015-05-12 15:00:07 -07:00
Chris Clark
9a502580fd
Use sjcl npm module, delete sjcl code
2015-05-12 15:00:02 -07:00
Chris Clark
d56e70b995
Merge pull request #340 from clark800/remove-return-value
...
Remove return value of mergeDirectAndAutobridgedBooks
2015-05-11 16:51:55 -07:00
Chris Clark
e9aaf50d59
Remove return value of mergeDirectAndAutobridgedBooks
2015-05-11 10:49:13 -07:00
Geert Weening
ac0a4f521a
Bump version to 0.12.5-rc2
2015-05-05 11:20:08 -07:00
Geert Weening
a3380c5cdd
Update release notes
2015-05-05 11:15:31 -07:00
Geert Weening
6a6d2a0787
Merge pull request #339 from boxbag/autobridging-empty-orders
...
[TASK] add short circuit when there are no direct nor autobridged offers
2015-05-05 09:52:42 -07:00
Bo Chen
64809d9ae2
[TASK] add short circuit when there are no direct nor autobridged offers
2015-05-04 13:11:54 -07:00
Chris Clark
d14b38bc91
Merge pull request #335 from clark800/remove-float
...
Remove float.js and wallet.js
2015-05-01 13:31:17 -07:00
Chris Clark
440dfb5785
Merge pull request #334 from clark800/remove-config
...
Remove config singleton (global state)
2015-05-01 13:30:36 -07:00
Chris Clark
d4a4b5f4fb
Remove float.js and wallet.js
2015-04-30 18:47:43 -07:00
Chris Clark
0c000a7fee
Fix lint errors in amount-test.js
2015-04-30 18:31:59 -07:00
Chris Clark
c655c2a20e
Remove config singleton (global state)
2015-04-30 18:30:53 -07:00
Geert Weening
3ba5a18b91
Bump version to 0.12.5-rc1
2015-04-29 11:54:36 -07:00
Geert Weening
bdb3415855
Update release notes
2015-04-29 11:54:05 -07:00
Geert Weening
5ef5bdd9d9
Merge pull request #332 from geertweening/develop
...
Add offer autobridging
2015-04-29 11:47:05 -07:00
Bo Chen
c7bbce8371
[FEATURE] add offer autobridging
2015-04-29 11:28:14 -07:00
Geert Weening
5e2c26a4a2
Merge branch 'release'
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-04-29 08:50:44 -07:00
Geert Weening
631faa20ec
Generate shrinkwrap for node 0.10.38
2015-04-29 08:48:39 -07:00
Geert Weening
2db17ba67c
Regenerate shrinkwrap using npm-shrinkwrap
...
cleans up inconsistencies
2015-04-24 16:22:16 -07:00
Geert Weening
50eca42e35
Bump version to 0.12.4
2015-04-24 16:21:32 -07:00
Geert Weening
f327487157
Update release notes
2015-04-24 16:18:05 -07:00
Geert Weening
85b64b7ac3
Bump version to 0.12.4-rc1
2015-04-24 15:44:08 -07:00
Geert Weening
cf17a9e8d6
Update release notes
2015-04-24 15:44:07 -07:00
Chris Clark
71a1282b89
Remove unused dependency: superagent
2015-04-24 15:44:07 -07:00
Chris Clark
85e1f2f47d
Fix lint errors in ledger.js
2015-04-24 15:44:07 -07:00
Chris Clark
1f68eba146
Delete unused crypt.js
2015-04-24 15:44:07 -07:00
Chris Clark
d71873442f
Update ripple-wallet-generator version
2015-04-24 15:44:07 -07:00
Chris Clark
10ca2da2d6
Fix lint errors in crypt.js, messages.js, remote.js, message-test.js
2015-04-24 15:44:07 -07:00
Chris Clark
c7ba822320
Improve entropy security and increase CCM tag length
2015-04-24 15:44:06 -07:00
Geert Weening
ef3ce46d00
Bump dependency versions
...
bignumber 2.0.7
lodash 3.6.0
lru-cache 2.5.2
2015-04-24 15:44:06 -07:00
Geert Weening
c4595e03ce
Bump version to 0.12.3
2015-04-24 15:44:06 -07:00
Geert Weening
26a7eb456b
Bump version to 0.12.3-rc2
2015-04-24 15:44:06 -07:00
Geert Weening
142a85d6a7
Update release notes
2015-04-24 15:44:06 -07:00
Geert Weening
ef51490a1a
Bump version to 0.12.3
2015-04-13 16:27:52 -07:00
Geert Weening
c40d643238
Bump version to 0.12.3-rc2
2015-04-10 14:36:47 -07:00
Geert Weening
6f23c88567
Update release notes
2015-04-10 14:36:15 -07:00
Geert Weening
56958a6242
Merge pull request #324 from clark800/develop
...
Add Amount.scale
2015-04-10 13:25:57 -07:00
Chris Clark
74dac97b36
Add Amount.scale
2015-04-10 12:56:50 -07:00
Geert Weening
2f2e41c781
Bump version to 0.12.3-rc1
2015-04-08 13:36:23 -07:00
Geert Weening
8c872f71c6
Update release notes
2015-04-08 13:36:01 -07:00
wltsmrz
b40b496866
Merge pull request #322 from clark800/rest1.7
...
Add getLedgerSequence method
2015-04-08 11:20:46 -07:00
Geert Weening
569fec296e
Merge pull request #321 from clark800/paranoia
...
[FIX] Fail if PRNG has not been seeded with at least 256 bits of entr…
2015-04-08 11:16:47 -07:00
Chris Clark
56d8aa797a
Fix lint errors in transaction-test.js and transaction-manager-test.js
2015-04-07 18:08:07 -07:00
Chris Clark
fe7e30b737
[FIX] Fail if PRNG has not been seeded with at least 256 bits of entropy before generating ECDSA signatures
2015-04-07 18:08:02 -07:00
Chris Clark
a114281c60
Update comment about the fee base reference constant
2015-04-07 14:34:26 -07:00
Chris Clark
d09548d04d
Add getLedgerSequence
2015-04-07 14:34:22 -07:00
Geert Weening
a02b8e3e5c
Merge branch 'release' into develop
2015-04-06 13:00:36 -07:00
Geert Weening
2c3f9ca202
bump version to 0.12.2
2015-04-06 12:57:47 -07:00
Geert Weening
587782820d
Merge pull request #318 from sublimator/serial-offender
...
Fix SerializedObject.append performance issue
2015-04-06 12:54:48 -07:00
Nicholas Dudfield
8fad048569
Update verify_ledger_json.js script:
...
* Set `Amount.strict_mode = false` in verify_ledger_json.js script
* Don't try and calculate hash of non present accountState
* Fix lint issues
2015-04-04 14:51:35 +07:00
Nicholas Dudfield
f7c35b118e
Fix SerializedObject.append perf issue:
...
* Replace array.concat(array2) with Array.prototype.push.apply
2015-04-04 14:51:12 +07:00
Geert Weening
65a669bbb2
Merge pull request #319 from sublimator/lints
...
eslint fixes
2015-04-04 00:35:57 -07:00
Nicholas Dudfield
9985acc539
Fix linting issues:
...
* Fix lint violations in various files
* Use per-file comment directives to make new-cap a warning instead of error
* sjcl.* don't conform to our standards and eslint exemptions are unweildy
2015-04-04 14:23:41 +07:00
Geert Weening
f1f0a43f21
Bump version to 0.12.1-rc1
2015-03-27 16:56:27 -07:00
Geert Weening
6b856c3cc5
Update release notes
2015-03-27 16:55:44 -07:00
Geert Weening
d92888ed73
Merge pull request #317 from ripple/fix-browser-log
...
Check that Error.stack is available, fixes logging in browser
2015-03-27 16:52:18 -07:00
wltsmrz
0357840654
Lint
2015-03-27 15:54:26 -07:00
wltsmrz
53cae3a66d
Check that stack trace is available, fixes logging in browser
2015-03-27 15:49:13 -07:00
Geert Weening
949a1ca4ae
Bump version to 0.12.1
2015-03-26 15:12:14 -07:00
Geert Weening
e667536a5b
Bump version to 0.12.1-rc6
2015-03-25 12:15:09 -07:00
Geert Weening
dde000a4bb
Update release notes
2015-03-25 12:14:30 -07:00
Geert Weening
aa1f5a8e7d
Merge pull request #316 from clark800/fix/to_human_small_number
...
[FIX] Make Amount.to_human return correct results for very small numbers
2015-03-25 12:09:13 -07:00
Chris Clark
bfbfcc2894
Fix lint errors in amount-test.js
2015-03-25 11:28:13 -07:00
Chris Clark
6abfa759aa
[FIX] Make Amount.to_human return correct results for very small numbers
2015-03-25 11:19:25 -07:00
Alan Cohen
7cbac2e757
Merge pull request #315 from ripple/readme-link-fix
...
Fix link in GUIDES.md
2015-03-24 11:04:31 -07:00
Alan Cohen
1012381d3d
Update GUIDES.md
2015-03-24 09:17:43 -07:00
Geert Weening
6de96f62df
Merge pull request #314 from lumberj/addflags
...
[TASK] Add GlobalFreeze and NoFreeze flags
2015-03-23 12:23:05 -07:00
Alan Cohen
e2ed2bdbf6
[TASK] Add GlobalFreeze and NoFreeze flags
...
See: https://wiki.ripple.com/Ledger_Format#AccountRoot
2015-03-20 14:31:47 -07:00
Geert Weening
e248c54aa5
Merge pull request #312 from clark800/mocha-timeout
...
Increase timeout for mocha tests because sometimes tests fail on travis ...
2015-03-19 09:09:46 -07:00
Chris Clark
1c9635edad
Increase timeout for mocha tests because sometimes tests fail on travis due to taking too long
2015-03-18 17:27:06 -07:00
Geert Weening
25cf6c52e4
Bump version to 0.12.1-rc5
2015-03-18 17:24:24 -07:00
Geert Weening
7859ef6145
Update release notes
2015-03-18 17:23:46 -07:00
Geert Weening
6efaa4ac7e
Merge pull request #311 from vhpoet/patch-4
...
[FIX] Amount: clone in ratio_human, product_human
2015-03-18 17:21:21 -07:00
Vahe Hovhannisyan
19e17a8431
[FIX] Amount: clone in ratio_human, product_human
...
Amount.ratio_human and Amount.product_human should change and return the cloned Amount object.
2015-03-18 17:09:17 -07:00
Geert Weening
c865ae9734
Bump version to 0.12.1-rc4
2015-03-17 11:19:34 -07:00
Geert Weening
6959f74073
Update release notes
2015-03-17 11:14:36 -07:00
Chris Clark
9f4d21e976
Merge pull request #310 from darkdarkdragon/release-base-decode-fix
...
[FIX] fix Base:decode
2015-03-17 10:12:07 -07:00
Ivan Tivonenko
719f39c01c
[FIX] fix Base:decode
...
check for invalid input in decoded data
2015-03-17 05:53:02 +02:00
Geert Weening
25bb9c7320
Bump version to 0.12.1-rc3
2015-03-11 11:49:30 -07:00
Geert Weening
a160e16abd
Update release notes
2015-03-11 11:48:46 -07:00
Geert Weening
ec31841aa5
Merge pull request #305 from geertweening/add-default-rippling-flag
...
Add DefaultRipple account flag
2015-03-11 11:41:49 -07:00
wltsmrz
3e249902c4
Add DefaultRipple account flag
2015-03-10 11:44:50 -07:00
Geert Weening
21bb766f06
Update release notes
2015-03-10 11:30:34 -07:00
Geert Weening
a883151400
Bump version to 0.12.1-rc2
2015-03-09 10:06:04 -07:00
Geert Weening
3c7fe82cbd
Regenerate shrinkwrap
2015-03-09 10:05:49 -07:00
Geert Weening
899fc09704
Update release notes
2015-03-09 10:03:32 -07:00
Geert Weening
daa45a44b9
Merge pull request #297 from ripple/add-log-info
...
Add filename and line number to log, use log.warn() for deprecations
2015-03-09 09:45:18 -07:00
Geert Weening
52494628c3
Merge pull request #301 from ripple/amount-strict-mode
...
Add Amount.strict_mode for toggling range validation
2015-03-06 19:54:58 -08:00
Geert Weening
dbf5d21b72
Merge pull request #303 from clark800/morebasetest
...
[TASK] Fix issues in base.js and add more tests
2015-03-06 19:53:27 -08:00
wltsmrz
441bd4dfbf
Lint remote.js
2015-03-06 19:06:24 -08:00
wltsmrz
8452f05dda
Lint log.js
2015-03-06 18:36:27 -08:00
Chris Clark
0d2325e646
[TASK] Fix seed-test.js lint errors
2015-03-06 17:41:42 -08:00
wltsmrz
90329d3d73
Add filename and line number to log, use log.warn() for deprecations
2015-03-06 17:35:24 -08:00
Chris Clark
ca83a142f8
[TASK] Fix issues in base.js and add more tests
2015-03-06 17:33:52 -08:00
wltsmrz
d3b2d3d5c5
Merge pull request #304 from clark800/fix/travis_eslint2
...
[FIX] Fix bug in .travis.yml generation of list of modified files in pul...
2015-03-06 17:18:55 -08:00
Chris Clark
255177487c
[FIX] Fix bug in .travis.yml generation of list of modified files in pull request
2015-03-06 15:53:52 -08:00
wltsmrz
ed0b75bcde
Use new Amount(NaN) rather than Amount.NaN()
2015-03-06 15:38:44 -08:00
Chris Clark
06500a7909
Merge pull request #302 from clark800/fix/travis_eslint
...
[FIX] Don't lint deleted files and pull eslintrc from javascript-style-g...
2015-03-06 13:32:47 -08:00
wltsmrz
6e16bf68ae
Lint serializedobject test
2015-03-06 13:01:57 -08:00
Chris Clark
ad22480117
[FIX] Don't lint deleted files and pull eslintrc from javascript-style-guide repo to ensure that it is up to date
2015-03-06 11:20:20 -08:00
wltsmrz
2fcd09072f
Lint serializedtypes.js
2015-03-06 01:10:22 -08:00
wltsmrz
f0c785b196
Lint amount.js
2015-03-06 01:06:58 -08:00
Geert Weening
84fe76bada
Merge pull request #296 from ripple/fix-currency-parsing
...
Fix currency parsing of non-alphanumeric and no-currency currencies
2015-03-05 22:32:04 -08:00
wltsmrz
b5ed8f59a7
Add Amount.strict_mode for toggling range validation
2015-03-05 22:21:35 -08:00
Geert Weening
52526f90d7
Merge pull request #298 from clark800/basetest
...
[TEST] Add unit tests for Base
2015-03-05 13:08:56 -08:00
wltsmrz
99e6e81e65
Merge pull request #299 from boxbag/fix-taker-pays-funded
...
[FIX] fix taker pays funded calculation
2015-03-05 11:17:43 -08:00
Bo Chen
5af824f5cf
[FIX] fix taker pays funded calculation
...
When calling `parseInt` on a string with scientific notation, it ignores the exponents.
2015-03-05 09:43:27 -08:00
wltsmrz
2166bb2e88
Fix currency parsing of non-alphanumeric and no-currency currencies
2015-03-04 19:10:39 -08:00
Chris Clark
ae884c0200
[TEST] Add unit tests for Base
2015-03-04 13:02:36 -08:00
wltsmrz
423ec7d08a
Merge pull request #294 from clark800/baseconverter
...
Refactor base conversion
2015-03-03 20:23:08 -08:00
Chris Clark
914cd6ecb2
Add unit tests for convertBase
2015-03-03 12:22:42 -08:00
Geert Weening
f221c82859
Merge pull request #293 from boxbag/offer-quality
...
Offer quality
2015-03-03 10:52:38 -08:00
wltsmrz
d57be723e6
Merge pull request #295 from stevenzeiler/ripple-wallet-version
...
[TASK] Bump ripple-wallet-generator patch version
2015-03-02 16:58:40 -08:00
Steven Zeiler
777554809a
[TASK] Bump ripple-wallet-generator patch version
2015-03-02 16:53:52 -08:00
Chris Clark
f2b63fa4a8
Refactor base conversion
2015-02-27 21:28:23 -08:00
Bo Chen
4d06ce7454
[FIX] fix eslint errors
2015-02-27 16:12:06 -08:00
Bo Chen
8da6ec5fa3
[TASK] reverse skip of order book tests
2015-02-27 09:18:01 -08:00
Bo Chen
2a5a8b498d
[FIX] fix handling of quality in order book
2015-02-27 09:18:01 -08:00
Bo Chen
a9b7d7d793
Merge pull request #292 from ripple/revert-286-set-user-agent
...
Revert "Set User-Agent Header with ripple-lib/{version}"
2015-02-27 09:17:27 -08:00
Bo Chen
6578cf5dd7
Revert "Set User-Agent Header with ripple-lib/{version}"
2015-02-26 14:40:07 -08:00
Geert Weening
2e21e8a43c
Merge pull request #290 from ripple/transactionmanager-tests
...
Add TransactionManager test
2015-02-26 12:48:42 -08:00
Geert Weening
176e1fd9d4
Merge pull request #291 from ripple/update-binary-format
...
Update binary format
2015-02-26 11:41:34 -08:00
wltsmrz
c3b274b18f
Add TransactionManager test
2015-02-25 18:49:59 -08:00
wltsmrz
8e134918fb
Update binary format
2015-02-25 18:39:42 -08:00
wltsmrz
2b531d2a1f
Disable breaking OrderBook tests
2015-02-25 01:36:12 -08:00
Geert Weening
87317dd54a
Merge pull request #289 from ripple/fix-setregularkey-transaction-format
...
Fix RegularKey requirement in SetRegularKey transaction format
2015-02-24 09:23:48 -08:00
wltsmrz
618548c88d
Merge pull request #273 from clark800/feature/eslint
...
[TASK] Add eslint enforcement to travis.yml
2015-02-23 17:50:41 -08:00
Chris Clark
b62f42006c
[TASK] Add eslint enforcement to travis.yml
2015-02-23 16:34:22 -08:00
wltsmrz
c275174f27
Fix RegularKey requirement in SetRegularKey transaction format
2015-02-23 13:09:50 -08:00
Geert Weening
af4ed295e0
Bump version to 0.12.1-rc1
2015-02-23 09:25:42 -08:00
Geert Weening
7614a03ea8
Update release notes
2015-02-23 09:24:13 -08:00
Geert Weening
d9527726b6
Merge pull request #285 from boxbag/orderbook-fix
...
[FIX] fix order funded amount calculation
2015-02-23 09:16:44 -08:00
Geert Weening
05f4099709
Merge pull request #288 from ripple/fix-setfee-transaction-format
...
Fix Features field requirement in SetFee transaction format
2015-02-23 09:16:13 -08:00
wltsmrz
a20a649013
Fix Features field requirement in SetFee transaction format
2015-02-20 15:01:05 -08:00
Geert Weening
0e3e64105c
Merge pull request #287 from clark800/bignumber_update
...
[TASK] Update bignumber.js and use new feature to simplify our code
2015-02-20 14:50:59 -08:00
Bo Chen
b2cdb1a6ae
[FIX] fix order funded amount calculation
2015-02-20 14:49:47 -08:00
Alan Cohen
812432db96
Merge pull request #286 from lumberj/set-user-agent
...
Set User-Agent Header with ripple-lib/{version}
2015-02-20 10:23:32 -08:00
Alan Cohen
5b2c4aef2d
Set User-Agent Header with ripple-lib/{version}
...
- This would be helpful for us to analyze usage of ripple-lib for anyone
using the public rippled
2015-02-20 09:06:02 -08:00
Chris Clark
b7ccf424f4
[TASK] Update bignumber.js and use new feature to simplify our code
2015-02-19 19:51:05 -08:00
Geert Weening
77d5db168b
Merge pull request #283 from clark800/feature/amount_sanity
...
[TASK] Disable parsing native amounts in foating point format
2015-02-17 14:29:38 -08:00
Chris Clark
e80cd1ff55
[TASK] Disable parsing native amounts in foating point format
2015-02-17 14:03:23 -08:00
Geert Weening
4ff25a21f6
Merge pull request #282 from boxbag/orderbook
...
[TEST] test and refactor orderbooks
2015-02-17 13:35:55 -08:00
Bo Chen
f184a71360
[TEST] test and refactor orderbooks
2015-02-13 13:37:57 -08:00
wltsmrz
fc38a9853d
Merge pull request #281 from shekenahglory/develop
...
fix handling of false parameters in requestLedger
2015-02-11 14:24:27 -08:00
Matthew Fettig
6023efed41
fix handling of false parameters in requestLedger
2015-02-11 14:11:24 -08:00
Geert Weening
2abac6ce5c
Bump version to 0.12.0
2015-02-11 12:24:40 -08:00
Geert Weening
53c7705c36
Update release notes
2015-02-11 12:24:00 -08:00
Geert Weening
7059ab65d6
Bump version to 0.12.0-rc3
2015-02-10 16:46:58 -08:00
Geert Weening
e133988b36
Update release notes
2015-02-10 16:46:36 -08:00
Geert Weening
9af27e7964
Merge branch 'develop' into release
2015-02-10 16:44:01 -08:00
Geert Weening
a57b3835fb
Merge pull request #279 from ripple/fix-set-funded-amount
...
Fix IOU value passed to Amount.from_json()
2015-02-10 15:01:18 -08:00
Geert Weening
451cbb809e
Disable Travis email notifications
2015-02-09 13:57:48 -08:00
wltsmrz
fd1b64393d
Fix IOU value passed to Amount.from_json()
2015-02-09 13:41:40 -08:00
Geert Weening
ed875a35b4
Bump version to 0.12.0-rc2
2015-02-07 11:52:04 -08:00
Geert Weening
e85b0c2122
Update release notes
2015-02-07 11:51:20 -08:00
Geert Weening
f5b192f55f
Merge branch 'develop' into release
2015-02-07 11:49:42 -08:00
Geert Weening
ff86d5381d
Merge pull request #277 from geertweening/fix/memo_serialization
...
[FIX] unsymmetric memo serializing
2015-02-07 10:28:08 -08:00
Geert Weening
b63ac4addb
[TASK] bump version to 0.12.0-rc1
2015-02-06 15:10:03 -08:00
Geert Weening
3e1a66d617
[DOC] update release notes
2015-02-06 15:09:02 -08:00
Geert Weening
93ed5a8cae
Merge pull request #278 from ripple/fix-tests
...
Fix server-test for updated WS
2015-02-05 14:30:06 -08:00
wltsmrz
2e6e8807be
Fix server-test for updated WS
2015-02-05 13:51:25 -08:00
Geert Weening
1ed36fabdb
[FIX] unsymmetric memo serializing
...
treat memos as unknown binary, with optionally parsing unsynthesized hint fields
2015-02-05 11:13:37 -08:00
Geert Weening
8dc40ee379
Merge pull request #276 from ripple/bump-dependencies
...
Bump dependencies versions
2015-02-05 11:13:16 -08:00
Geert Weening
db4c7c89e3
Merge pull request #275 from ripple/mocha-reporter
...
Use mocha tap reporter only for Travis CI
2015-02-05 11:12:21 -08:00
wltsmrz
f9bc7cc746
Bump dependencies versions
2015-02-05 00:54:07 -08:00
wltsmrz
8f87ed65f9
Use mocha tap reporter only for Travis CI
2015-02-04 23:32:14 -08:00
Geert Weening
39c37631f3
Merge pull request #269 from clark800/feature/amount_cleanup
...
Cleanup amount.js
2015-02-04 14:06:17 -08:00
Chris Clark
d0fb291c4e
Cleanup amount.js
2015-02-04 13:57:57 -08:00
wltsmrz
793523cbe9
Merge pull request #274 from clark800/fix/parse_human
...
[FIX] Handle invalid input in parse_human
2015-02-04 12:59:05 -08:00
wltsmrz
6da4dd9ecc
Remove Gulp lint task, update eslint.json
2015-02-04 02:50:32 -08:00
Geert Weening
79892af8f8
Merge pull request #272 from ripple/fix-taker-gets-funded
...
Fix taker_gets_funded exceeding offer.TakerGets
2015-02-03 18:35:25 -08:00
Chris Clark
b86790c854
Check for null in isNumber
2015-02-03 18:23:18 -08:00
Chris Clark
c8f18c8c85
[FIX] Handle invalid input in parse_human
2015-02-03 18:06:15 -08:00
wltsmrz
b19ecb4482
Fix taker_gets_funded exceeding offer.TakerGets
2015-02-03 14:50:33 -08:00
wltsmrz
ba9af55aca
Merge pull request #268 from ripple/remote-updates
...
Remote updates
2015-02-02 16:19:45 -08:00
wltsmrz
35d76b3520
Add deprecation warnings to request constructors
...
* The first argument to request constructor functions should be an
object containing request properties
* Improve Remote test coverage
2015-01-30 21:08:45 -08:00
Geert Weening
a5a0326092
Merge branch 'release' into develop
2015-01-29 15:39:18 -08:00
Geert Weening
a05833f845
bump version to 0.11.0
2015-01-29 14:58:28 -08:00
Bo Chen
c5deb60510
[FIX] update transaction binary parsing to account for XRP delivered amounts
2015-01-29 14:27:11 -08:00
Geert Weening
ff2ff89e3e
Merge pull request #271 from boxbag/parse-binary-transaction
...
[FIX] update transaction binary parsing to account for XRP delivered amounts
2015-01-29 10:52:12 -08:00
Bo Chen
35a346a674
[FIX] update transaction binary parsing to account for XRP delivered amounts
2015-01-29 10:06:10 -08:00
Geert Weening
1217a95c52
Merge pull request #267 from clark800/feature/bignumberjs
...
[TASK] Refactor to use bignumber.js
2015-01-27 11:43:09 -08:00
Chris Clark
d025b4a0c3
[TASK] Refactor to use bignumber.js
2015-01-27 10:23:33 -08:00
Geert Weening
2cab50f920
[TASK] bump version to 0.11.0-rc3
2015-01-26 14:42:51 -08:00
Geert Weening
b049278dde
[DOC] update release notes
2015-01-26 14:42:34 -08:00
Geert Weening
93335e74cb
Merge branch 'release' into develop
2015-01-26 14:34:18 -08:00
wltsmrz
2833a7b66e
Cleanup, deprecations
...
* REMOVED Remote storage interface
* REMOVED Remote "ping" configuration
* REMOVED Old/deprecated Remote server configuration
(websocket_ip, websocket_port)
* REMOVED browser "online" reconnect listener
2015-01-26 14:00:54 -08:00
wltsmrz
0d05b960f7
Merge pull request #266 from clark800/feature/perftest
...
[TASK] Add performance test "npm run perf"
2015-01-26 13:31:31 -08:00
Chris Clark
9fd64a9209
[TASK] Add performance test "npm run perf"
2015-01-23 17:03:57 -08:00
wltsmrz
1637d26de3
Merge pull request #264 from lumberj/bug/ledger_select
...
[BUG] `Request.prototype.ledgerSelect` can accept ledger_index as String
2015-01-21 10:13:06 -08:00
Alan Cohen
525ff9b75e
[BUG] Request.prototype.ledgerSelect can accept ledger_index as String
2015-01-21 08:54:40 -08:00
wltsmrz
42e7932f59
Merge pull request #263 from lumberj/feature/requestOffer
...
[FEATURE] Remote.prototype.requestOffer
2015-01-20 18:40:42 -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
Geert Weening
55cd13ed4e
Merge pull request #261 from boxbag/binary-default
...
[TASK] set binary as default for commands that accept the flag
2015-01-20 15:56:29 -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
ddbb999194
Merge pull request #262 from darkdarkdragon/develop-pathfind-fix
...
[FIX] properly close path find request
2015-01-16 16:17:32 -08:00
Ivan Tivonenko
1db96829ed
[FIX] properly close path find request
...
path create uses broadcast, so close must
use this too
2015-01-17 01:48:18 +02:00
wltsmrz
3498dea18c
Merge pull request #260 from ripplerm/develop
...
double check 'tes' code before emitting 'success'
2015-01-16 09:46:30 -08:00
ripplerm
97a8c87490
double check 'tes' code before emitting 'success'
...
result of a received transaction could be in 'tes' or 'tec'.
2015-01-17 01:01:27 +08:00
Geert Weening
fa72e09840
[TASK] bump version to 0.11.0-rc2
2015-01-15 16:24:14 -08:00
Geert Weening
d8cad710a5
[TASK] fix superagent dependency
2015-01-15 16:24:14 -08:00
Geert Weening
f91dcc33d3
[TASK] bump version to 0.11.0-rc1
2015-01-15 16:24:14 -08:00
Geert Weening
e5f524ec56
[DOC] update release notes
2015-01-15 16:24:14 -08:00
Geert Weening
f9b13cbc7f
[TASK] re-add package.json for crypt
2015-01-15 16:24:14 -08:00
Geert Weening
c7e0ba68f6
[TASK] bump version to 0.11.0-rc2
2015-01-15 16:20:38 -08:00
Geert Weening
220262d192
[TASK] fix superagent dependency
2015-01-15 16:19:36 -08:00
Geert Weening
1f860ecba6
Merge pull request #259 from ripple/use-eslint
...
Use eslint, remove jshint
2015-01-15 16:11:26 -08:00
wltsmrz
69a13b71ea
Use eslint, remove jshint
2015-01-15 16:05:38 -08:00
Geert Weening
0a27afe6ee
[TASK] bump version to 0.11.0-rc1
2015-01-15 12:32:05 -08:00
Geert Weening
a3de021cd2
[DOC] update release notes
2015-01-15 12:31:55 -08:00
Geert Weening
4dcbe78e83
[TASK] re-add package.json for crypt
2015-01-15 12:31:46 -08:00
Geert Weening
84a8e8cbf6
Merge pull request #258 from ripple/throw-on-tls-error
...
Throw on tls error
2015-01-14 17:54:26 -08:00
Geert Weening
e4b2b3d06b
Merge pull request #257 from ripple/fix-subscribe-handler
...
Fix complete ledgers check on subscription that is not initial
2015-01-14 17:53:42 -08:00
wltsmrz
000a2ea00c
Abort server connection on unrecoverable TLS error
2015-01-14 17:47:23 -08:00
wltsmrz
89de91301e
Fix complete ledgers check on subscription that is not initial
2015-01-14 17:19:21 -08:00
wltsmrz
6be84bfa73
Merge pull request #254 from ripple/use-tap-reporter
...
Use TAP reporter
2015-01-14 15:30:54 -08:00
wltsmrz
6cd79e7237
Use TAP reporter
2015-01-14 15:21:48 -08:00
wltsmrz
11d73173b8
Merge pull request #252 from ripple/remove-vault-client
...
Remove blobvault client
2015-01-14 15:07:54 -08:00
wltsmrz
9b3d62b765
Remove blobvault client
2015-01-14 14:54:55 -08:00
wltsmrz
2bdff53e68
Merge pull request #249 from ripple/request-broadcast/filter
...
Request broadcast/filter
2015-01-14 13:43:58 -08:00
wltsmrz
8af5f9c28e
Add request broadcast/filter
2015-01-14 13:40:54 -08:00
Geert Weening
9f71abf978
Merge pull request #248 from clark800/feature/flow
...
[TASK] Add flow tasks to Gulpfile
2015-01-13 16:48:58 -08:00
Chris Clark
3fc2d3c1d9
[TASK] Add flow tasks to Gulpfile
2015-01-12 17:34:11 -08:00
Geert Weening
c0c8db6dcc
[TASK] bump version to 0.10.1-rc2
2015-01-07 11:39:37 -08:00
Geert Weening
27249c0bb4
[DOC] update release notes
2015-01-07 11:39:04 -08:00
Geert Weening
62e9684542
Merge branch 'release' into develop
2015-01-07 11:37:23 -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
Geert Weening
77b33f11ab
Merge pull request #246 from lumberj/bug/incorrectly_deleted_function
...
[BUG] Add function removed in revert 51211bb
2015-01-07 10:59:20 -08:00
wltsmrz
0aba638e6e
Decrease redundancy in binary account_tx parsing
2015-01-07 10:53:46 -08:00
Geert Weening
e82522349f
Merge pull request #242 from clark800/feature/jshintrc
...
[TASK] Update jshintrc
2015-01-07 10:37:56 -08:00
Chris Clark
e520700260
[TASK] Update jshintrc
2015-01-07 10:06:54 -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
0f212e4dd1
[TASK] bump version to 0.10.1-rc1
2015-01-06 14:59:05 -08:00
Geert Weening
c263654c88
[DOC] update release notes
2015-01-06 14:58:30 -08:00
Geert Weening
874e3f24a6
Merge branch 'release' into develop
2015-01-06 14:52:03 -08:00
Geert Weening
b14343f3cf
[TASK] shrinkwrap dependencies
2015-01-06 14:48:13 -08:00
Geert Weening
732b50dea7
[TASK] bump version to 0.10.0
2015-01-06 14:48:05 -08:00
Geert Weening
be3bbe9b61
[DOC] update release notes
2015-01-06 14:46:44 -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
Geert Weening
5d1ff1c912
Merge pull request #245 from ripple/binary-account-tx
...
Wrap account_tx binary parsing in async.setImmediate
2015-01-06 11:08:22 -08:00
wltsmrz
ea1be4fc50
Wrap account_tx binary parsing in async.setImmediate
2015-01-06 06:51:18 -08:00
Geert Weening
7cc05f0d92
Merge pull request #244 from mehulkar/patch-1
...
Update link to deprecated API docs
2015-01-05 14:48:12 -08:00
Mehul Kar
54606f3c21
Update link to deprecated API docs
2015-01-05 14:43:05 -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
2166a434a3
Merge pull request #241 from ripple/add-jshintrc
...
Add jshintrc
2014-12-23 23:08:52 -08:00
wltsmrz
1053fa18e1
Add jshintrc
2014-12-23 20:20:31 -08:00
wltsmrz
fa147d467e
Merge pull request #239 from ripple/metadata-account-fix
...
Fix metadata account check
2014-12-23 20:19:09 -08:00
wltsmrz
3f61598d6c
Fix metadata account check
2014-12-23 03:22:46 -08:00
wltsmrz
9bf3724ce6
Merge pull request #237 from lumberj/task/fix_jsdoc
...
[TASK] Fixup the annotation for remote.requestBookOffers
2014-12-22 15:37:28 -08:00
Alan Cohen
c2f27a4deb
[TASK] Fixup the annotation for remote.requestBookOffers
2014-12-22 15:31:56 -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
Geert Weening
aef4fe29a3
Merge pull request #233 from lumberj/feature_test/request_book_offers
...
[FEATURE] Add tests and support for ledger for requestBookOffers (RLJS-115)
2014-12-19 16:39:24 -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
wltsmrz
47e6bdc644
Merge pull request #231 from clark800/feature/test_compiled_js
...
[TASK] Refactor tests to support testing compiled javascript
2014-12-19 13:28:03 -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
Geert Weening
59017bc0bd
Merge pull request #229 from ripple/account-txn-id
...
Add AccountTxnID flag and setter
2014-12-17 12:42:40 -08:00
wltsmrz
2dde114d3d
Add AccountTxnID flag and setter
2014-12-16 13:25:32 -08:00
wltsmrz
9e89904f03
Fix undefined log function in Transaction.finalize()
2014-12-12 21:26:54 -08:00
Geert Weening
56d0aca254
Merge pull request #224 from kureus/patch-1
...
Doc example code syntax error
2014-12-12 11:13:54 -08:00
Dan Quirk
239710cebf
Doc example code syntax error
2014-12-11 13:16:14 +00:00
Geert Weening
1eaad617cb
[TASK] bump version to 0.10.0-rc2
2014-12-11 00:20:50 -08:00
wltsmrz
3c21994adc
[FIX] Fix empty queue check on reconnect
2014-12-10 23:58:00 -08:00
wltsmrz
d15d14e197
[FIX] Fix undefined Transaction.prototype.summary()
2014-12-10 14:17:28 -08:00
Geert Weening
e32694dc79
[TASK] bump version to 0.10.0-rc1
2014-12-10 14:02:48 -08:00
wltsmrz
6ec8124287
[DOC] Update release notes
2014-12-10 14:00:10 -08:00
Geert Weening
2222adfc10
[DOC] update release notes
2014-12-10 13:29:47 -08:00
Geert Weening
fcc2377657
Merge pull request #223 from geertweening/feature/memo_format_type
...
[FEATURE] improve memo support
2014-12-10 13:08:04 -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
Geert Weening
666e4348e0
Merge pull request #222 from boxbag/transaction-set-fee
...
[FEATURE] allow per transaction fees to be set
2014-12-10 13:07:20 -08:00
Bo Chen
9b22f279bc
[FEATURE] allow per transaction fees to be set
2014-12-10 11:52:16 -08:00
Geert Weening
0835de983b
Merge pull request #221 from ripple/transaction-updates
...
Transaction updates
2014-12-10 11:37:36 -08:00
wltsmrz
1a892d58fc
Rework tef and tel-class transaction error handling
...
Do not finalize tef or tel-class errors until LastLedgerSequence is
exceeded. Transactions that fail in this way will now be aborted
with a tej-class error. Errors like tefALREADY and tefMAX_LEDGER
should now be opaque to the user and have no consequence in
determining a final state.
2014-12-10 11:30:45 -08:00
wltsmrz
73a3cce4a4
Do not bump LastLedgerSequence on resubmit
2014-12-10 11:30:45 -08:00
wltsmrz
d5ef4774fa
Make LastLedgerSequence offset configurable, default to 3
2014-12-10 11:30:45 -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
12e428733a
[TASK] bump version to 0.9.4
2014-12-05 15:48:24 -08:00
Geert Weening
9cc6ad09a9
[DOC] update release notes
2014-12-05 15:47:46 -08:00
Geert Weening
84abb5962e
[TASK] bump ripple-lib to 0.9.4-rc2
2014-12-04 12:56:17 -08:00
Geert Weening
4bba55d2dc
Revert "[FEATURE] improve memo support"
...
This reverts commit 89adcf4f4e .
2014-12-04 12:54:48 -08:00
Geert Weening
b4cabad44e
[TASK] bump version to 0.9.4-rc1
2014-12-04 11:03:01 -08:00
Geert Weening
28cc0f9e3b
[DOC] update release notes
2014-12-04 11:02:20 -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
8e315a9859
[DOC] update generate wallet example
...
to take advantage of randomness collected from a rippled
2014-12-01 17:54:34 -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
Geert Weening
3a6c5e41c9
Merge pull request #217 from ripple/orderbook-cleanup
...
Cleanup, normalize offers from book_offers and transaction stream
2014-11-30 14:14:01 -08:00
wltsmrz
86ed24b94c
Cleanup, normalize offers from book_offers and transaction stream
2014-11-29 15:24:15 -08:00
wltsmrz
c792c471c3
Merge pull request #215 from ripple/fix-precision-rounding
...
Fix to_human precision rounding
2014-11-26 18:31:29 -08:00
wltsmrz
e371cc2c3c
Fix to_human precision rounding
2014-11-26 11:32:15 -08:00
Geert Weening
ccf218c8f0
Merge pull request #214 from ripple/fix-fractional-drops
...
Fix fractional drops in funded taker_pays setter
2014-11-26 09:16:55 -08:00
wltsmrz
0d7fc0a573
Fix fractional drops in funded taker_pays setter
2014-11-25 21:10:57 -08:00
Geert Weening
74cacd5209
[DOC] update offer example
2014-11-19 18:04:45 -08:00
Geert Weening
bb79cf2a87
[TASK] bump version to 0.9.3
2014-11-19 12:09:18 -08:00
Geert Weening
28451df1a8
Merge branch 'develop' into release
2014-11-19 11:32:19 -08:00
Geert Weening
38e288f62a
[TASK] bump version to 0.9.2-rc3
2014-11-19 11:31:19 -08:00
Geert Weening
905f908450
[DOC] update release notes
2014-11-19 11:31:19 -08:00
wltsmrz
672171fd0c
Merge pull request #211 from jks-liu/fix-link
...
Fix link in README
2014-11-19 05:24:58 -08:00
Jks Liu
520660ecbc
Fix link in README
2014-11-19 16:42:25 +08:00
Geert Weening
06acb5faf2
[TASK] bump version to 0.9.2-rc3
2014-11-18 11:58:41 -08:00
Geert Weening
d43fa03f05
[DOC] update release notes
2014-11-18 11:57:49 -08:00
Geert Weening
baed1aaf92
Merge branch 'release' into develop
2014-11-18 11:54:17 -08:00
wltsmrz
cc229e803c
Merge pull request #210 from geertweening/fix/max_fee
...
[TASK] change default `max_fee` for Remote to 1 XRP
2014-11-18 11:48:37 -08:00
Geert Weening
d6b1728c23
[TASK] change default max_fee for Remote to 1 XRP
2014-11-18 10:47:28 -08:00
wltsmrz
bc5dcc359c
Merge pull request #209 from ximinez/ledger_accept
...
Request ledger_accept returns the Request, not Remote
2014-11-17 12:08:38 -08:00
Edward Hennis
ced07e1d6b
Request ledger_accept returns the Request, not Remote
2014-11-17 15:02:45 -05:00
Geert Weening
cffffd9591
[TASK] bump version to 0.9.3-rc2
2014-11-14 10:24:44 -08:00
Geert Weening
b8766e263f
[DOC] update release notes
2014-11-14 10:24:00 -08:00
Geert Weening
fc426d5764
Merge branch 'release' into develop
2014-11-14 10:16:34 -08:00
Geert Weening
056d2381cd
Merge pull request #208 from ripple/relocate-presubmit
...
Relocate presubmit emission to immediately before transaction submit
2014-11-14 10:14:02 -08:00
Geert Weening
2932a0ec5f
[DOC] add doc that accountRequest throws
...
if a marker is provided, but no ledger_index or ledger_hash
2014-11-14 10:11:26 -08:00
Geert Weening
d3d85a3fcf
[DOC] add doc that accountRequest throws
...
if a marker is provided, but no ledger_index or ledger_hash
2014-11-14 10:11:13 -08:00
wltsmrz
7a1feaa897
Relocate presubmit emission to immediately before transaction submit
2014-11-13 21:44:20 -08:00
Geert Weening
5f3cf72cc6
Merge pull request #207 from shekenahglory/develop
...
[TASK] binformat: update fields to match rippled
2014-11-13 14:13:52 -08:00
Matthew Fettig
cae980788e
binformat: update fields to match rippled
2014-11-13 11:14:46 -08:00
Geert Weening
df763b8765
Merge pull request #205 from ripple/core-build
...
Add core build
2014-11-12 10:51:45 -08:00
wltsmrz
365085809e
Add note on restricted browser builds
2014-11-12 03:04:51 -08:00
Geert Weening
3ee7998261
[TASK] bump version to 0.9.3-rc1
2014-11-11 17:52:30 -08:00
Geert Weening
6fb9ed8312
[DOC] update release notes
2014-11-11 17:52:13 -08:00
Geert Weening
89f79c35f5
Merge pull request #206 from geertweening/fix/tec_wait_for_validated
...
[TASK] wait for validation before returning tec error
2014-11-11 17:49:38 -08:00
Geert Weening
6bdd4b2670
[TASK] wait for validation before returning tec error
2014-11-11 16:54:25 -08:00
Geert Weening
acd79d19e2
[TASK] bump version to 0.9.2
2014-11-11 12:14:04 -08:00
Geert Weening
674d4a957d
[TASK] bump version to 0.9.2-rc6
2014-11-11 11:51:54 -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
wltsmrz
b0cac776ee
Throw an error when trying to use unavailable class in WebPack build
2014-11-11 06:23:37 -08:00
wltsmrz
625dba4d85
Add build-core gulp task
2014-11-11 05:30:50 -08:00
Geert Weening
261b72d0fc
[DOC] update API reference
2014-11-10 14:32:35 -08:00
Geert Weening
b5b167ef6d
[DOC] update README and GUIDES
...
to match current API's
2014-11-10 10:14:11 -08:00
Geert Weening
66d21b24cd
[TASK] bump ripple-lib to 0.9.2-rc5
2014-11-07 18:22:23 -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
486944fa4c
[FIX] request account info in account.js
2014-11-07 18:04:04 -08:00
Geert Weening
b63a76d298
[TASK] bump version to 0.9.2-rc4
2014-11-07 17:45:17 -08:00
Geert Weening
31045039c0
[DOC] update release notes
2014-11-07 17:44:30 -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
3c9660203b
Merge pull request #203 from geertweening/feature/marker_valid_ledger
...
[FEATURE] check for valid ledger when using marker
2014-11-07 12:57:57 -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
ed018282c4
[TASK] remove clone in favor of copy and update
...
see 'object' case in `parse_json`
2014-11-06 22:58:04 -08:00
Geert Weening
fbe015758c
[TASK] bump version to 0.9.2-rc3
2014-11-06 21:48:01 -08:00
Geert Weening
7e24a81764
[DOC] update release notes
2014-11-06 21:47:44 -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
9025e8bfa8
[FIX] get interest for currency without interest
...
- `get_interest_at` for a currency without interest would not hit the intended check since the function was used as variable instead of calling the method
2014-11-06 21:35:41 -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
3554572db7
[TASK] bump version to 0.9.2-rc2
2014-11-05 16:32:37 -08:00
Geert Weening
f1abff962f
Merge pull request #200 from boxbag/fix-max-fee
...
[FIX] fix test and do not set tx_json.Fee in maxFee method
2014-11-05 16:07:01 -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
Geert Weening
76cfb69d9f
[TASK] bump version to 0.9.2-rc1
2014-11-05 14:38:47 -08:00
Geert Weening
7610df0fbb
[DOC] update release notes
2014-11-05 14:38:35 -08:00
Geert Weening
8bc935aa62
Merge pull request #198 from boxbag/transaction-max-fee
...
[FEATURE] set max fee the submitter of a transaction is willing to pay
2014-11-05 09:27:26 -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
0248475473
[DOC] update description in package.json
2014-10-31 18:52:09 -07:00
Geert Weening
d2fa5c4b12
[TASK] bump version to 0.9.1
2014-10-30 10:01:16 -07:00
Geert Weening
c60c0cb6e0
[TASK] bump version to 0.9.1-rc3
2014-10-28 17:35:29 -07:00
Geert Weening
cdf1112666
[FIX] ledgerSelect setting both ledger_index and ledger_hash
2014-10-28 17:33:55 -07:00
Geert Weening
d861bb2e34
[TASK] bump version to 0.9.1-rc2
2014-10-27 17:32:37 -07:00
Geert Weening
006849a3d5
[DOC] update release notes
2014-10-27 17:32:18 -07:00
wltsmrz
a3c1d06eba
Change initial account transaction sequence to 1
2014-10-27 17:29:51 -07:00
Geert Weening
4bd1e7a2bc
[TASK] bump version to 0.9.1-rc1
2014-10-27 16:40:46 -07:00
Geert Weening
68643f3118
[DOC] update release notes
2014-10-27 16:37:14 -07:00
Geert Weening
560dfc8ae6
Merge branch 'release' into develop
2014-10-27 16:27:52 -07:00
Geert Weening
b0459e096b
[TASK] bump version to 0.9.0
2014-10-27 16:25:34 -07:00
Geert Weening
2a0dfc4587
[DOC] update release notes
2014-10-27 16:25:09 -07:00
Geert Weening
2dcd5f94fb
[TASK] shrinkwrap packages for dependency locking
2014-10-27 16:24:18 -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
wltsmrz
9a5c9aea75
Merge pull request #193 from professorhantzen/patch-1
...
[FIX] correct usage example with surrounding apostrophes
2014-10-24 18:12:32 -07:00
professorhantzen
f1004c6db2
Correct usage example with surrounding apostrophes
2014-10-25 13:14:07 +13: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
0527b8c981
[TASK] move gulp-bump to devDependencies
2014-10-22 12:07:36 -07:00
Geert Weening
13f89e2fcc
[TASK] bump version to 0.9.0-rc5
2014-10-21 15:05:02 -07:00
Geert Weening
69a0a473a6
[DOC] update release notes
2014-10-21 15:04:52 -07:00
Geert Weening
4ab82d7e01
Merge pull request #188 from geertweening/fix/amount_precision
...
[FIX] amount precision bugs
2014-10-21 15:01:50 -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
8b10325895
[TASK] bump version to 0.9.0-rc4
2014-10-16 14:11:36 -07:00
Geert Weening
70bf600247
[DOC] update release notes
2014-10-16 14:11:14 -07:00
Geert Weening
d42e06d48b
[FIX] fraction_part is a string
2014-10-16 14:05:26 -07:00
wltsmrz
9c080b6790
Merge pull request #187 from ripple/amount_precision
...
[FIX] Amount.to_human() precision slicing instead of rounding
2014-10-16 14:00:29 -07:00
Geert Weening
033257b03b
[FIX] Amount.to_human() precision slicing instead of rounding
2014-10-16 13:54:42 -07:00
Geert Weening
39d8bcdfc2
[TASK] bump version to 0.9.0-rc3
2014-10-15 11:32:16 -07:00
Geert Weening
2ddcb4e2b7
[DOC] update release notes
2014-10-15 11:31:52 -07:00
Geert Weening
d972718a53
Merge pull request #185 from shekenahglory/fix/serialize
...
[FIX] binformat: added missing TransactionResult options
2014-10-14 11:37:35 -07:00
Matthew Fettig
6abed8dd53
[FIX] binformat: added missing TransactionResult options
2014-10-14 11:32:33 -07:00
Geert Weening
e74e697b45
[TASK] bump version to 0.9.0-rc2
2014-10-09 14:46:12 -07:00
Geert Weening
26c59e8565
[DOC] update release notes
2014-10-09 14:45:44 -07:00
Geert Weening
a5e83c4f23
[FIX] run test by _mocha to capture coverage
2014-10-09 14:35:14 -07:00
wltsmrz
900c4bbd2e
Merge pull request #184 from geertweening/show_interest_flag
...
[FEATURE] add flag to show or hide interest in to_human/to_json
2014-10-09 14:31:43 -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
957f10d9f1
[TASK] bump version to 0.9.0-rc1
2014-10-09 09:40:31 -07:00
Geert Weening
89aa54dff8
[DOC] update release notes
2014-10-09 09:39:15 -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
wltsmrz
011e2cc1e3
Merge pull request #182 from shekenahglory/fix/attestation
...
[FIX] vault client: URI decode attestation token
2014-10-08 18:41:38 -07:00
Matthew Fettig
4c594f8964
[FIX] vault client: URI decode attestation token
2014-10-08 18:17:30 -07:00
Geert Weening
1fcfcf2392
[TASK] bump version to 0.8.3-rc1
2014-10-06 18:23:59 -07:00
Geert Weening
6311abff81
[DOC] update release notes
2014-10-06 18:23:05 -07:00
Geert Weening
ed2da57475
Merge pull request #181 from shekenahglory/feature/identity
...
Feature/identity
2014-10-06 18:15:38 -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
327c35252f
[FEATURE] vault client: update attestation and attestation summary
2014-10-03 17:17:09 -07:00
Matthew Fettig
5e7af2fba4
[TASK] switch to new attestation endpoint
2014-10-03 17:17:09 -07:00
Matthew Fettig
dce15bc579
[TASK] vault client: add parameters to attest
2014-10-03 17:17:08 -07:00
Matthew Fettig
d5e32db954
[CHORE] vault client: add type to attest parameters
2014-10-03 17:17:08 -07:00
Matthew Fettig
bdfa83592b
[FEATURE] identity functions
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
0dfd3a0ae0
Merge pull request #178 from ripplerm/develop
...
configurable maxAttempts
2014-10-01 02:07:04 -07:00
ripplerm
d107092540
configurable maxAttempts
2014-10-01 14:43:44 +08:00
wltsmrz
c2f379d3b3
Merge pull request #176 from shekenahglory/develop
...
[FIX] change handling of requestLedger options
2014-09-28 00:34:30 -07:00
Matthew Fettig
57b70300f5
[FIX] change handling of requestLedger options
...
ledger_index and ledger_hash were being set to true
instead of the specified value, and according to API
docs 'closed','validated', and 'current' can be
supplied to the ledger_index field to get the most
recent of the specified type
2014-09-26 21:41:22 -07:00
Geert Weening
eeba86f9c5
[TASK] bump version to 0.8.2
2014-09-25 10:05:57 -07:00
Geert Weening
e0d68e60ec
Merge pull request #172 from booxood/modify-docs-guides-md
...
Update docs/GUIDES.md
2014-09-24 23:44:08 -07:00
Liucw
254248486b
Update docs/GUIDES.md
2014-09-25 14:34:29 +08:00
Geert Weening
1b57cc6d35
[TASK] bump verison to 0.8.2-rc2
2014-09-22 23:59:12 -07:00
Geert Weening
77234f256d
[DOC] update release notes
2014-09-22 23:58:49 -07:00
Geert Weening
795d31d2db
Merge branch 'release' into develop
2014-09-22 23:50:45 -07:00
wltsmrz
f3f10fd9bd
Fix requestLedger arguments
2014-09-18 02:03:29 -07:00
wltsmrz
7100b4be8d
Emit server with subscription events
2014-09-18 01:41:23 -07:00
wltsmrz
b1a7200d1b
Deprecate account_tx map/reduce/filter
2014-09-18 01:28:43 -07:00
Geert Weening
5d8bb541c6
[TASK] bump version to 0.8.2-rc1
2014-09-17 15:02:44 -07:00
Geert Weening
b51c59b23a
[TASK] update release notes
2014-09-17 15:02:21 -07:00
wltsmrz
2cd434e861
Fix orderbook reset on reconnect
2014-09-17 13:42:24 -07:00
wltsmrz
1599eb9629
Add potential missing error handlers
2014-09-17 13:40:49 -07:00
wltsmrz
8ef7481858
Allow mixed letters and numbers in currencies
2014-09-17 13:39:49 -07:00
Geert Weening
344d478b3f
[TASK] bump version to 0.8.1
2014-09-15 16:52:23 -07:00
Geert Weening
39b7e27aa6
[TASK] bump version to 0.8.1-rc3
2014-09-12 14:26:25 -07:00
Geert Weening
b1876b4f77
[DOC] update release notes
2014-09-12 14:26:02 -07:00
wltsmrz
db3b41d1ba
Merge pull request #167 from ximinez/ripd-549
...
[BUG] Fix Amount.to_human_full()
2014-09-12 12:16:03 -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
wltsmrz
ad6304e857
Merge pull request #166 from geertweening/develop
...
[DOC] update README install instructions
2014-09-10 18:54:45 -07:00
Geert Weening
7cba84b8cf
[DOC] update README install instructions
2014-09-10 18:51:59 -07:00
Geert Weening
5a9a4be163
[TASK] bump version to 0.8.1-rc2
2014-09-10 17:54:11 -07:00
Geert Weening
4d1a31d3c9
Revert "[FOLD] Add postinstall step to build the sjcl.js"
...
This reverts commit 42c853dbf4 .
2014-09-10 17:53:29 -07:00
Geert Weening
6e3ceec4e5
[TASK] update publish scripts
2014-09-10 17:33:52 -07:00
Geert Weening
bc7d3c0af8
[TASK] add release candidate publish script
2014-09-10 17:32:03 -07:00
Geert Weening
519ddee092
[TASK] bump version to 0.8.1-rc1
2014-09-10 17:28:34 -07:00
Geert Weening
3e0fcc5b8b
[DOC] update release notes
2014-09-10 17:28:00 -07:00
wltsmrz
b1972985c4
Merge pull request #164 from geertweening/develop
...
[FIX] return null for _getServer if there's no connected server
2014-09-08 12:04:22 -07:00
Geert Weening
51c42e9257
[FIX] return null for _getServer if there's no connected server
2014-09-08 11:54:48 -07:00
Geert Weening
86dcbcc671
[TASK] add exit_on_error calls to publish script
2014-09-08 11:54:47 -07:00
wltsmrz
3b7cd9d84f
Merge pull request #163 from stevenzeiler/wallet
...
[TASK] Update package.json for ripple-wallet-generator patch.
2014-09-06 02:18:08 -07:00
Steven Zeiler
1073ec6214
[TASK] Update package.json for ripple-wallet-generator patch.
...
Removed node_modules from git repo of ripple-wallet-generator
2014-09-05 21:19:09 -07:00
wltsmrz
14a5e42a63
Merge pull request #162 from sublimator/develop
...
Fix #160 , Seed.parse_json of hex
2014-09-05 20:56:53 -07:00
Nicholas Dudfield
b4564a86b4
Fix #160 , Seed.parse_json of hex
2014-09-06 10:45:26 +07:00
wltsmrz
03386a61e9
Merge pull request #161 from stevenzeiler/wallet
...
[FEATURE] Add Wallet class that generates wallets.
2014-09-05 18:22:55 -07:00
Steven Zeiler
8bb2623360
[FEATURE] Add Wallet class that generates wallets.
...
[DOC] Comment out logged wallet.
[FIX] Use var instead of const.
2014-09-05 18:20:46 -07:00
wltsmrz
ab0e4188b3
Merge pull request #159 from ximinez/ripd-549
...
Clean up
2014-09-05 13:03:48 -07:00
Edward Hennis
42c853dbf4
[FOLD] Add postinstall step to build the sjcl.js
2014-09-05 14:50:29 -04:00
Geert Weening
ce48a1793b
Merge branch 'release' into develop
2014-09-05 10:24:05 -07:00
Geert Weening
6177543d98
[TASK] add publish script
2014-09-05 10:23:59 -07:00
Geert Weening
9697bfa817
[TASK] add publish to bower script
2014-09-05 10:23:59 -07:00
Geert Weening
70425ab5c8
[TASK] bump version to 0.8.0
2014-09-05 10:19:58 -07:00
wltsmrz
7cccb451d2
Show field name in serialization failure
2014-09-04 20:13:04 -07:00
wltsmrz
a39fb9d551
Minor cleanup
2014-09-04 19:53:16 -07:00
wltsmrz
8f7cdc6e4f
Prevent setting LastLedgerSequence of NaN. Fixes a potential ambiguous serialization error
2014-09-04 19:50:56 -07:00
wltsmrz
8f7e365b03
Wait until remote is connected before emitting ledger_closed events
2014-09-04 18:51:00 -07:00
Edward Hennis
64735e523f
Clean up
...
* Make npm test runnable in Windows.
* Fix paths in README.md
* Ignore all build output files
2014-09-04 20:05:04 -04:00
Geert Weening
f126610219
[TASK] add publish to bower script
2014-09-04 16:11:59 -07:00
Geert Weening
2caef539ce
[TASK] bump version to 0.8.0-rc3
2014-09-04 15:43:01 -07:00
Geert Weening
468fb87749
[DOC] update release notes
2014-09-04 15:42:36 -07:00
Geert Weening
4f4808ff15
Merge pull request #158 from justmoon/amount_constants
...
Amount: Constants should be static fields on the class, not a separate export.
2014-09-04 15:30:12 -07:00
Stefan Thomas
e6bbca7df1
[TASK] Amount: Constants should be static fields on the class, not a separate export.
2014-09-04 15:12:14 -07:00
Geert Weening
e7d1095be2
Merge pull request #157 from geertweening/release
...
Prepare 0.8.0-rc2 release
2014-09-04 10:16:14 -07:00
Geert Weening
a08d5ce6e5
[TASK] bump version to 0.8.0-rc2
2014-09-04 10:15:47 -07:00
Geert Weening
fec2f5578d
[DOC] update release notes
2014-09-04 10:14:45 -07:00
Geert Weening
4869e30914
Merge branch 'release' into develop
2014-09-04 10:10:42 -07:00
Geert Weening
e1f31765e7
Merge pull request #156 from justmoon/max_value
...
Add a constant for the maximum number representable as a Ripple value
2014-09-04 09:45:38 -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
wltsmrz
765ff9fa32
Merge pull request #155 from ripple/develop
...
Update documentation, fix owner_funds not updated in orderbook
2014-08-27 13:49:27 -07:00
wltsmrz
dd04177f83
Update owner_funds
2014-08-27 13:05:54 -07:00
wltsmrz
2e2ab6bffc
Update docs
2014-08-26 13:41:27 -07:00
wltsmrz
934cacfc1b
Merge pull request #154 from justmoon/new_seed_test
...
Improve Seed#get_key test cases.
2014-08-25 15:49:58 -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
wltsmrz
3e84996788
Merge pull request #153 from ripple/develop
...
Unfunded orderbook update, add option for disallowing partial server history
2014-08-25 13:27:30 -07:00
wltsmrz
5a3f55d774
Merge pull request #152 from shekenahglory/develop
...
[CHORE] vault client: get 2fa HMAC instead of ECDSA
2014-08-25 13:11:18 -07:00
Matthew Fettig
dbddc314a6
[CHORE] vault client: get 2fa HMAC instead of ECDSA
2014-08-25 10:45:43 -07:00
wltsmrz
c98f875811
Merge pull request #151 from ripple/incomplete-server-history
...
Add checks for partial server history
2014-08-22 14:06:29 -07:00
wltsmrz
29a1ffb3b8
Merge pull request #150 from ripple/unfunded-orders
...
Fix set funded amount with unfunded native currency
2014-08-22 13:25:29 -07:00
wltsmrz
17770ad4c9
Fix set funded amount with unfunded native currency
2014-08-22 13:23:05 -07:00
wltsmrz
cc9ed435eb
Add checks for partial server history
2014-08-21 17:21:17 -07:00
wltsmrz
27a723b453
Update readme
2014-08-21 16:05:00 -07:00
wltsmrz
af6c9b6bd2
Merge pull request #147 from ripple/develop
...
Update unfunded order tracking - fix native/non-native currency discrepancies
2014-08-21 15:08:08 -07:00
wltsmrz
2d3bbecb05
Merge pull request #148 from ripple/unfunded-orders
...
Fix setting funded amount
2014-08-21 14:32:52 -07:00
wltsmrz
51e4cb15b4
Fix setting funded amount
2014-08-21 14:18:55 -07:00
wltsmrz
5ce91a027c
Merge pull request #146 from ripple/unfunded-orders
...
Update unfunded order tracking - fix native/non-native currency discrepancies
2014-08-20 16:00:08 -07:00
wltsmrz
3cb337e7ec
Uncomment tests
2014-08-20 15:53:03 -07:00
wltsmrz
c29f92f05b
Fix native/non-native currency discrepancies
2014-08-20 15:50:20 -07:00
wltsmrz
01903cc6d2
Update unfunded order tracking
2014-08-20 14:33:00 -07:00
Geert Weening
fff7a6bc9e
Merge pull request #127 from orzFly/patch-1
...
[FIX] Cannot use demmurage currencies in path_find
2014-08-20 19:29:58 +02:00
Yeechan Lu
678c67622d
[FIX] Cannot use demmurage currencies in path_find
...
Use hex format instead of json for currencies.
2014-08-21 00:32:56 +08:00
wltsmrz
2a6aec94fb
Merge pull request #145 from ripple/develop
...
Update unfunded order tracking
2014-08-19 15:19:10 -07:00
wltsmrz
bc52f33e9c
Merge pull request #144 from ripple/unfunded-orders
...
Convert to IOU format before comparing amounts during updateOfferFunds
2014-08-19 15:18:31 -07:00
wltsmrz
006beeb5f9
Convert to IOU format before comparing amounts during updateOfferFunds
2014-08-19 15:17:21 -07:00
wltsmrz
ff85b3c4c9
Merge pull request #143 from ripple/develop
...
Update unfunded order tracking
2014-08-19 14:40:41 -07:00
wltsmrz
6c7b2b17dc
Merge pull request #142 from ripple/unfunded-orders
...
Unfunded orders
2014-08-19 14:36:00 -07:00
wltsmrz
131de6661c
Update orderbook test
2014-08-19 14:28:26 -07:00
wltsmrz
d416f31801
Fix total account funds being emitted on offer_funds_changed rather than the amount set as taker_gets_funded
2014-08-19 14:28:11 -07:00
wltsmrz
8885a9e3e5
Merge pull request #141 from ripple/develop
...
Update unfunded order tracking
2014-08-18 18:16:53 -07:00
wltsmrz
27e100f4ee
Merge pull request #140 from ripple/unfunded-orders
...
Unfunded orders
2014-08-18 18:11:51 -07:00
wltsmrz
40dc49bd63
Check listeners length before removeAllListeners, fixing possible WebPack EventEmitter bug
2014-08-18 17:21:08 -07:00
wltsmrz
989509dc07
Revert unfunded offer filtering
2014-08-18 15:34:26 -07:00
wltsmrz
9c3f5fbcd2
Ignore offers with TakerGets of 0
2014-08-18 15:15:16 -07:00
wltsmrz
0917f66cb2
Update orderbook test
2014-08-18 12:37:32 -07:00
wltsmrz
66c56df7dc
Fix requestOffers not returning an EventEmitter
2014-08-18 12:22:41 -07:00
wltsmrz
b5fdfa2604
Merge pull request #139 from ripple/develop
...
Update unfunded order tracking
2014-08-18 11:40:32 -07:00
wltsmrz
a0d4a3c84d
Merge pull request #138 from ripple/unfunded-orders
...
Adjust taker_pays_funded
2014-08-18 11:20:13 -07:00
wltsmrz
d8374b2f49
Improve test coverage
2014-08-16 02:46:55 -07:00
wltsmrz
a2a2162f48
Change how TransferRate is requested
2014-08-16 02:46:32 -07:00
wltsmrz
d845d094db
Merge branch 'develop' into unfunded-orders
2014-08-16 02:45:35 -07:00
wltsmrz
81e805fcb9
Fix typo in invalid MemoData error
2014-08-15 20:18:47 -07:00
wltsmrz
81283eeb84
Adjust taker_pays_funded
2014-08-15 20:05:57 -07:00
wltsmrz
60069d0a28
Merge pull request #137 from shekenahglory/develop
...
[FIX] crypt: add entropy to random words request
2014-08-15 15:51:31 -07:00
Matthew Fettig
7c0561d17f
[FIX] crypt: add entropy to random words request
2014-08-15 14:52:11 -07:00
wltsmrz
45ac10b215
Merge pull request #136 from ripple/memos
...
Add Memo setter
2014-08-14 15:54:46 -07:00
wltsmrz
47f5943cf7
Reverse order of arguments in JSDoc
2014-08-14 13:30:00 -07:00
wltsmrz
73d30242c9
Add Memo setter
2014-08-14 13:26:52 -07:00
wltsmrz
5a4e33a02d
Merge pull request #130 from shekenahglory/develop
...
[FEATURE] blob: force send phone verification token via SMS
2014-08-14 12:04:32 -07:00
Matthew Fettig
edbbbec8f3
[FEATURE] blob: force send phone verification token via SMS
2014-08-13 17:13:54 -07:00
Geert Weening
f8811f27a0
[TASK] bump version to 0.8.0-beta
2014-08-14 00:06:11 +02:00
wltsmrz
ad6138a14e
Merge pull request #135 from ripple/develop
...
Prepare release 0.8.0
2014-08-13 14:51:59 -07:00
wltsmrz
e6fec67ce9
Merge pull request #134 from geertweening/develop
...
[TASK] add gulp task to bump version and set beta
2014-08-13 14:27:16 -07:00
Geert Weening
08a09fab9c
[TASK] throw a new Error
2014-08-13 23:22:49 +02:00
wltsmrz
1bf06bc656
Update HISTORY.md
2014-08-13 14:21:47 -07:00
Geert Weening
cf46808557
[TASK] add gulp task to bump version and set beta
2014-08-13 23:14:50 +02:00
wltsmrz
df5a8656f6
Add delay in server test
2014-08-13 13:54:30 -07:00
Geert Weening
b41f00515b
Merge pull request #133 from ripple/develop
...
Track unfunded orders in the orderbook
2014-08-13 21:50:27 +02:00
wltsmrz
2b22b49f83
Track unfunded orders in the orderbook. #132
2014-08-13 12:28:41 -07:00
wltsmrz
4c0eda95c6
Workaround arguments mutation #126
2014-08-13 12:16:27 -07:00
wltsmrz
92e4644d60
Merge pull request #128 from ripple/passive-hostid
...
Passively acquire hostid (actually pubkey_node) if present in response t...
2014-08-12 15:14:55 -07:00
wltsmrz
11b67b15e4
Merge pull request #131 from ripple/tefalready-multiserver
...
Catch all tefALREADY submissions
2014-08-12 15:13:23 -07:00
wltsmrz
565cd59f13
Catch all tefALREADY submissions
2014-08-12 12:29:33 -07:00
shekenahglory
f4643c7b52
Merge pull request #129 from ripple/tefalready-multiserver
...
Tefalready multiserver
2014-08-12 11:23:53 -07:00
wltsmrz
a292c2841c
Fix getServer returning undefined variable rather than null if no servers are specified
2014-08-12 11:13:21 -07:00
wltsmrz
edd57a89c1
Update server test
2014-08-11 19:36:55 -07:00
wltsmrz
0d3bc96672
Update lowest server score for comparison
2014-08-11 19:29:57 -07:00
wltsmrz
cc96d21da6
Passively acquire hostid (actually pubkey_node) if present in response to initial subscribe
2014-08-11 19:27:36 -07:00
wltsmrz
ed4e07907f
Wait for uniform tefALREADY response before emitting error - temporary solution
2014-08-11 19:25:53 -07:00
wltsmrz
da6e4be815
Merge pull request #125 from geertweening/develop
...
[TASK] add bower distribution support, Amount interest tests and travis config
2014-08-05 13:30:04 -07:00
Geert Weening
391cba18b6
[TASK] add travis webhook for gitter
2014-08-05 12:10:14 -07:00
Geert Weening
49f55cea48
[TASK] add gulp task to bump bower version
2014-08-01 12:56:46 -07:00
Geert Weening
fc361841b0
[TASK] add bower support
2014-07-31 17:29:38 -07:00
Geert Weening
5db493df1c
[TEST] add test cases for calculating interest
2014-07-31 17:28:53 -07:00
Geert Weening
ca317f01db
[TASK] bump version to 0.7.39
2014-07-28 20:50:00 -07:00
Geert Weening
2687830623
[DOC] update verison number
2014-07-28 20:49:57 -07:00
Geert Weening
4d9603ae7b
Merge branch 'release' into develop
2014-07-28 17:30:32 -07:00
Geert Weening
61087c9406
[TASK] bump version to 0.7.38
2014-07-28 17:08:46 -07:00
Geert Weening
4d6251be37
[DOC] update history
2014-07-28 17:08:45 -07:00
wltsmrz
18b817c284
Fix Grunt-related readme item
2014-07-28 17:08:45 -07:00
wltsmrz
61649b1428
Remove vestiges of Grunt
2014-07-28 17:08:45 -07:00
Nicholas Dudfield
c9f82be54c
Fix tiny regression
2014-07-28 17:08:45 -07:00
Matthew Fettig
416dc44d05
[CHORE] server: add logging when reconnect is triggered
2014-07-28 17:08:45 -07:00
Matthew Fettig
97712bfe96
[CHORE] move request/verifyToken to blob client
2014-07-28 17:08:45 -07:00
Matthew Fettig
f923a62f54
[FEATURE] vault client: get 2FA settings
2014-07-28 17:08:45 -07:00
Matthew Fettig
a41c5ddc62
[FEATURE] vault client: request and verify 2FA tokens
2014-07-28 17:08:45 -07:00
Matthew Fettig
564f248fe0
[FEATURE] vault client: function for 2FA settings
2014-07-28 17:08:45 -07:00
wltsmrz
e712034c0f
Always call Remote.disconnect callback
2014-07-28 17:08:45 -07:00
Matthew Fettig
ca88298b76
[FIX] server: fixed reconnect logic bugs
2014-07-28 17:08:45 -07:00
wltsmrz
5ac21f993e
Update hostid cache test
2014-07-28 17:08:45 -07:00
wltsmrz
5eb12c9d28
Use pubkey_node as server identifier
2014-07-28 17:08:45 -07:00
wltsmrz
e12bea4b27
Revert readyState check, skip test for now
2014-07-28 17:08:44 -07:00
wltsmrz
cad9521049
Add test for Request.addStream
2014-07-28 17:08:44 -07:00
wltsmrz
0847002c96
Complete Request.addStream
2014-07-28 17:08:44 -07:00
wltsmrz
c3783533e9
Add test for Server.connect with pre-existing connection
2014-07-28 17:08:44 -07:00
wltsmrz
85a7e935b2
Check readyState for closing prior WebSocket connections
2014-07-28 17:08:44 -07:00
wltsmrz
43658264a8
Possible fix for 'WebSocket is closed before the connection is established' error
2014-07-28 17:08:44 -07:00
wltsmrz
b00f5c5a1c
Refresh hostid
2014-07-28 17:08:44 -07:00
wltsmrz
7af758bf88
Further validate server in Remote.getServer
2014-07-28 17:08:44 -07:00
wltsmrz
c1a0be2402
Check servers length in Remote.getServer
2014-07-28 17:08:44 -07:00
wltsmrz
1d4bcd4e0f
Cleanup - deprecate pool & connection_offset
2014-07-28 17:08:44 -07:00
wltsmrz
4450ef822e
Cleanup
2014-07-28 17:08:44 -07:00
wltsmrz
ef74c7ca11
Clone options in Amount.ratio_human
2014-07-28 17:08:43 -07:00
wltsmrz
27eadc5587
Add addStream to request
2014-07-28 17:08:43 -07:00
wltsmrz
0b03de66e7
Add timestamp to log
2014-07-28 17:08:43 -07:00
Steven Zeiler
cfcea4affb
[DOC] Remove "deprecated" from non-deprecated options,
2014-07-28 17:08:43 -07:00
Matthew Fettig
4e13170123
[FEATURE] reconnect servers when browser comes online
2014-07-28 17:08:43 -07:00
Geert Weening
fe4cf94b62
[FIX] amount human parsing for hex with amount
...
There were cases where the currency and integer were incorrectly matched. By separating out the regex for hex formatted Amount makes it easier to deal with these cases and fixes the issue.
2014-07-28 17:08:43 -07:00
wltsmrz
f4233d7615
Add SetNoRipple TrustSet flag
2014-07-28 17:08:43 -07:00
wltsmrz
6e5bebfe81
Add freeze flags
2014-07-28 17:08:43 -07:00
wltsmrz
21b0e09837
Cache and log hostid
2014-07-28 17:08:43 -07:00
Matthew Fettig
7b243dff03
[FIX] vault client: fixed incorrect username normalization
2014-07-28 17:08:43 -07:00
Geert Weening
fbe67df069
[TEST] add test to verify HEX_ZERO is native currency
2014-07-28 17:08:43 -07:00
Geert Weening
ea82c8cce3
[FEATURE] use Currency object and hex format in orderbook
...
instead of checking the value of the currency string, create a Currency object and work with that
the json format going to rippled will contain the hex value of the currency
2014-07-28 17:08:42 -07:00
Geert Weening
e5322fb8e4
[TEST] modify order book test to support hex values
2014-07-28 17:08:42 -07:00
Geert Weening
c5e6c5819b
[TEST] add full_name null case test
2014-07-28 17:08:42 -07:00
Geert Weening
c3975dfc68
[FIX] value parsing for amount/currency order pairs
...
e.g. `100000 USD` and `USD 100000` should have the same result
2014-07-28 17:08:42 -07:00
Geert Weening
ddf7ca78ee
[FIX] force hex for orderbook requests
...
interest bearing currencies would be sent down malformed `XAU (0.5%pa)` when rippled would be expecting either hex or iso
2014-07-28 17:08:42 -07:00
Geert Weening
71d8b6c9bf
[FEATURE] Currency: add option force hex in json format
...
provide the `force_hex` flag in the options object in a `to_json` or `json_rewrite` call
2014-07-28 17:08:42 -07:00
Geert Weening
f11cd65494
[TEST] add test for demurred currency Amount parsing
2014-07-28 17:08:42 -07:00
Geert Weening
59f7d49b80
[TASK] add npm-debug to gitignore
2014-07-28 17:08:42 -07:00
wltsmrz
447ae3f38f
Fix Grunt-related readme item
2014-07-24 11:31:59 -07:00
wltsmrz
b2c4f935e7
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-07-24 11:28:57 -07:00
wltsmrz
5a85385db6
Remove vestiges of Grunt
2014-07-24 11:28:44 -07:00
wltsmrz
6dcd9e9014
Merge pull request #123 from shekenahglory/develop
...
[FEATURE] vault client: 2FA support
2014-07-23 16:36:11 -07:00
wltsmrz
eebfe02163
Merge pull request #124 from sublimator/fix-inconsequential
...
Fix tiny regression
2014-07-23 12:10:35 -07:00
Nicholas Dudfield
19294f5435
Fix tiny regression
2014-07-23 17:20:43 +07:00
Matthew Fettig
ef17cd86a8
[CHORE] server: add logging when reconnect is triggered
2014-07-22 10:46:17 -07:00
Matthew Fettig
ac62a336ea
Merge branch 'feature/2fa' into develop
2014-07-22 10:40:04 -07:00
Matthew Fettig
bdb7454737
[CHORE] move request/verifyToken to blob client
2014-07-22 10:38:57 -07:00
Matthew Fettig
4e9082f4d9
[FEATURE] vault client: get 2FA settings
2014-07-22 10:38:57 -07:00
Matthew Fettig
7daa4b4c3b
[FEATURE] vault client: request and verify 2FA tokens
2014-07-22 10:38:57 -07:00
Matthew Fettig
7be13bebfc
[FEATURE] vault client: function for 2FA settings
2014-07-22 10:38:57 -07:00
wltsmrz
aea75f2beb
Always call Remote.disconnect callback
2014-07-21 22:25:43 -07:00
Geert Weening
cb59f86d4c
Merge pull request #122 from shekenahglory/develop
...
[FIX] server: fixed reconnect logic bugs
2014-07-20 14:49:57 -07:00
Matthew Fettig
8f340c1cde
[FIX] server: fixed reconnect logic bugs
2014-07-19 22:23:36 -07:00
wltsmrz
76659b613b
Update hostid cache test
2014-07-18 17:47:15 -07:00
wltsmrz
79c5428da2
Use pubkey_node as server identifier
2014-07-18 17:45:09 -07:00
wltsmrz
ca2d137d52
Revert readyState check, skip test for now
2014-07-17 13:07:31 -07:00
wltsmrz
9789f76f64
Add test for Request.addStream
2014-07-16 19:18:10 -07:00
wltsmrz
df6eee1084
Complete Request.addStream
2014-07-16 19:18:01 -07:00
wltsmrz
09461fb3c8
Add test for Server.connect with pre-existing connection
2014-07-16 18:39:58 -07:00
wltsmrz
5607f2d379
Check readyState for closing prior WebSocket connections
2014-07-16 18:30:15 -07:00
wltsmrz
3b7f556887
Possible fix for 'WebSocket is closed before the connection is established' error
2014-07-16 18:00:15 -07:00
wltsmrz
e84633de13
Refresh hostid
2014-07-16 16:37:34 -07:00
wltsmrz
2b2267c46e
Further validate server in Remote.getServer
2014-07-16 00:52:11 -07:00
wltsmrz
37090716d3
Check servers length in Remote.getServer
2014-07-15 12:30:35 -07:00
wltsmrz
3535ce1b04
Cleanup - deprecate pool & connection_offset
2014-07-15 12:19:07 -07:00
wltsmrz
dda865b6f2
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-07-15 12:04:29 -07:00
wltsmrz
9115a7193d
Cleanup
2014-07-15 12:03:59 -07:00
wltsmrz
6d347bcec0
Merge pull request #118 from shekenahglory/develop
...
[FEATURE] reconnect servers when browser comes online
2014-07-15 12:01:35 -07:00
wltsmrz
b96d26acc2
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-07-15 00:40:27 -07:00
wltsmrz
5dbfe04a9a
Clone options in Amount.ratio_human
2014-07-15 00:38:58 -07:00
wltsmrz
7e11b4e03d
Add addStream to request
2014-07-15 00:37:45 -07:00
wltsmrz
e2eaf9718c
Add timestamp to log
2014-07-14 23:11:22 -07:00
wltsmrz
2576abe06e
Merge pull request #119 from stevenzeiler/undo-deprecated-docs
...
[DOC] Remove "deprecated" from non-deprecated options
2014-07-14 18:25:43 -07:00
Steven Zeiler
07a15d7b91
[DOC] Remove "deprecated" from non-deprecated options,
2014-07-14 18:23:32 -07:00
Matthew Fettig
c5fdb3e2f6
[FEATURE] reconnect servers when browser comes online
2014-07-13 20:11:00 -07:00
wltsmrz
0b068dab6a
Merge pull request #115 from geertweening/fix/amount_human_parsing
...
[FIX] amount human parsing for hex with amount
2014-07-09 12:06:17 -07:00
Geert Weening
b4497bcb08
[FIX] amount human parsing for hex with amount
...
There were cases where the currency and integer were incorrectly matched. By separating out the regex for hex formatted Amount makes it easier to deal with these cases and fixes the issue.
2014-07-09 11:59:37 -07:00
wltsmrz
3baea7752f
Add SetNoRipple TrustSet flag
2014-07-08 14:58:39 -07:00
wltsmrz
05cce3dbab
Add freeze flags
2014-07-08 13:36:16 -07:00
wltsmrz
d23dca2ef1
Cache and log hostid
2014-07-08 13:33:00 -07:00
Vahe Hovhannisyan
bcf93e230e
Merge pull request #114 from shekenahglory/develop
...
[FIX] vault client: fixed incorrect username normalization
2014-06-26 14:52:57 -07:00
Matthew Fettig
4bd39b9bb1
[FIX] vault client: fixed incorrect username normalization
2014-06-26 14:49:37 -07:00
wltsmrz
8797cdb27e
Merge pull request #113 from geertweening/fix/amount_currency_parsing
...
[FIX] value parsing for amount/currency order pairs
2014-06-26 13:43:59 -07:00
wltsmrz
ab259fa519
Merge pull request #111 from geertweening/feature/order_book_hex
...
[FEATURE] use hex format for currencies in orderbook
2014-06-26 13:43:05 -07:00
Geert Weening
585ca4160d
[FIX] value parsing for amount/currency order pairs
...
e.g. `100000 USD` and `USD 100000` should have the same result
2014-06-25 09:45:24 -07:00
Geert Weening
5fe1ebdd45
[TEST] add test to verify HEX_ZERO is native currency
2014-06-24 16:35:12 -07:00
Geert Weening
a0ba289848
[FEATURE] use Currency object and hex format in orderbook
...
instead of checking the value of the currency string, create a Currency object and work with that
the json format going to rippled will contain the hex value of the currency
2014-06-24 16:34:53 -07:00
Geert Weening
b6f0aa3914
[TEST] modify order book test to support hex values
2014-06-24 11:58:11 -07:00
Geert Weening
a47eef3283
[TEST] add full_name null case test
2014-06-24 11:55:33 -07:00
Geert Weening
e0bcf19340
[FIX] value parsing for amount/currency order pairs
...
e.g. `100000 USD` and `USD 100000` should have the same result
2014-06-24 10:48:12 -07:00
Geert Weening
fa9305626b
[FIX] force hex for orderbook requests
...
interest bearing currencies would be sent down malformed `XAU (0.5%pa)` when rippled would be expecting either hex or iso
2014-06-23 14:49:48 -07:00
Geert Weening
a573465e41
[FEATURE] Currency: add option force hex in json format
...
provide the `force_hex` flag in the options object in a `to_json` or `json_rewrite` call
2014-06-23 14:48:54 -07:00
Geert Weening
9527d6ed22
[TEST] add test for demurred currency Amount parsing
2014-06-23 14:04:52 -07:00
Geert Weening
3ef60e0391
[TASK] add npm-debug to gitignore
2014-06-23 14:04:52 -07:00
wltsmrz
6028115e52
Merge branch 'develop'
2014-06-23 13:46:58 -07:00
wltsmrz
fd0dc3b330
Merge pull request #108 from shekenahglory/develop
...
[FIX] vault client: rippleTxt test request diverted to offline mock
2014-06-23 13:45:41 -07:00
Matthew Fettig
3ebcadfad4
[FIX] vault client: rippleTxt test request diverted to offline mock
2014-06-23 13:44:16 -07:00
wltsmrz
301b34a923
Merge branch 'develop'
2014-06-23 13:24:22 -07:00
wltsmrz
f963d266a2
Merge pull request #107 from geertweening/update_history
...
[DOC] update changelog with currency changes
2014-06-23 13:23:04 -07:00
shekenahglory
309957a6cf
Update HISTORY.md
2014-06-23 13:16:19 -07:00
Geert Weening
47094f84d7
[DOC] update changelog with currency changes
2014-06-23 12:01:13 -07:00
wltsmrz
68c86bf672
Merge pull request #106 from shekenahglory/develop
...
[FIX] vault client: set SJCL test entropy random string to base64
2014-06-23 11:52:41 -07:00
Matthew Fettig
e6782f4563
[FIX] vault client: set SJCL test entropy random string to base64
2014-06-23 11:30:06 -07:00
wltsmrz
1b2b19381b
Merge pull request #103 from shekenahglory/develop
...
[FEATURE] vault client: updateProfile and deleteBlob
2014-06-23 11:09:30 -07:00
wltsmrz
d495f397b0
Bump version
2014-06-23 10:58:48 -07:00
wltsmrz
f1a58de348
Update HISTORY.md
2014-06-23 10:58:36 -07:00
wltsmrz
01c6417425
Merge branch 'develop'
2014-06-20 16:37:34 -07:00
Matthew Fettig
6ae186951b
[FEATURE] vault client: updateProfile and deleteBlob
2014-06-19 15:58:38 -07:00
wltsmrz
8d77ff9af7
Merge pull request #102 from shekenahglory/develop
...
Save encrypted blob decrypt key at login if missing
2014-06-18 21:35:16 -07:00
Matthew Fettig
eeb5e22e9a
[FIX] blob: catch missing encrypted blob decrypt key
2014-06-18 17:16:40 -07:00
Matthew Fettig
fc5284cc88
[CHORE] RippleTxt: add tests for new functions
2014-06-18 16:40:55 -07:00
Matthew Fettig
6a7eb132bd
[FEATURE] RippleTxt: parse ripple.txt for currencies
2014-06-18 16:28:18 -07:00
Matthew Fettig
f8519584d2
[CHORE] RippleTxt and AuthInfo changed from classes to objects
...
fix vault test entropy issue
refactor missing feilds on login
2014-06-18 12:36:33 -07:00
Matthew Fettig
58b307411e
[FIX] vault client: account registration using lowercase version of username
...
also added username validation with rules from ripple trade client
2014-06-17 14:12:11 -07:00
Matthew Fettig
c7dd3cc70e
[FIX] vault-test: increase entropy from randomBytes
...
When running vault-test.js alone, the entropy was insufficient
for the seed generator. Entropy must be added elsewhere when
the full test suite is run.
2014-06-17 13:29:27 -07:00
Matthew Fettig
dc62dbe022
[FEATURE] vault client: create encrypted blob decrypt key if missing
...
if the key is missing, upon login the key will be automatically
generated and saved to the blobvault.
2014-06-17 13:20:28 -07:00
Vahe Hovhannisyan
e50ddd6237
[FIX] Blobvault: Include domain on account creation call
...
Blobvault now requires a domain field to be passed on the account creation request.
2014-06-16 15:43:34 -07:00
wltsmrz
6a55dbc55e
Add build script
2014-06-16 13:02:52 -07:00
wltsmrz
4e7cf460ec
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-06-16 12:57:02 -07:00
wltsmrz
87dd8d535a
Remove dedupe plugin from minified webpack build
2014-06-16 12:56:28 -07:00
wltsmrz
ce6010ecd3
Merge pull request #101 from shekenahglory/develop
...
Offline vault client tests and improved coverage
2014-06-14 17:13:02 -07:00
Matthew Fettig
ac5f146187
[CHORE] change randomBytes to 256 for vault test
2014-06-14 09:13:14 -07:00
Matthew Fettig
14b2697a52
[CHORE] use strict equal on vault tests
2014-06-14 09:01:35 -07:00
Matthew Fettig
a4078e10e9
[CHORE] vault client test for blob creation
2014-06-13 14:54:41 -07:00
Matthew Fettig
06796aa7c0
Merge branch 'feature/nock' into develop
2014-06-13 14:36:42 -07:00
Matthew Fettig
62d4be0185
[CHORE] offline tests for vault client
2014-06-13 14:35:37 -07:00
Matthew Fettig
2e0536ea2d
bug fixes and documentation
2014-06-13 14:35:01 -07:00
Matthew Fettig
94c7408b5b
[FEATURE] offline vault client tests
2014-06-12 17:46:34 -07:00
wltsmrz
1186b4a314
Fix fractional transaction fee
2014-06-12 03:06:23 -07:00
wltsmrz
1cccf01bf2
Merge pull request #99 from sublimator/develop
...
Test we don't compute floating point median Fee
2014-06-12 02:58:40 -07:00
sublimator
8f7cda3c2c
testify
2014-06-12 16:22:19 +07:00
wltsmrz
c95ac13946
Merge pull request #98 from ripple/tests
...
Improve test coverage
2014-06-12 00:33:14 -07:00
wltsmrz
ee1ce36045
Use URL rather than hostname for setServer lookup
2014-06-12 00:29:23 -07:00
wltsmrz
a4f22d8b42
Improve transaction-test coverage
2014-06-12 00:20:56 -07:00
wltsmrz
2afce7cf54
Improve server-test coverage
2014-06-11 23:19:50 -07:00
wltsmrz
6150721951
Improve request-test coverage
2014-06-11 22:24:21 -07:00
wltsmrz
61b3ef0205
Merge pull request #96 from ripple/tests
...
Add server and transaction test
2014-06-11 21:44:28 -07:00
wltsmrz
06108ffee3
Fix server test
2014-06-11 21:40:41 -07:00
wltsmrz
726b309085
[THING] Add transaction test
2014-06-11 21:23:27 -07:00
wltsmrz
ff14b55ea5
Merge pull request #94 from shekenahglory/develop
...
Blob recover, change password, and refactoring
2014-06-11 16:32:25 -07:00
Matthew Fettig
bb82eb9219
[BUG] fix bug on update blob keys
2014-06-11 16:10:24 -07:00
Matthew Fettig
abc43f80e0
Merge vault client refactoring
2014-06-11 15:54:58 -07:00
Matthew Fettig
f6343dc1d1
[CHORE] refactor vault client functions
2014-06-11 15:51:59 -07:00
Matthew Fettig
182e1863f4
[FEATURE] recover blob and change password
2014-06-11 09:26:03 -07:00
Vahe Hovhannisyan
0a8d4ad587
Blobvault: Ripple name change.
2014-06-10 16:14:20 -07:00
wltsmrz
48e49ac42b
Fix server test
2014-06-10 15:15:56 -07:00
wltsmrz
1579d58edf
[THING] Add server test
2014-06-09 13:03:02 -07:00
wltsmrz
61cb21188d
Merge pull request #93 from geertweening/fix/amount_regex
...
[FIX] decimal precision amount parsing
2014-06-05 14:50:34 -07:00
Geert Weening
49d50c02d4
[FIX] decimal precision amount parsing
...
- add non-grouping operator to regex
- add tests to cover the problematic cases
2014-06-05 14:14:50 -07:00
wltsmrz
b7f7e6dc60
Merge pull request #92 from ripple/tests
...
Update tests
2014-06-04 18:10:13 -07:00
wltsmrz
e49bb4e527
Update tests
2014-06-04 18:04:57 -07:00
wltsmrz
44a9724b2a
Merge pull request #91 from shekenahglory/develop
...
Necessary updates for vault client integration in ripple trade
2014-06-04 17:41:29 -07:00
Matthew Fettig
7af4a376a2
[CHORE] lint cleanup
2014-06-04 15:14:05 -07:00
Matthew Fettig
77e69efe19
[FEATURE] blobvault: resend email verification
2014-06-04 15:09:22 -07:00
Matthew Fettig
da8061ed52
[FEATURE] expose AuthInfo and RippleTxt modules in ripple class
2014-06-04 15:08:08 -07:00
Matthew Fettig
90d65573b5
Merge remote-tracking branch 'upstream/develop' into develop
2014-06-04 11:51:52 -07:00
wltsmrz
838180a498
Merge pull request #89 from ripple/multi-server
...
Multi-server update
2014-06-04 11:47:02 -07:00
Matthew Fettig
5ebab2fe28
[CHORE] refactored identity functions necessary for ripple client integration
2014-06-04 10:45:05 -07:00
Matthew Fettig
0ff0004d42
Merge remote-tracking branch 'upstream/develop' into develop
2014-06-04 10:03:17 -07:00
wltsmrz
b931b92773
Merge pull request #90 from geertweening/feature/iso_code
...
[FEATURE] add getter for a Currency's iso_code
2014-06-03 16:50:12 -07:00
wltsmrz
ad08e20085
Cleanup
2014-06-03 16:44:36 -07:00
wltsmrz
c1c18c465d
Use median rather than average transaction fee
2014-06-03 16:36:18 -07:00
Geert Weening
a71fc07ba5
[FEATURE] add getter for a Currency's iso_code
2014-06-03 15:18:45 -07:00
Matthew Fettig
89c4839fa5
[DEBUG] multiple bug fixes with blob creation
2014-06-03 14:06:15 -07:00
wltsmrz
41ee43740e
Merge pull request #88 from justmoon/feature/generate_ledger_entry_indexes
...
Generate ledger entry indexes
2014-06-03 13:41:08 -07:00
wltsmrz
179c215b15
Uncomment reconnect logic
2014-06-03 13:36:06 -07:00
Stefan Thomas
9100e8ecc0
[FEATURE] Add ability to calculate ledger entry keys.
2014-06-04 00:12:10 +04:00
Stefan Thomas
fb213e5818
[CHORE] Move HTTP request signing functionality into its own class.
2014-06-04 00:12:06 +04:00
Matthew Fettig
ac12e3fb5c
Merge remote-tracking branch 'upstream/develop' into develop
2014-06-03 13:03:20 -07:00
wltsmrz
caa78b11dd
Merge pull request #87 from geertweening/feature/numeric_currency_code
...
[FEATURE] support numeric currency codes
2014-06-03 12:21:24 -07:00
Geert Weening
61586a4185
[FEATURE] support numeric currency codes
...
ISO 4217 states support for both alphabetic and numeric codes. rippled adheres to the ISO 4217 as stated in the Currency_Format on the wiki (https://ripple.com/wiki/Currency_Format ) and there are trustlines out there with numeric currency codes.
The three-digit numeric code is useful when currency codes need to be understood in countries that do not use Latin scripts and for computerised systems. Where possible the 3 digit numeric code is the same as the numeric country code.
2014-06-02 17:14:22 -07:00
wltsmrz
a7df5248c9
Broadcast transaction submission requests, use average server fee
2014-06-02 17:11:46 -07:00
wltsmrz
cf53ec9da8
Merge pull request #83 from geertweening/feature-demurrage
...
Interest bearing currency parsing support
2014-06-02 12:52:15 -07:00
Matthew Fettig
46e966fb7f
Merge remote-tracking branch 'upstream/develop' into develop
2014-06-02 09:17:14 -07:00
Matthew Fettig
01e38ed4ca
[BUG] merge IE11 signature fix
2014-06-02 09:16:48 -07:00
wltsmrz
01459061ee
Merge pull request #86 from shekenahglory/develop
...
Identity functions for blob vault storage
2014-05-30 15:55:42 -07:00
Geert Weening
3ef105e077
[FEATURE] support full_name in to_human() and to_json()
2014-05-30 15:10:07 -07:00
Geert Weening
decebe3d2e
[FEATURE] allow numbers, hyphens and spaces in full currency
2014-05-30 15:10:07 -07:00
Geert Weening
2a832777a7
[TEST] add more from_number tests
2014-05-30 15:10:07 -07:00
Geert Weening
6a718c4384
[FIX] parse_number correctly setting _is_negative
2014-05-30 15:10:07 -07:00
Geert Weening
a1face76b7
[FIX] parse_number should create a non-native currency
...
"1" just means "some issuer, don't care which"
2014-05-30 15:10:07 -07:00
Geert Weening
8104f71162
[FIX] Currency by number default type
...
should be a non-interest bearing currency
2014-05-30 15:10:07 -07:00
Geert Weening
1ce2a517aa
[TEST] update amount test for interest bearing currencies
2014-05-30 15:10:07 -07:00
Geert Weening
53c7836a7a
[TEST] test human readable Currency parsing
2014-05-30 15:10:07 -07:00
Geert Weening
160b6e8a51
[FEATURE] human readable demurrage support
...
- human readable string to Currency
- Currency to human readable string
2014-05-30 15:10:07 -07:00
Geert Weening
b1f6284813
[CHORE] add IEEE-754 Double Precision float support
...
for an 8 byte representation of floats
2014-05-30 15:10:07 -07:00
Matthew Fettig
d104ebb6f5
[BUG] fix bug with nationalID types
2014-05-30 14:47:57 -07:00
Matthew Fettig
017713c435
[CHORE] merge upstream changes
2014-05-30 14:35:01 -07:00
wltsmrz
644ca2b472
Fix authinfo test
2014-05-30 13:45:14 -07:00
wltsmrz
453ff91065
Comma should be semicolon, woopsy
2014-05-30 13:30:48 -07:00
Matthew Fettig
8b79ec0e5a
[DOCS] added Vault Client Documentation
2014-05-30 13:01:22 -07:00
Matthew Fettig
95b7858c8f
[CHORE] require specific entity types
2014-05-30 13:00:41 -07:00
Matthew Fettig
5ef7e5462e
Merge branch 'feature/best-practices' into develop
2014-05-30 11:54:41 -07:00
Matthew Fettig
54a2655bc2
[CHORE] gulp lint cleanup
2014-05-30 11:53:05 -07:00
Matthew Fettig
785a066ebb
[CHORE] Crypt exported by name
2014-05-30 11:10:25 -07:00
Matthew Fettig
fa60b182a3
[CHORE] RippleTxt and AuthInfo exported by name
2014-05-30 10:57:00 -07:00
Matthew Fettig
dbc965de3c
[CHORE] VaultClient exported by name
2014-05-30 10:52:57 -07:00
Matthew Fettig
77814b791d
Merge branch 'feature/identity' into develop
2014-05-30 10:46:19 -07:00
Matthew Fettig
ddf12d43c3
[CHORE] BlobClient exported by name
2014-05-30 10:39:41 -07:00
Matthew Fettig
f5b59b4268
[FEATURE] tests for identity functions
2014-05-30 10:13:33 -07:00
Matthew Fettig
58e14f3bb3
[CHORE] limit identity to defined fields
2014-05-30 10:03:49 -07:00
wltsmrz
1c02166662
Fix server url formatting
2014-05-30 00:50:06 -07:00
Matthew Fettig
0e5c29269f
[FEATURE] identity unset, getAll, getFullAddress
2014-05-29 17:52:27 -07:00
wltsmrz
9a349a3d55
Begin work on offline vault client tests
2014-05-29 14:33:53 -07:00
Matthew Fettig
d5e01adbf9
[FEATURE] identity get and set
2014-05-29 13:57:58 -07:00
wltsmrz
61bc01ae12
Cleanup
2014-05-29 06:46:54 -07:00
wltsmrz
c3568de8b3
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-05-28 18:23:11 -07:00
wltsmrz
eca5ac7611
Cleanup
2014-05-28 18:22:54 -07:00
wltsmrz
a8e0cb2e0b
Merge pull request #82 from emoitzi/develop
...
[FIX] remote.getPendingTransactions sets _clientID now correctly
2014-05-28 12:38:31 -07:00
Matthew Fettig
799bb5faeb
[CHORE] stubbed functions
2014-05-28 10:13:37 -07:00
Ewald Moitzi
0b5c0722e0
removed .only from remote testcase for pending transactions
2014-05-27 12:43:56 +02:00
Ewald Moitzi
3964e4522e
[FIX] remote.getPendingTransactions sets _clientID now correctly
...
- added testcase for it
2014-05-27 12:27:28 +02:00
wltsmrz
bdb299e085
Merge branch 'multi-server' into develop
2014-05-23 12:27:09 -07:00
wltsmrz
349ca81cc9
Merge pull request #80 from geertweening/amount-regex
...
Amount regex
2014-05-21 10:57:46 -07:00
Geert Weening
77a323aaae
[CHJORE] gitignore intellij files
2014-05-21 09:40:50 -07:00
Geert Weening
8be08b5e73
[DOC] regex breakdown for human parseble amount
2014-05-21 09:40:40 -07:00
Geert Weening
b53b05496d
[CHORE] remove non-capturing group (?:)
...
it doesn't affect the matching, seems superfluous
2014-05-21 09:39:40 -07:00
wltsmrz
bd2dba7f15
Merge pull request #79 from shekenahglory/develop
...
Ripple Vault Client Integration
2014-05-21 00:43:45 -07:00
Matthew Fettig
81e0e2672d
[CHORE] new example data
2014-05-20 16:47:15 -07:00
Matthew Fettig
bd65c6e6d0
Merge branch 'feature/vault-client' into develop
2014-05-20 15:57:21 -07:00
Matthew Fettig
396d7b07d8
[DOC] blob comments
2014-05-20 15:56:07 -07:00
Matthew Fettig
55184162d1
[DOC] crypt comments
2014-05-20 15:40:27 -07:00
Matthew Fettig
beffd0864a
[FEATURE] register blob
2014-05-20 15:10:16 -07:00
Matthew Fettig
5ba7c31e4c
[DOC] vault client comments
2014-05-20 13:40:05 -07:00
Matthew Fettig
b26129db72
[FEATURE] vault, blob, and crypt module
2014-05-20 13:01:51 -07:00
Matthew Fettig
1693a57845
[CHORE] update comments
2014-05-19 16:50:02 -07:00
Matthew Fettig
7ea1ba168d
[FEATURE] authinfo module
2014-05-19 16:38:51 -07:00
Matthew Fettig
7fe530e82c
[FEATURE] ripple.txt client
2014-05-19 16:00:53 -07:00
Matthew Fettig
7e4ae26b8f
[CHORE] include superagent, vault-test
2014-05-19 15:25:53 -07:00
wltsmrz
963e1d58cb
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-05-19 12:08:08 -07:00
wltsmrz
cc6f683590
Fix merge conflicts
2014-05-19 12:07:24 -07:00
Nicholas Dudfield
da3af124ba
Update SerializedObject.from_json tests
2014-05-19 15:04:24 +07:00
wltsmrz
b342cf1edf
Rank servers in real-time (first pass), add JSDOc to Remote, cleanup
2014-05-18 08:39:47 -07:00
Nicholas Dudfield
a1989b3931
Tweak to parse_options
2014-05-18 17:37:54 +07:00
Nicholas Dudfield
80bdce970a
Add binary <--> json encoding integration tests
...
* Add full json ledger dumps of ledgers 38129 and 40000 to test/fixtures
* Use `Ledger` to calculate account and transaction hashes and verify
against dumps
2014-05-18 17:33:47 +07:00
wltsmrz
7cf80a468d
Merge pull request #77 from justmoon/feature/coveralls
...
Switch to Istanbul for code coverage
2014-05-17 06:13:48 -07:00
Stefan Thomas
bee632e1e2
Re-enable Travis email notifications.
2014-05-17 10:00:01 +02:00
Stefan Thomas
7901e12b0a
Switch to Istanbul for code coverage. Add coverage to CI via coveralls.
2014-05-17 09:59:20 +02:00
wltsmrz
8979a3cf02
Merge branch account-ids
2014-05-15 07:25:16 -07:00
wltsmrz
9025119f8d
Typo, check that request callback is only called once
2014-05-15 07:00:04 -07:00
wltsmrz
fdaa63c132
Use mocha specification reporter
2014-05-15 03:02:39 -07:00
wltsmrz
9e825e927c
Use Gulp build system
2014-05-15 02:59:06 -07:00
wltsmrz
4929d63073
Remove sinon require
2014-05-15 02:56:07 -07:00
wltsmrz
5b0dd33fa8
Lint
2014-05-15 00:58:09 -07:00
wltsmrz
5203a1e868
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-05-14 01:29:38 -07:00
Stefan Thomas
27645c234a
[CHORE] Currency: JavaScript has Math.exp for e^x, so we should use it.
2014-05-11 01:54:15 -07:00
Nicholas Dudfield
5280d994a2
Fix *U*Int64 parsing, add hardcore mode to ledger verifier.
2014-05-06 14:54:22 +07:00
Nicholas Dudfield
12f43a5334
Remove all traces of (now) unused tag_segment
2014-05-06 14:16:53 +07:00
Nicholas Dudfield
4f0399180c
Reinstate disabled test (Thanks to encoded reminder)
2014-05-06 13:56:20 +07:00
Nicholas Dudfield
ea11d34254
Less slicing and dicing of tag_segment/indexes
2014-05-06 13:47:37 +07:00
Nicholas Dudfield
a222f2be98
Updates to allow verify_ledger_json.js to calculate account_state hash
2014-05-06 13:34:01 +07:00
wltsmrz
a48a25e236
Optional account_tx binary parsing
2014-05-05 15:05:02 -07:00
Stefan Thomas
e4f9be5af8
Merge branch 'develop'
2014-05-02 14:10:09 -07:00
Stefan Thomas
473d8a8d8c
[CHORE] Bump version to 0.7.36
2014-05-02 14:06:53 -07:00
Stefan Thomas
41ea820ae0
[FEATURE] Transaction: Allow canonical signing to be disabled via config.
2014-05-02 14:06:53 -07:00
wltsmrz
0558ad689a
Async transaction sign
2014-05-02 12:45:26 -07:00
wltsmrz
3199aa438a
Allow remote signing - broken options
2014-05-02 12:41:52 -07:00
Stefan Thomas
c3f630c27f
Merge pull request #72 from emschwartz/message-signing
...
[FEATURE] New Message class for sigs on arbitrary data
2014-05-02 10:59:25 -07:00
Evan Schwartz
cf3a21a712
[CHORE] Merged PubKeyValidator into Account class
2014-05-01 20:28:55 -07:00
Evan Schwartz
d8504a3001
[CHORE] Changed variable name to make Stefan happier
2014-05-01 19:37:59 -07:00
Evan Schwartz
a2b07d5edd
[FIX] Handling public key validation for unfunded accounts
2014-05-01 17:22:20 -07:00
Evan Schwartz
13a6a2c335
[CHORE] Added pre-built sjcl with additional functions included
2014-05-01 16:29:23 -07:00
Evan Schwartz
e19be192bd
[FIX] Point coordinates should be converted to psuedo mersenne primes
2014-05-01 13:14:55 -07:00
Evan Schwartz
c32216c9e5
[CHORE] Added account param to signing functions
2014-05-01 12:08:14 -07:00
Evan Schwartz
904082a86c
[FEATURE] New Message class for sigs on arbitrary data
...
This includes supporting files that can sign arbitrary data
with a signature that enables public key recovery. It also
includes the PublicKeyValidator class that can verify whether
a given public key is active for an account by looking in its
AccountRoot.
2014-04-30 18:41:18 -07:00
Evan Schwartz
f56a20d697
[FIX] Replaced Account.is_valid() with Account.isValid()
2014-04-30 18:41:18 -07:00
Evan Schwartz
8275e036c9
[CHORE] Modified functions not to overwrite entire prototype
2014-04-30 18:38:36 -07:00
wltsmrz
903e480130
Fix for missing transaction.remote
2014-04-25 01:38:01 -07:00
wltsmrz
30fd0e7bff
Finalize before setting final transaction state
2014-04-25 00:08:26 -07:00
Stefan Thomas
fbdef6eea0
[BUG] UInt#parse_number should support zero. Add tests.
2014-04-24 09:01:18 -07:00
wltsmrz
5a04ce9629
Use binary sequence increment
2014-04-23 14:42:29 -07:00
wltsmrz
693e2aaae7
Decrement transaction sequence if transaction.complete fails
2014-04-23 14:39:30 -07:00
wltsmrz
43deeaf5fb
Remove logging
2014-04-23 14:20:41 -07:00
wltsmrz
cbba7727f2
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-04-23 14:19:19 -07:00
wltsmrz
52e1665e72
Fixes for per-transaction defined secret and offline errors
2014-04-23 14:19:02 -07:00
sublimator
66ea770287
Fix README
...
1000th
2014-04-23 18:23:25 +07:00
wltsmrz
18efa5d742
Emit an error on invalid secret, cleanup
2014-04-23 03:56:36 -07:00
wltsmrz
802212bbdc
Merge pull request #71 from emschwartz/develop
...
[FEATURE] Added setRegularKey transaction and more accountSet flags
2014-04-22 19:06:42 -07:00
Evan Schwartz
7f59fb917c
[FEATURE] Added setRegularKey transaction and more accountSet flags
2014-04-22 14:57:13 -07:00
wltsmrz
6ebaec31a5
Merge pull request #67 from lid/patch-1
...
Update options list and function names
2014-04-18 23:11:50 -07:00
wltsmrz
14f409ff56
Properly convert JS time to Ripple time in OfferCreate transactions
2014-04-18 23:08:19 -07:00
wltsmrz
8ffd0b13a3
Cleanup
2014-04-17 15:19:08 -07:00
wltsmrz
969873441e
Recognize account option as equivalent to source in transaction construction
2014-04-15 12:47:21 -07:00
wltsmrz
282ac6d8ab
Fix transaction constructor
2014-04-15 12:38:57 -07:00
wltsmrz
1e3c96b14f
Fix transaction finalize
2014-04-15 12:27:33 -07:00
wltsmrz
b14fab8aa7
Check remote exists in transaction.complete
2014-04-10 23:29:16 -07:00
Stefan Thomas
be33b1be60
[BUG] Don't set canonical flag when remote signing.
2014-04-10 08:16:03 -07:00
wltsmrz
06288e798e
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-03-25 17:23:31 -07:00
wltsmrz
0de7d84862
Use LRU cache API to prevent multiple transaction events for the same transaction
2014-03-25 17:23:28 -07:00
Stefan Thomas
58afce517a
[DOCS] Add npm badge to README.
2014-03-24 04:47:37 +01:00
lid
250e987fd9
Update options list and function names
...
Functions changed from snake_case to lowerCamelCase
2014-03-23 20:44:31 -04:00
Stefan Thomas
87ba2abc9a
[BUG] Undo previous commit making append_byte_array too loose.
...
This commit introduces an alternative way of setting the canonical signature
flag, without compromising the strictness of append_byte_array input
sanitizing.
2014-03-22 03:18:11 -07:00
Stefan Thomas
716fd0b938
[CHORE] Improved Amount#parse_quality w/ demurrage support, drops->XRP, etc.
...
Amount#parse_quality is made currency-aware. This allows it to adjust for XRP as
the base currency, as well as for interest-bearing or demurring base currencies.
2014-03-22 02:38:03 -07:00
Stefan Thomas
893fc4c168
[CHORE] Add Amount#invert mathematical utility function.
2014-03-22 00:47:41 -07:00
Stefan Thomas
6f5cf8506f
[CHORE] Better variable names in Amount#parse_quality.
2014-03-21 23:56:13 -07:00
Stefan Thomas
c808cb0a1c
[CHORE] Add ability to apply demurrage at the time of product/ratio calculation.
2014-03-21 18:43:22 -07:00
Stefan Thomas
5f677a86a7
[CHORE] Update SJCL.
2014-03-20 17:38:46 -07:00
Stefan Thomas
11540f8cd9
[CHORE] Allow integer strings for server "port" setting.
2014-03-20 17:38:46 -07:00
Stefan Thomas
9d6ccdcab1
[CHORE] Enable signature canonicalization.
2014-03-20 17:38:46 -07:00
wltsmrz
2267e599c0
Update HISTORY
2014-03-18 17:13:47 -07:00
wltsmrz
687bcc8539
Add HISTORY.md
2014-03-18 16:35:01 -07:00
wltsmrz
e64dba839c
Bump version
2014-03-18 16:07:45 -07:00
wltsmrz
a651b6154d
Properly choose ledger identifier in requestTransactionEntry
2014-03-18 12:00:54 -07:00
wltsmrz
4b5e75a8ad
Add initial submit index and last ledger sequence to transaction summary
2014-03-18 11:26:00 -07:00
wltsmrz
bdd24bada9
Use binary account_tx on remote reconnect
2014-03-17 13:33:06 -07:00
wltsmrz
6e4a9179c1
Generate transaction hash in account_tx automatic binary handling
2014-03-17 13:21:54 -07:00
wltsmrz
b0c38ff566
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-03-15 22:02:42 -07:00
wltsmrz
e97a3966c1
Automatically parse binary account_tx response
2014-03-15 22:02:31 -07:00
Nicholas Dudfield
d0aa86bf97
Updated bundled sjcl.js to include typo fix from 007c2e7e5c
2014-03-15 14:45:23 +07:00
wltsmrz
b17eb8ed0d
Check missing secret first in tx.complete
2014-03-13 11:34:07 -07:00
wltsmrz
7dcfa0a232
Set tx.finalized before changing state to validated/failed
2014-03-13 11:32:20 -07:00
wltsmrz
05c466bebe
Add switch break
2014-03-11 16:36:53 -07:00
wltsmrz
0f7c80d76a
Resubmit transactions failed with telINSUF_FEE_P
2014-03-11 16:35:48 -07:00
wltsmrz
99599ba673
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-03-10 16:29:08 -07:00
wltsmrz
85f75b4543
Emit tejSecretUnknown if secret is missing during signing, enhancements for ripple-rest
2014-03-10 16:28:41 -07:00
Stefan Thomas
37a22186ca
Add memo field binary types.
2014-03-10 03:37:13 -07:00
sublimator
007c2e7e5c
Fix typo
2014-03-08 23:37:25 +07:00
wltsmrz
a7581b1ec8
Whitelist build/sjcl
2014-03-07 14:52:25 -08:00
wltsmrz
06c662cc14
Add build/sjcl, remove grunt postinstall step
2014-03-07 14:45:38 -08:00
wltsmrz
7feafaa320
Add build, test, Gruntfile, Makefile to npm files
2014-03-07 13:53:12 -08:00
wltsmrz
1c06baf5db
Add grunt postinstall script
2014-03-07 13:31:44 -08: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
e595291c95
Merge pull request #62 from sublimator/develop
...
Set VER_ACCOUNT_ID on address returned by KeyPair.get_address
2014-03-03 12:09:10 -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
a46bff3c5e
Bump version
2014-02-20 15:49:13 -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
e2f59ce975
Bump ripple-lib version
2014-02-19 14:41:28 -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
sublimator
5c8550b364
Update serializedtypes-test.js
2014-02-15 09:31:59 +07: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
430dfef23d
Bump ripple-lib version
2014-01-28 16:32:14 -08: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
0d4357232c
Fix grunt watch. Enable caching, only compile debug version.
2014-01-25 11:25:21 -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
86c35d7d9c
Add a new simple test for XRP IOUs in PathSet.
2014-01-24 05:25:30 -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
sublimator
4e67167394
Fix usage in decode_binary.js
2014-01-22 12:49:36 +07:00
wltsmrz
292b6825fc
Merge pull request #48 from miracle2k/signing_hash
...
Fix signingHash calls; make rsign output pre-sign hash.
2014-01-21 16:54:06 -08:00
wltsmrz
aed87f7437
Merge pull request #47 from miracle2k/decode_script
...
Add utility script to decode binary blobs.
2014-01-21 16:53:58 -08:00
Michael Elsdörfer
c95d976e84
Fix signingHash calls; make rsign output pre-sign hash.
2014-01-19 16:04:38 +01:00
Michael Elsdörfer
7bbab0759a
Add utility script to decode binary blobs.
2014-01-19 16:01:14 +01:00
sublimator
2396a53b03
Make order book subscription work
2014-01-19 15:58:23 +07:00
wltsmrz
43ee82af57
Remove extraneous timing
2014-01-13 15:42:55 -08:00
wltsmrz
3308e0ea92
Fix merge conflict
2014-01-13 15:41:20 -08:00
wltsmrz
61a6db1641
Cleanup transactionqueue
2014-01-13 15:38:40 -08:00
wltsmrz
43eb4c3bfe
Prevent duplicate 'transaction' events from Remote
2014-01-13 11:59:27 -08:00
wltsmrz
8538b3ccf2
Merge pull request #43 from sublimator/develop
...
Disable RTS for local signing
2014-01-13 11:27:27 -08:00
Nicholas Dudfield
f9bb7094e9
Disable transaction resubmission when remote signing. Throw error when attempt to build_path when using local_signing
2014-01-09 13:48:03 +07:00
wltsmrz
54b7099d01
Fix orderbook subscribe
2014-01-08 15:47:33 -08:00
wltsmrz
4ce04a5c90
requestTransactionEntry arguments
2014-01-08 15:13:31 -08:00
wltsmrz
19e29722dc
Fix orderbook unsubscribe
2014-01-08 15:13:18 -08:00
wltsmrz
99351aa2dc
Add Transaction.transactionManager getter for convenience
2014-01-07 10:28:55 -08:00
wltsmrz
ef6aca8d12
Don't store complete transactions in TransactionManager sequence cache
2014-01-07 10:18:33 -08:00
wltsmrz
b44f22c87f
Emit 'signed' event when transaction is resigned
2014-01-07 10:17:58 -08:00
wltsmrz
ca653c42f1
Update license
2014-01-07 03:14:07 -08:00
wltsmrz
5544752dcd
Update license
2014-01-07 03:12:06 -08:00
wltsmrz
4082bd2a0a
Fix ledger index argument to transactionEntry, add flexibility to remote.transaction
2014-01-07 01:34:04 -08:00
wltsmrz
626164a8ab
Fix requestTransactionEntry arguments, add flexibility to remote.transaction
2014-01-07 01:23:54 -08:00
wltsmrz
848c203b81
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-01-06 09:42:57 -08:00
wltsmrz
9f92a8dcce
Typo. Fixes #39
2014-01-06 09:40:52 -08:00
Stefan Thomas
c8bb6e2a6a
Fix last commit.
2014-01-05 14:41:11 -08:00
Stefan Thomas
f135021c52
Fix endless loop when creating an Account object for a non-existent account.
2014-01-05 14:09:20 -08:00
wltsmrz
f7dc3b9fa1
Merge pull request #38 from sublimator/develop
...
Add `SerializedObject.check_no_missing_fields`, fixing regression in checking for `binformat.REQUIRED` fields
2014-01-04 21:22:38 -08:00
Nicholas Dudfield
967317f37e
Add SerializedObject.check_no_missing_fields
2014-01-05 11:36:35 +07:00
wltsmrz
b5d29533ee
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2014-01-03 20:13:35 -08:00
wltsmrz
a5c1dd1089
Use server.computeFee
2014-01-03 20:13:04 -08:00
wltsmrz
fd614ce0df
Separate Server fee calculation, select fee-optimal servers while submitting a transaction
2014-01-03 20:08:24 -08:00
Stefan Thomas
eaf01312e4
More general secret auto-fill and ability to override with Transaction#secret.
2014-01-02 18:52:57 -08:00
wltsmrz
5c3f3ff0f1
server_status rippled event doesn't exist
2013-12-31 14:36:15 -08:00
wltsmrz
4a2515a6b2
Update license
2013-12-31 14:36:04 -08:00
wltsmrz
c3a8d37e1c
Refactor
2013-12-31 12:31:02 -08:00
wltsmrz
66af0a0b8e
Object logging
2013-12-31 11:31:34 -08:00
wltsmrz
1a093c165e
Cleanup
2013-12-30 17:48:33 -08:00
wltsmrz
7182c85f11
API convert additional classes
2013-12-30 15:26:06 -08:00
wltsmrz
eed4a932bd
Update bin/validate_address
2013-12-30 15:17:52 -08:00
wltsmrz
b5f4fdf918
Remove validate_account (it exists as bin/validate_address.js)
2013-12-30 15:14:53 -08:00
wltsmrz
ce9e2c9539
Allow accounts_proposed stream, check transaction.validated before finalizing transactions
2013-12-30 15:12:15 -08:00
wltsmrz
1cf0fbbde4
Add accounts_proposed setters, default rtAccounts to accounts_proposed
2013-12-30 15:11:12 -08:00
wltsmrz
10d5725919
Fix merge conflicts
2013-12-30 13:28:15 -08:00
wltsmrz
e9ec3ec3ef
Merge pull request #36 from sublimator/develop
...
Fix bug in (redundant) check for transaction result immediately before resubmission
2013-12-28 22:07:54 -08:00
Nicholas Dudfield
95c7acb210
Fix bug in (redundant) check for transaction result immediately before resubmission
2013-12-29 11:55:54 +07:00
Stefan Thomas
65b035267c
Remove comment that doesn't make sense in the new context.
2013-12-27 16:55:02 -08:00
Vahe Hovhannisyan
f10bc6718c
Account.prototype.line: add a check.
2013-12-27 14:31:49 -08:00
Vahe Hovhannisyan
5229a3d507
Add Account.prototype.line. Retrieve this account's single trust line.
2013-12-27 11:57:29 -08:00
wltsmrz
e7b6050b82
Add bin/validate_address
2013-12-24 17:19:25 -08:00
Stefan Thomas
38a6e8b009
Fixing OrderBook#_subscribe (WIP).
2013-12-24 14:57:39 -08:00
Stefan Thomas
96b46d2394
Added Request#addBook.
2013-12-24 14:57:06 -08:00
wltsmrz
d401a70a2a
Logging objects in browser
2013-12-24 13:20:12 -08:00
wltsmrz
9ad5337e7b
Cleanup
2013-12-24 13:19:58 -08:00
wltsmrz
03c7b6b2aa
Validate ledgerClosed messages and reject past ledgers
2013-12-23 18:06:36 -08:00
wltsmrz
94e5c3ddf1
Use constant Ripple-time offset
2013-12-23 14:08:52 -08:00
wltsmrz
caac293be5
Server logging
2013-12-23 11:53:52 -08:00
wltsmrz
faae634853
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-12-23 11:49:30 -08:00
wltsmrz
627acdbfde
Update in-browser logging to accommodate n-args
2013-12-23 11:48:39 -08:00
Stefan Thomas
a7532b5f55
Disable ripple-lib in Safari iOS < 5 and Safari Mac < 6.
...
Actively disabling support for these browsers allows us to catch and report the
problem rather than trying to connect and failing for unknown reasons.
2013-12-23 10:35:28 -08:00
Stefan Thomas
9596787cad
Throw specific exception when there is no websocket support detected.
2013-12-23 10:31:50 -08:00
wltsmrz
6cdeacdb90
Remote: Only log set_state when the state will actually change. Only set state online when connection_count === 1
2013-12-19 17:46:57 -08:00
wltsmrz
1b6945f74d
Prevent NoOp transaction recycling
2013-12-19 17:45:20 -08:00
wltsmrz
675a599876
Log server URL for enhanced debugging
2013-12-17 13:22:49 -08:00
wltsmrz
94c57bc0d8
Cleanup
2013-12-17 12:56:53 -08:00
wltsmrz
667919cea1
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-12-17 12:36:05 -08:00
wltsmrz
9870761e32
Pass arbitrary number of arguments to utils.logObject
2013-12-17 12:34:41 -08:00
wltsmrz
8ef6fdea14
Merge pull request #35 from sublimator/develop
...
Keep track of all transactionIDs for a given Transaction that go on the network
2013-12-17 12:26:38 -08:00
wltsmrz
5c911367b7
Merge pull request #34 from chgwei/develop
...
Improvement `remote.request_book_offers` parameters passing
2013-12-16 20:20:44 -08:00
Nicholas Dudfield
e34cf6ebcf
Remove unused methods from TransactionQueue
2013-12-15 10:09:54 +07:00
Nicholas Dudfield
620a33b7bd
Keep track of all transactionIDs for a given Transaction that go on the network
2013-12-15 10:01:29 +07:00
Cheng wei
e65bec78a1
Improvement remote.request_book_offers parameters passing
...
As the example in doc reference:
var request = remote.request_book_offers({
gets: {
'currency':'XRP'
},
pays: {
'currency':'USD',
'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B'
}
});
It will raise `TypeError: Cannot read property 'currency' of
undefined`. Fixed issue with parsing parameters
2013-12-12 02:30:24 +08:00
Stefan Thomas
d33c8e46af
Finalized transactions should seize all activity.
2013-12-09 18:55:53 -08:00
Stefan Thomas
472a5091ae
Add grunt build step to npm test. Should fix Travis.
2013-12-09 18:44:40 -08:00
Vahe Hovhannisyan
ff5e9fcaa9
Transaction: semicolon, comma fixes.
2013-12-09 12:36:14 -08:00
wltsmrz
4a027bdcdf
Add remote.disconnect callback
2013-12-05 17:10:04 -08:00
wltsmrz
dbdfc262b6
Only one 'submitted' event will be emitted per transaction submission request
2013-12-05 17:04:10 -08:00
wltsmrz
dc2b69d2c2
Remove a single space
2013-12-03 12:01:01 -08:00
wltsmrz
9a78d36b72
Add grunt build documentation. Fixes #31
2013-12-03 11:59:10 -08:00
wltsmrz
d14346ba15
Disable server activity check
2013-11-27 18:24:25 -08:00
wltsmrz
992b4c53b8
WebSocket isn't a Node-style EventEmitter in the browser
2013-11-27 17:29:25 -08:00
wltsmrz
385113c2f5
Remove logging
2013-11-27 15:42:53 -08:00
wltsmrz
dc04bbe737
Enhanced security for idle server reconnect
2013-11-27 15:42:05 -08:00
wltsmrz
b6a66e1820
Update readme. Fixes #15
2013-11-27 14:32:13 -08:00
wltsmrz
bcceceb2e0
In case there happens to already be a tx_json, don't overwrite it
2013-11-26 12:43:34 -08:00
wltsmrz
19c0585ff0
Remove extraneous stuff
2013-11-26 12:39:14 -08:00
wltsmrz
97df7472f5
Provisionally disable transaction broadcasting
2013-11-26 12:32:53 -08:00
wltsmrz
f05577d7df
All transaction result objects will have tx_json property
2013-11-25 11:52:28 -08:00
wltsmrz
4d94aef80c
Add transaction.invoiceID setter
2013-11-22 12:43:31 -08:00
wltsmrz
0902640fc0
Update transaction.jS
2013-11-21 13:19:05 -08:00
wltsmrz
bcd5e38976
Fix/refactor account_root request
2013-11-20 12:32:03 -08:00
wltsmrz
dfedc86fb7
API update
2013-11-19 14:47:57 -08:00
wltsmrz
78d110c8d1
Update transactionmanager
2013-11-19 14:39:44 -08:00
wltsmrz
4e6ae229c0
Avoid circular JSON stringification during transactionmanager trace
2013-11-18 14:52:16 -08:00
wltsmrz
49cd062cb7
Return self in set_server for chaining
2013-11-18 13:22:56 -08:00
wltsmrz
1fa196037e
Fix direct requirements for tests
2013-11-18 13:08:05 -08:00
wltsmrz
674ce90eaf
Don't begin to check server activity until connected
2013-11-18 13:04:11 -08:00
wltsmrz
a306407588
Cleanup
2013-11-15 23:30:18 -08:00
wltsmrz
5c81441634
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-11-15 23:15:04 -08:00
wltsmrz
cff9902802
API conversion
2013-11-15 23:13:49 -08:00
wltsmrz
08911ec2ee
Refactor, begin API conversion
2013-11-15 23:13:34 -08:00
wltsmrz
79b698f232
Cleanup
2013-11-15 23:12:35 -08:00
wltsmrz
5253278c29
Normalize transactions to acount transaction stream, cleanup
2013-11-15 23:12:28 -08:00
wltsmrz
48aa5b6c01
Add server activity check / reconnect defunct servers
2013-11-15 22:38:48 -08:00
wltsmrz
7e5c4af53d
Cleanup, comments, update for new style
2013-11-14 14:30:29 -08:00
wltsmrz
9b3bb77d0e
Merge pull request #27 from stevenzeiler/develop
...
[TEST] Add chai and sinon for testing, begin testing remote.js
2013-11-13 18:35:17 -08:00
wltsmrz
a72995642c
request_connect > requestConnect
2013-11-13 17:20:04 -08:00
wltsmrz
12562d68f8
Add camelcase API, remote.request accepts a string command argument
2013-11-13 17:11:37 -08:00
wltsmrz
8805610413
Create account transactionmanagers in account constructor
2013-11-13 16:12:04 -08:00
wltsmrz
b9082a425f
Normalize objects emitted on transaction success
2013-11-13 11:49:18 -08:00
wltsmrz
c1f5705ef8
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-11-13 11:41:17 -08:00
wltsmrz
69758cd631
Add transactionmanager debugging
2013-11-13 11:41:13 -08:00
Stefan Thomas
05f3a97042
UInt160 can be an account or a plain hash.
...
The UInt160 class used to be hardcoded to be an Account. This commit changes it
so it can be used as an account or a plain hash. It will try to automatically
self-classify based on how it is initialized.
In the future we may want to have some dedicated classes rather than a
single configurable UInt160.
2013-11-12 15:51:50 -08:00
Steven Zeiler
1db2187e79
[TEST] Add chai and sinon for testing.
...
Begin testing remote.js
Add initialization of 'note variable' and a comment that it should be removed
2013-11-12 14:13:15 -08:00
Stefan Thomas
ae68e3a1a6
Change "success" event parameters to more closely match "proposed" and "error".
2013-11-11 13:29:02 -08:00
Stefan Thomas
96ed994932
Fixes on XRP path serialization/deserialization.
2013-11-11 12:17:09 -08:00
Stefan Thomas
b2580ec178
Disambiguate PathSets with XRP vs XRP IOUs.
...
XRP IOUs are no longer valid, however they do exist in the network's historical
transactions, so the serialization and deserialization need to be able to handle
them.
2013-11-11 11:49:52 -08:00
Stefan Thomas
e065238758
Fix transaction signature cache.
...
The Transaction#sign method would notice that a previous signature was still
valid and skip signing again. Great, except it would throw the old
signature away first, leaving no signature at all. Fixed.
2013-11-11 05:57:40 -08:00
Stefan Thomas
34ea528ade
Add serialization of XRP as an IOU if explicitly asked for.
...
Unfortunately, there are some transactions in the history that use this format,
so we need to support it in order to be able to verify historic ledgers.
2013-11-08 16:36:37 -08:00
Stefan Thomas
1355dc135f
Fix recursive SHAMap collision handling.
2013-11-08 15:55:20 -08:00
Stefan Thomas
9652a99589
Set same criteria for currency code validity in serializedtypes.js as currency.js.
2013-11-08 15:21:04 -08:00
Stefan Thomas
8dfdced942
Fix SHAMap node collision detection.
2013-11-08 15:00:45 -08:00
wltsmrz
e779f98fb8
Export ripple-lib/Request
2013-11-08 14:40:49 -08:00
Stefan Thomas
f633beafbf
Update upstream.
2013-11-08 14:38:00 -08:00
wltsmrz
81d380fb90
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-11-08 14:26:59 -08:00
wltsmrz
4be5468485
Add account_currencies
2013-11-08 14:26:42 -08:00
Stefan Thomas
a8759f1390
Fix large 32-bit integers getting deserialized as signed ints.
2013-11-08 14:21:27 -08:00
wltsmrz
5b1b41ae80
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-11-08 14:03:09 -08:00
wltsmrz
75ed909aeb
Implement local transactionID generation
2013-11-08 13:58:30 -08:00
Stefan Thomas
069852a501
Fix parsing Hash256s that start with FF.
2013-11-08 12:49:13 -08:00
Stefan Thomas
5def7ba917
Add SHAMaps, metadata serialization and transaction hash calculation.
2013-11-07 22:36:06 -08:00
Stefan Thomas
74ef8f8400
Fix Int64 parsing.
2013-11-07 21:56:26 -08:00
wltsmrz
0e5431468c
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-11-07 14:05:40 -08:00
Stefan Thomas
e65f975e29
Transaction#hash.
2013-11-07 13:56:07 -08:00
wltsmrz
0f80f6d4ae
Extend rippleerror properties
2013-11-07 11:47:10 -08:00
wltsmrz
3491fec469
Bump ripple-lib, mocha version
2013-11-06 01:13:02 -08:00
wltsmrz
4df88b6df5
Handle remote reconnects after max ledger wait, refactor
2013-11-06 00:41:56 -08:00
wltsmrz
2a763f8f03
Add account_currencies command
2013-11-05 17:06:51 -08:00
wltsmrz
a306d0d0e1
Do not overwrite accounts array on prepare_subscribe
2013-11-04 17:38:42 -08:00
wltsmrz
2e39f6d4a9
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-11-04 17:35:23 -08:00
wltsmrz
03930ecc9b
Do not overwrite accounts array on prepare_subscribe
2013-11-04 17:30:05 -08:00
Justin Lynn
c3215e6387
add .travis.yml to silence e-mail notices
2013-11-04 17:26:50 -08:00
wltsmrz
31340c8bc1
Add Request.add_account
2013-11-04 17:26:22 -08:00
wltsmrz
fd07103e9a
Request.accounts will append rather than overwrite
2013-11-04 17:00:32 -08:00
Vahe Hovhannisyan
43319267ad
Add all available flags to Remote.flags.
2013-11-04 16:55:42 -08:00
Stefan Thomas
37da90e81d
Typo.
2013-10-30 22:08:42 -07:00
wltsmrz
58bc1b1682
Add Request.broadcast. Subscribe to account transaction stream on all connected servers
2013-10-30 14:09:55 -07:00
wltsmrz
60e2aa613a
Merge pull request #23 from tradespoke/patch-1
...
Update README.md
2013-10-29 23:54:35 -07:00
Filip Andersson
3f3b8dbfb9
Update README.md
2013-10-30 06:50:59 +00:00
wltsmrz
c5390100f5
Allow connection_offset of 0
2013-10-28 12:10:17 -07:00
wltsmrz
6f8d33005a
Merge pull request #21 from sublimator/develop
...
Add hooks for logging web socket messages
2013-10-28 12:07:19 -07:00
sublimator
1c5b6b365a
Add hooks for logging web socket messages
...
This can be used to capture web socket messages, interspersing them with metadata about the source of such messages. The rippled test suite could be captured (as per http://ndudfield.com/zencoding/rippled-capture ) and it could also be useful for logging ripple-client messages for display.
The event names are pretty explicit about the intended use cases.
2013-10-25 14:42:55 +07:00
wltsmrz
8447d2c22d
Bump subversion
2013-10-24 14:59:36 -07:00
wltsmrz
04b8bf277c
Catch all error messages into rippleerror class
2013-10-24 12:30:27 -07:00
wltsmrz
fb3e15a079
Decrease default fee_cushion
2013-10-24 10:53:46 -07:00
wltsmrz
8959d9167f
Always set build_path with local signing enabled. Fixes #20
2013-10-24 10:26:44 -07:00
wltsmrz
32d404bd44
Cleanup
2013-10-23 14:30:13 -07:00
wltsmrz
2415c668e4
Always resubmit on ter
2013-10-23 14:21:46 -07:00
wltsmrz
5c19ad2885
Pass any number of flags to set_flags
2013-10-21 16:30:46 -07:00
wltsmrz
73d41872cb
Add TrustSet flags
2013-10-21 12:49:43 -07:00
wltsmrz
1eb2652edf
Merge pull request #19 from moeadham/develop
...
[README] Correct typo
2013-10-17 20:47:20 -07:00
Moe Adham
997e561389
[README] Correct typo
2013-10-17 21:40:27 -04:00
wltsmrz
45fff5642d
Resubmit after tefPAST_SEQ despite failed sequence query
2013-10-07 18:09:01 -07:00
wltsmrz
179dba81cc
Bump version
2013-10-07 13:44:40 -07:00
wltsmrz
25f9d27206
More efficient to_human rounding
2013-10-06 19:19:58 -07:00
wltsmrz
fee2d3ad0e
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-10-06 03:35:46 -07:00
wltsmrz
6e54f34c4b
Cache previous transaction signing hash, do not resign unless changed. Fixes #16
2013-10-06 03:34:34 -07:00
wltsmrz
7d631e5864
Round up XRP amounts. Fixes #17
2013-10-06 03:15:31 -07:00
wltsmrz
7ad0b0b093
Merge pull request #18 from mjethani/develop
...
Fixed issue with parsing of trade price.
2013-10-06 02:31:33 -07:00
wltsmrz
9571e7c130
More robust transactions. Load account_tx on remote reconnect
2013-10-06 02:28:11 -07:00
wltsmrz
b21d7aef0d
Cleanup
2013-10-06 02:26:45 -07:00
wltsmrz
137a6a757e
Cleanup
2013-10-05 15:28:30 -07:00
wltsmrz
12a5c3c701
Cleanup
2013-10-05 15:09:40 -07:00
wltsmrz
37b653eae6
Cleanup
2013-10-05 15:06:55 -07:00
wltsmrz
f24be618d8
Pause transaction processing and reload sequence on failed transactions
2013-10-05 03:23:59 -07:00
Manish Jethani
f077624212
Fixed issue with parsing of trade price.
...
The + operator has higher precedence, which causes the price to be read
as '' (empty string) no matter what the currency and issuer.
I believe this will fix the "Last price = n/a" error in the default
client as well.
2013-10-05 07:16:29 +05:30
wltsmrz
b4c120cea4
Fix #12
2013-10-02 21:29:52 -07:00
wltsmrz
5f69cad0cc
Bump version
2013-10-02 13:29:08 -07:00
wltsmrz
76b5ca9a12
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-10-02 13:27:15 -07:00
wltsmrz
37234d2751
Fix bad signatures on resubmitted transactions
2013-10-02 13:23:02 -07:00
Vahe Hovhannisyan
abfab78f96
Docs: Add an example for request_book_offers
2013-09-28 07:56:27 -07:00
wltsmrz
53d704310a
Bump version, include path to relocated jsbn for npm publishing
2013-09-26 17:56:55 -07:00
Vahe Hovhannisyan
ab1c409022
Fix stack trace bug on safari
2013-09-26 11:56:17 -07:00
wltsmrz
bf940fdec5
Do not log deprecation warnings by default
2013-09-25 18:35:36 -07:00
wltsmrz
6015ba7d25
Bump version
2013-09-24 13:04:44 -07:00
wltsmrz
72eb558f6a
Bump dependencies version
2013-09-24 13:04:20 -07:00
wltsmrz
d74a7e9ea1
Update npmignore
2013-09-24 13:02:35 -07:00
Stefan Thomas
f259c7ebd7
Montgomery: Fix infinite loop for leading zero inputs. Add test.
2013-09-21 17:16:44 -07:00
Stefan Thomas
8d13065cf4
Added a benchmark for Montgomery exponentiation.
2013-09-21 16:49:34 -07:00
Stefan Thomas
5c36be59e5
More tests for Montgomery exponentiation.
2013-09-21 16:49:09 -07:00
Stefan Thomas
d2559dcdb8
Added Montgomery exponentiation for SJCL.
2013-09-21 15:23:55 -07:00
Stefan Thomas
6194d9bcd9
Left a console statement. Oops.
2013-09-21 05:50:28 -07:00
Stefan Thomas
64df821b38
JSBN and coverage tests cleanup.
...
Fixes compiler warning about SJCL.
Fixes coverage source highlighting issue.
Move JSBN outside of src/js/jsbn/.
2013-09-21 05:41:19 -07:00
Stefan Thomas
0986b37267
Added Jacobi functionality, more bn features - plus tests.
2013-09-19 22:24:49 -07:00
wltsmrz
26220239fa
Bump version
2013-09-18 13:42:58 -07:00
wltsmrz
73fae67022
Update readme
2013-09-17 16:25:08 -07:00
wltsmrz
6dc15c6951
Update readme
2013-09-17 16:24:20 -07:00
wltsmrz
bc600a27b3
Add note about running tests
2013-09-17 16:23:03 -07:00
wltsmrz
c8e0ef01ac
Bump dependencies versions
2013-09-17 15:32:07 -07:00
wltsmrz
db28f9ae46
Update npmignore
2013-09-17 15:29:27 -07:00
wltsmrz
7b4182b322
Revert "Update pathfind command arguments"
...
This reverts commit 0753d9cf4a .
2013-09-17 15:26:37 -07:00
wltsmrz
0753d9cf4a
Update pathfind command arguments
2013-09-12 16:33:13 -07:00
wltsmrz
f337aa6a16
Use dot reporter for npm test
2013-09-12 16:24:25 -07:00
wltsmrz
7080611247
Use spec reporter for make test
2013-09-12 16:24:06 -07:00
wltsmrz
bab9fec836
Refactor currency parsing
2013-09-12 14:17:51 -07:00
wltsmrz
8dd1b62d78
Improve test coverage
2013-09-12 14:15:44 -07:00
wltsmrz
9eeb3faba3
Improve test coverage
2013-09-12 14:15:34 -07:00
wltsmrz
bba2e10e94
Test coverage
2013-09-11 14:22:47 -07:00
wltsmrz
943251b387
Refactor amount
2013-09-11 14:22:24 -07:00
wltsmrz
8b76db3942
Refactor amount
2013-09-11 13:36:06 -07:00
wltsmrz
2463fd9588
Fix human amount detection in .payment
2013-09-11 13:00:32 -07:00
wltsmrz
56a8ad3aa5
Fix base.js
2013-09-11 12:11:48 -07:00
Stefan Thomas
57aa1773cb
Add the ability to generate addresses from keypairs.
2013-09-11 10:27:52 -07:00
Stefan Thomas
1f22456aed
Ignore coverage related files.
2013-09-10 21:10:50 -07:00
wltsmrz
e784ad6d27
Fix grunt build with sjcl export
2013-09-10 17:46:56 -07:00
wltsmrz
068aea3ac4
Add new sjcl export for code coverage convenience
2013-09-10 17:15:52 -07:00
wltsmrz
40eccdb2fd
Add new sjcl export for code coverage convenience
2013-09-10 17:13:55 -07:00
jatchili
3f2afdc39d
Remove debugging statements
2013-09-10 16:49:25 -07:00
jatchili
bcaabd36be
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
...
Conflicts:
src/js/ripple/serializedtypes.js
test/serializedtypes-test.js
JSONify complex structures before comparing them in tests.
2013-09-10 16:46:53 -07:00
jatchili
21aed214a7
messing around with serialized types test
2013-09-10 16:10:49 -07:00
wltsmrz
d761208878
Alias taker_gets and taker_pays
2013-09-10 16:00:19 -07:00
wltsmrz
2f7ce2841c
transaction.payment will handle human amounts
2013-09-10 15:59:11 -07:00
wltsmrz
3fa3f6fb94
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-09-10 15:49:42 -07:00
wltsmrz
6f9c103d78
Update tests for future test coverage
2013-09-10 15:48:57 -07:00
Evan Schwartz
b131bd413c
updated transaction options
2013-09-10 15:12:58 -07:00
wltsmrz
8e7d5d37b9
Remove extraneous file
2013-09-10 13:41:47 -07:00
wltsmrz
5f7a4fe042
Fix npm script running on windows
2013-09-10 12:36:28 -07:00
wltsmrz
24ef629da3
Specify parseInt base
2013-09-10 11:33:05 -07:00
wltsmrz
7e1e8a9503
Specify parseInt base
2013-09-10 11:26:41 -07:00
wltsmrz
3807c1ba6a
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-09-09 21:12:59 -07:00
wltsmrz
c3753ffc6a
Allow options map for transaction commands. Closes #10
2013-09-09 21:12:45 -07:00
wltsmrz
41b66fc585
Allow options map for transaction commands. Closes #11
2013-09-09 21:11:15 -07:00
wltsmrz
95e547aff9
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-09-09 19:41:59 -07:00
wltsmrz
b6580dfe40
Cleanup
2013-09-09 15:26:21 -07:00
wltsmrz
6330777076
Cleanup
2013-09-09 14:59:19 -07:00
wltsmrz
2858579820
Remove colon
2013-09-09 14:49:14 -07:00
wltsmrz
2e7fcb0e76
Cleanup
2013-09-09 14:48:20 -07:00
wltsmrz
8cab1ae200
Cleanup
2013-09-09 14:42:07 -07:00
wltsmrz
dad760f9ba
Cleanup
2013-09-09 14:28:15 -07:00
wltsmrz
e944f0f5c4
Cleanup
2013-09-09 13:58:43 -07:00
Evan Schwartz
379638da43
Merge branch 'newdocs' into develop
...
adding new docs to develop branch
2013-09-09 13:37:57 -07:00
Evan Schwartz
121bca2f1d
about to merge back into develop branch
2013-09-09 13:37:09 -07:00
Evan Schwartz
7bf83e5c48
fixed link
2013-09-09 13:21:16 -07:00
Evan Schwartz
33c12ec93f
added clickable links
2013-09-09 13:18:54 -07:00
Evan Schwartz
7a27bbb78c
added listening to the network guide
2013-09-09 13:17:23 -07:00
wltsmrz
6ce83107c8
Cleanup
2013-09-09 13:05:40 -07:00
Evan Schwartz
41fb5e5b22
finished offer create guide
2013-09-09 12:06:37 -07:00
wltsmrz
8588e0c78f
Fix account_lines
2013-09-09 11:59:40 -07:00
Evan Schwartz
2091d3ed29
indentation
2013-09-09 11:57:38 -07:00
Evan Schwartz
529aac8c37
added offer create guide
2013-09-09 11:57:03 -07:00
Evan Schwartz
428d31c4db
added small link to guies
2013-09-09 11:07:52 -07:00
wltsmrz
aeba9ba05e
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-09-08 18:08:18 -07:00
wltsmrz
bf95285d90
Use assert.deepEqual, fix serializedtypes
2013-09-08 18:07:55 -07:00
wltsmrz
45292847ee
Remove underscore devDependency
2013-09-08 18:07:30 -07:00
wltsmrz
aec3df1bf9
Remove comma
2013-09-08 17:43:19 -07:00
wltsmrz
8b1407613a
Remove extraneous file
2013-09-08 17:38:02 -07:00
wltsmrz
2d68ce5f1b
Update dependencies
2013-09-08 17:35:57 -07:00
wltsmrz
0a1d1f2ed4
Add Makefile
2013-09-08 17:35:50 -07:00
wltsmrz
25401bd08d
Update ripple-lib tests to use mocha
2013-09-08 17:33:08 -07:00
Evan Schwartz
0ce98b126f
small edit to the using remote guide
2013-09-06 17:24:38 -07:00
Evan Schwartz
db442f613e
finished connecting guide
2013-09-06 17:21:16 -07:00
Evan Schwartz
b31d969d63
added connecting guide
2013-09-06 17:19:00 -07:00
Evan Schwartz
8a8159ee0b
fixed bad link
2013-09-06 17:10:55 -07:00
Evan Schwartz
74c6852743
changed toc
2013-09-06 17:09:23 -07:00
wltsmrz
b9e29e8b6c
Bump version
2013-09-06 17:06:49 -07:00
Evan Schwartz
9246449590
editing docs
2013-09-06 17:05:21 -07:00
Evan Schwartz
e3a6913cb0
edited readme
2013-09-06 15:47:04 -07:00
Evan Schwartz
6231d0102b
changed format
2013-09-06 15:41:53 -07:00
wltsmrz
9630d92e0a
Fix bin/rsign example sequence
2013-09-06 15:41:17 -07:00
Evan Schwartz
0b7ff197c8
added toc
2013-09-06 15:41:00 -07:00
Evan Schwartz
b55c547bb9
added links to readme and guides
2013-09-06 15:29:56 -07:00
Evan Schwartz
9b1c47278c
fixed case
2013-09-06 15:26:59 -07:00
wltsmrz
aa6a9e9559
nextServer > next_server
2013-09-06 15:26:43 -07:00
Evan Schwartz
bddf4a8673
added links
2013-09-06 15:26:12 -07:00
wltsmrz
0aee56f4f1
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-09-06 15:23:09 -07:00
wltsmrz
fb94ef3cf3
Allow options object for complex remote commands
2013-09-06 15:22:42 -07:00
wltsmrz
7ff1e89824
Update account
2013-09-06 15:22:00 -07:00
Evan Schwartz
b5fcab50d1
added links
2013-09-06 15:21:54 -07:00
wltsmrz
69afa608bf
Update transaction.js / orderbook.js
2013-09-06 15:17:42 -07:00
Evan Schwartz
9677b09ecc
Merge branch 'develop' of github.com:emschwartz/ripple-lib into newdocs
...
just merging with remote
2013-09-06 15:16:28 -07:00
Evan Schwartz
1f3eb57fa4
added REFERENCE and GUIDES
2013-09-06 15:12:32 -07:00
wltsmrz
a501400caa
Catch request errors
2013-09-06 14:27:07 -07:00
Stefan Thomas
69e44a66bb
Changing to simplified version of new account_tx API.
2013-09-05 22:07:08 -07:00
wltsmrz
abec5386a6
Bump dependencies
2013-09-05 17:28:29 -07:00
jatchili
2e15bce98b
Translate LedgerEntryType and TransactionResult into strings
2013-09-05 17:16:43 -07:00
wltsmrz
10ac0a5e42
Set message.result before emitting submitted event
2013-09-05 16:13:38 -07:00
wltsmrz
b723e031d1
Update rippleerror
2013-09-05 16:13:24 -07:00
wltsmrz
18c02cbb42
Add message.result = message.engine_result
2013-09-05 15:29:26 -07:00
wltsmrz
d89f04a622
Fix currency in path_rewrite
2013-09-05 15:20:17 -07:00
wltsmrz
ceea368a5c
Proper max_fee comparison
2013-09-05 15:07:18 -07:00
wltsmrz
ef83019a4b
Resubmit transactions on tooBusy
2013-09-05 13:17:32 -07:00
wltsmrz
28c90f1923
TransactionManager -- tec shouldn't decrement sequence
2013-09-04 17:03:19 -07:00
wltsmrz
8bc6a3cbcf
Cleanup account_tx
2013-09-04 17:02:48 -07:00
wltsmrz
a46d08c6f4
Update readme
2013-09-04 17:02:30 -07:00
wltsmrz
7d63cb52cb
Update readme
2013-09-04 14:40:40 -07:00
wltsmrz
81ff4eec2d
Passive transaction validation -- add lost and missing events
2013-09-04 14:37:03 -07:00
wltsmrz
7a6d46acd3
Accommodate new account_tx
2013-09-04 14:34:37 -07:00
wltsmrz
700c6f0430
Update readme
2013-09-03 15:41:08 -07:00
wltsmrz
6688ad5d8d
Update readme
2013-09-03 15:36:40 -07:00
wltsmrz
f3e1b6b39f
Remote.ping uses new request.set_server
2013-09-03 15:29:40 -07:00
wltsmrz
d43bc13f48
request.set_server(string) selects by host
2013-09-03 15:28:32 -07:00
wltsmrz
a4ff3cbaac
Update readme
2013-09-03 14:58:07 -07:00
wltsmrz
370fab5858
Update readme
2013-09-03 14:33:03 -07:00
wltsmrz
75d00f1778
Update readme
2013-09-03 14:31:03 -07:00
wltsmrz
d7ecbbf648
Update account
2013-09-03 14:13:21 -07:00
wltsmrz
bff8415ea5
Normalize RippleErrors
2013-09-03 13:57:58 -07:00
wltsmrz
0794f7b629
Update transaction queue
2013-09-03 13:52:26 -07:00
wltsmrz
b5a50aeba9
Add transaction abort
2013-09-03 13:48:59 -07:00
wltsmrz
f6cfcb6217
Rewrite rsign
2013-09-03 12:29:45 -07:00
wltsmrz
fd3a583abf
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-30 11:16:09 -07:00
wltsmrz
b551753fe4
Update readme
2013-08-30 11:12:47 -07:00
Vahe Hovhannisyan
b6283a554d
Remote.book bug fix
2013-08-30 16:37:49 +04:00
wltsmrz
a65ba8f87d
Add transaction-inbound, transaction-outbound events
2013-08-27 10:47:31 -07:00
wltsmrz
ffd23d34ab
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-26 10:43:48 -07:00
wltsmrz
75859a2c4d
Update pending transaction fees
2013-08-26 10:43:13 -07:00
Stefan Thomas
166e35bf0e
Disable currency validity check for now.
...
It's too strict unfortunately and not quick to fix.
2013-08-23 19:08:53 -07:00
Stefan Thomas
74da0c8a52
No need to turn the JS object into a string and back again.
2013-08-23 15:50:15 -07:00
Stefan Thomas
d5fb086b51
Digits appear in some currency codes in the ledger history.
...
We need to figure out what the exact allowed character set is - if there are any
restrictions.
2013-08-23 15:13:31 -07:00
Stefan Thomas
6fa2a220e7
Add some debug info to the currency parsing error.
2013-08-23 15:10:34 -07:00
wltsmrz
27fed3e737
Apply the scope of request to request callbacks
2013-08-22 12:06:13 -07:00
wltsmrz
13b62d72c6
Update readme
2013-08-22 11:53:43 -07:00
wltsmrz
4c6c967576
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-22 10:55:16 -07:00
wltsmrz
009143f724
Update remote
2013-08-22 10:55:09 -07:00
wltsmrz
c545e19e40
Include transaction message in inbound/outbound events
2013-08-21 17:19:17 -07:00
Stefan Thomas
87790b330e
PathFind should pass on errors with the pathfind request.
2013-08-21 16:59:51 -07:00
Stefan Thomas
c9d081f2c6
Do not allow serialization of invalid accounts.
2013-08-21 16:58:49 -07:00
Stefan Thomas
222d49c4d8
Handle errors with initial subscribe request.
2013-08-21 16:58:37 -07:00
Stefan Thomas
ce8fd9ddbe
Only subscribe to accounts if the Account object is set up correctly.
2013-08-21 16:58:09 -07:00
wltsmrz
ccd1758284
Add transaction-inbound and transaction-outbound events
2013-08-21 16:41:01 -07:00
Stefan Thomas
ba48078f9e
Add tx_history command.
2013-08-21 11:20:12 -07:00
jatchili
f35df54eab
Stringify input to BigInteger constructor
2013-08-20 18:46:11 -07:00
jatchili
f1334c6b92
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-20 17:36:24 -07:00
jatchili
7a5631a2ce
Fix array and inner-object parsing
2013-08-20 17:36:12 -07:00
wltsmrz
9c9f8fae14
Update readme, validate all transaction addresses
2013-08-20 11:54:35 -07:00
wltsmrz
dc51b8ba48
Update readme
2013-08-17 16:25:08 -07:00
wltsmrz
e3edd5267d
Fix secure configuration; Boolean constructor should be string
2013-08-16 13:15:16 -07:00
wltsmrz
8b69dfd154
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-15 11:53:47 -07:00
wltsmrz
8333c3fbfc
Fix for typeof NaN === number
2013-08-15 11:53:38 -07:00
jatchili
083377651f
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-14 18:33:28 -07:00
jatchili
0c18f6157d
SerializedObject to_json method, and a simple test for that. Tests are still preliminary, and refactoring is still necessary.
2013-08-14 18:33:01 -07:00
wltsmrz
66d71efa78
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-14 17:24:14 -07:00
wltsmrz
0811dec65c
Update server
2013-08-14 17:21:08 -07:00
wltsmrz
b3822cc4c5
Update everything
2013-08-14 17:20:51 -07:00
jatchili
942bfe88c1
passed tests (however, the test cases themselves are unverified.)
2013-08-12 18:44:34 -07:00
jatchili
63038d3603
basic tests for serializedtypes.js
2013-08-12 15:19:04 -07:00
wltsmrz
0f5fdbc772
Merge branch 'develop' of https://github.com/ripple/ripple-lib into robust-transactions
2013-08-12 10:40:07 -07:00
wltsmrz
36f8ca1073
Merge branch 'robust-transactions' of https://github.com/ripple/ripple-lib into robust-transactions
2013-08-07 17:58:28 -07:00
wltsmrz
1e288c31af
Merge pull request #9 from sublimator/robust-transactions
...
Allow hooking of the Server WebSocket constructor object
2013-08-07 17:47:27 -07:00
Nicholas Dudfield
e8144128d0
Naming style, oopz
2013-08-07 17:20:23 -07:00
Nicholas Dudfield
e5421effd5
Allow hooking of the Server WebSocket constructor object
2013-08-07 17:11:29 -07:00
wltsmrz
48a2bb9fe4
Update readme
2013-08-07 08:37:07 +09:00
wltsmrz
67d100796d
Cleanup
2013-08-07 08:16:20 +09:00
wltsmrz
0f91bf0e98
Add custom RippleError
2013-08-07 07:35:37 +09:00
wltsmrz
1aaee7526b
Cleanup
2013-08-07 06:26:43 +09:00
wltsmrz
fd0ce52cf6
Cleanup
2013-08-06 06:54:06 +09:00
wltsmrz
0fd973f58b
Add ledger_hash paramter to transaction_entry
2013-08-06 06:53:41 +09:00
wltsmrz
a99856bec0
Cleanup
2013-08-06 06:17:40 +09:00
wltsmrz
eac195ec18
Cleanup
2013-08-06 04:20:05 +09:00
wltsmrz
ab5d64ff12
Update repository URL
2013-08-03 09:01:55 +09:00
wltsmrz
5f017b2b85
Cleanup, fix jshint warnings
2013-08-03 08:13:36 +09:00
wltsmrz
bb6ec3b5c9
Replace comment
2013-08-03 07:27:59 +09:00
wltsmrz
d870264230
Update untracked files
2013-08-03 07:23:12 +09:00
wltsmrz
aad97c936d
Update untracked files
2013-08-03 07:19:15 +09:00
wltsmrz
b78835f195
Typo
2013-08-03 07:18:02 +09:00
wltsmrz
a480e76353
Update Remote constructor comments
2013-08-02 08:27:28 +09:00
wltsmrz
8294c78db4
Greater convenience for payment transactions
2013-08-02 08:17:14 +09:00
jatchili
3ea426d45f
Path Set parsing function (not tested yet)
2013-07-31 19:18:42 -07:00
wltsmrz
bc74543ca2
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-08-01 06:04:59 +09:00
wltsmrz
c69966035b
Cleanup transaction submission
2013-08-01 06:04:49 +09:00
wltsmrz
a1bef6248a
Accommodate new transaction manager
2013-07-27 05:57:30 +09:00
wltsmrz
2f4a9c2c26
Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop
2013-07-27 04:03:36 +09:00
wltsmrz
342d5a1aa1
Update remote
2013-07-27 04:03:33 +09:00
wltsmrz
a5206d2959
Safer response check, add _remote_address(), attach server to request
2013-07-26 07:25:10 +09:00
wltsmrz
4e876511a3
Connect to servers on an interval
2013-07-26 06:52:20 +09:00