Commit Graph

1095 Commits

Author SHA1 Message Date
JoelKatz
83d8a347ee Make SHAMapNode::ClassInit self-invoking. 2012-05-31 13:35:27 -07:00
JoelKatz
ad9deda4e8 Stupid Arthur and his stupid edge cases.
(Stupid because they expose bugs in *MY* code!)
2012-05-31 02:56:07 -07:00
JoelKatz
0bda44f4f0 Handle a NULL theApp. 2012-05-31 02:43:29 -07:00
JoelKatz
31a44088d6 Cleanups/bugfixes. 2012-05-31 02:40:51 -07:00
JoelKatz
64dc941bc6 Move unit test to new boost framework. 2012-05-31 02:03:17 -07:00
JoelKatz
d7768e23f9 Remove chatty debug. 2012-05-31 02:02:50 -07:00
Arthur Britto
6cb234ef82 Merge branch 'pay'
Conflicts:
	src/LedgerMaster.h
2012-05-31 01:54:44 -07:00
Arthur Britto
dad9568f4f Work toward big endian 2012-05-31 01:51:58 -07:00
JoelKatz
24e60f5e48 Cleanup and missing validation handler. 2012-05-31 01:15:17 -07:00
JoelKatz
d52b87fc58 Debug and bugfixes. 2012-05-31 01:12:51 -07:00
JoelKatz
9d974c9f2c Protocol bugfixes. 2012-05-31 01:02:32 -07:00
JoelKatz
9f080e357d Failed to set required fields. 2012-05-31 00:55:00 -07:00
Arthur Britto
61e075bff3 Eliminate dead code in uint256.h 2012-05-31 00:10:49 -07:00
Arthur Britto
21d9140e4e Work toward working directories. 2012-05-30 23:18:57 -07:00
Arthur Britto
a333a2a6c7 Fix RippleState balance. 2012-05-30 23:18:35 -07:00
JoelKatz
a2be7ab180 Complete ledger consensus logic. Now to test it. 2012-05-30 22:15:20 -07:00
JoelKatz
1a5510f530 Add a helper function. 2012-05-30 22:14:47 -07:00
JoelKatz
9fbc47ccbb Cleanup. 2012-05-30 22:14:41 -07:00
JoelKatz
5bf9005b06 Bugfix and push ledger logic. 2012-05-30 21:26:07 -07:00
JoelKatz
83aa616d13 Remove synched flag, and neww pushLedger function. 2012-05-30 21:25:47 -07:00
JoelKatz
c2b200a74d In separate thread, rebuild ledger from last closed ledger, applying
consensus transactions in canonical order
2012-05-30 18:39:01 -07:00
JoelKatz
70767a3b1a Dispatch on consensus. 2012-05-30 17:08:50 -07:00
JoelKatz
bb1c226fc0 Fix STVector256::getLength 2012-05-30 16:03:51 -07:00
JoelKatz
cf88b4ed51 Add Serializer::lengthVL to get the total length of a VL 2012-05-30 16:03:33 -07:00
Arthur Britto
b497c96d33 Get RPC account_lines mostly working. 2012-05-30 15:52:29 -07:00
JoelKatz
ece130d375 one-liner 2012-05-30 14:26:08 -07:00
JoelKatz
adf16f2322 Bugfixes. 2012-05-30 14:23:27 -07:00
JoelKatz
47eb3d442d Assert on a bad construction. 2012-05-30 14:23:09 -07:00
JoelKatz
8b48945a02 Update. 2012-05-30 14:18:58 -07:00
JoelKatz
05eb5fa0f1 Typo. 2012-05-30 14:18:45 -07:00
JoelKatz
dc734a7f0b Updates to vector type 2012-05-30 14:08:59 -07:00
JoelKatz
b9a15d416d Support zero-length addVL 2012-05-30 14:00:13 -07:00
Arthur Britto
0faa7ea071 Lots of debugging. 2012-05-30 13:35:58 -07:00
Arthur Britto
a283d9df30 Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
2012-05-30 00:51:48 -07:00
Arthur Britto
68c8434a2b Rework RPCServer to go through NetworkOPs. 2012-05-30 00:41:10 -07:00
JoelKatz
6123e3886a Refactor LedgerConsensus code. Add new LC work.
Properly sequence LC states
Properly handle wobble time.
Complete LC sequence correctly and exit it.
2012-05-29 18:02:17 -07:00
JoelKatz
0c4c27880d Adjust timings for wobble interval. 2012-05-29 18:01:43 -07:00
JoelKatz
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.
2012-05-29 18:00:57 -07:00
JoelKatz
c74dad5478 Updates. 2012-05-29 12:35:23 -07:00
JoelKatz
e84c3ba714 Add some additional timing parameters. 2012-05-29 12:35:10 -07:00
JoelKatz
411f65b24b Remove some dead messages. 2012-05-29 12:34:46 -07:00
JoelKatz
01f16914ce Cleanups. 2012-05-28 23:49:43 -07:00
JoelKatz
06535a1a43 Updates. 2012-05-28 17:25:51 -07:00
JoelKatz
32534e8d0d More ledger consensus work. 2012-05-28 17:25:25 -07:00
JoelKatz
62b353de27 Update. 2012-05-28 14:29:05 -07:00
JoelKatz
cd72210ad7 Comment out some checks. 2012-05-28 14:15:43 -07:00
JoelKatz
ae9db460ab A bit of a painful PackedMessage change, but this simplifies a lot of code.
It's worth it to take the pain now.
2012-05-28 13:07:19 -07:00
JoelKatz
b144fa48b5 More ledger consensus work. IHAVE broadcast logic. 2012-05-28 13:06:45 -07:00
JoelKatz
b7d836a5da Revert "More LedgerAcquire work. Broadcast IHAVEs for tx sets."
This reverts commit 240386931c.

Erroneous commit.
2012-05-28 13:03:21 -07:00
JoelKatz
240386931c More LedgerAcquire work. Broadcast IHAVEs for tx sets. 2012-05-28 13:02:43 -07:00