Commit Graph

  • b14b2f5dab Separate close times and network times. JoelKatz 2012-08-06 02:12:27 -07:00
  • 05e193f370 Use a median filter to protect against bad timeservers. JoelKatz 2012-08-05 20:07:08 -07:00
  • 65cbd319c1 Cleanups. JoelKatz 2012-08-05 03:56:17 -07:00
  • ad0650b7fa Suppress small offsets. They are likely just due to rounding. JoelKatz 2012-08-05 03:47:15 -07:00
  • ed8635c98d Use the OpenSSL RNG for randomness that needs to be secure. JoelKatz 2012-08-05 00:54:28 -07:00
  • 3e3d367c98 Finalizations, cleanup, and security improvements. JoelKatz 2012-08-05 00:39:06 -07:00
  • 6bd7738303 Make time errors a thing of the past. JoelKatz 2012-08-05 00:19:41 -07:00
  • ee01b55874 An SNTP client implementation. About 95% complete right now. JoelKatz 2012-08-04 21:33:05 -07:00
  • 1a6a6231cc Add path expansion to transaction engine. Arthur Britto 2012-08-03 14:57:52 -07:00
  • 78f415f386 Allow a 20 second clock offset. JoelKatz 2012-08-03 07:02:18 -07:00
  • 127391b345 Remove assert. JoelKatz 2012-08-03 06:51:32 -07:00
  • d98a931b8e Compute our clock offset. (We don't actually set it yet though.) JoelKatz 2012-08-03 04:40:16 -07:00
  • 97c1dc73f6 Use the offset. JoelKatz 2012-08-03 04:40:10 -07:00
  • 0f4800f6bb Support for a local time to network time offset JoelKatz 2012-08-03 04:39:52 -07:00
  • 1892e7e00a Some extra debug. JoelKatz 2012-08-03 04:11:52 -07:00
  • 5778cb1183 Keep one validation back to avoid a split case when some nodes have sent new validations and some haven't JoelKatz 2012-08-03 04:07:01 -07:00
  • 6815c7ef98 Cleanups. JoelKatz 2012-08-03 04:06:53 -07:00
  • d251a67d17 Fix typos. JoelKatz 2012-08-03 03:47:27 -07:00
  • debcea79f0 Don't switch to our own previous ledger. JoelKatz 2012-08-03 03:46:31 -07:00
  • 9eaf052ee8 Make this compile temporarily. JoelKatz 2012-08-03 03:22:32 -07:00
  • 7b44fffb27 Make this compile. JoelKatz 2012-08-03 03:22:00 -07:00
  • a202eb50d7 Cleanups. JoelKatz 2012-08-03 02:57:55 -07:00
  • c5f7656137 Better logging of ledger jumps. JoelKatz 2012-08-03 02:57:36 -07:00
  • a089dd5460 Fix a bug in how we count validations. JoelKatz 2012-08-03 02:57:14 -07:00
  • 42bd29c212 Work towards ripple. Arthur Britto 2012-08-02 19:16:24 -07:00
  • 0f44af556e Better reporting of ledger jumps. JoelKatz 2012-08-02 11:51:24 -07:00
  • e373a58f5c Avoid duplicate completion of acquired ledgers. JoelKatz 2012-08-02 11:50:59 -07:00
  • 67ee822948 Fix the other half of the acquire timeout bug. JoelKatz 2012-08-02 11:36:48 -07:00
  • befd7aa108 Fix an infinite timeout scenario with ledger acquisition. JoelKatz 2012-08-02 11:34:11 -07:00
  • 63576f0709 Fix the crash bug Jed reported. JoelKatz 2012-08-02 11:33:58 -07:00
  • a902134133 Don't be blind to validations during the idle time. JoelKatz 2012-08-01 15:00:39 -07:00
  • 68677270bf Revert inadvertant commit. JoelKatz 2012-08-01 14:43:19 -07:00
  • 8772f7ca90 Bump versions to 4 just in case it's a version mismatch. JoelKatz 2012-08-01 14:39:00 -07:00
  • ee3562a9a9 Cleanup resynch logic. JoelKatz 2012-08-01 14:38:29 -07:00
  • d25fc9c593 Fix endless recursion. JoelKatz 2012-08-01 14:36:39 -07:00
  • db8775729f Merge branch 'master' into ripple Arthur Britto 2012-08-01 14:34:24 -07:00
  • a17ca0cd4a Fix the crash bug. JoelKatz 2012-08-01 14:19:13 -07:00
  • 794fe66008 Work towards ripple. Arthur Britto 2012-08-01 12:44:22 -07:00
  • 1213f34d75 More pieces. JoelKatz 2012-07-31 01:01:50 -07:00
  • 7971151c3b Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-07-30 23:44:31 -07:00
  • 6e1ffd752d Well, that was painful. Can't use vectors because they slice. Can't use sets because their contents are immutable. Can't use maps because there's no type that corresponds to the sort order. Can't use a vector of pointers because they won't snapshot/copy correctly. No real choice but to use boost::ptr_vector and create the necessary helper functions for it to work. JoelKatz 2012-07-30 23:42:57 -07:00
  • 935588a208 compile on windows jed 2012-07-30 09:20:02 -07:00
  • a01909fa4b Some transaction metadata fixes. JoelKatz 2012-07-30 00:29:42 -07:00
  • 4f8ada17c7 Work towards ripple. Arthur Britto 2012-07-28 17:36:08 -07:00
  • fde853d388 Revise STPathSet. Arthur Britto 2012-07-28 17:35:51 -07:00
  • 1167ba2cc0 Set up for ledger diffs to populate the metadata. Special case for unfunded offers -- need to know how much was taken before deletion JoelKatz 2012-07-28 14:49:34 -07:00
  • 74d0fe000c Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-27 14:07:15 -07:00
  • 18c8045ba6 Make STPathSet BOOST_FOREACH compatible. Arthur Britto 2012-07-27 14:06:45 -07:00
  • 2e867c37e8 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-07-27 12:56:45 -07:00
  • ce2e1cea33 Beging merging transaction metadata code with ledger entry set code. JoelKatz 2012-07-27 12:56:28 -07:00
  • 453f72661b Update RPC, transactions, and ledger for new accountRootNode format. Arthur Britto 2012-07-26 19:07:52 -07:00
  • ad77087ee5 Remove some unneeded reference count bumps. JoelKatz 2012-07-26 16:38:42 -07:00
  • c5995e9e1e Add some asserts. JoelKatz 2012-07-26 16:35:36 -07:00
  • 061460b1f8 Fix a case I mishandled. JoelKatz 2012-07-26 16:25:51 -07:00
  • 487590b938 Fixes. JoelKatz 2012-07-26 16:22:40 -07:00
  • 073f3904ec LedgerEntrySet fixes. Arthur Britto 2012-07-26 16:13:39 -07:00
  • 8e4ead4b62 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-26 12:51:59 -07:00
  • e2dd0b1fb2 Cosmetic. Arthur Britto 2012-07-26 12:50:50 -07:00
  • 952b0d5ec5 Small cleanup. JoelKatz 2012-07-26 04:10:01 -07:00
  • 5fa4bad9b5 Switch to the new LedgerEntrySet code. This provides more sophisticated checkpointing and rewinding. JoelKatz 2012-07-26 04:07:37 -07:00
  • b575e72093 Metadata structures for deletion of unfunded offers. JoelKatz 2012-07-25 18:40:08 -07:00
  • de6ef42baf Complete the basic API for LedgerEntrySet's. JoelKatz 2012-07-25 04:01:42 -07:00
  • 40c4d686fb LedgerEntrySet work. JoelKatz 2012-07-25 02:46:19 -07:00
  • e97c4a7d8e Allow unordered_map's of uint160/uint256 to work without including SHAMap.h JoelKatz 2012-07-25 02:45:24 -07:00
  • f6a7d86f2b Cleanup. JoelKatz 2012-07-25 02:42:18 -07:00
  • b31ae630cf Small bits. JoelKatz 2012-07-25 01:51:41 -07:00
  • 39ed76a8ff This should be the API Arthur needs. JoelKatz 2012-07-25 01:49:58 -07:00
  • 143e437aba Merge branch 'ripple' Arthur Britto 2012-07-24 19:46:43 -07:00
  • de4af3a8ce Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-24 19:45:56 -07:00
  • 4d6c37857e Work in progress on ripple. Arthur Britto 2012-07-24 19:45:47 -07:00
  • aababa680f Add ripple quality in and out. Arthur Britto 2012-07-24 15:02:09 -07:00
  • f9e8a77d90 Bugfix and some more missing pieces. JoelKatz 2012-07-24 13:27:57 -07:00
  • 478d567531 More transaction metadata work. JoelKatz 2012-07-23 23:11:03 -07:00
  • 2ba8527f07 More TransactionMetadata work. JoelKatz 2012-07-23 02:59:49 -07:00
  • 90f64e4c0d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-07-23 01:55:58 -07:00
  • fb60b99781 Header for classes to manipulate transaction metadata. JoelKatz 2012-07-23 01:55:20 -07:00
  • 276f6f4da1 Change sfDirectory to sfBookDirectory. Arthur Britto 2012-07-20 15:23:32 -07:00
  • 101ce61953 Cosmetic. Arthur Britto 2012-07-20 14:25:10 -07:00
  • 0aa415ec0f Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-20 14:16:48 -07:00
  • a61cf78299 Better handling of full values for amounts. Arthur Britto 2012-07-20 14:16:34 -07:00
  • 4e4195e229 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-07-20 14:08:47 -07:00
  • 2230286afb Some small missing pieces for TX metadata. JoelKatz 2012-07-20 14:08:33 -07:00
  • 1f02996e1d Minor changes. Arthur Britto 2012-07-20 13:04:53 -07:00
  • e39bdb2a7d Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-07-19 11:26:18 -07:00
  • fadca2cb97 Mark the problem. JoelKatz 2012-07-19 08:32:23 -07:00
  • e724dcbee8 An ugly temporary fix to handling integers in the RPC parameters. JoelKatz 2012-07-19 08:31:27 -07:00
  • 0dd3614c7c Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-07-18 21:59:19 -07:00
  • 71e499a421 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-18 19:12:33 -07:00
  • 7236eed852 Fixes for applyOffer. Arthur Britto 2012-07-18 19:12:27 -07:00
  • d1939cc69d Save changes when sending stamps. Arthur Britto 2012-07-18 19:11:57 -07:00
  • ab61b7ca46 Let's test divide too, while we're at it. JoelKatz 2012-07-18 17:47:15 -07:00
  • 1714695d9b Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-18 17:40:24 -07:00
  • d62c6a974e Add logging for offer create. Arthur Britto 2012-07-18 17:40:21 -07:00
  • 8d7c06e449 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-07-18 17:39:06 -07:00
  • e0656fd63b compile on windows jed 2012-07-18 17:38:51 -07:00
  • ccc799e404 Fix a bug Arthur reported. JoelKatz 2012-07-18 17:37:30 -07:00
  • d0db6e4476 Rework caching of SLEs during transaction processing. Arthur Britto 2012-07-18 14:49:50 -07:00
  • af92bb5347 Santize locally submited transactions. Arthur Britto 2012-07-18 14:48:50 -07:00
  • f8882b32bf Rename ledger index functions. Arthur Britto 2012-07-18 14:48:05 -07:00
  • 219162c358 Less logging. Arthur Britto 2012-07-18 14:46:57 -07:00