Commit Graph

3930 Commits

Author SHA1 Message Date
JoelKatz
d4f4d9bf78 Redesign the way the acquire timer is (re)set so that we won't have bugs
where we fail to arm it.
2013-01-03 21:25:40 -08:00
JoelKatz
b7fe1424fb Count a ledger as present (for purposes of allowing clients that trust us to
query it) only when it has been validated.
2013-01-03 21:04:11 -08:00
JoelKatz
ea514b7cf3 Fix a bug that could stall the ledger acquire engine. 2013-01-03 21:03:51 -08:00
JoelKatz
d8910a45e6 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-03 18:17:32 -08:00
JoelKatz
6783f80034 Remove a FIXME, it has been fixed. 2013-01-03 18:17:08 -08:00
Arthur Britto
a043b7084f Cosmetic. 2013-01-03 14:28:45 -08:00
Arthur Britto
21940ee9cf Add disabled support for setting RequireDestTag. 2013-01-03 14:25:57 -08:00
Arthur Britto
039568616c Cosmetic. 2013-01-03 14:25:32 -08:00
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
75466bc4b6 UT: Add reserve tests. 2013-01-03 13:04: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
01764aa090 JS: Restrict UInt160 parse_json to wire format. 2013-01-03 00:54:20 -08:00
Arthur Britto
b0ea77809d Improve README. 2013-01-03 00:21:31 -08:00
Arthur Britto
43f888fbfa Clean up utility scripts. 2013-01-03 00:16:19 -08:00
Arthur Britto
6f7712e6c7 Fix typo. 2013-01-03 00:11:23 -08:00
Arthur Britto
325e83e02a Improve README. 2013-01-03 00:01:34 -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
6bbf86a209 Cosmetic. 2013-01-02 23:13: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
Arthur Britto
12b4273a74 JS: Add support for client knowing about connecting to testnet server. 2013-01-02 21:42:27 -08:00
Arthur Britto
98fec1fd2f Update README. 2013-01-02 21:40:28 -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
Arthur Britto
5d03351dd7 UT: Fix example http server. 2013-01-02 14:18:44 -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