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
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
40dc8e15c5
Begin using the new code.
2012-10-31 20:36:41 -07:00
Arthur Britto
249725b66b
Rename NewcoinAddress to RippleAddress.
2012-10-25 18:31:20 -07:00
jed
7304637b2d
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-10-24 09:47:22 -07:00
jed
15fcbcd4c8
start reworking API
2012-10-24 09:47:09 -07:00
JoelKatz
766bc8377f
Lots of small cleanups.
2012-10-22 11:49:17 -07:00
JoelKatz
21c4c22eda
Add functions to check and clear the "need network ledger" flag.
2012-10-16 06:09:43 -07:00
JoelKatz
94d607def0
Move deferred proposals to network ops. Include the last closed ledger in proposals. Call handleLCL
...
even if we happen to jump our notion of the network's last closed ledger to the ledger we had as our
locally last-closed ledger.
2012-10-16 05:27:48 -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
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
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
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
Arthur Britto
b491b99255
Rework NetworkOPs to return Ledger:pointer.
2012-09-27 13:08:59 -07:00
Arthur Britto
cae6ea1c33
Remove useless NetworkOPs::getClosedLedger.
2012-09-26 15:03:19 -07:00
Arthur Britto
73e4a73f95
getLedgerID to NetworkOPs.
2012-09-26 14:07:07 -07:00
Arthur Britto
9336499950
Cosmetic.
2012-09-25 18:30:27 -07:00
JoelKatz
58befb406e
Typo.
2012-09-13 15:37:48 -07:00
JoelKatz
6c016039c2
Get rid of all "const SHAMap::pointer&" -> SHAMap::ref
2012-09-13 15:36:56 -07:00
JoelKatz
ec2dded961
Revert "Cleanup transaction set sync map creation."
...
This reverts commit de8288d4d5 .
2012-09-13 15:23:55 -07:00
JoelKatz
de8288d4d5
Cleanup transaction set sync map creation.
...
Remove a passthrough to NetworkOPs that doesn't make much sense.
2012-09-13 15:22:36 -07:00
JoelKatz
ca1436ac25
Remove some dead code that was in my way.
2012-09-11 14:51:13 -07:00
JoelKatz
a3241dae56
Fix a case where we could lose deferred prposals.
2012-09-05 22:28:26 -07:00
JoelKatz
4930ebb945
Simplify the way we handle validations. Include a signing time instead of a
...
closing time. Keep only the validation with the most recent signing time.
Sign using network time. This eliminates the ValidationPair nightmare and
makes the logic must easier to understand, increasing confidence that it
does what it's supposed to do.
2012-09-03 20:13:57 -07:00
JoelKatz
b4548760df
New-style proposal support.
2012-09-03 06:03:45 -07:00
JoelKatz
81793192cb
Bugfix and close time offset set function.
2012-09-03 04:37:25 -07:00
JoelKatz
9ef0a5491b
Use "Ledger::ref" instead of "const Ledger::pointer&".
2012-08-31 18:11:41 -07:00
JoelKatz
faaedb806f
Start of the proposal defer/playback code.
...
Clean up tem codes to tap codes.
2012-08-30 11:43:20 -07:00
JoelKatz
e5af7072bc
Propogate a view change during consensus to the NetworkOPs code.
2012-08-30 10:04:58 -07:00
JoelKatz
f63d9df60b
Ledger idle timing fixes.
2012-08-29 23:38:35 -07:00
Arthur Britto
d96070f083
Rename TransactionEngineResult to TER & work on ripple.
2012-08-29 11:58:34 -07:00
JoelKatz
c036188c3c
Some more cleanups.
2012-08-19 21:01:36 -07:00
JoelKatz
420ee91877
Remove more wasteful allocate/increment/decrement/free cycles.
2012-08-19 19:23:10 -07:00
jed
c18302e089
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-08-15 10:35:26 -07:00
jed
4f285dc603
add RippleLines
2012-08-15 10:35:12 -07:00
JoelKatz
89c7c26c2f
Oops.
2012-08-14 15:36:50 -07:00
JoelKatz
b14b2f5dab
Separate close times and network times.
2012-08-06 02:12:27 -07:00
JoelKatz
0f4800f6bb
Support for a local time to network time offset
2012-08-03 04:39:52 -07:00
JoelKatz
0f44af556e
Better reporting of ledger jumps.
2012-08-02 11:51:24 -07:00
JoelKatz
ee3562a9a9
Cleanup resynch logic.
2012-08-01 14:38:29 -07:00
Arthur Britto
a61cf78299
Better handling of full values for amounts.
2012-07-20 14:16:34 -07:00
JoelKatz
fadca2cb97
Mark the problem.
2012-07-19 08:32:23 -07:00
Arthur Britto
af92bb5347
Santize locally submited transactions.
2012-07-18 14:48:50 -07:00
JoelKatz
333c9896fb
Cut to millisecond timing.
2012-07-17 17:48:55 -07:00
Arthur Britto
aa1f2d3c6a
Merge branch 'ripple'
...
Conflicts:
src/TransactionEngine.cpp
2012-07-17 13:32:29 -07:00
Arthur Britto
fcd13d0208
Work on offers.
2012-07-16 18:54:31 -07:00
JoelKatz
e89af2f784
Merge branch 'continuousClose'
...
Conflicts:
src/LedgerAcquire.cpp
src/NetworkOPs.h
Merge continuous ledger close into main branch. YAY!
2012-07-16 14:48:21 -07:00
JoelKatz
d9d1d72556
Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger.
2012-07-16 00:06:00 -07:00
Arthur Britto
0f47f72e30
Work on WS account_info_subscribe.
2012-07-14 22:13:22 -07:00