Commit Graph

  • e5a074030d Returned references should const JoelKatz 2012-05-09 00:58:54 -07:00
  • 2a65bf28ff Remove extra comma. JoelKatz 2012-05-09 00:35:29 -07:00
  • 25a2d6f151 Cosmetic fixes. JoelKatz 2012-05-08 19:53:54 -07:00
  • 71b61a633d Bugfix. In edge cases (such as a tree no inner nodes), walkTo could return a node that shouldn't be returned. JoelKatz 2012-05-08 19:52:57 -07:00
  • 53ab026af4 Add operator!= JoelKatz 2012-05-08 19:51:53 -07:00
  • 6e9424508d Cleanup. JoelKatz 2012-05-08 19:51:11 -07:00
  • 48ec7af8c6 Remove debugging. Arthur Britto 2012-05-08 16:37:24 -07:00
  • 85dbf89e0a Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-05-08 16:36:40 -07:00
  • 2e9adc74a8 Fix connect issue. Arthur Britto 2012-05-08 16:36:15 -07:00
  • e58f19debc Fix scanning on scan failure. Arthur Britto 2012-05-08 16:21:45 -07:00
  • facc2fb7df Prevent the timer from firing slightly early. JoelKatz 2012-05-08 16:03:58 -07:00
  • 04ff77319e Whitespace. JoelKatz 2012-05-08 15:51:41 -07:00
  • 7570122722 Make debug easier. JoelKatz 2012-05-08 14:32:58 -07:00
  • 0968e0229b Typo. JoelKatz 2012-05-08 14:32:51 -07:00
  • ccc07e1765 bugfixes. JoelKatz 2012-05-08 14:23:51 -07:00
  • 9d1cc2b5e5 Report/track peer ledger changes. JoelKatz 2012-05-08 04:14:51 -07:00
  • 94d7579deb Whitespace fix. JoelKatz 2012-05-08 03:46:58 -07:00
  • 74bafbee89 Part of ledger seq/timing work. JoelKatz 2012-05-08 03:46:40 -07:00
  • 05131cb61e Cleanup. JoelKatz 2012-05-08 03:46:32 -07:00
  • b61ef68e2f Remove a pointless debug message. JoelKatz 2012-05-08 03:46:13 -07:00
  • b2fbe0e2e9 Fix some peer synchronization issues. JoelKatz 2012-05-08 03:45:55 -07:00
  • f0480cb774 Ledger sequencing logic. JoelKatz 2012-05-08 03:45:34 -07:00
  • f9505e000d Cleanup. JoelKatz 2012-05-08 03:45:24 -07:00
  • f4ddb29eda Cleanups. JoelKatz 2012-05-08 03:43:13 -07:00
  • 750ea96df3 Change mTimeStamp to mCloseTime. Json improvements. Next ledger close. JoelKatz 2012-05-08 03:42:41 -07:00
  • 386e17ac14 Change when we start the state timer. JoelKatz 2012-05-08 03:42:26 -07:00
  • e1a4b0dc67 Cleanups. JoelKatz 2012-05-07 19:28:30 -07:00
  • b4929e91b9 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-05-07 19:23:28 -07:00
  • 789c80bf85 Cleanups. JoelKatz 2012-05-07 19:23:16 -07:00
  • def2e74cf3 Add support for unit tests. Arthur Britto 2012-05-07 19:14:07 -07:00
  • 0d3bbdcf36 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-05-07 19:12:10 -07:00
  • a8ded6d9d9 Space in wrong place. JoelKatz 2012-05-07 19:08:11 -07:00
  • 18bf10a7c0 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-05-07 18:39:32 -07:00
  • 0492ea5877 Cosmetic SQL clean up. Arthur Britto 2012-05-07 18:39:19 -07:00
  • 2a8e0fc008 Cleanups. JoelKatz 2012-05-07 16:57:06 -07:00
  • 133ee09297 Updates. JoelKatz 2012-05-07 16:27:18 -07:00
  • a626706638 Rework time logic. All network protocols now use our native time, 64-bit seconds since 1/1/2000. Some places internally use only 32-bits. We'll have to fix that by 2130 or so. JoelKatz 2012-05-07 15:31:48 -07:00
  • 2fad636ed2 Report when interfaces are off. Arthur Britto 2012-05-05 16:50:39 -07:00
  • 6174bd082a Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-05-05 16:46:34 -07:00
  • f548e27e67 Cosmetic changes. Arthur Britto 2012-05-05 16:46:29 -07:00
  • e7c362457e Fix database getNextRow(). Arthur Britto 2012-05-05 16:45:33 -07:00
  • e55dd7ade6 Comment out unused db functions. Arthur Britto 2012-05-05 16:43:17 -07:00
  • d9d0a57c31 Fix crash if no config file. Arthur Britto 2012-05-05 16:42:50 -07:00
  • 1c4a071062 Fix a buglet Arthur found. JoelKatz 2012-05-05 15:16:50 -07:00
  • 84303365e2 Typo in previous commit. JoelKatz 2012-05-05 15:03:44 -07:00
  • 29b1cede64 Optimizations suggested by Arthur. JoelKatz 2012-05-05 15:03:08 -07:00
  • ccb7427a14 Validation signature bugfix. JoelKatz 2012-05-05 13:51:29 -07:00
  • 5ada49d206 Ledger switch logic. JoelKatz 2012-05-05 13:51:08 -07:00
  • 41be3dfd35 Ledger switch logic. JoelKatz 2012-05-05 13:50:55 -07:00
  • 038144d5aa Add ledger interval. Various updates. JoelKatz 2012-05-05 13:50:23 -07:00
  • b3c16fe0f6 Add ledger interval. JoelKatz 2012-05-05 13:50:11 -07:00
  • 8e0b122779 Update to new ledger code. JoelKatz 2012-05-05 13:50:04 -07:00
  • 64f5e3aea6 Cleanup. JoelKatz 2012-05-04 03:35:25 -07:00
  • 7f38b019e8 Network connection state machine. (Partial) JoelKatz 2012-05-04 03:34:38 -07:00
  • be9dd7a452 Command to get peer's last closed ledger. JoelKatz 2012-05-04 03:34:24 -07:00
  • d29733aa11 Add ledger remove from acquire set. Cleanups. JoelKatz 2012-05-04 03:33:37 -07:00
  • 8bf477acac Slight quorum change. JoelKatz 2012-05-03 15:45:32 -07:00
  • dd02103487 Remove dead code. JoelKatz 2012-05-03 15:45:18 -07:00
  • 2bdd06f5cc Pass io_service to NetworkOPs to it can set timers. JoelKatz 2012-05-03 15:45:04 -07:00
  • 3dbee6e461 getPeerVector function. JoelKatz 2012-05-03 13:38:50 -07:00
  • acb326801d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-05-03 12:41:13 -07:00
  • 824f6a14c9 Class to handle validations. JoelKatz 2012-05-03 12:40:54 -07:00
  • 8b58fbd3c4 Half of the trusted path code. JoelKatz 2012-05-03 12:40:40 -07:00
  • bbb1cca4ad Additional field names. JoelKatz 2012-05-03 12:40:31 -07:00
  • cf801992be Cleanups. Missing helper functions. JoelKatz 2012-05-03 12:40:05 -07:00
  • 72ef5f6e4b Somehow this function disappeared. JoelKatz 2012-05-03 12:39:38 -07:00
  • 875c466c63 Fix rpc commands with no arguments. Arthur Britto 2012-05-02 17:42:24 -07:00
  • 3257d32f0e Merge branch 'passwords' Arthur Britto 2012-05-02 17:38:44 -07:00
  • c6f6914dab Add support for boost command line options in prep for unit tests. Arthur Britto 2012-05-02 17:35:28 -07:00
  • db0763e198 About half of the trusted path code. JoelKatz 2012-05-02 02:57:53 -07:00
  • ede296475b Track a peer's last closed ledger. JoelKatz 2012-05-02 02:57:41 -07:00
  • 28952f9f98 Modify to meet new state spec. JoelKatz 2012-05-02 02:57:31 -07:00
  • 4a4e95855a Fix some tiny buglets Arthur found. JoelKatz 2012-05-02 02:57:09 -07:00
  • dc659e221e Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-05-01 18:37:42 -07:00
  • 8f0ed4d2e9 Buglet. We mishandle create. JoelKatz 2012-05-01 18:37:22 -07:00
  • f775bfd856 Remove obsolete hanko support from NewcoinAddress. Arthur Britto 2012-05-01 15:18:23 -07:00
  • 9ca903efae Another Config fix. Arthur Britto 2012-05-01 13:24:35 -07:00
  • 58269fea06 Fix config for integers. Arthur Britto 2012-05-01 02:53:58 -07:00
  • 8807cbae87 Cleanups. JoelKatz 2012-05-01 02:28:06 -07:00
  • 6c131d86ab Cleanups mostly. JoelKatz 2012-05-01 02:27:54 -07:00
  • 77ebac9b5f Properly track the most recently closed ledger. That's the first thing the network must agree on. JoelKatz 2012-05-01 02:27:27 -07:00
  • 3df579bbae Ledger quorum configuration. JoelKatz 2012-05-01 02:27:08 -07:00
  • 43ac5f8023 Implement basic low water connection policy. Arthur Britto 2012-05-01 00:36:42 -07:00
  • 785f9b056a Add PEER_START_MAX and PEER_CONNECT_LOW_WATER to config. Arthur Britto 2012-05-01 00:35:18 -07:00
  • 5e3e41bd09 Add MIN to utils. Arthur Britto 2012-05-01 00:34:42 -07:00
  • fc2ce4ea35 Improve reporting for bad validators.txt. Arthur Britto 2012-04-30 13:59:02 -07:00
  • 0ab34eee3d Merge branch 'bootstrap' Arthur Britto 2012-04-30 13:26:28 -07:00
  • 39606523f7 Refresh scaning after scoring. Arthur Britto 2012-04-30 13:24:16 -07:00
  • b341e02eba Initial scaning support Arthur Britto 2012-04-30 13:23:54 -07:00
  • 71b5e97ad5 Change SQL tables to suppot scaning. Arthur Britto 2012-04-30 13:21:57 -07:00
  • 76930ab175 Add configuration option peer_scan_interval_min. Arthur Britto 2012-04-30 13:20:54 -07:00
  • 8b40b7ad00 Have RPC connect report if already connected. Arthur Britto 2012-04-30 13:20:01 -07:00
  • e6586de079 Add a MAX to utils. Arthur Britto 2012-04-30 13:19:17 -07:00
  • 5284107cdb Change ledger logic to hold total coins in existence, not fees. JoelKatz 2012-04-30 11:31:10 -07:00
  • f05b88d459 Change native coin functions to use uint64_t instead of STAmount. JoelKatz 2012-04-30 11:30:34 -07:00
  • 6c52f735d9 Tiny whitespace fix. JoelKatz 2012-04-30 05:54:11 -07:00
  • d4e3c3cbd3 Cleanups and fixes. JoelKatz 2012-04-30 05:54:02 -07:00
  • 3e9a3caa35 Sync stuff. JoelKatz 2012-04-30 05:53:54 -07:00
  • f0d8887b08 Typo. JoelKatz 2012-04-30 04:16:59 -07:00
  • 1c3dff42c7 Fix memcmp. JoelKatz 2012-04-29 23:17:46 -07:00