Commit Graph

3221 Commits

Author SHA1 Message Date
Arthur Britto
3dfb1ca1eb Note problems with account_tx. 2013-01-04 11:56:45 -08:00
Stefan Thomas
07bb2a82dd Fix typo. Uint vs UInt always trips me up. :/ 2013-01-04 19:21:04 +01:00
JoelKatz
c5cda1abfe Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-04 01:10:27 -08:00
JoelKatz
8ace87066a Fix a huge delay with --net 2013-01-04 01:10:13 -08:00
Stefan Thomas
2288089a97 Update upstream SJCL. This version contains our SHA512 contribution.
Preparing to get rid of the client having it's own separate copy of SJCL which
is not all that cool. :/
2013-01-04 10:02:13 +01:00
Stefan Thomas
d78b746889 More robust input type handling for Uint160.from_json(). 2013-01-04 09:47:03 +01:00
JoelKatz
f0c73a76ce Fix some local acquire logic 2013-01-04 00:40:03 -08:00
JoelKatz
03ecbd1ea8 Create a few extra threads. 2013-01-04 00:22:20 -08:00
JoelKatz
06c54c425c Fix not leaving the "need network ledger" state correctly. 2013-01-04 00:08:27 -08:00
JoelKatz
aee92a447c Suppress some spurious non-local fetches of data. 2013-01-04 00:01:43 -08:00
JoelKatz
3708271ae5 Rest of fix. 2013-01-03 23:37:38 -08:00
JoelKatz
3eafdbc38b Emergency fix. 2013-01-03 23:28:03 -08:00
JoelKatz
11cb109c16 Another safety. 2013-01-03 23:23:10 -08:00
JoelKatz
6849c579eb Extra safety. 2013-01-03 23:12:48 -08:00
JoelKatz
7859dceb32 Small cleanup. 2013-01-03 23:09:17 -08:00
JoelKatz
903a04e9bd Raise the pending save count sooner. 2013-01-03 23:07:56 -08:00
JoelKatz
0d8ed85bd4 Update. 2013-01-03 22:44:56 -08:00
JoelKatz
e78b5d11b6 Bugfix. 2013-01-03 22:33:55 -08:00
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
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
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
Arthur Britto
12b4273a74 JS: Add support for client knowing about connecting to testnet server. 2013-01-02 21:42:27 -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