Commit Graph

2370 Commits

Author SHA1 Message Date
JoelKatz
18ba2f0b31 RangeSet needs to use uint32 to hold the full range of ledger seqs. 2012-10-25 01:45:46 -07:00
JoelKatz
edfcdbe46b Pass the full node type to the sync filter. 2012-10-25 01:45:26 -07:00
JoelKatz
6c0916beb4 An helper function we need. 2012-10-24 20:03:48 -07:00
JoelKatz
13ba14d573 Functions to access the iterator. 2012-10-24 18:41:01 -07:00
JoelKatz
366361d6b3 Traverse functions have not been fully tested. 2012-10-24 18:33:37 -07:00
JoelKatz
65f2275fb2 Put this in the repo so Arthur and I can discuss it. 2012-10-24 16:52:56 -07:00
JoelKatz
c49fb35a88 Wow. Our 'main' function is almost impossible to modify. 2012-10-24 15:56:15 -07:00
JoelKatz
253e3f5243 Use the new, simpler traverse logic. 2012-10-24 15:46:19 -07:00
JoelKatz
febd52b5d1 Fix the initialization order to match the construction order. 2012-10-24 15:45:54 -07:00
JoelKatz
3b42e66c08 Teach BOOST_FOREAECH how to traverse this type. 2012-10-24 15:42:16 -07:00
JoelKatz
26fc57b13c Fix range_const iterators. 2012-10-24 15:42:03 -07:00
JoelKatz
dc62f10ad4 Teach BOOST_FOREACH how to traverse our objects and arrays. 2012-10-24 15:39:37 -07:00
jed
5b8ac06fb6 still fixing up things 2012-10-24 13:20:14 -07:00
jed
17e6d714f1 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/RPCServer.cpp
2012-10-24 13:10:17 -07:00
jed
fef96efa1e broke up RPCServer 2012-10-24 13:08:49 -07:00
JoelKatz
1cc42517da Improve debugability. 2012-10-24 12:57:00 -07:00
JoelKatz
806a025523 Small bugfixes. 2012-10-24 12:56:49 -07:00
JoelKatz
b44ef50039 Small bugfixes and logging improvements. 2012-10-24 12:27:45 -07:00
JoelKatz
2aec337c1b Modernize logging. 2012-10-24 12:27:22 -07:00
JoelKatz
bdc6e9b854 Wrong header file. 2012-10-24 12:27:06 -07:00
JoelKatz
ab5afd223e Clean up some klogging annoyances. 2012-10-24 12:26:50 -07:00
JoelKatz
60fb930546 Wrong header file included. 2012-10-24 12:23:09 -07:00
JoelKatz
23263c9a21 Ledger::getLastFullLedger shouldn't throw. 2012-10-24 12:13:18 -07:00
JoelKatz
a850632216 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-24 11:17:29 -07:00
JoelKatz
853136b2a5 Trigger the history acquire code under the correct conditions.
Advance the "last full ledger" tracking correctly.
2012-10-24 11:17:00 -07:00
jed
7304637b2d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-24 09:47:22 -07:00
jed
15fcbcd4c8 start reworking API 2012-10-24 09:47:09 -07:00
Stefan Thomas
4ce45098de Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-24 17:09:12 +02:00
Stefan Thomas
d1d231193d Handle exceptions caused by invalid transactions. 2012-10-24 17:08:23 +02:00
JoelKatz
0ac4185ff9 Update to support accepting ledgers acquired during the history fill. 2012-10-24 07:26:05 -07:00
JoelKatz
5684a8e233 LedgerAcquireSet code to acquire a set of ledgers to restore a chain. 2012-10-23 17:03:38 -07:00
Arthur Britto
b7a40435b8 Document future direction of Transaction. 2012-10-23 12:48:09 -07:00
JoelKatz
6da5d508a7 Improve the warning messages when STObject::setType fails. 2012-10-23 11:49:16 -07:00
JoelKatz
61de7a9746 Clean up this unit test. 2012-10-23 11:23:09 -07:00
JoelKatz
bb4cc37e58 Remove chatty debug. 2012-10-23 11:22:56 -07:00
JoelKatz
756e628f93 Add an STObject::operator== that is sensible. 2012-10-23 11:22:37 -07:00
JoelKatz
67c87a9d13 Add a few test vectors. 2012-10-23 11:05:17 -07:00
Stefan Thomas
1a20295e16 Remove tx invalid assertion - exception should be enough.
Jed's words, not mine. ;)
2012-10-23 17:56:36 +02:00
JoelKatz
39303e3998 Some extra LedgerAcquire helper functions. 2012-10-22 14:01:17 -07:00
JoelKatz
2f2f09b4fc Reduce debug. 2012-10-22 14:01:06 -07:00
JoelKatz
c08db57b2b Ledger reply error support. 2012-10-22 12:27:30 -07:00
JoelKatz
9326074324 Second phase of removing old-style ledger data queries -- always give new
style replies.
2012-10-22 12:26:51 -07:00
JoelKatz
766bc8377f Lots of small cleanups. 2012-10-22 11:49:17 -07:00
JoelKatz
8705d0258d Add a "full history" mode that causes the node to try to keep full history
going back to the genesis ledger. Not fully implemented yet.
2012-10-22 10:31:07 -07:00
JoelKatz
e2e7eca1f1 Fix a small bug in the ledger tiebreak algorithm based on nodes using. 2012-10-22 10:30:42 -07:00
JoelKatz
2c2a2866a3 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-22 09:22:53 -07:00
JoelKatz
5bc0838d2a Make the standard output loglevel low even if the debug file loglevel is high. 2012-10-22 09:22:32 -07:00
jed
0d2e1252e1 changes to tx_history 2012-10-21 21:06:46 -07:00
jed
7fb75174fc added tx_history RPC 2012-10-21 19:21:08 -07:00
jed
51856f218f . 2012-10-20 16:51:38 -07:00