JoelKatz
076add0e73
Be more aggressive about relaying disputed transactions.
2013-02-24 14:13:20 -08:00
JoelKatz
92be1c70f5
Hopefully prevent a jump forward at the end of the consensus process.
...
If not, at least figure out exactly where in the consensus state machine that's happening.
2013-02-24 13:47:21 -08:00
JoelKatz
b512ed3df2
Correctly handle local failures in the consensus transaction application process.
...
Local failures are not retriable.
2013-02-11 16:43:29 -08:00
JoelKatz
8653d679b3
Change rule slightly if consensus seems stuck.
2013-02-10 13:23:11 -08:00
JoelKatz
b39a977282
Cleanups.
2013-02-10 01:09:37 -08:00
JoelKatz
f8f56b96e0
Tiny cleanups.
2013-02-09 20:07:53 -08:00
JoelKatz
4ef325e8a9
More logging improvements.
2013-02-09 16:16:46 -08:00
JoelKatz
7ea9ad9de7
Improve consensus logging.
2013-02-09 15:41:21 -08:00
JoelKatz
79cbb0eea0
Cleanups.
2013-02-09 15:34:43 -08:00
JoelKatz
18167be5e3
Add new 'consensus_info' RPC command to help troubleshoot consensus convergence issues.
2013-02-09 14:21:57 -08:00
JoelKatz
517c1c48ff
Clean up pass counts.
2013-01-21 18:26:24 -08:00
JoelKatz
18001a0058
Fix retry bug.
2013-01-21 17:55:39 -08:00
JoelKatz
6e746c5851
Fix a harmless bug that caused transactions that succeded early to be retried once.
2013-01-20 21:59:34 -08:00
JoelKatz
07091cfc3c
Fixes.
2013-01-19 14:31:31 -08:00
JoelKatz
4c6920dd55
Add extra debug to better understand how the txn retry logic is working.
...
Avoid an extra transaction pass caused by failed transactions counting as changes.
Downgrade some debug messages from INFO to DEBUG.
2013-01-19 14:09:42 -08:00
JoelKatz
80d98e55a9
Clean up JSON reporting of booleans and network state.
2013-01-18 17:38:11 -08:00
JoelKatz
79d1727b38
Hopefully, handle partial success correctly. Retry engine.
2013-01-18 10:17:21 -08:00
JoelKatz
1acdad8601
Make it compile.
2013-01-09 09:38:41 -08:00
JoelKatz
eadaaaa0fd
Clean up debug.
2013-01-09 09:22:25 -08:00
JoelKatz
bbd32faf05
Demote some older logs.
2013-01-08 14:50:45 -08:00
JoelKatz
7a2f098ac4
Reduce some chatty logging.
2013-01-07 23:47:21 -08:00
JoelKatz
c2a4cc8321
Get rid of transaction acquire entries ASAP.
2013-01-07 14:44:18 -08:00
JoelKatz
63fd3818fb
Rather than counting PeerSet's, count LedgerAcquire's and TransactionAcquire's.
2013-01-06 17:32:25 -08:00
JoelKatz
ee89904a00
Cleanup trigger.
2013-01-04 20:26:26 -08:00
JoelKatz
11cb109c16
Another safety.
2013-01-03 23:23:10 -08:00
JoelKatz
6849c579eb
Extra safety.
2013-01-03 23:12:48 -08:00
JoelKatz
0d8ed85bd4
Update.
2013-01-03 22:44:56 -08:00
JoelKatz
e78b5d11b6
Bugfix.
2013-01-03 22:33:55 -08:00
JoelKatz
d4f4d9bf78
Redesign the way the acquire timer is (re)set so that we won't have bugs
...
where we fail to arm it.
2013-01-03 21:25:40 -08:00
JoelKatz
40b87e9157
Fix a bug that would cause the server to exit the "need network ledger" state prematurely.
2012-12-30 23:48:53 -08:00
JoelKatz
a169167030
Fix a bug where a node doesn't get a chance to finish acquiring a TX set
...
before all nodes forget it because they're done with it, leaving a node
behind the consensus.
2012-12-27 20:25:12 -08:00
JoelKatz
7c04eded0f
Improve some consensus logging.
2012-12-26 22:30:18 -08:00
JoelKatz
79d139e2ce
Don't let a tranasction set acquire stall.
2012-12-25 23:00:39 -08:00
JoelKatz
9689f94f5a
Cleanups.
2012-12-23 17:52:34 -08:00
JoelKatz
2c535940ac
Make the transaction engine report whether it added the transaction.
2012-12-23 17:42:04 -08:00
JoelKatz
2203313945
Logging cleanups.
2012-12-18 14:39:02 -08:00
JoelKatz
2a06686b7c
Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
...
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
JoelKatz
f8e98694c6
Emergency workaround.
2012-12-13 16:41:28 -08:00
JoelKatz
26915da1a4
Temporary workaround.
2012-12-13 16:36:20 -08:00
JoelKatz
5cf15b3f4e
Shutdown cleanly on control-C.
2012-11-28 20:49:07 -08:00
JoelKatz
6aca65ff76
Get the shared pointers out of the scoped lock stuff. We don't need it.
2012-11-28 15:27:20 -08:00
jed
89f02efc16
option to return date of transaction in the JSON
2012-11-23 17:58:48 -08:00
JoelKatz
8b53f85f60
Separate ledger publish logic so we can tell if clients are overloading us.
2012-11-23 12:15:04 -08:00
JoelKatz
89d54999c9
Rework the way the results of ledger and TX map acquisition is passed up and down the
...
call chain so that the peer logic will know how helpful peers are being, not just whether
they're sending invalid data.
2012-11-21 09:28:09 -08:00
JoelKatz
5ac22ff31b
Two more load monitoring hooks.
2012-11-20 12:09:51 -08:00
JoelKatz
601db4491a
Track when we have to abandon the consensus process because the network has moved on.
...
Issue partial validation if appropriate later.
Change the consensus abort threshold to 80% of trusted nodes. (Maybe there should be a delay?)
2012-11-14 08:47:36 -08:00
JoelKatz
bd44ae1b2b
Fix standalone or non-validating modes.
2012-11-14 00:33:17 -08:00
JoelKatz
c6aab36fe7
Issue partial validations when appropriate.
2012-11-14 00:23:32 -08:00
jed
433cbc4d92
vs 2012
2012-11-12 15:45:50 -08:00
JoelKatz
40527cca2b
Start adding support for concurrent I/O.
2012-11-09 14:14:47 -08:00