Commit Graph

4223 Commits

Author SHA1 Message Date
JoelKatz
15da609e0d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-19 14:32:14 -08:00
JoelKatz
07091cfc3c Fixes. 2013-01-19 14:31:31 -08:00
Arthur Britto
00e97a8938 Cosmetic. 2013-01-19 14:26:05 -08:00
Arthur Britto
6bc587b02f Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-19 14:16:14 -08:00
Arthur Britto
308ca21b97 Make tecUNFUNDED more specific and fix WalletAdd. 2013-01-19 14:15:56 -08:00
JoelKatz
4c6920dd55 Add extra debug to better understand how the txn retry logic is working.
Avoid an extra transaction pass caused by failed transactions counting as changes.
Downgrade some debug messages from INFO to DEBUG.
2013-01-19 14:09:42 -08:00
Arthur Britto
51bbe5ffc8 Add path test for issue #23. 2013-01-19 13:19:17 -08:00
Stefan Thomas
87c661f778 JS: Add account_info RPC method. 2013-01-19 10:57:33 +01:00
Arthur Britto
76959ba1a7 UT: Add new test for retry logic - currently failing. 2013-01-18 17:57:23 -08:00
JoelKatz
80d98e55a9 Clean up JSON reporting of booleans and network state. 2013-01-18 17:38:11 -08:00
Arthur Britto
032022a5bf Clarify how security works in rippled-example.cfg 2013-01-18 15:38:27 -08:00
JoelKatz
79d1727b38 Hopefully, handle partial success correctly. Retry engine. 2013-01-18 10:17:21 -08:00
JoelKatz
ae51e9d203 Finish support for RPC user/pass auth. 2013-01-18 05:35:10 -08:00
JoelKatz
fd76033e55 On second thought, this is what we want. 2013-01-18 03:06:12 -08:00
JoelKatz
015d09993d Fix HTTPAuthorized. It's currently not used. 2013-01-18 03:01:54 -08:00
JoelKatz
dd8559628e Pass the correct remote IP address down. 2013-01-18 02:47:36 -08:00
Arthur Britto
dc77118f4a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-18 01:49:08 -08:00
Arthur Britto
7688253df9 Work arround crashing on ~Config. 2013-01-18 01:48:55 -08:00
Arthur Britto
e69d309cb3 More security changes. 2013-01-18 01:41:48 -08:00
Arthur Britto
bda80d4144 Change the security model for RPC admin access. 2013-01-18 00:36:22 -08:00
JoelKatz
8feb9d6c29 Handle an edge case. 2013-01-17 21:08:23 -08:00
JoelKatz
0055122176 Make sure it's safe to modify acquired ledgers. 2013-01-17 21:08:02 -08:00
Arthur Britto
f6202011fd Improve rippled-example.cfg documentation. 2013-01-17 14:18:37 -08:00
Arthur Britto
f54a3ca970 Fix security for RPC validation_seed. 2013-01-17 14:15:23 -08:00
Arthur Britto
1568422fb7 UT: Test account subscription for nexus. 2013-01-17 13:02:41 -08:00
Arthur Britto
a8b1b205d5 JS: Forward account and transaction publishes. 2013-01-17 13:02:24 -08:00
JoelKatz
809868c6fc This is not optimal, but this should at least make the logic for when we
publish transactions to which accounts sensible.
2013-01-17 11:33:42 -08:00
JoelKatz
65a1d00751 Remove dead PubKeyCache code. 2013-01-17 10:54:37 -08:00
JoelKatz
902af8cd90 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-17 10:47:37 -08:00
JoelKatz
8da284705f Fix 'getAffectedAccount' -- logic was totally wrong.
You can't get this from the transaction because which accounts a transaction
affects depends on things like which offers it winds up taking. And you
can't build it with the metadata because you don't always build the metadata
locally -- consider fetching a ledger after a network split. The only
rational way to do this is to build the affected account vector from the
metadata.
2013-01-17 10:46:12 -08:00
Arthur Britto
c0a630a196 Allow RPC subscribe with no streams. 2013-01-16 22:42:10 -08:00
Arthur Britto
2775d76df3 Limit length of Domain and MessageKey fields. 2013-01-16 19:48:22 -08:00
Arthur Britto
29ead4e3e0 UT: Add ledger_close to testutils. 2013-01-16 19:30:21 -08:00
Arthur Britto
97716977c9 Report an error if RPC subscribe specifies no streams. 2013-01-16 15:22:29 -08:00
Arthur Britto
8069ac8ab7 Document [rpc_startup] in rippled-example.cfg. 2013-01-16 15:13:11 -08:00
Arthur Britto
b6a24b9bc2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-16 15:05:55 -08:00
Arthur Britto
4982ffdf74 Add support for calling RPC command at startup from config file. 2013-01-16 15:05:44 -08:00
Arthur Britto
503e9a7ddc More specific RPC error reporting. 2013-01-16 15:03:36 -08:00
Stefan Thomas
c0e728c310 Amount.product_human and Amount.ratio_human need to canonicalize. 2013-01-16 19:17:35 +01:00
JoelKatz
a87768ead5 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-16 08:55:12 -08:00
JoelKatz
1b168aec36 These functions can be simpler. The bignum binary format does not have X.509 semantics, so no need to
use an extra byte.
2013-01-16 08:54:29 -08:00
Stefan Thomas
886dbe998f Add certain database-related files to .gitignore. 2013-01-16 16:18:48 +01:00
Stefan Thomas
32d6e0728a Show a more specific error when entering an invalid command on the CLI RPC. 2013-01-16 16:17:28 +01:00
JoelKatz
8136f98729 Cleanups. uint64_t -> uint64 2013-01-16 00:38:20 -08:00
JoelKatz
271bf901ec Support for compiling on 32-bit platforms. The main issue was BN_ULONG size and not using 'long' where
'long long' or 'uint64' should be used.
2013-01-15 23:47:42 -08:00
Arthur Britto
0d7f8cbe13 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-15 19:56:07 -08:00
Arthur Britto
ffd32cc66c Make specific generic uses of temINVALID. 2013-01-15 19:55:57 -08:00
JoelKatz
34b8819507 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-15 19:47:34 -08:00
JoelKatz
7f18a8ffc3 Reduce debug levels. 2013-01-15 19:47:20 -08:00
JoelKatz
56571602b0 Reduce a debug message to debug level. 2013-01-15 19:46:58 -08:00