Commit Graph

251 Commits

Author SHA1 Message Date
Arthur Britto
4dfaaf078d WS: Fixes for ledger_hash. 2012-11-05 14:17:23 -08:00
Arthur Britto
8538e03c23 Fixes and clean up for API change. 2012-11-05 12:25:19 -08:00
jed
94ce1cce3a Merge branch 'master' of github.com:jedmccaleb/NewCoin into api 2012-11-05 06:50:23 -08:00
JoelKatz
f491216302 Fix a bug that breaks TX acquire logic. 2012-11-05 03:05:46 -08:00
JoelKatz
e4b954c30c Logging improvements. 2012-11-05 02:05:51 -08:00
JoelKatz
17a911121d Fix handling of retriable transactions that don't go in the open ledger immediately. 2012-11-05 01:45:07 -08:00
JoelKatz
88c88148fb Track the supresssion. 2012-11-04 22:49:41 -08:00
JoelKatz
ebc0b05ecb Avoid redundant signature checks. 2012-11-04 19:41:51 -08:00
JoelKatz
d065231d8d Rewrite of ledger proposal receiving code. Dispatch to thread pool for
signature check. Re-dispatch to main I/O service for handover to
consensus engine.
2012-11-04 18:59:50 -08:00
jed
53e8962e96 mostly working 2012-11-04 11:50:04 -08:00
jed
c42fe47db2 . 2012-11-03 14:02:52 -07:00
jed
0b0b5bd131 . 2012-11-03 13:30:11 -07:00
jed
38a413d370 Merge branch 'api' of github.com:jedmccaleb/NewCoin 2012-11-02 12:18:25 -07:00
JoelKatz
6394ca2341 x = y::pointer() -> x.reset() 2012-11-02 09:00:29 -07:00
jed
94fd6a593f . 2012-11-02 07:26:28 -07:00
JoelKatz
fba18bf6f7 Prepare for deferring ledger proposals to the job queue.
Fix an exploitable defect in the way redundant ledger proposals were suppressed.
Fix a bug where the wrong node public key was used.
2012-11-01 02:50:45 -07:00
JoelKatz
824019d8dc Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-31 20:38:06 -07:00
JoelKatz
40dc8e15c5 Begin using the new code. 2012-10-31 20:36:41 -07:00
Arthur Britto
127bceab5a WS: Report back sterilization errors. 2012-10-31 19:55:15 -07:00
JoelKatz
c9a2482c95 Add peer count to server_info. 2012-10-28 19:17:33 -07:00
JoelKatz
5808ac0700 Show acquired ledgers in server_info 2012-10-26 15:37:29 -07:00
JoelKatz
76d4a91814 Cleanups. 2012-10-25 19:59:05 -07:00
JoelKatz
7f44d1569e Computing our node public and private keys every time we needed them was silly and expensive. 2012-10-25 18:59:07 -07:00
Arthur Britto
249725b66b Rename NewcoinAddress to RippleAddress. 2012-10-25 18:31:20 -07:00
jed
fef96efa1e broke up RPCServer 2012-10-24 13:08:49 -07:00
JoelKatz
2f2f09b4fc Reduce debug. 2012-10-22 14:01:06 -07:00
JoelKatz
766bc8377f Lots of small cleanups. 2012-10-22 11:49:17 -07:00
JoelKatz
e2e7eca1f1 Fix a small bug in the ledger tiebreak algorithm based on nodes using. 2012-10-22 10:30:42 -07:00
JoelKatz
19efa3bf9b Make sure we properly handle receiving our own proposals and validations. 2012-10-19 11:51:44 -07:00
Arthur Britto
851768848b WS: Do not announce unvalidated ledgers. 2012-10-17 13:25:34 -07:00
JoelKatz
81e30be001 Include whether we're waiting for a network ledger in the server_info output. 2012-10-16 06:09:26 -07:00
JoelKatz
c05e42ccb7 Change "deferred proposal" to "stored". Complete move to NetworkOPs. 2012-10-16 05:28:41 -07:00
JoelKatz
1f58c4326d In consensus process, if we don't have the LCL, only *de*mote to tracking.
Don't promote to tracking.
2012-10-16 05:05:15 -07:00
Arthur Britto
e513ef177f WS: Fix status of broadcasted transactions. 2012-10-15 17:11:13 -07:00
Arthur Britto
42d7813046 Put json time as unix time. 2012-10-15 14:22:07 -07:00
Arthur Britto
7495fe70cc WS: Clean up json responses and report engine submission results. 2012-10-12 21:14:04 -07:00
Arthur Britto
b2481f3c49 Rename the protocol from newcoin to ripple. 2012-10-12 15:53:59 -07:00
JoelKatz
8c790b1d88 Remove dead code. 2012-10-11 05:17:35 -07:00
JoelKatz
1448eb1a5c '--net' startup option to require the node to get its ledger from the network.
Once we have a stable network, this will likely be the default.
2012-10-10 01:40:02 -07:00
Arthur Britto
fc73e286c4 WS: Changed response of server_subscribe. 2012-10-10 00:15:40 -07:00
jed
8b5114a23e Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/Application.cpp
2012-10-09 03:05:21 -07:00
jed
573865cb23 allow you to load old ledger 2012-10-09 03:01:32 -07:00
JoelKatz
6f2e4b8172 Add RPC "accept_ledger" function which processes all pending transactions (in standalone mode only)
and closes the ledger, opening a new one. The sequence number of the new open ledger is returned.
2012-10-08 20:02:52 -07:00
JoelKatz
df94c192ce Log partition support. 2012-10-08 00:55:55 -07:00
JoelKatz
0630a4b7f4 We have to track the high node ID of trusted validators as a tie-breaker.
1) Change return from getCurrentValidations
2) Log tiebreaker logic to aid debugging
3) Change checkLastClosedLedger to use the new tie-breaker logic
4) Log when we refuse to switch to our own previous ledger
5) Track node ID in the serialized validation object
6) Simplify getCurrentValidations ledger suppression logic
2012-10-05 03:46:24 -07:00
JoelKatz
39cb1899d0 A few small bugfixes and some exra logging to track down a sync bug that Jed reported. 2012-10-03 22:23:32 -07:00
JoelKatz
e04b695434 Burninate "Value" in "*ValueField*" functions. It was just pointless extra typing.
What else would you set/get in a field, by name, other than its value?
2012-10-01 15:35:30 -07:00
JoelKatz
79c35f2689 Remove all IField/ITField functions. They are now obsolete.
Use the correponding STObject functions.
2012-10-01 15:21:22 -07:00
JoelKatz
135b4054e0 Cleanup, remove dead code. 2012-09-29 00:06:08 -07:00
Arthur Britto
cae6ea1c33 Remove useless NetworkOPs::getClosedLedger. 2012-09-26 15:03:19 -07:00