Commit Graph

1106 Commits

Author SHA1 Message Date
JoelKatz
7ce4e28dac Track network state changes. 2012-05-31 20:34:40 -07:00
JoelKatz
da6fc85e2c We were inconsistent over whether transaction types are 8 bits or 32 bits
so I made them 16 bits and updated the wiki to match.
2012-05-31 20:33:58 -07:00
JoelKatz
782de37806 Clean up logging. 2012-05-31 18:29:39 -07:00
JoelKatz
f1db232f1f Misleading log message. 2012-05-31 18:29:18 -07:00
JoelKatz
63537f4753 Whitespace fix. 2012-05-31 18:29:12 -07:00
JoelKatz
79a179a0f2 Don't take our initial position until the wobble time is over. 2012-05-31 18:22:18 -07:00
JoelKatz
f8219061b6 Use simple logging system to timestamp/filter log messages. 2012-05-31 17:00:15 -07:00
JoelKatz
7d0b17ba88 Trivial logging subsystem. 2012-05-31 16:59:58 -07:00
JoelKatz
c015aea3e8 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-05-31 13:35:46 -07:00
JoelKatz
83d8a347ee Make SHAMapNode::ClassInit self-invoking. 2012-05-31 13:35:27 -07:00
Arthur Britto
b8cb048e05 Fix string to hex for uint256.h 2012-05-31 12:42:42 -07:00
Arthur Britto
06e7857bc6 Clean up unit256.h 2012-05-31 10:08:24 -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