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
Arthur Britto
ce16e58c62
Fix peer tracking and scaning model.
2012-06-19 12:26:15 -07:00
JoelKatz
12076bcb59
Some logging improvements.
2012-06-18 23:06:40 -07:00
JoelKatz
f6f64aac75
Log unknown messages in detail.
2012-06-18 23:00:26 -07:00
JoelKatz
9bf119092a
Remove an extraneous debug message.
2012-06-18 19:20:10 -07:00
JoelKatz
5bca46d084
Handle received validations.
2012-06-18 17:01:43 -07:00
JoelKatz
03bbf8d41a
Cleanup.
2012-06-18 11:22:04 -07:00
JoelKatz
36b829f003
Don't bork Nagle.
2012-06-18 09:52:49 -07:00
Arthur Britto
a67756703c
Get rid of more references to boost trivial.
2012-06-14 09:29:55 -07:00
Arthur Britto
8264fc1d1a
Remove references to LOG_TRIVIAL.
2012-06-13 23:35:45 -07:00
jed
f1277325ff
fix for unl_add
2012-06-13 10:50:02 -07:00
jed
e6464e2832
more work on your peer list
2012-06-13 09:57:08 -07:00
jed
f7b5753be1
maintain db of peers
2012-06-13 08:20:08 -07:00
JoelKatz
2f7beb970f
Updates to support the new HaveTXSet message.
2012-06-07 12:26:12 -07:00
JoelKatz
7d153490ab
Bugfixes.
2012-06-05 15:54:52 -07:00
JoelKatz
2206ff3be6
Get rid of hash_SMN and instead extend boost::hash.
...
This makes the TaggedCache code cleaner.
2012-06-04 06:01:11 -07:00
JoelKatz
75ad545916
Finish the wobble rework.
2012-06-03 15:30:39 -07:00
JoelKatz
8701337af7
Work on the wobble logic.
2012-06-02 16:19:37 -07:00
JoelKatz
2a6179dcaf
Status update buglet.
2012-06-01 16:44:46 -07:00
JoelKatz
9d41104d83
With all this rope lying about, someone might get hung.
...
(Wrong length for SerialializedTransaction.)
2012-06-01 16:25:59 -07:00