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
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
JoelKatz
cc0d1f60ab
Fix some timing and logic problems with sequencing to full mode.
2012-06-19 06:33:21 -07:00
JoelKatz
e793381c16
Missing status change broadcast.
2012-06-19 06:15:58 -07:00
JoelKatz
5c12b29e17
server_info bug
2012-06-19 06:01:15 -07:00
JoelKatz
64f99820a8
server_info command.
2012-06-19 05:50:30 -07:00
JoelKatz
ea837ff819
Clean up some logging that was confusing.
2012-06-18 21:12:35 -07:00
JoelKatz
e5249dd585
Relay transactions with supression when not fully validating.
2012-06-18 21:07:49 -07:00
JoelKatz
95bdb24bd9
For now, don't relay proposals when not in full mode.
2012-06-18 20:24:38 -07:00
JoelKatz
87324c828d
typo.
2012-06-18 19:21:29 -07:00
JoelKatz
07d16749ae
Make sure we aren't validating when not in full.
2012-06-18 19:19:21 -07:00
JoelKatz
e458a2e3c7
Use validations.
2012-06-18 17:01:54 -07:00
JoelKatz
2ff19d65e8
Don't go to full (validating) if we don't have a validation seed.
2012-06-18 09:52:06 -07:00
JoelKatz
8f88030219
Log whether we processed a peer ledger proposal or not.
2012-06-18 09:23:01 -07:00
Arthur Britto
f9637e36bf
Get rid of redunant SQL_FOREACH declarations.
2012-06-14 18:42:46 -07:00