Commit Graph

  • cf88b4ed51 Add Serializer::lengthVL to get the total length of a VL JoelKatz 2012-05-30 16:03:33 -07:00
  • b497c96d33 Get RPC account_lines mostly working. Arthur Britto 2012-05-30 15:52:29 -07:00
  • ece130d375 one-liner JoelKatz 2012-05-30 14:26:08 -07:00
  • adf16f2322 Bugfixes. JoelKatz 2012-05-30 14:23:27 -07:00
  • 47eb3d442d Assert on a bad construction. JoelKatz 2012-05-30 14:23:09 -07:00
  • 8b48945a02 Update. JoelKatz 2012-05-30 14:18:58 -07:00
  • 05eb5fa0f1 Typo. JoelKatz 2012-05-30 14:18:45 -07:00
  • dc734a7f0b Updates to vector type JoelKatz 2012-05-30 14:08:59 -07:00
  • b9a15d416d Support zero-length addVL JoelKatz 2012-05-30 14:00:13 -07:00
  • 0faa7ea071 Lots of debugging. Arthur Britto 2012-05-30 13:35:58 -07:00
  • a283d9df30 Merge branch 'pay' Arthur Britto 2012-05-30 00:51:48 -07:00
  • 68c8434a2b Rework RPCServer to go through NetworkOPs. Arthur Britto 2012-05-30 00:41:10 -07:00
  • 6123e3886a Refactor LedgerConsensus code. Add new LC work. Properly sequence LC states Properly handle wobble time. Complete LC sequence correctly and exit it. JoelKatz 2012-05-29 18:02:17 -07:00
  • 0c4c27880d Adjust timings for wobble interval. JoelKatz 2012-05-29 18:01:43 -07:00
  • c750c4af38 Add a function to make the "sacrificial" ledger that runs as our current ledger during consensus building time. We just use it to decide whether to process/forward transactions. We re-apply them when we have a new last-closed ledger anyway. JoelKatz 2012-05-29 18:00:57 -07:00
  • c74dad5478 Updates. JoelKatz 2012-05-29 12:35:23 -07:00
  • e84c3ba714 Add some additional timing parameters. JoelKatz 2012-05-29 12:35:10 -07:00
  • 411f65b24b Remove some dead messages. JoelKatz 2012-05-29 12:34:46 -07:00
  • 01f16914ce Cleanups. JoelKatz 2012-05-28 23:49:43 -07:00
  • 06535a1a43 Updates. JoelKatz 2012-05-28 17:25:51 -07:00
  • 32534e8d0d More ledger consensus work. JoelKatz 2012-05-28 17:25:25 -07:00
  • 62b353de27 Update. JoelKatz 2012-05-28 14:29:05 -07:00
  • cd72210ad7 Comment out some checks. JoelKatz 2012-05-28 14:15:43 -07:00
  • ae9db460ab A bit of a painful PackedMessage change, but this simplifies a lot of code. It's worth it to take the pain now. JoelKatz 2012-05-28 13:07:19 -07:00
  • b144fa48b5 More ledger consensus work. IHAVE broadcast logic. JoelKatz 2012-05-28 13:06:45 -07:00
  • b7d836a5da Revert "More LedgerAcquire work. Broadcast IHAVEs for tx sets." JoelKatz 2012-05-28 13:03:21 -07:00
  • 240386931c More LedgerAcquire work. Broadcast IHAVEs for tx sets. JoelKatz 2012-05-28 13:02:43 -07:00
  • 69d07f3afd One more pass by ref. JoelKatz 2012-05-28 05:35:59 -07:00
  • 574f86bb4d Small cleanups. JoelKatz 2012-05-28 05:05:29 -07:00
  • e4a7c7677b Pass by ref. JoelKatz 2012-05-28 04:39:52 -07:00
  • 735259b2eb Pass by ref JoelKatz 2012-05-28 04:28:48 -07:00
  • dc79749d15 Const-correct JoelKatz 2012-05-28 04:28:37 -07:00
  • 3047f77160 Be consistent in how we include Boost header files. JoelKatz 2012-05-28 04:28:22 -07:00
  • f4d458f77d Trap attempts to duplicate unduplicatable instances. JoelKatz 2012-05-28 03:40:44 -07:00
  • e6e72a7b9a Cleanups. JoelKatz 2012-05-28 03:35:52 -07:00
  • 2e4b92b680 Remove dead code. JoelKatz 2012-05-28 03:35:19 -07:00
  • 1ab267876b Some additional comments. JoelKatz 2012-05-28 01:34:50 -07:00
  • 7e8ebcc3d9 Consensus timing and avalanche. Transaction position change. Track transaction data for all disputed transactions. Update our set as our 'vote' changes. JoelKatz 2012-05-28 01:31:35 -07:00
  • 51816f1e56 Simplifications. JoelKatz 2012-05-27 20:09:49 -07:00
  • 02fd3e2f7a Signed get/set functions for native currency values. JoelKatz 2012-05-27 18:29:55 -07:00
  • 959fa8e298 Avoid the getValue confusion. Use getNValue for native, getMantissa otherwise JoelKatz 2012-05-27 18:23:33 -07:00
  • faa3e00aa8 Don't use getValue for isZero JoelKatz 2012-05-27 18:22:08 -07:00
  • 5bf8189aca Use getJson instead of getValue JoelKatz 2012-05-27 18:20:52 -07:00
  • eab7a2d93a Merge branch 'pay' Arthur Britto 2012-05-27 17:56:45 -07:00
  • d5e918e85b Work toward RPC account_lines. Arthur Britto 2012-05-27 17:44:26 -07:00
  • af5c25a24d Cosmetic changes. Arthur Britto 2012-05-27 17:43:46 -07:00
  • 561e87c050 Use ^ for decimal in RPC syntax for XNS. Arthur Britto 2012-05-27 17:42:10 -07:00
  • bca01a396f Really fix sql for saveAcceptedLedger(). Arthur Britto 2012-05-27 17:41:11 -07:00
  • 64f903f21d Finish the rewrite. JoelKatz 2012-05-27 16:40:25 -07:00
  • d67f06d456 More work on the new amount class. JoelKatz 2012-05-27 16:10:08 -07:00
  • 47fefdc26c About half of the rework to support signed floating point amounts. JoelKatz 2012-05-27 15:54:38 -07:00
  • 3fcdf31096 Bugfix. JoelKatz 2012-05-27 15:54:06 -07:00
  • 428f6d371f Fix saveAcceptedLedger. Arthur Britto 2012-05-27 14:01:33 -07:00
  • 9ef47a2678 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-05-26 20:49:13 -07:00
  • d9e5b7e109 Handle a few odd cases, including the case where a peer proposes a ledger that is internally inconsistent. JoelKatz 2012-05-26 20:04:40 -07:00
  • 94a23a011e Merge branch 'pay' Arthur Britto 2012-05-26 17:26:23 -07:00
  • d54c1acdfd Fix dir index creation and make currency specification optional for credit_set. Arthur Britto 2012-05-26 17:25:05 -07:00
  • ef516698f2 Whitespace only. JoelKatz 2012-05-26 15:35:05 -07:00
  • d442534c70 Cleanups. JoelKatz 2012-05-26 15:11:10 -07:00
  • 2866cec281 Finish addDisputedTransaction and peerPosition. JoelKatz 2012-05-26 14:21:13 -07:00
  • 5c4d3743a4 Differentiate the two beginConsensus cases. (Ledger close or network showing consensus traffic.) JoelKatz 2012-05-26 14:20:46 -07:00
  • 9fb8674710 More ledger consensus work. Update votes correctly when we finish synching a transaction set. JoelKatz 2012-05-26 12:11:45 -07:00
  • f3fdd69f5a Whitespace. JoelKatz 2012-05-26 12:11:40 -07:00
  • b47a7c0f52 Missing from previous commit. JoelKatz 2012-05-26 10:45:58 -07:00
  • 5c62f901bd Performance improvements. JoelKatz 2012-05-26 10:36:24 -07:00
  • 9f3356232c Not sure how this didn't get committed already. JoelKatz 2012-05-26 09:29:31 -07:00
  • cb56ad036d Implement credit_set and directory support. Arthur Britto 2012-05-26 02:57:00 -07:00
  • 451df81411 Add support for STVector256. Arthur Britto 2012-05-26 02:55:36 -07:00
  • 48d3099c00 Add ledger support for directories and ripple state. Arthur Britto 2012-05-26 02:54:03 -07:00
  • e03f452a05 Add createAccountID() to NewcoinAddress. Arthur Britto 2012-05-26 02:52:03 -07:00
  • 0b9c762f99 Add STValue256 type. Arthur Britto 2012-05-26 02:51:10 -07:00
  • ac6f24c166 Use the new functions to simplify and speed up the SHAMapDiff code. JoelKatz 2012-05-23 19:31:58 -07:00
  • f29a003952 Improve read-only SHAMap functions by avoiding taking shared references to intermediary nodes. JoelKatz 2012-05-23 19:24:43 -07:00
  • 13a9e774c6 Rather than working around using SHAMap::hasItem so much, let's just make it efficient. JoelKatz 2012-05-23 19:18:59 -07:00
  • 07e353d8a2 More ledger consensus work. JoelKatz 2012-05-23 17:26:45 -07:00
  • 9b9177f15e Ledger consensus stuff. JoelKatz 2012-05-23 15:18:34 -07:00
  • fecf3aaac9 Snapshot function. JoelKatz 2012-05-23 15:18:17 -07:00
  • 33e9fbda04 Missing pieces. JoelKatz 2012-05-23 02:16:53 -07:00
  • 902c0c3bc4 Depth-first travese in semi-random order to make sync more efficient from multiple sources. JoelKatz 2012-05-23 02:16:29 -07:00
  • f8d0269bd6 Bugfix and recvHaveTxSet code. JoelKatz 2012-05-22 22:07:29 -07:00
  • f44e8f3bc5 Missing pass through function. JoelKatz 2012-05-22 22:07:19 -07:00
  • 14d9efd1bb Implement two pass through functions to LedgerConsensus. JoelKatz 2012-05-22 22:07:04 -07:00
  • de71747bf8 Two missing connector functions. JoelKatz 2012-05-22 22:06:47 -07:00
  • 5a3bd08b4a Missing operation code. JoelKatz 2012-05-22 22:06:36 -07:00
  • b33c22fad8 Merge branch 'master' into pay Arthur Britto 2012-05-22 14:36:54 -07:00
  • 30407a3a23 Work on transit fees. Arthur Britto 2012-05-22 12:42:13 -07:00
  • 0c821d176c Peer logic for handling requests and responses for TX set data during ledger consensus building. JoelKatz 2012-05-22 07:57:33 -07:00
  • 495be80504 Remove ltCLOSING, it's not needed. JoelKatz 2012-05-22 07:57:15 -07:00
  • b17109ccac Cleanup. JoelKatz 2012-05-22 07:57:11 -07:00
  • 00077bff16 Missing stubs. JoelKatz 2012-05-22 07:56:53 -07:00
  • 56a780e5c3 Cleanups. JoelKatz 2012-05-22 07:56:38 -07:00
  • 441a27dffd Ledger consensus work. JoelKatz 2012-05-22 02:35:47 -07:00
  • 485a8a709d The 'previous hash' logic isn't needed. JoelKatz 2012-05-22 02:35:11 -07:00
  • fbce5dafc5 Move some PeerSet structures. JoelKatz 2012-05-22 02:34:20 -07:00
  • a6273613a5 Fix this class. JoelKatz 2012-05-21 19:39:32 -07:00
  • f516cb29d6 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-05-21 19:38:57 -07:00
  • de59306fec Fix some const-correctness issues. Add a Verify helper that takes a string. JoelKatz 2012-05-21 19:38:30 -07:00
  • 4797cfd28f Merge branch 'pay' Arthur Britto 2012-05-21 17:34:21 -07:00
  • 5def79dda0 Add rough RPC credit_set and transit_set. Arthur Britto 2012-05-21 17:29:35 -07:00
  • d76bb9834c Add stubs for applying CreditSet and TransitSet. Arthur Britto 2012-05-21 17:28:27 -07:00