Commit Graph

125 Commits

Author SHA1 Message Date
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
JoelKatz
46b4afe83e Missing from previous commit. 2012-06-29 16:43:09 -07:00
JoelKatz
64f9f044c8 Remove some dead Transaction::getJson options. 2012-06-28 13:13:58 -07:00
Arthur Britto
029bcfa6d9 Cosmetic, rename a few protobuf fields. 2012-06-28 01:01:44 -07:00
JoelKatz
d042a1f49d Rework version logic as agreed. 2012-06-25 15:20:22 -07:00
jed
b0a65050e0 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/RPCServer.cpp
2012-06-24 22:56:18 -07:00
JoelKatz
b4eea47a10 Track peer versions and put in the Json output. 2012-06-24 16:47:47 -07:00
JoelKatz
69d7b8a93d Track server and protocol versions and minimum supported versions. This is a
protocol-breaking change. It's needed because other protocol-breaking
changes are needed for security reasons, and we don't want
subtly-incompatible nodes connecting.
2012-06-24 16:30:13 -07:00
JoelKatz
5073185354 Remove a redundant and expensive test. 2012-06-23 22:45:24 -07:00
JoelKatz
a4b66042c5 Fix a bug where validations weren't passed to the consensus handler.
Change 'suppress' to 'isNew' to better reflect the meaning of its return value.
2012-06-23 21:54:34 -07:00
JoelKatz
d2325b18ed cosmetic fix 2012-06-23 20:40:29 -07:00
jed
c62cbeadf0 partial fix for joining the network 2012-06-21 10:20:11 -07:00
JoelKatz
43425f39eb Bugfixes. 2012-06-20 18:38:28 -07:00
Arthur Britto
afa128f45b Clean up peer isConnected() and shutting down. 2012-06-20 18:08:36 -07:00
jed
356868e741 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 15:54:24 -07:00
Arthur Britto
efa38ea72b More clean up of connection logic. 2012-06-20 15:52:59 -07:00
jed
c3c2bf25b3 . 2012-06-20 14:01:16 -07:00
Arthur Britto
58b6ca5cc0 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/Peer.cpp
2012-06-20 13:41:14 -07:00
Arthur Britto
a2c5b90fe9 Fixes and clean up for peer management. 2012-06-20 13:40:03 -07:00
jed
1549ef4d9b allow you to send large amounts from RPC 2012-06-20 08:38:36 -07:00
JoelKatz
687def56f3 Support a 'lost sync' status change. 2012-06-20 04:17:30 -07:00
Arthur Britto
15d00c3789 Merge fix. 2012-06-19 12:32:54 -07:00
Arthur Britto
9f9d700ed2 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/ConnectionPool.cpp
	src/Peer.cpp
2012-06-19 12:29:06 -07:00