JoelKatz
c82bd2805b
Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose
...
Conflicts:
src/Ledger.h
src/LedgerNode.cpp
src/Version.h
2012-07-10 10:31:13 -07:00
JoelKatz
f5783820f8
Detect "radio silence"
2012-07-09 10:42:44 -07:00
Arthur Britto
e5ad771708
Move to new directory format.
2012-07-07 17:46:47 -07:00
JoelKatz
83650ce41a
Merge branch 'master' into continuousClose
2012-07-01 08:19:20 -07:00
Arthur Britto
8f9030cb98
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-07-01 00:41:07 -07:00
Arthur Britto
85919c02f3
Add WS support for reporting accepted transactions.
2012-07-01 00:40:56 -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
182228b6f9
Infrastructure for continuous ledger close.
2012-06-30 16:58:05 -07:00
JoelKatz
01cdd91b8c
Merge branch 'master' into continuousClose
2012-06-30 16:32:38 -07:00
jed
8f7c984ef7
don't validate if ledger # is too low
2012-06-30 06:52:05 -07:00
jed
94a9def72e
tweak json returns
2012-06-29 21:36:29 -07:00
Arthur Britto
1804530577
Make WS transaction_subscribe consistent with account_transaction_subscribe.
2012-06-29 18:04:39 -07:00
Arthur Britto
dacbc58ef3
Improvements for WS account_transaction_subscribe.
2012-06-29 17:51:37 -07:00
JoelKatz
f64bbdc21f
Merge branch 'continuousClose'
2012-06-29 16:49:02 -07:00
JoelKatz
3a77ef5c82
Begin implementing continuous ledger close.
...
Pretty much all remaining changes should be to LedgerConsensus.cpp
2012-06-29 16:34:16 -07:00
Arthur Britto
5a6349b328
Add support for WS account_transaction_subscribe and account_transaction_unsubscribe.
2012-06-29 16:23:06 -07:00
JoelKatz
2cac0cb288
Mark a FIXME.
2012-06-29 05:35:28 -07:00
Arthur Britto
029bcfa6d9
Cosmetic, rename a few protobuf fields.
2012-06-28 01:01:44 -07:00
JoelKatz
7d2e55346f
Call NetworkOPs::pubTransaction.
2012-06-27 20:39:00 -07:00
Arthur Britto
03342cacd8
Add WS transaction_subscribe and transaction_unsubscribe support.
2012-06-26 20:45:19 -07:00
Arthur Britto
1bf80d8c51
Add WS ledger_accounts_subscribe and ledger_accounts_unsubscribe.
2012-06-26 16:55:29 -07:00
Arthur Britto
74e831a3e7
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-06-25 23:31:30 -07:00
Arthur Britto
b56da4a73d
Get WS ledger_subscribe and ledger_unsubscribe working.
2012-06-25 23:31:13 -07:00
JoelKatz
cc6052d294
Give Arthur a way to get all the accounts changed by a ledger.
2012-06-25 23:16:20 -07:00
Arthur Britto
55f370c6bc
Merge branch 'websocket'
2012-06-24 20:14:02 -07:00
Arthur Britto
1cf9156fc3
Add some monitoring support to NetworkOPs.
2012-06-24 20:02:55 -07:00
JoelKatz
5073185354
Remove a redundant and expensive test.
2012-06-23 22:45:24 -07:00
JoelKatz
8e1c49f0d7
Bugfixes.
2012-06-23 22:28:49 -07:00
JoelKatz
c70f66b286
Fix a bug I just introduced.
2012-06-23 22:16:33 -07:00
JoelKatz
9f519369be
Don't relay failed transactions when we are tracking the network.
2012-06-23 21:55:45 -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
ba9afb5676
Use peer add logic based on reported ledger closings. Fall back to all peers
...
if no peers reported the ledger we want.
2012-06-22 17:56:30 -07:00
JoelKatz
dda06d989d
Begin fixing consensus without having the full consensus LCL.
2012-06-21 17:37:27 -07:00
JoelKatz
69bbe599a2
Mark a FIXME
2012-06-21 12:09:48 -07:00
jed
c62cbeadf0
partial fix for joining the network
2012-06-21 10:20:11 -07:00
JoelKatz
a2dc2dbf5f
Make it compile.
2012-06-20 19:34:48 -07:00
JoelKatz
fb7de2e8b1
Fix.
2012-06-20 18:41:56 -07:00
JoelKatz
43425f39eb
Bugfixes.
2012-06-20 18:38:28 -07:00
JoelKatz
e63b68182d
Don't count unconnected peers. Remove a FIXME.
2012-06-20 18:25:29 -07:00
JoelKatz
93a05d55ca
Sanitize validation handling.
2012-06-20 18:01:38 -07:00
JoelKatz
58dcc8b9c1
Don't use stale validiations.
2012-06-20 13:26:32 -07:00
JoelKatz
a022f8304d
Mark a FIXME
2012-06-20 06:04:54 -07:00
JoelKatz
0af5d379c2
Fix set:
...
1) Create validation structure even if not proposing (but if validating)
2) Fix hashes in status change messages, do it only one way
3) Don't spin right at wobble time.
4) Report accept status change on new last-closed ledger, not new open ledger.
5) Make sure validation count is correct even if we first encounter a ledger on ourselves (not a peer)
6) At end of consensus, assume nodes cycled (until they report otherwise). By doing nothing,
we effectively assumed they didn't.
7) Miscellaneous cleanups and fixes.
2012-06-20 04:23:29 -07:00
JoelKatz
2e40ad2da6
Cleanup.
2012-06-20 02:31:24 -07:00
JoelKatz
da3720baa9
Bugfixes.
2012-06-20 02:18:03 -07:00
JoelKatz
9f2d363a14
Point out the problem in this code and make it possible to fix it.
2012-06-19 14:41:29 -07:00
jed
d28852cc9e
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-06-19 12:35:12 -07:00
jed
00e8a930ff
changed server_info RPC
2012-06-19 12:34:57 -07:00
JoelKatz
029918ba8e
Have to close ledger even when not full.
2012-06-19 12:30:02 -07:00