Commit Graph

147 Commits

Author SHA1 Message Date
JoelKatz
ab5afd223e Clean up some klogging annoyances. 2012-10-24 12:26:50 -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
jed
7fb75174fc added tx_history RPC 2012-10-21 19:21:08 -07:00
JoelKatz
19efa3bf9b Make sure we properly handle receiving our own proposals and validations. 2012-10-19 11:51:44 -07:00
JoelKatz
de71645351 Log whether we actually couldn't find the ledger or if the sequence was incorrect. 2012-10-15 10:35:57 -07:00
JoelKatz
33017a35a8 Extra sanity checks. 2012-10-15 03:47:23 -07:00
Arthur Britto
b2481f3c49 Rename the protocol from newcoin to ripple. 2012-10-12 15:53:59 -07:00
JoelKatz
92f004c47f A minimal, but serviceable, implemention of replying to TMGetObjectByHash queries. 2012-10-12 06:35:16 -07:00
JoelKatz
51c5de61d9 TMGetObjectByHash design changes. 2012-10-12 03:59:25 -07:00
JoelKatz
12c6a37cac More log partition support. 2012-10-08 00:48:04 -07:00
JoelKatz
6a229d918c Start using log partitions. 2012-10-08 00:39:31 -07:00
JoelKatz
94b2e30225 Temporarily disable hard fail on some checks. 2012-10-04 23:47:50 -07:00
JoelKatz
dd4adab380 If 'TRUST_NETWORK' is defined, fault on bogus validation. Some extra debug. 2012-10-04 23:44:59 -07:00
JoelKatz
414a44b6b5 Prevent a race condition that can cause us to miss an "I have a transaction
set" message if it arrives as we're in the process of generating a new
last-closed ledger.
2012-10-04 02:19:47 -07:00
JoelKatz
39cb1899d0 A few small bugfixes and some exra logging to track down a sync bug that Jed reported. 2012-10-03 22:23:32 -07:00
MJK
5b94396890 Move around to256 to uint256.h, get rid of Conversion.cpp,h 2012-09-27 17:01:27 -07:00
JoelKatz
ca1436ac25 Remove some dead code that was in my way. 2012-09-11 14:51:13 -07:00
JoelKatz
18b18359c5 Be smarter about tracking which peers have which ledgers. 2012-09-08 04:14:06 -07:00
JoelKatz
1891cf0654 Improve error message. 2012-09-03 09:50:25 -07:00
JoelKatz
c598b25b87 Remove annoying debug. 2012-09-03 09:46:49 -07:00
JoelKatz
cc4827559c Support for proposals that contain the previous ledger hash.
A fix for ledger acquires not stopping when they should.
2012-09-03 06:03:09 -07:00
JoelKatz
8eb33f6bb5 Better logging of time offsets on connection. 2012-09-03 05:16:08 -07:00
JoelKatz
d5fe3261ab Cleanups and simplfications. 2012-09-03 01:47:03 -07:00
JoelKatz
b950877758 Some proposal cleanups. 2012-09-03 01:19:58 -07:00
JoelKatz
02bd898e51 Some const-correctness.
const SLE::pointer & -> SLE::ref
2012-08-31 18:26:45 -07:00
JoelKatz
faaedb806f Start of the proposal defer/playback code.
Clean up tem codes to tap codes.
2012-08-30 11:43:20 -07:00
JoelKatz
45329b8d08 Remove some dead code. 2012-08-29 00:09:28 -07:00
JoelKatz
50777639fb Set the tolerated clock offset to 20 seconds for now. 2012-08-16 16:00:18 -07:00
jed
c18302e089 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-15 10:35:26 -07:00
JoelKatz
abf41dd4de Fix a large number of cases where we copy construct a shared_ptr just to destroy it. 2012-08-15 04:01:22 -07:00
jed
463a2abc9b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-14 14:19:59 -07:00
jed
6044e49994 . 2012-08-14 14:19:44 -07:00
JoelKatz
4aea8c8dfb Use fat root semantics when acquire transaction sets. This might save a pass. 2012-08-13 17:11:15 -07:00
JoelKatz
8e89335e2b Cleanups to the sha map node format code. 2012-08-07 19:52:09 -07:00
JoelKatz
65cbd319c1 Cleanups. 2012-08-05 03:56:17 -07:00
JoelKatz
6bd7738303 Make time errors a thing of the past. 2012-08-05 00:19:41 -07:00
JoelKatz
78f415f386 Allow a 20 second clock offset. 2012-08-03 07:02:18 -07:00
JoelKatz
e89af2f784 Merge branch 'continuousClose'
Conflicts:
	src/LedgerAcquire.cpp
	src/NetworkOPs.h

Merge continuous ledger close into main branch. YAY!
2012-07-16 14:48:21 -07:00
jed
13a68da567 compile on windows 2012-07-14 08:41:05 -07:00
JoelKatz
d7e78d15c9 Typo. 2012-07-14 02:25:55 -07:00
JoelKatz
532a103ef8 Function to check if a peer has a ledger. 2012-07-14 02:23:45 -07:00
JoelKatz
ecd47f0ea8 Cut to 32-bit network times. 2012-07-12 01:41:24 -07:00
JoelKatz
808e2c7487 Merge branch 'master' into continuousClose 2012-07-06 01:18:25 -07:00
JoelKatz
3cab7da1f4 Trap a zero-length message. 2012-07-06 01:18:12 -07:00
JoelKatz
620109cc3a Merge branch 'master' into continuousClose 2012-07-05 17:12:37 -07:00
JoelKatz
4c8810d5f6 Fix the bug Jed reported. This was actually in the Peer code from the start. Calling a
normal member function on a shared_from_this in a closure closes the pointer *immediately*,
not at the time the closure runs. This can crash if the object goes away while the
operation is pending.
2012-07-01 17:45:51 -07:00
JoelKatz
96a8122520 Clocks being off is non-fatal in CLC. 2012-07-01 08:20:08 -07:00
JoelKatz
c8c088212e Merge branch 'master' into continuousClose 2012-06-30 23:30:27 -07:00
JoelKatz
c7eb0269c2 For now, detect clocks out of sync and disallow connection.
Improve speed of ledger synchronization by compressing all three base queries into one.
2012-06-30 22:17:53 -07:00
JoelKatz
51100a3b30 Keep and report some extra peer information. 2012-06-30 19:07:08 -07:00