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
jed
dff82a1b74
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-15 19:32:48 -08:00
jed
5846951d22
windows
2013-01-15 19:32:18 -08:00
JoelKatz
40e508540f
load_fee -> load_factor
2013-01-15 19:26:52 -08:00
JoelKatz
1c48f6948d
Fix "age".
2013-01-15 19:21:24 -08:00
JoelKatz
1af14e07c7
Tiny cosmetic tweak.
2013-01-15 19:19:33 -08:00
JoelKatz
8191153dce
Split into server_info (for humans) and server_state (for machines).
...
Allow either without admin privileges, filter information out from non-admins.
Cleanup and improve data in all cases.
2013-01-15 19:16:20 -08:00
JoelKatz
01b3e9e0ae
Add 'getValidatedLedger' to get the last fully-validated ledger.
...
We should probably audit calls to 'getClosedLedger' to see if they should use this instead.
2013-01-15 19:05:30 -08:00
JoelKatz
fb3e2e8af4
Fix a crash bug Arthur reported.
2013-01-15 17:09:57 -08:00
JoelKatz
c57e28c55b
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-15 17:03:22 -08:00
JoelKatz
d398c5bb02
Don't show our validation key in non-admin server_info.
2013-01-15 17:03:00 -08:00
Arthur Britto
06f1e1339a
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-15 16:52:05 -08:00
Arthur Britto
6001be0f3b
UT: Add test for nexus customer to customer with and without transfer fee
2013-01-15 16:50:45 -08:00
JoelKatz
940cc9059c
Peer::handleWrite grabs the wrong lock.
2013-01-15 16:21:53 -08:00