Commit Graph

4568 Commits

Author SHA1 Message Date
JoelKatz
9f3f86fe4e Extra constructor. 2013-02-18 12:06:18 -08:00
JoelKatz
ea00a06dba Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-18 12:05:21 -08:00
JoelKatz
97b748afe7 Fix startup with no configured peer_ip. 2013-02-18 12:04:06 -08:00
Stefan Thomas
d3b7a59b91 CLI: Add help for account_tx. 2013-02-18 15:07:27 +01:00
Stefan Thomas
594e3d7f3f JS: Correct object reference in Account. 2013-02-18 14:59:45 +01:00
Arthur Britto
68403ae1a2 JS: Fix Add for Amount. 2013-02-18 00:41:57 -08:00
Arthur Britto
8d249e2403 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-17 23:20:13 -08:00
Arthur Britto
4c8d405cc1 JS: Fix add of zero for non-XRP. 2013-02-17 23:19:31 -08:00
Arthur Britto
46223e26bf Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-17 23:00:04 -08:00
Arthur Britto
2ad9ccdc10 JS: Amount set_currency() nows sets _is_native. 2013-02-17 22:57:12 -08:00
Arthur Britto
0d18274a69 JS: Add is_positive() to Amount. 2013-02-17 22:04:44 -08:00
Arthur Britto
fbc619c2e3 Move gateways option to opts instead of config. 2013-02-17 21:07:09 -08:00
JoelKatz
676fb5462a Set the 'validated' field a bit more logically. 2013-02-17 17:10:17 -08:00
JoelKatz
72ee15afe9 Improve account_tx. Better performance, identify fully-validated transactions. 2013-02-17 16:49:57 -08:00
JoelKatz
bff793916e Missing type. 2013-02-17 16:49:53 -08:00
JoelKatz
a941a575ec Make sure we always have a "last validated ledger". 2013-02-17 16:49:37 -08:00
JoelKatz
84a2af37f9 Add 'getValidatedSeq'. 2013-02-17 16:49:24 -08:00
JoelKatz
862dbd7234 Add NetworkOPs::isValidate functions to check if a ledger is fully validated. 2013-02-15 19:01:48 -08:00
JoelKatz
fd009a750a Validated check was backwards. 2013-02-15 10:40:00 -08:00
JoelKatz
78f058d710 Add a 'validated' field to the 'tx' output. If true, the transaction metadata
came from a fully-validated ledger.
2013-02-15 09:32:24 -08:00
Stefan Thomas
690672348d NPM: Add grunt dependency. Needed for new grunt installation method. 2013-02-15 14:55:29 +01:00
Stefan Thomas
efbc62b126 Git fix: Re-add meta.js 2013-02-15 14:51:52 +01:00
JoelKatz
ba198b7806 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/js/meta.js
2013-02-15 05:40:55 -08:00
Stefan Thomas
792fa050ef JS: Correctly calculate affected accounts when routing account events. 2013-02-15 14:44:26 +01:00
JoelKatz
dc7f026bb2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-15 05:39:28 -08:00
Stefan Thomas
dbfce52d53 JS: Correctly calculate affected accounts when routing account events. 2013-02-15 14:43:24 +01:00
JoelKatz
158aa7c454 Make the 'tx' command return metadata if possible.
Allow the ledger to be specified a bit more flexibly in account_tx.
2013-02-15 05:38:19 -08:00
JoelKatz
7bbf01e114 Function to get just txn metadata. 2013-02-15 05:38:01 -08:00
Arthur Britto
dd7f8aa8d1 Add strict option to RPC account_info and allow last closed ledger to be specified. 2013-02-14 23:51:57 -08:00
Arthur Britto
636987a61b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-14 22:23:32 -08:00
Stefan Thomas
c559fd2fb3 JS: Fix Account class realtime event processing. 2013-02-14 07:14:50 +01:00
Arthur Britto
9ac327f6cb UT: Add a path find test. (disabled) 2013-02-13 21:07:14 -08:00
Arthur Britto
e62e5f5fa2 Fixes for brute force path finding. 2013-02-13 17:00:30 -08:00
Arthur Britto
235ab44728 Add RPC ping. 2013-02-13 14:50:05 -08:00
Stefan Thomas
73f96aa0d5 JS: Account class keeps track of AccountRoot entry. 2013-02-13 18:45:14 +01:00
Stefan Thomas
0c3c79211e JS: Allow an integer factor in Amount#product_human. 2013-02-13 18:45:14 +01:00
Stefan Thomas
8fbfeb082b JS: Typo. 2013-02-13 18:45:14 +01:00
JoelKatz
ef3dd3ca77 Don't recompute the OrderBookDB too many times more than needed. 2013-02-13 09:31:52 -08:00
JoelKatz
ef82b050ed Fix a bug Arthur caught. 2013-02-13 08:48:51 -08:00
JoelKatz
d767da37d8 Shamelessly stolen from the 'fastertest' patch.
This makes the unit tests run about 70% faster and solves a long-standing annoyance that
running in standalone mode could contaminate your databases.
2013-02-13 05:37:15 -08:00
JoelKatz
fa2283f234 Micro-optimization. 2013-02-13 05:34:19 -08:00
JoelKatz
cf02cfd089 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-13 05:28:16 -08:00
JoelKatz
ca57bf8290 Don't wipe the order book while it's being used.
Fix OrderBookDB::getBooks so it can return something.
Fix some cases of the find/[] anti-pattern. (You don't need to search twice.)
2013-02-13 05:27:31 -08:00
Stefan Thomas
85f9f67865 JS: Fix Transaction#paths. 2013-02-13 13:09:36 +01:00
Stefan Thomas
1bac4cb1f2 JS: Prevent duplicate WebSocket objects. 2013-02-13 09:53:09 +01:00
JoelKatz
57a9f6afdc Logging reductions. 2013-02-13 00:09:12 -08:00
JoelKatz
25109d7298 Fix a race condition that can cause a crash on startup. 2013-02-12 23:20:20 -08:00
JoelKatz
62170d194a Suppress a warning. Micro-optimization. 2013-02-12 22:08:55 -08:00
JoelKatz
73fe72bfa3 Track whether a message is a broadcast. If a broadcast, log at a lower level. 2013-02-12 22:05:46 -08:00
JoelKatz
1cf14d68be Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-12 20:40:30 -08:00