Commit Graph

742 Commits

Author SHA1 Message Date
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
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
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
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
JoelKatz
940cc9059c Peer::handleWrite grabs the wrong lock. 2013-01-15 16:21:53 -08:00
Arthur Britto
b61e201667 Get rid of chatty debug. 2013-01-15 15:43:52 -08:00
JoelKatz
d3069f7fbc Get rid of an unneeded member. Add some comments. 2013-01-15 10:21:46 -08:00
JoelKatz
bdd953076a Avoid a needless allocate/copy/free in addRootNode. 2013-01-15 10:21:16 -08:00
JoelKatz
dded68afb9 Tiny cleanup. 2013-01-15 10:21:07 -08:00
JoelKatz
90010b8870 Cleanups. Remove some unneeded filters. 2013-01-15 10:20:41 -08:00
JoelKatz
343d9edb51 make server_info more friendly. 2013-01-15 02:01:24 -08:00
JoelKatz
88437c9cab Cleanup. 2013-01-15 02:01:07 -08:00
JoelKatz
a79b6e0a15 Add new fields to peer Json output. 2013-01-14 23:48:51 -08:00
JoelKatz
b95b704ecb Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-14 23:43:34 -08:00
JoelKatz
33b2a20024 Correctly track direction and privilege of peer connections, pass to load tracking. 2013-01-14 23:30:13 -08:00
Arthur Britto
026f2a7fc7 More debugging. 2013-01-14 21:45:54 -08:00
Arthur Britto
ca432d5a9c More debugging. 2013-01-14 21:39:40 -08:00
Arthur Britto
af0e39f11c Typo 2013-01-14 21:25:36 -08:00
Arthur Britto
9c6d073d89 More logging for RPC subscribe. 2013-01-14 21:21:22 -08:00
Arthur Britto
758ba0b3e3 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-14 20:19:01 -08:00
Arthur Britto
5c052ebdf4 Temporarily turn off admin checking for subscribe. 2013-01-14 20:18:34 -08:00
JoelKatz
8f6c597373 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-14 18:17:02 -08:00
JoelKatz
9dea6df56b Tuning. 2013-01-14 18:16:47 -08:00
Arthur Britto
1008c8d1f1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-14 17:00:25 -08:00
Arthur Britto
104613a0a6 Add command line support for sign. 2013-01-14 17:00:09 -08:00
Arthur Britto
4e06e0ffa5 Add server support for sign and submit tx_blobs. 2013-01-14 16:59:47 -08:00
Arthur Britto
88c702a957 Make actual submitting optional for submitTransactionSync 2013-01-14 16:59:06 -08:00
Arthur Britto
f2337b81db Have strUnhex report malformed hex. 2013-01-14 16:58:14 -08:00
Arthur Britto
2b70d3f750 Output fee information in server_info. 2013-01-14 14:28:23 -08:00
jed
f3a28d65b7 windows 2013-01-14 12:57:37 -08:00
JoelKatz
8afbc33706 Some LedgerAcquire improvements. 2013-01-14 02:12:30 -08:00
JoelKatz
61c07696a7 Stop a crash that can happen during shutdown. 2013-01-14 02:12:03 -08:00
JoelKatz
5fa43cc770 Make a simple way to extend the RPC command set without modifying core server code.
This makes it easy to add self-contained modules that can be controlled and is also
useful for one-off and troubleshooting commands.
2013-01-13 22:46:42 -08:00
JoelKatz
fc78cb38ed Don't favor (for acquire) peers that come earlier in the peer vector. 2013-01-13 21:40:46 -08:00
Arthur Britto
a12a566139 Make ripple_path_find work for command line. 2013-01-13 21:11:37 -08:00
JoelKatz
db759ea6c9 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-13 17:48:59 -08:00
JoelKatz
3b905588b5 Make create after delete officially legal. 2013-01-13 17:47:29 -08:00
Arthur Britto
b49c5dc80d Whitespace. 2013-01-13 16:17:28 -08:00