Commit Graph

2907 Commits

Author SHA1 Message Date
Arthur Britto
b7a40435b8 Document future direction of Transaction. 2012-10-23 12:48:09 -07:00
Arthur Britto
a2a9012358 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-23 12:13:41 -07:00
Arthur Britto
6e2637356c UT: Enable some ripple unit tests. 2012-10-23 12:05:30 -07:00
Arthur Britto
3650e6122c JS: Optimize base58 decoding. 2012-10-23 11:56:05 -07:00
JoelKatz
6da5d508a7 Improve the warning messages when STObject::setType fails. 2012-10-23 11:49:16 -07:00
JoelKatz
61de7a9746 Clean up this unit test. 2012-10-23 11:23:09 -07:00
JoelKatz
bb4cc37e58 Remove chatty debug. 2012-10-23 11:22:56 -07:00
JoelKatz
756e628f93 Add an STObject::operator== that is sensible. 2012-10-23 11:22:37 -07:00
JoelKatz
67c87a9d13 Add a few test vectors. 2012-10-23 11:05:17 -07:00
Stefan Thomas
1a20295e16 Remove tx invalid assertion - exception should be enough.
Jed's words, not mine. ;)
2012-10-23 17:56:36 +02:00
Arthur Britto
72f434c670 UT: Quiet tests. 2012-10-22 21:40:26 -07:00
Arthur Britto
0105009d21 UT: Add more ripple testing. 2012-10-22 21:33:38 -07:00
Arthur Britto
ef1066cbfa UT: Add a verbose setup short cut. 2012-10-22 21:31:02 -07:00
Arthur Britto
9ea2fa8c69 UT: Add another Amount test. 2012-10-22 21:30:29 -07:00
Arthur Britto
7811850a52 JS: Fix Remote.request_ripple_balnce(). 2012-10-22 21:30:04 -07:00
Arthur Britto
7bfe509996 JS: Fix Amount.copyTo(). 2012-10-22 21:29:38 -07:00
Arthur Britto
f4d48f56d8 JS: Fix UInt160 comparison. 2012-10-22 16:56:00 -07:00
Arthur Britto
59a0393320 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-22 16:16:07 -07:00
Arthur Britto
c5dce0e270 JS: Add support for parsing and encoding base58. 2012-10-22 16:15:58 -07:00
Arthur Britto
485f1aab13 JS: Add arraySet() and stringToArray() to utils.js 2012-10-22 16:11:35 -07:00
JoelKatz
39303e3998 Some extra LedgerAcquire helper functions. 2012-10-22 14:01:17 -07:00
JoelKatz
2f2f09b4fc Reduce debug. 2012-10-22 14:01:06 -07:00
JoelKatz
c08db57b2b Ledger reply error support. 2012-10-22 12:27:30 -07:00
JoelKatz
9326074324 Second phase of removing old-style ledger data queries -- always give new
style replies.
2012-10-22 12:26:51 -07:00
JoelKatz
766bc8377f Lots of small cleanups. 2012-10-22 11:49:17 -07:00
JoelKatz
8705d0258d Add a "full history" mode that causes the node to try to keep full history
going back to the genesis ledger. Not fully implemented yet.
2012-10-22 10:31:07 -07:00
JoelKatz
e2e7eca1f1 Fix a small bug in the ledger tiebreak algorithm based on nodes using. 2012-10-22 10:30:42 -07:00
JoelKatz
2c2a2866a3 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-22 09:22:53 -07:00
JoelKatz
5bc0838d2a Make the standard output loglevel low even if the debug file loglevel is high. 2012-10-22 09:22:32 -07:00
Arthur Britto
fe33bdaae8 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-21 21:45:10 -07:00
Arthur Britto
bd0dc68a22 JS: More fixes and tests for Amount.negate(). 2012-10-21 21:45:04 -07:00
jed
5e0f4c0102 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-21 21:07:04 -07:00
jed
0d2e1252e1 changes to tx_history 2012-10-21 21:06:46 -07:00
Arthur Britto
e92f2f38c1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-21 20:34:14 -07:00
Arthur Britto
fff39797c0 UT: Lots of improvements and fixes.
- Parse negative amounts.
- Make Amount.negate() return a new value.
- Add Amount.equals().
- Rename Remote.trace() to set_trace().
- Fix request_ripple_balnce.
- Add more tests to send-test.js.
- Add more tests to amount-test.js.
- Add helper functions create_accounts and credit_limits to
  testutils.js.
2012-10-21 20:33:11 -07:00
jed
6bb79463d8 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-21 19:21:24 -07:00
jed
7fb75174fc added tx_history RPC 2012-10-21 19:21:08 -07:00
Arthur Britto
cc3c640322 UT: Share setUp and tearDown code. 2012-10-21 15:30:16 -07:00
Arthur Britto
59a61d7b35 JS: Add support for more types of transactions to remote.js. 2012-10-21 14:44:35 -07:00
Arthur Britto
416f62a3f5 JS: Add Date support to offer_create. 2012-10-20 19:11:30 -07:00
Arthur Britto
704aec5b89 UT: Silence offer-test.js 2012-10-20 17:18:36 -07:00
Arthur Britto
86ec1d9d57 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-20 17:08:23 -07:00
Arthur Britto
27ea314f8d UT: Rework server.js and clean up test output. 2012-10-20 17:04:33 -07:00
jed
51856f218f . 2012-10-20 16:51:38 -07:00
jed
366f2ebceb Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-20 16:42:48 -07:00
JoelKatz
4b2b75b367 Fix the bug Andrey reported. A reference into an array can become invalid if
the array changes size. This happened in the txn metadata code when we had
to thread while handling a node.
2012-10-20 12:52:25 -07:00
JoelKatz
7b8e445456 Some extra constructors. 2012-10-20 12:52:20 -07:00
JoelKatz
d2005a718c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-20 12:20:54 -07:00
JoelKatz
cc94abf891 Some cleanups. 2012-10-20 12:20:47 -07:00
jed
544e181bd2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-20 07:01:27 -07:00