Commit Graph

  • 56b5b5c597 Mark the code that doesn't work because it can't get to transResultInfoA. (Only needed for JSON->binary transaction metadata which nobody may ever want anyway.) JoelKatz 2012-10-16 16:23:42 -07:00
  • 5e8539e8c3 Cosmetic. Arthur Britto 2012-10-16 16:13:10 -07:00
  • 8f1fb9cb31 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-10-16 15:50:41 -07:00
  • a189230984 Cosmetic. Arthur Britto 2012-10-16 15:50:33 -07:00
  • 5558505288 JS: Improvements to transaction result handling for remote.js Arthur Britto 2012-10-16 15:49:42 -07:00
  • 5d1a9b7e53 WS: Add transaction_entry request. Arthur Britto 2012-10-16 15:48:09 -07:00
  • 416427bdf9 Really disallow negative amounts for CreditSet. Arthur Britto 2012-10-16 15:47:55 -07:00
  • 25d888ff48 Include the transaction result in the metadata. JoelKatz 2012-10-16 14:36:36 -07:00
  • 0ae65b5fd0 Some UInt8 support was missing. JoelKatz 2012-10-16 14:33:51 -07:00
  • 542dc969f5 Updates. JoelKatz 2012-10-16 14:17:09 -07:00
  • c07ffecf1a Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-10-16 13:56:56 -07:00
  • cab69318b1 Better debug and a data corruption bugfix. JoelKatz 2012-10-16 13:56:37 -07:00
  • d9262e5cdb Fix a backwards assert. JoelKatz 2012-10-16 13:56:23 -07:00
  • a9447fdfd1 Use new metadata code. JoelKatz 2012-10-16 13:56:13 -07:00
  • 9e8a7d4ced Remove all the old txn meta code. It's not obsolete JoelKatz 2012-10-16 13:55:57 -07:00
  • 1f89317c07 Fix JSON for arrays. JoelKatz 2012-10-16 13:55:34 -07:00
  • 7e29b4fae7 Some additional helper functions. JoelKatz 2012-10-16 13:07:22 -07:00
  • 2ab9fcd548 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-10-16 12:40:18 -07:00
  • cf32d900de windows jed 2012-10-16 12:40:07 -07:00
  • 2de864d23b Updates. JoelKatz 2012-10-16 11:49:34 -07:00
  • 6f23c44152 Fix a few cases where SHAMap nodes don't get correctly written. When we fetch a node from the database, we artificially mark it "old" so modifications are saved. New nodes are added to the dirty node tray if it is armed. JoelKatz 2012-10-16 11:48:49 -07:00
  • 68b8360cda Hashes for transaction nodes with metadata were miscomputed. This may cause broken nodes not to stay synched with working nodes. JoelKatz 2012-10-16 11:47:42 -07:00
  • 2ebf8a7968 Cleanup. JoelKatz 2012-10-16 11:47:01 -07:00
  • 4a945629f2 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-10-16 11:37:17 -07:00
  • 09f3b5db54 Rework how dirty SHAMap nodes are flushed to disk. The existing code had a bug that could cause nodes to be modified before they were written to disk. JoelKatz 2012-10-16 11:16:07 -07:00
  • afe016415e Ensure all dirty SHA nodes are fully written before writing the ledger header. To avoid a performance penalty, write accountstate nodes while we're waiting. JoelKatz 2012-10-16 06:53:06 -07:00
  • 599ebe3c61 Write ledger dirty SHA nodes before ledger header. JoelKatz 2012-10-16 06:43:34 -07:00
  • 83cfc7a3df Make sure we clear the 'need network ledger' flag if we jump ledgers during consensus. JoelKatz 2012-10-16 06:10:13 -07:00
  • 21c4c22eda Add functions to check and clear the "need network ledger" flag. JoelKatz 2012-10-16 06:09:43 -07:00
  • 81e30be001 Include whether we're waiting for a network ledger in the server_info output. JoelKatz 2012-10-16 06:09:26 -07:00
  • c05e42ccb7 Change "deferred proposal" to "stored". Complete move to NetworkOPs. JoelKatz 2012-10-16 05:28:41 -07:00
  • 94d607def0 Move deferred proposals to network ops. Include the last closed ledger in proposals. Call handleLCL even if we happen to jump our notion of the network's last closed ledger to the ledger we had as our locally last-closed ledger. JoelKatz 2012-10-16 05:27:48 -07:00
  • 84ef7dff0f Support for the new transaction meta types. JoelKatz 2012-10-16 05:05:36 -07:00
  • 1f58c4326d In consensus process, if we don't have the LCL, only *de*mote to tracking. Don't promote to tracking. JoelKatz 2012-10-16 05:05:15 -07:00
  • b6dc333b68 Add a 'sort' function to an STArray. They can be used in cases where order is significant or where they're sorted. JoelKatz 2012-10-16 03:52:46 -07:00
  • 9c31daad08 Disallow negative amounts for CreditSet. Arthur Britto 2012-10-15 20:36:14 -07:00
  • b0c1062591 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-10-15 17:11:26 -07:00
  • e513ef177f WS: Fix status of broadcasted transactions. Arthur Britto 2012-10-15 17:11:13 -07:00
  • 856b36086f Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-10-15 16:15:19 -07:00
  • ac60bfbd43 windows jed 2012-10-15 16:15:07 -07:00
  • 36f6c4dac0 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-10-15 15:00:00 -07:00
  • d3dfc5af1a Remove extraneous header file. JoelKatz 2012-10-15 14:59:46 -07:00
  • 0cf9fdb4d8 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-10-15 14:23:05 -07:00
  • 3d97ccc34f RPC add inLedger to account_tx. Arthur Britto 2012-10-15 14:22:55 -07:00
  • 42d7813046 Put json time as unix time. Arthur Britto 2012-10-15 14:22:07 -07:00
  • 8e91202b1d Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-10-15 13:49:53 -07:00
  • 0030845572 windows jed 2012-10-15 13:49:41 -07:00
  • de71645351 Log whether we actually couldn't find the ledger or if the sequence was incorrect. JoelKatz 2012-10-15 10:35:57 -07:00
  • 194f61d4e2 Hopefully a fix for the "stuck in neverending consensus" bug Jed reported. JoelKatz 2012-10-15 08:56:25 -07:00
  • b9ec8e2add Slight logging improvements. JoelKatz 2012-10-15 08:56:15 -07:00
  • debe1b4741 Check ledger sanity. JoelKatz 2012-10-15 04:13:26 -07:00
  • a145bf2d36 Extra sanity checks. JoelKatz 2012-10-15 04:13:15 -07:00
  • 862b2c5aef Cleanups. JoelKatz 2012-10-15 04:12:48 -07:00
  • 863b082e32 Move the logging a bit earlier. JoelKatz 2012-10-15 04:12:34 -07:00
  • bc040e0b91 Root node is not always an inner node. JoelKatz 2012-10-15 04:12:20 -07:00
  • 83a2b0d884 Cleanups. Extra asserts. JoelKatz 2012-10-15 03:50:14 -07:00
  • 65395ea971 Add some sanity checks. JoelKatz 2012-10-15 03:48:45 -07:00
  • 1214be1f22 Remove some chatty debug. JoelKatz 2012-10-15 03:48:31 -07:00
  • 33017a35a8 Extra sanity checks. JoelKatz 2012-10-15 03:47:23 -07:00
  • 0309105948 Cleanup JoelKatz 2012-10-15 03:13:51 -07:00
  • 633cf60836 Remove unneeded debug JoelKatz 2012-10-15 03:13:42 -07:00
  • 357245b595 Fix a bug that would cause a write spinout. JoelKatz 2012-10-15 03:08:42 -07:00
  • d273ac6e76 Fix a bug that could prevent a close time consensus from being recognized. JoelKatz 2012-10-15 03:04:56 -07:00
  • db0d9447cd Write out objects sooner so we're more likely to have them after a crash. JoelKatz 2012-10-15 00:46:08 -07:00
  • 3872cbbca0 Fix the dirty node tracking logic JoelKatz 2012-10-15 00:45:57 -07:00
  • 353bf532e4 Remove two FIXME's that have been fied. JoelKatz 2012-10-15 00:45:10 -07:00
  • 1c9573a972 Clean up the writer thread. JoelKatz 2012-10-14 23:26:32 -07:00
  • ce24ae1ef9 Don't store the temp root node (that represents an empty map) to the db. Improve fetchRoot logging. JoelKatz 2012-10-14 23:25:46 -07:00
  • 1005313ed8 Make sure to write the root node of the genesis ledger to the database. JoelKatz 2012-10-14 23:25:15 -07:00
  • 9e84bb38a8 Add new 'isEmpty' function to find empty inner nodes. JoelKatz 2012-10-14 23:14:17 -07:00
  • de5321e51c Cleanups. JoelKatz 2012-10-14 23:03:23 -07:00
  • b326852954 Return true from canonicalize even if we refreshed the data. JoelKatz 2012-10-14 22:40:48 -07:00
  • 573c601273 Extra debug JoelKatz 2012-10-14 21:33:03 -07:00
  • 032ce72d00 Improve logging. Walk the initial ledger. JoelKatz 2012-10-14 21:32:52 -07:00
  • 9f97307f99 Add 'walkMap' function. JoelKatz 2012-10-14 21:32:38 -07:00
  • f286621d17 Add 'walkLedger' function. JoelKatz 2012-10-14 21:32:23 -07:00
  • 319c6fbe54 Output the hash of a node we can't find when we log it. JoelKatz 2012-10-14 21:32:04 -07:00
  • 5e44599456 Switch to new conditional logging. JoelKatz 2012-10-14 18:28:47 -07:00
  • 9ff0ab174b Log warnings in various deserialization failure cases. JoelKatz 2012-10-14 18:28:01 -07:00
  • 879a763fe2 Cleanup. JoelKatz 2012-10-14 18:27:42 -07:00
  • 41e105eddd Whitespace changes. JoelKatz 2012-10-14 18:27:26 -07:00
  • 50ce067d04 Whitespace changes. JoelKatz 2012-10-14 18:27:19 -07:00
  • bd4ef3598b Clean up saveAcceptedLedger. Add some warning logs. Add 'getSTransaction'. JoelKatz 2012-10-14 18:26:38 -07:00
  • 0e6ea3bb4a Double check TMNEThread operations. JoelKatz 2012-10-14 18:25:50 -07:00
  • 58523b7c1b Add 'get' functions to TMNEThread JoelKatz 2012-10-14 18:25:29 -07:00
  • d98e415107 JS: Fix offer_create. Arthur Britto 2012-10-14 02:50:34 -07:00
  • d5c9cc78c7 JS: Fix transaction creation. Arthur Britto 2012-10-14 02:23:52 -07:00
  • 5fc3d98ef5 UT: Clean up and faster tearDown. Arthur Britto 2012-10-14 01:31:46 -07:00
  • 085ff2af22 UT: Split up tests. Arthur Britto 2012-10-13 19:42:28 -07:00
  • 1c2d16f1ad Rework remote.js to be event oriented. Arthur Britto 2012-10-13 19:38:19 -07:00
  • fbd8f9deb7 Change "id" to "hash", JoelKatz 2012-10-12 21:59:17 -07:00
  • 1030d80e1f Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-10-12 21:15:01 -07:00
  • 41cbcda510 JS: Better flag handling for send. Arthur Britto 2012-10-12 21:14:32 -07:00
  • 7495fe70cc WS: Clean up json responses and report engine submission results. Arthur Britto 2012-10-12 21:14:04 -07:00
  • cc4bda6bf6 Cosmetic. Arthur Britto 2012-10-12 21:12:05 -07:00
  • 9b2db30226 Cosmetic changes newcoin->ripple. JoelKatz 2012-10-12 20:32:19 -07:00
  • 730c6f3a52 Bugfix in STAmount::compare JoelKatz 2012-10-12 20:19:36 -07:00
  • 6fc5dc1189 Spelling error. JoelKatz 2012-10-12 20:19:28 -07:00
  • 08acbcd839 Fix the sense. JoelKatz 2012-10-12 19:58:41 -07:00
  • bfee7a3082 I apologize for the disaster that was toUInt64. It has been nuked from orbit. JoelKatz 2012-10-12 18:24:32 -07:00