Commit Graph

160 Commits

Author SHA1 Message Date
JoelKatz
6394ca2341 x = y::pointer() -> x.reset() 2012-11-02 09:00:29 -07:00
JoelKatz
d9ff4f2ad4 Fix the bug I introduced with the last few changes (deadlock in ConnectionPool). 2012-11-01 03:09:09 -07:00
JoelKatz
fba18bf6f7 Prepare for deferring ledger proposals to the job queue.
Fix an exploitable defect in the way redundant ledger proposals were suppressed.
Fix a bug where the wrong node public key was used.
2012-11-01 02:50:45 -07:00
JoelKatz
40dc8e15c5 Begin using the new code. 2012-10-31 20:36:41 -07:00
JoelKatz
41da9c740f Support for 64-bit peer IDs. 2012-10-31 19:46:30 -07:00
JoelKatz
f0eb8e7943 Add instance counts to core classes. 2012-10-31 15:50:14 -07:00
JoelKatz
74629254a5 Avoid an allocate/copy/free 2012-10-29 18:24:09 -07:00
JoelKatz
ca404beef7 Move signature checking for validations into the job queue scheme. 2012-10-29 18:11:01 -07:00
JoelKatz
32799f76ca Improve logging. 2012-10-28 18:27:31 -07:00
JoelKatz
e32ca702b4 Cleanups and small improvements. 2012-10-27 19:29:29 -07:00
JoelKatz
76d4a91814 Cleanups. 2012-10-25 19:59:05 -07:00
JoelKatz
601181c691 Cleanups. 2012-10-25 19:13:36 -07:00
JoelKatz
87df08ea0b Mark some significant optimization opportuntities. 2012-10-25 18:46:22 -07:00
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