Commit Graph

63 Commits

Author SHA1 Message Date
wltsmrz
dbddc6b7f2 Update integration tests 2015-09-08 19:14:42 -07:00
David Schwartz
3b3b897193 Add "Default Ripple" account flag and associated logic:
AccountSet set/clear, asfDefaultRipple = 8

AccountRoot flag, lsfDefaultRipple = 0x00800000

In trustCreate, set no ripple flag if appropriate.

If an account does not have the default ripple flag set,
new ripple lines created as a result of its offers being
taken or people creating trust lines to it have no ripple
set by that account's side automatically

Trust lines can be deleted if the no ripple flag matches
its default setting based on the account's default ripple
setting.

Fix default no-rippling in integration tests.
2015-03-16 20:54:14 -04:00
wltsmrz
0848e348bb Update ripple-lib integration tests 2014-06-28 13:17:31 -07:00
wltsmrz
c76e2b54a9 Update system tests for mocha and new ripple-lib transaction submission 2013-09-24 14:12:18 -07:00
wltsmrz
4109e51e30 Improvements to js tests and increment of the ripple-lib version 2013-09-18 17:36:34 -07:00
Stefan Thomas
ccde264282 JS Tests: Fallback to config-example if config is not present. 2013-07-27 19:48:17 -07:00
Nicholas Dudfield
c13f759ada Make test suites pass (with tip of ripple-lib). Needs refactoring to use mocha 2013-07-27 12:46:26 -07:00
Stefan Thomas
a4b19019ee JS Tests: Replace one of the hard-coded fees in the testsuite. More to go. 2013-07-26 12:59:07 -07:00
Arthur Britto
475ce2b899 Implement optional offer cancel on offer_create. 2013-06-15 22:10:15 -07:00
Arthur Britto
9bfb5922c5 UT: New test for client issue 535. 2013-05-06 20:10:13 -07:00
Stefan Thomas
0a2e7664b8 JS: Remove ripple-lib and link to it via package.json instead. 2013-04-26 22:02:36 +02:00
Arthur Britto
78c867d714 Add tfSell support for OfferCreate. 2013-04-25 15:23:53 -07:00
Arthur Britto
837de8a7a7 Fix ripple through micro offer reverse. 2013-03-20 18:32:34 -07:00
Stefan Thomas
380523a462 Library now correctly rewinds, remove manual rewind from tests. 2013-02-26 11:01:40 +01:00
Arthur Britto
61c84eba2e UT: Add test for OfferCreate respecting reserves and unfunded source. 2013-02-11 23:02:13 -08:00
Stefan Thomas
39ba2613d9 JS: Added ripple.config.load convenience function. 2013-02-02 14:05:49 +01:00
Stefan Thomas
24dac24d29 Refactor JavaScript library.
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-02-01 22:44:04 +01:00
Arthur Britto
ee65b779f9 UT: New offer test to test for problems seend in the field. 2013-01-28 21:14:14 -08:00
Arthur Britto
26a3cebf2e Don't let offer taker spend savings. 2013-01-27 11:52:02 -08:00
Arthur Britto
d978f59402 UT: Add offer test for negative balance, transfer fee, and miniscule funds. 2013-01-26 21:26:43 -08:00
Arthur Britto
1bc5fa3e41 UT: Clean up output. 2013-01-25 16:05:02 -08:00
Arthur Britto
1653709dc2 UT: Improve offer tests. 2013-01-25 15:13:04 -08:00
Arthur Britto
fa37152e20 UT: Update offer-test for new Transaction split. 2013-01-25 14:24:34 -08:00
Arthur Britto
42f6f76e17 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-25 03:23:22 -08:00
Stefan Thomas
851db1ce23 Split Transaction class off into separate file. 2013-01-24 20:40:48 +01:00
Arthur Britto
ec7ce16f68 Fix and improve offer taking and trust setting. 2013-01-23 21:36:37 -08:00
Arthur Britto
308ca21b97 Make tecUNFUNDED more specific and fix WalletAdd. 2013-01-19 14:15:56 -08:00
Arthur Britto
87ecbdf653 UT: Fix crossing own offer test. 2013-01-13 19:53:20 -08:00
Stefan Thomas
e502badd2b Add test case for #7. 2013-01-09 18:29:12 +01:00
Arthur Britto
75d935e0df Merge tepPARTIAL into tecCLAIMED. 2013-01-03 13:04:07 -08:00
Arthur Britto
194053c87e Add and move to new tecCLAIM result codes. 2012-12-23 15:52:59 -08:00
Arthur Britto
c05d4fb559 Clean up - Ledger breaking changes. 2012-12-21 17:05:31 -08:00
Arthur Britto
fadf9aa442 Prevent offers spending from XRP reserve. 2012-12-20 22:23:10 -08:00
Arthur Britto
0bc4a7b1e2 Fix extraneous offer creation. 2012-12-15 16:48:46 -08:00
Arthur Britto
4baa8b3c5d Add support for offers to allow parties to go into debt. Broken. 2012-12-15 00:06:12 -08:00
Arthur Britto
fd0bd1433f UT: Test offer counts. 2012-12-14 21:21:27 -08:00
Arthur Britto
704b31e0f6 UT: Fix intermitent timeouts. 2012-12-14 19:07:46 -08:00
Arthur Britto
f1735c5cdf Move from account create fee to reserve XRP. 2012-12-12 21:54:56 -08:00
Arthur Britto
8f1d89cba4 UT: Loosen order of results for offer test. 2012-12-12 15:42:32 -08:00
Arthur Britto
2791f43b1d Fixes for emit ledger_closed. 2012-12-03 16:46:27 -08:00
Arthur Britto
49e6ca70ba JS & UT: add et to vim setting. 2012-11-24 14:07:41 -08:00
Arthur Britto
42248ca3ef UT: Test cross currency bridged payment and fixes. 2012-11-20 12:43:27 -08:00
Arthur Britto
87b5d0ca60 UT: Add test for cross currency payment ending in XRP. 2012-11-19 12:55:50 -08:00
Arthur Britto
17b51b68c7 UT: Add test for XRP at start of path. 2012-11-17 17:35:37 -08:00
Arthur Britto
f1a4bcc661 Fixes for rippling XRP via offers. 2012-11-15 16:42:23 -08:00
Arthur Britto
8d32892609 JS: Make currency and issuer private in Amount. 2012-11-09 17:33:37 -08:00
Arthur Britto
9960bfa63f UT: Add tests for offer balances and offer PartialPayment. 2012-11-09 15:38:12 -08:00
Arthur Britto
155854be23 UT: Add support for verifying offers & fix amount checking. 2012-11-08 18:09:18 -08:00
Arthur Britto
054a16b105 UT: Add test for currency conversion. 2012-11-08 15:18:05 -08:00
Arthur Britto
b271192547 Rework config.js to not be add to web pack. 2012-11-07 16:03:39 -08:00