Commit Graph

777 Commits

Author SHA1 Message Date
Arthur Britto
7dfbe2aea1 Return temINVALID_FLAG for transaction with no flags. 2013-01-03 14:07:41 -08:00
Arthur Britto
7c0b43fe06 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-03 13:07:10 -08:00
Arthur Britto
949679dd1a Add disabled support for DestinationTag & lsfRequireDestTag. 2013-01-03 13:06:48 -08:00
Arthur Britto
75d935e0df Merge tepPARTIAL into tecCLAIMED. 2013-01-03 13:04:07 -08:00
JoelKatz
d7508146aa Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-03 12:42:58 -08:00
JoelKatz
7cd52cd448 Since most transactions will likely have zero for the Flags field, make it optional. 2013-01-03 12:42:37 -08:00
Arthur Britto
fc03403004 Clean up errors messages. 2013-01-02 23:57:11 -08:00
Arthur Britto
4201cd13c0 Make prefix for testnet "testnet-". 2013-01-02 23:56:41 -08:00
Arthur Britto
da456d0107 Merge branch 'testnet' 2013-01-02 23:03:06 -08:00
Arthur Britto
f873c1fc27 Load UNL by --testnet. 2013-01-02 23:02:29 -08:00
Arthur Britto
94444a89b4 Vary alphabet by --testnet. 2013-01-02 22:58:44 -08:00
Arthur Britto
e7e16e5c75 Provide --testnet status to API. 2013-01-02 22:57:11 -08:00
Arthur Britto
511587da5d Sign based on --testnet. 2013-01-02 22:55:47 -08:00
Arthur Britto
dfccda5ba8 Announce --testnet in Hello. 2013-01-02 22:54:29 -08:00
Arthur Britto
3781555bda Add --testnet flag. 2013-01-02 22:51:21 -08:00
JoelKatz
8f5aa1a810 Wrong type. 2013-01-02 19:22:34 -08:00
JoelKatz
ee3b17e49f Cleanups. 2013-01-02 19:12:21 -08:00
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
6830a61ff1 Make validation_create require admin. 2013-01-01 02:04:19 -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
937f9718f8 Support paths for subscribe via json-rpc. 2012-12-30 17:16:53 -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
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