Commit Graph

5768 Commits

Author SHA1 Message Date
JoelKatz
23eafaab85 doAccountLines micro-optimization. 2013-05-21 15:40:44 -07:00
JoelKatz
a6bbef4718 Let 'isValid' inline. 2013-05-21 15:39:35 -07:00
JoelKatz
dedb8ff945 Merge branch 'cache_snapshot' into develop 2013-05-20 11:56:36 -07:00
Vinnie Falco
cb9eff134a Update .gitattributes for annoying files that keep changing 2013-05-20 07:43:54 -07:00
JoelKatz
b6b455ab37 Release master lock while getting nodes from a mutable ledger for a peer. 2013-05-17 03:16:04 -07:00
JoelKatz
968618a50c More verbose logging of invalid node requests. 2013-05-17 02:04:12 -07:00
JoelKatz
1139ac5ab4 Make fetch packs less generous. 2013-05-17 02:04:04 -07:00
JoelKatz
327f20710c Fix. 2013-05-17 01:56:34 -07:00
JoelKatz
ff6e035e6e Bugfix. 2013-05-17 01:52:39 -07:00
JoelKatz
c2bea03886 Bug in previous commit. 2013-05-17 01:50:19 -07:00
JoelKatz
c0e046a721 Don't put a leaf node in a fetch pack just because it moved. 2013-05-17 01:46:39 -07:00
JoelKatz
249d5575cd Avoid an allocate/copy/free 2013-05-17 01:46:22 -07:00
JoelKatz
c377562e7f Cleanups. 2013-05-17 01:44:49 -07:00
JoelKatz
141c2dce11 Avoid needless allocate/copy/free 2013-05-17 01:44:37 -07:00
JoelKatz
d22c11be1c Return references. 2013-05-17 01:40:55 -07:00
JoelKatz
5b68834e3b Set correct hash in fetch pack. 2013-05-17 01:14:03 -07:00
JoelKatz
a71225f9a3 Don't service stale/superceded fetch pack requests. 2013-05-17 01:05:29 -07:00
JoelKatz
5e1dddd1c7 Second check if fetch pack should be skipped. 2013-05-17 01:02:01 -07:00
JoelKatz
4d0f02a46a CondVar::SignalAll was broken, leading to deadlocks on Windows builds.
http://code.google.com/p/leveldb/issues/detail?id=149
2013-05-16 23:02:11 -07:00
JoelKatz
7f25ccec49 Make sure to check the signature, even in this odd edge case. 2013-05-16 19:31:52 -07:00
JoelKatz
d12e346613 Merge branch 'feature-static-link' of https://github.com/vinniefalco/NewCoin into develop 2013-05-16 18:35:10 -07:00
JoelKatz
6d020177ca Log the sequence in the close time message. 2013-05-16 12:01:55 -07:00
JoelKatz
33b318c5bc Improve backfill in validation gate. 2013-05-16 11:59:28 -07:00
JoelKatz
c98a3e3895 Must wrap non-const references passed to make_shared. 2013-05-16 11:24:20 -07:00
JoelKatz
0671412ab9 Merge branch 'develop' into cache_snapshot 2013-05-16 01:02:27 -07:00
JoelKatz
44bc8c4e9f Code needs to know if LevelDB has been compiled in. 2013-05-16 01:01:04 -07:00
JoelKatz
28f54176f3 Use the current snapshot to get immutable ledger optimizations. 2013-05-16 00:58:44 -07:00
JoelKatz
eecc9017b1 Wrapper to get current snapshot. 2013-05-16 00:58:34 -07:00
JoelKatz
6556719547 LedgerMaster keeps cached snapshot of the current ledger. 2013-05-16 00:58:20 -07:00
JoelKatz
379875ae47 Hash is not valid if transaction is added to ledger. 2013-05-16 00:57:56 -07:00
Arthur Britto
d432b93bfa Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-05-15 20:36:46 -07:00
Arthur Britto
ad07afc187 Merge branch 'feature-linux-leveldb-unity' into develop 2013-05-15 20:36:30 -07:00
JoelKatz
9c55b3b92a Allow servers to explcitly vouch for correct signatures on
transactions, proposals, and validations. This will allow cluster
members to more safely distribute crypto work.
2013-05-15 20:26:12 -07:00
Arthur Britto
28c3af76cb Support unity build for leveldb and scons. 2013-05-15 20:17:19 -07:00
Arthur Britto
0c5d4280d4 SConstruct changes. 2013-05-15 19:41:50 -07:00
JoelKatz
afbaa46924 Upgrade LevelDB to 1.10.0, mostly for better write stall logging. 2013-05-15 17:32:44 -07:00
JoelKatz
b00ac64941 Update the signature check flags if needed. 2013-05-15 15:55:35 -07:00
JoelKatz
586c6aee31 Bypass signature check if it has already been done. 2013-05-15 15:55:23 -07:00
JoelKatz
285ef764d3 Don't stash the key when we don't need it. 2013-05-15 15:54:52 -07:00
JoelKatz
a690ca658d Cache signature state inside SerializedTransaction. 2013-05-15 15:54:30 -07:00
JoelKatz
1bef09b0ef Operation to extract transaction ID from CanonicalTXSet entries. 2013-05-15 15:53:49 -07:00
Vinnie Falco
5df387017b Normalize line endings 2013-05-15 21:07:01 +00:00
JoelKatz
794469fddb Report the number of "backed up" node writes in get_counts. 2013-05-15 11:11:19 -07:00
JoelKatz
7855c4d642 Merge branch 'faster_clientops' into develop 2013-05-14 18:44:42 -07:00
JoelKatz
c4345768e7 Fix an assert. 2013-05-14 18:44:27 -07:00
JoelKatz
05b9004966 Missed a constructor. 2013-05-14 18:41:21 -07:00
JoelKatz
9be7b9cc3f doBookOffers optimizations. 2013-05-14 18:38:36 -07:00
JoelKatz
417143a25e Okay to put immutable SLE in immutable LES. 2013-05-14 18:38:07 -07:00
JoelKatz
696ffe4b87 Use the immutable LES. 2013-05-14 18:36:26 -07:00
JoelKatz
29d86eba55 Cache for immutable LES's. 2013-05-14 18:36:14 -07:00