Commit Graph

  • fbb0baaca0 Cleanups. JoelKatz 2012-09-26 00:28:58 -07:00
  • 11d8d481ff Merge branch 'master' of github.com:jedmccaleb/NewCoin into serialize JoelKatz 2012-09-25 22:48:40 -07:00
  • e0587a44b8 More work on new serializer code. JoelKatz 2012-09-25 22:47:59 -07:00
  • 8a5a9e0925 Small fixes. JoelKatz 2012-09-25 22:47:40 -07:00
  • 5a49b696ad UT: Get WS ledger_current test working. Arthur Britto 2012-09-25 19:37:15 -07:00
  • 2e5189f276 JS: Get request-respons and ledger_current working. Arthur Britto 2012-09-25 19:36:38 -07:00
  • 0cde836c0c Merge branch 'master' of github.com:jedmccaleb/NewCoin into serialize JoelKatz 2012-09-25 19:27:25 -07:00
  • 2446db0bbe More serialization work. JoelKatz 2012-09-25 19:27:09 -07:00
  • dfd55c1563 UT: Add timeout to WS connecting. Arthur Britto 2012-09-25 18:31:56 -07:00
  • ab4458ccb0 WS: add ledger_current command. Arthur Britto 2012-09-25 18:30:49 -07:00
  • 9336499950 Cosmetic. Arthur Britto 2012-09-25 18:30:27 -07:00
  • ead2067369 Merge branch 'master' of github.com:jedmccaleb/NewCoin into serialize JoelKatz 2012-09-25 16:49:27 -07:00
  • c757d363af Parts of the new serialization code. Does not compile yet. JoelKatz 2012-09-25 16:48:24 -07:00
  • dc3ec2f402 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-25 15:15:58 -07:00
  • bf71b7b1bf js: create a websocket connection. Arthur Britto 2012-09-25 15:15:45 -07:00
  • 04f0b12a13 UT: Initial tests of creating and connecting to a standalone store. Arthur Britto 2012-09-25 15:14:27 -07:00
  • b653b7d1c8 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-09-24 23:26:13 -07:00
  • 6c17c0270b Remove dead code. Use the protocol file to generate the STI_* constants. JoelKatz 2012-09-24 23:25:27 -07:00
  • c49834d396 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-24 20:35:27 -07:00
  • 87a4e295e8 . jed 2012-09-24 20:34:54 -07:00
  • 195cd9eade Report IP when do an RPC call. Arthur Britto 2012-09-24 20:07:31 -07:00
  • 521f47c330 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-24 19:51:02 -07:00
  • 8cc760ad8d Clean up offer processing. Arthur Britto 2012-09-24 19:50:57 -07:00
  • 19ee517d9f Neaten this up a bit. JoelKatz 2012-09-24 16:28:08 -07:00
  • 8d633bf065 Remove a FIXME since it's fixed. JoelKatz 2012-09-24 16:23:09 -07:00
  • 173b6ce558 More changes to the new serialization format that don't break compatibility. JoelKatz 2012-09-24 16:21:40 -07:00
  • 9432d35f14 You don't need to customize operator=(const&) since the base class does it for you. JoelKatz 2012-09-24 14:45:44 -07:00
  • 7ef8001505 Audit all construction cases, fix broken ones. JoelKatz 2012-09-24 14:36:48 -07:00
  • 3c5ea7020f Start of STAmount issuer fixes. JoelKatz 2012-09-24 14:30:24 -07:00
  • 8f88575b8e Low-level serializer functions for new type/name field. JoelKatz 2012-09-24 13:19:28 -07:00
  • a4070de73e Some work on the new binary formats that doesn't break current code. JoelKatz 2012-09-24 13:04:24 -07:00
  • c9ef12de39 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-24 11:54:14 -07:00
  • 169f0f487a UT: Rework server module to provide an object. Arthur Britto 2012-09-21 14:37:16 -07:00
  • 23af3863ed Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-20 00:17:25 -07:00
  • 02b3bcb089 Put the threading in the correct owner node for unthreaded nodes. Add some additional debug to threading. JoelKatz 2012-09-20 00:15:48 -07:00
  • 6d021a25d5 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-19 23:44:26 -07:00
  • 8c354f46b7 Fix the bug Jed reported. JoelKatz 2012-09-19 23:41:06 -07:00
  • 958ea8a6cd Checking sketch of JS libs. Arthur Britto 2012-09-18 15:44:25 -07:00
  • 908d797e7a UT start adding WS support. Arthur Britto 2012-09-18 15:43:58 -07:00
  • a8fd14aa8f Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-18 15:26:31 -07:00
  • 73c5b6addb There's a proper way to workaround the silliness, io_service::work JoelKatz 2012-09-18 13:21:07 -07:00
  • 77c06a1ca0 Allow SNTP in standalone mode. It was partially disabled before. JoelKatz 2012-09-18 12:24:09 -07:00
  • d28bb9f771 Ugly workaround for Boost I/O service weirdness. I/O service unconditionally terminates if it has no work to do and cannot be used to wait around for 'post' calls. JoelKatz 2012-09-18 12:23:14 -07:00
  • aa8ee3a165 Merge branch 'ut' Arthur Britto 2012-09-17 15:46:12 -07:00
  • 96b8816e72 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-17 15:46:06 -07:00
  • 333da36c19 UT: Set the cwd for the servers. Arthur Britto 2012-09-17 15:45:44 -07:00
  • b6771dcae9 Fix JS mkPath. Arthur Britto 2012-09-17 15:45:04 -07:00
  • 6847aaace5 Have UT start and stop a server. Arthur Britto 2012-09-17 15:35:07 -07:00
  • 1d686a15d8 Move --conf documentation to man page. Arthur Britto 2012-09-17 12:57:24 -07:00
  • ca14e129bb Cosmetic. Arthur Britto 2012-09-17 12:48:30 -07:00
  • d0d8fb4195 Make UT mkPath take strings as mode. Arthur Britto 2012-09-17 12:34:35 -07:00
  • 8b1ec78747 Merge branch 'ut' Arthur Britto 2012-09-17 12:29:38 -07:00
  • 86700c30bb Build testing newcoind.cfg as needed. Arthur Britto 2012-09-15 15:45:33 -07:00
  • 92fbff0efc If a new transaction is discovered in the consensus process and we have not relayed it recently, do so. This is not the perfect solution, it would be better to relay it when we accept the new ledger, relaying only if it fits in the consensus ledger. JoelKatz 2012-09-17 00:54:48 -07:00
  • 89518e23cc Fix two more race conditions involving us taking our position late. Remove an incorrect comment. JoelKatz 2012-09-17 00:38:47 -07:00
  • 9becb1d996 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-16 22:13:15 -07:00
  • 53107d2325 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-09-16 20:59:27 -07:00
  • 7744f7c111 Cleanups and improved comments. Fix a race condition if a peer ledger comes in before we take our initial position. JoelKatz 2012-09-16 20:58:38 -07:00
  • 29b28145dc Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-15 21:18:02 -07:00
  • 5ada5cc8c2 . jed 2012-09-15 21:17:50 -07:00
  • 6865e575cb Build testing newcoind.cfg as needed. Arthur Britto 2012-09-15 15:45:33 -07:00
  • f45886cc6d Cosmetic (tabbing). Arthur Britto 2012-09-15 14:56:15 -07:00
  • 3a9c82c1cc Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-15 14:37:49 -07:00
  • b8f2b6c0dc Initial check in of testing scripts. Arthur Britto 2012-09-15 14:37:21 -07:00
  • d147b61530 The ledger accept process calls functions like ConnectionPool::relayMessage and so must be called in the main I/O thread, at least for now. JoelKatz 2012-09-14 10:06:23 -07:00
  • 22f9a1a258 Don't let bow outs count as agreeing/disagreeing for consensus determination JoelKatz 2012-09-14 09:58:51 -07:00
  • b69a0b14bf Style change. JoelKatz 2012-09-14 08:42:39 -07:00
  • 3a786b911c Don't crash if we can't find the ledger for the generator JoelKatz 2012-09-14 08:42:21 -07:00
  • faece188f4 Belt and suspenders. Fix on both sides. JoelKatz 2012-09-14 08:41:59 -07:00
  • c9a44e4a1a We have to make sure someone holds a strong pointer to the acquiring set when we move it from acquring to acquired. JoelKatz 2012-09-14 08:40:55 -07:00
  • 72b2478a7b Rename SHAMap states. JoelKatz 2012-09-14 07:08:27 -07:00
  • 72f9417149 Add an assert. JoelKatz 2012-09-14 07:08:16 -07:00
  • a4f41edf7a Cleanup shared polymorphic downcast. JoelKatz 2012-09-14 07:08:01 -07:00
  • 205f5e4a63 Call to get the auxiliary I/O service JoelKatz 2012-09-14 07:07:44 -07:00
  • f7e68cfc51 Fix SHAMap state when tx sync completes. JoelKatz 2012-09-13 20:49:48 -07:00
  • bbddef8572 Throw on missing node in SHAMapDiff code. JoelKatz 2012-09-13 20:49:36 -07:00
  • 0efe8b4892 Cleanups. JoelKatz 2012-09-13 20:41:25 -07:00
  • b35f87564a Fix a bug triggered by a acquiring a transaction set after having bowed out of the consensus process. JoelKatz 2012-09-13 19:32:44 -07:00
  • 1faa8ccda6 Some less confusing names. JoelKatz 2012-09-13 19:26:40 -07:00
  • 58befb406e Typo. JoelKatz 2012-09-13 15:37:48 -07:00
  • 6c016039c2 Get rid of all "const SHAMap::pointer&" -> SHAMap::ref JoelKatz 2012-09-13 15:36:56 -07:00
  • 7c7a4bd3e0 Make a field for transaction metadata. JoelKatz 2012-09-13 15:32:30 -07:00
  • f8e107a4be Extra debug. JoelKatz 2012-09-13 15:30:21 -07:00
  • 7ba143b4df Revert "Cleanup transaction set sync map creation." JoelKatz 2012-09-13 15:29:47 -07:00
  • ec2dded961 Revert "Cleanup transaction set sync map creation." JoelKatz 2012-09-13 15:23:55 -07:00
  • de8288d4d5 Cleanup transaction set sync map creation. Remove a passthrough to NetworkOPs that doesn't make much sense. JoelKatz 2012-09-13 15:21:08 -07:00
  • 9cdcf50c07 Mark a caution with this code. Cleanups. JoelKatz 2012-09-13 14:08:41 -07:00
  • 499d9b5536 Log metadata in debug builds. JoelKatz 2012-09-13 13:12:21 -07:00
  • e6411a6afc Ensure we don't get json/value.h without json/writer.h JoelKatz 2012-09-13 13:11:34 -07:00
  • 4831588c33 Clean up JSON logging. JoelKatz 2012-09-13 13:11:29 -07:00
  • 093ab09557 An empty node is legal. For example, a created node. JoelKatz 2012-09-13 13:08:33 -07:00
  • 38dd9f3f88 Add metadata JSON to set JSON. Fix a bug where we try to access the existing node when we're creating a node. Extra asserts to catch original node mishandlig. JoelKatz 2012-09-13 12:29:06 -07:00
  • aa35b33b19 Must calculated metadata before applying LES> JoelKatz 2012-09-13 01:39:14 -07:00
  • db85d87ff2 Must modify nodes. JoelKatz 2012-09-13 01:39:03 -07:00
  • 50190b2c35 Fix threading bug. JoelKatz 2012-09-13 01:31:51 -07:00
  • 66338e4a0a Add metadata to some JSON outputs. JoelKatz 2012-09-13 01:29:27 -07:00
  • 4e957a5efd This version is incompatible with the previous versions JoelKatz 2012-09-13 01:29:14 -07:00
  • 34dcb99370 New functions to pass tree node types to callers. JoelKatz 2012-09-13 01:29:04 -07:00
  • 953f0ad63f Don't charge for transactions twice. Have the "old" getTransaction handle metadata sanely. Fix calcRawMeta to fit the new model where an LES holds a reference to its ledger Don't put metadata in open ledger txn sets to avoid breaking the proposal mechanism. JoelKatz 2012-09-13 01:01:40 -07:00
  • d2336e3eea Ledger functions to handle transaction metadata. JoelKatz 2012-09-12 18:40:16 -07:00