JoelKatz
f75e175fc2
Make TaggedCache::del more flexible.
2013-01-02 14:25:06 -08:00
JoelKatz
1127ae560e
Defer publishing a ledger to clients until it accumulates sufficient
...
validations. We now have an open ledger, a last closed ledger, and a last
validated ledger. Normally, a ledger will be validated right after it
closes, but in edge cases, we might see a ledger close that then doesn't get
validated. This makes the code do the right thing.
2013-01-02 12:04:16 -08:00
JoelKatz
b71d0a93f9
Bugfix.
2013-01-01 18:26:17 -08:00
JoelKatz
c2d654efee
More of the new publication logic.
2013-01-01 18:21:19 -08:00
JoelKatz
a543ee9ff5
Cleanup.
2013-01-01 18:21:08 -08:00
JoelKatz
55825b8b5f
Cleanups.
2013-01-01 18:20:30 -08:00
JoelKatz
d27b395c1c
Helper function.
2013-01-01 18:18:27 -08:00
JoelKatz
4d6f04ed2f
Helper function.
2013-01-01 18:16:57 -08:00
JoelKatz
db9897f12f
Fix the tagged cache so that the cache holds strong references.
2013-01-01 18:15:33 -08:00
JoelKatz
6fce36b107
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-01-01 16:11:53 -08:00
JoelKatz
1e24721a98
First part of the fix to stop us from publishing ledgers that don't get validated.
2013-01-01 16:11:30 -08:00
Arthur Britto
f09543fe8a
Cosmetic.
2013-01-01 14:37:44 -08:00
Arthur Britto
c78f352035
Add default fee for AccountSet.
2013-01-01 12:35:35 -08:00
Arthur Britto
2023e4266b
Add a utility to hexify a string.
2013-01-01 12:34:53 -08:00
Arthur Britto
3da7b9b90b
Add a utility to create a gravatar hash.
2013-01-01 12:00:40 -08:00
Arthur Britto
6830a61ff1
Make validation_create require admin.
2013-01-01 02:04:19 -08:00
Arthur Britto
737d81e7b0
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-31 16:37:48 -08:00
Arthur Britto
bbb2a41c80
UT: Add some non-function path tests.
2012-12-31 16:37:35 -08:00
JoelKatz
8b8a538a5c
On a ledger jump, properly invalidate prior ledgers and invalidate a backfill in progress.
2012-12-31 00:25:52 -08:00
JoelKatz
40b87e9157
Fix a bug that would cause the server to exit the "need network ledger" state prematurely.
2012-12-30 23:48:53 -08:00
JoelKatz
bafa5cb667
Fix a case that could stall the acquire engine.
2012-12-30 23:39:41 -08:00
JoelKatz
55acebae4c
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-30 22:37:09 -08:00
JoelKatz
0c91e7e78a
Add the code to walk to the ledger chain.
2012-12-30 22:36:54 -08:00
Arthur Britto
c785b5bb92
Fix a bug in rpc subscribe.
2012-12-30 18:24:25 -08:00
Arthur Britto
2d3994d1d3
UT: clean up.
2012-12-30 17:17:43 -08:00
Arthur Britto
937f9718f8
Support paths for subscribe via json-rpc.
2012-12-30 17:16:53 -08:00
Arthur Britto
bea23a6372
UT: Clean up.
2012-12-30 17:16:16 -08:00
Arthur Britto
19cc1c88f7
UT: jsonrpc tests - including subscribe.
2012-12-30 17:04:54 -08:00
Arthur Britto
1dcc62f2ad
Add a http server config to the example test config.
2012-12-30 17:04:42 -08:00
Arthur Britto
7fd00894b9
Allow empty array to for empty object for JSON-RPC.
2012-12-30 17:02:35 -08:00
Arthur Britto
6592f9de39
Report correct target for callRPC.
2012-12-30 17:02:01 -08:00
Arthur Britto
6ba31accb2
Fixes for rpc subscriptions.
2012-12-30 17:01:34 -08:00
Arthur Britto
5934f77b60
Add simple-jsonrpc to npm dependancies.
2012-12-30 17:00:49 -08:00
JoelKatz
5009d4c3b8
Cleanups.
2012-12-30 13:19:42 -08:00
Arthur Britto
eaaeaaba15
Allow seeds to be specified as hex.
2012-12-29 17:37:56 -08:00
Arthur Britto
0339aa9669
Have SetHex return validity and add strict option.
2012-12-29 17:37:39 -08:00
Arthur Britto
ab0da033c3
Add support for JSON-RPC subscriptions.
2012-12-29 16:07:29 -08:00
Arthur Britto
e91ce698f6
Add support for parsing port in urls.
2012-12-29 14:59:44 -08:00
Arthur Britto
824a79da85
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-29 14:43:07 -08:00
Arthur Britto
192dae3b74
Stub subscribe for JSON-RPC.
2012-12-29 14:42:38 -08:00
Arthur Britto
86d7781255
Fix user agent for JSON-RPC to use SYSTEM_NAME.
2012-12-29 14:41:07 -08:00
Arthur Britto
f6010b639a
Rename --test to --unittest.
2012-12-29 14:40:20 -08:00
Arthur Britto
dc2d87480f
Abstract parseUrl.
2012-12-29 14:39:41 -08:00
JoelKatz
b4004c4676
Fix a bug that, under rare circumstances, could lead to SHAMap corruption
2012-12-29 13:04:17 -08:00
JoelKatz
3ff4dc99ad
Function to retrieve previous ledger hashes from the ledger.
2012-12-28 20:40:30 -08:00
JoelKatz
3c9be6f549
Remove FirstLedgerSequence and mark it deprecated
2012-12-28 19:46:01 -08:00
JoelKatz
76213bc985
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-28 16:59:56 -08:00
JoelKatz
a83e00610a
Clarify the direction requests go
2012-12-28 16:52:12 -08:00
Arthur Britto
eaa1ce55ba
Remove bad doc from ripple-example.txt.
2012-12-28 14:16:28 -08:00
Arthur Britto
77a55090d9
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-12-28 11:08:47 -08:00